/* Reset */
* {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}
img {
    border: 0;
}
/* General */
html, body {
    height: 100%;
}
body {
    background-image: url(/img/layout/bg.gif);
    background-repeat: repeat;
    color: #838383;
    font: 0.9em calibri, arial, helvatica, sans-serif;
    text-align: center;
}
a {
    color: #5198a4;
}
a:hover {
    text-decoration: none;
}
/* Main container */
div#mainContainer {
    margin: 0 auto -66px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    text-align: left;
    width: 966px;
}
/* Header */
div#header {
    padding-top: 10px;
}
div#header img {
    margin-top: 10px;
}
p#userMenu {
    color: #aaa;
    float: right;
    font-size: 0.8em;
    margin-right: 5px;
    text-transform: uppercase;
}
p#userMenu a {
    color: #aaa;
}
p#userMenu a:hover {
    text-decoration: none;
}
/* Navigation */
ul.topNav {
    background-image: url(/img/layout/menu.gif);
    background-repeat: no-repeat;
    height: 38px;
    font-size: 0.9em;
    margin-top: 15px;
    padding: 1px 4px 5px 1px;
    width: 961px;
}
ul.topNav li {
    position: relative;
    float: left;
    width: 20%;
}
ul.topNav li a {
    background-image: url(/img/layout/menu-divider.gif);
    background-repeat: no-repeat;
    background-position: 100% 0%;
    color: #000;
    font-weight: bold;
    height: 38px;
    line-height: 38px;
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
ul.topNav li.last a {
    background-image: none;
}
ul.topNav li a:hover {
    background-image: url(/img/layout/menu-active.gif);
    background-repeat: repeat-x;
    color: #fff;
}
/* Hover image for first menu item */
ul.topNav li.first:hover {
    background-image: url(/img/layout/menu-active.gif);
    background-repeat: repeat-x;
}
ul.topNav li.first a:hover {
    background-image: url(/img/layout/menu-active-left.gif);
    background-repeat: no-repeat;
    background-position: top left;
}
/* Hover image for last menu item */
ul.topNav li.last:hover {
    background-image: url(/img/layout/menu-active.gif);
    background-repeat: repeat-x;
}
ul.topNav li.last a:hover {
    background-image: url(/img/layout/menu-active-right.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
/* Photo */
div#photo {
    margin: 10px 0 12px 0;
/*    margin: 10px 0 8px 0; This values is needed for a photo with a shadow. :) */
}
/* Content */
div#sidebar {
    float: left;
    width: 340px;
}
div#sidebar h2 {
    color: #5198a4;
    font-size: 1.7em;
    margin-bottom: 5px;
    padding: 15px 0 0 20px;
    text-transform: uppercase;
}
div#generalViewMenu ul {
    margin-bottom: 5px;
}
div#generalViewMenu a {
    background-image: url(/img/layout/marker.gif);
    background-position: 20px center;
    background-repeat: no-repeat;
    color: #838383;
    display: block;
    height: 32px;
    line-height: 32px;
    padding-left: 45px;
    text-decoration: none;
    text-transform: uppercase;
}
div#generalViewMenu a:hover {
    color: #5198a4 !important;
    font-weight: bold;
}
div#contentTop {
    background-image: url(/img/layout/content.gif);
    background-position: right top;
    background-repeat: repeat-y;
}
div#content {
    background-image: url(/img/layout/content-top.gif);
    background-position: right top; 
    background-repeat: no-repeat;
    overflow: auto;
    width: 100%;
}
div#contentBottom {
    background-image: url(/img/layout/content-bottom.gif);
    background-position: right top; 
    background-repeat: no-repeat;
    height: 12px;
}
/* Main content for 1 column */
div.mainContent {
    overflow: auto;
}
div#mainContent1 {
    padding: 15px 25px 5px 20px;
}
/* Main content for 2 columns */
div#mainContent2 {
    padding: 15px 25px 5px 20px;
}
div.mainContent h1 {
    color: #5198a4;
    font-size: 1.7em;
    text-transform: uppercase;
}
div.mainContent h2 {
    background-image: url(/img/layout/marker.gif);
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 1.2em;
    margin-top: 15px;
    padding-left: 25px;
    text-transform: uppercase;
}
div.mainContent p {
    margin-bottom: 7px;
    line-height: 1.5em;
    text-align: justify;
}
div.mainContent ul li {
    background-image: url(/img/layout/marker.gif);
    background-position: left center;
    background-repeat: no-repeat;
    height: 23px;
    margin-left: 15px;
    padding-left: 25px;
}
/* Footer */
div#push {
    height: 66px;
}
div#footerContainer {
    background-color: #fff;
    background-image: url(/img/layout/footer-divider.gif);
    background-position: center top;
    background-repeat: repeat-x;
    clear: both;
    height: 20px;
    padding: 24px 0 22px 0;
    text-align: center;
    width: 100%;
}
div#footer {
    color: #aaa;
    font-size: 0.9em;
    height: 20px;
    margin: 0 auto;
    text-align: left;
    width: 970px;
}
div#footer p#copyright {
    float: left;
    line-height: 1.4em;
    width: 80%;
}
div#footer p#copyright span, div#footer p#copyright small {
    text-transform: uppercase;
}
div#footer p#copyright span {
    margin-right: 30px;
}
div#footer ul#socialMedia {
    float: left;
    width: 20%;
}
div#footer ul#socialMedia li {
    float: right;   
}
div#footer a {
    color: #aaa;
    text-decoration: none;
}
div#footer a:hover {
    border-bottom: 1px dotted #aaa;
}
div#footer a.admin:hover, ul#socialMedia a:hover {
    border-bottom: none !important;
}
/* Forms */
input[type=text], input[type=password], select, textarea {
    border: 1px solid #bbb;
    font: inherit;
    padding: 1px 2px;
}
input[type=text], input[type=password], select {
    width: 160px;
}
input[type=submit], button {
    font: 1em calibri, arial, helvatica, sans-serif;
    padding: 2px 10px;
}
dl.zend_form dt {
    clear: left;
    float: left;
    margin-bottom: 5px;
    width: 130px;
}
dl.zend_form dd {
    clear: right;
    float: left;
    margin-bottom: 5px;
}
dt#login-label, dd#login-element {
    margin-top: 5px;
}
dt#submit-label, dt#login-label {
    display: none;
}
dd#submit-element, dd#login-element {
    clear: both;
    margin-left: 130px;
}
p.hint {
    clear: both;
    font-size: x-small;
    margin-left: 100px;
}
p.error {
    color: #5198a4;
    font-weight: bold;
}
ul.errors {
    margin-top: 2px;
}
ul.errors li {
    background: none !important;
    color: #5198a4;
    height: auto !important;
    font-size: small;
    margin: 0 !important;
    padding: 0 !important;
    width: 450px;
}
/* Contact */
div#contactText {
    float: left;
    padding-right: 80px;
    width: 280px;
}
div#contactText address {
    font-style: normal;
    line-height: 1.2em;
}
dl.contact {
    margin: 15px 0 0 0;
}
dl.contact dt {
    float: left;
    margin-bottom: 2px;
    width: 90px;
}
dl.contact dd {
    clear: right;
    margin-bottom: 2px;
}
/* Contact form */
div#contactForm {
    float: left;
}
div#contactForm dl.zend_form dt {
    width: 100px !important;
}
div#contactForm dl.zend_form dd#submit-element {
    margin-left: 100px;
}
textarea#message {
    width: 300px;
    height: 120px;
}