/***** Body and main container *****/
body {
    margin: 0 auto;
    padding: 0;
    font: 76% Verdana,Tahoma,Arial,sans-serif;
    background: #eaeaea url(images/bg.gif) top center repeat-y;
    color: #404040;
}

#wrap {
    background: #ffffff;
    color: #404040;
    margin: 0 auto;
    width: 840px;
}


/***** Various tags *****/

a {
    text-decoration:none;
    color:#01439a;
    background-color:inherit;
}

a:hover {
    text-decoration:underline;
    color:#01439a;
    background-color:inherit;
}

a img {
    border:0;
}

p {
    margin: 0 0 1.4em 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Forms */
.submit {
    margin: 10px 0;
}
input[type="text"], input[type="password"], input[type="file"], textarea  {
	border: 1px solid #e2e1e0
	padding: 2px;
	background-color: whitesmoke;
}
textarea {
    height: 10em;
}

/* Width */
.width100 {
    width: 99%;
}
.width66 {
    width: 66%;
}
.width50 {
    width: 50%;
}
.width33 {
    width: 33%;
}


/***** Header *****/

#header {
    margin: 10px 0 14px 0;
    padding: 0 0 0 0;
    /* border-bottom: 4px solid #01439a; */
}

#header #gallery {
    width: 630px;
    height: 116px;
    float: right; 
}
#header #logo {
    background: #e2e1e0;
    width: 141px;
    height: 116px;
    border: 0;
}
#header .topphoto {
    border: 1px solid #bbbbbb;
    margin-right: 16px;
    width: 80px;
    height: 114px;
}


/***** Breadcrumbs *****/
#subhead {
    margin: 0 0 20px 0;
    padding: 4px 10px;
    font-size: 0.9em;
    background-color: #01439a;
}
div#breadcrumbs {
    text-align: left;
}
div#navigator {
    float: right;
    text-align: right;
}
div#navigator span.disabled {
    color: #adadad;
}

div#breadcrumbs, div#breadcrumbs a, div#navigator, div#navigator a {
    color: #ffffff;
}
div#breadcrumbs a:hover, div#navigator a:hover {
    text-decoration: underline; 
}
div#breadcrumbs .current {
    font-weight: bold;
}


/***** Left sidebar *****/

#leftside {
    clear:left;
    float:left;
    width:140px;
    margin:0 0 5px;
    padding: 0 10px 0 0;
}

#leftside h2,#leftside h3 {
    color:#505050;
    background-color:inherit;
    font-size:1.3em;
    margin:0 0 5px;
    padding:0;
}

#leftside div.announce {
    clear:left;
    margin:10px 0 15px;
    padding:7px 5px;
    width:126px;
    font-size:0.9em;
    background-color:#eaeaea;
    color:#505050;
    border-left:4px solid #bbbbbb;
    line-height:1.5em;
}

#leftside div.announce p {
    margin:10px 0 0;
    padding:0;
}

/***** Main menu *****/

ul.avmenu {
    width:140px;
    margin:0 0 18px;
    padding:0;
    list-style:none;
}

ul.avmenu li {
    width:140px;
    padding:0;
    line-height:1.4em;
    display:inline;
}

ul.avmenu li a {
    background-color:#eaeaea;
    color:#505050;
    font-weight:bold;
    width:130px;
    float:left;
    margin-bottom:5px;
    padding:5px 1px 5px 5px;
    border-left:4px solid #bbbbbb;
    text-decoration:none;
}

ul.avmenu li a:hover, ul.avmenu li a.current {
    background-color:#e2e1e0;
    border-left:4px solid #01439a;
    color:#505050;
}

ul.avmenu ul {
    margin:0 0 0 15px;
    padding:0 0 5px 0;
    font-size:0.9em;
    width:125px;
}

ul.avmenu ul a {
    padding:3px 1px 3px 5px;
    font-weight:normal;
    width:115px;
}

ul.avmenu ul ul {
    width:113px;
}

ul.avmenu ul ul a {
    width:100px;
}


/***** Right sidebar *****/

#extras {
    float: right;
    width: 140px;
    margin: 0 0 5px 0;
    padding: 0 0 0 10px;
    line-height: 1.4em;
}

#extras p, #extras ul {
    margin: 0 0 24px 0;
    padding: 0;
}

#extras p {
    font-size:1em;
    line-height:1.4em;
}

#extras li {
    list-style:none;
    font-size: 0.9em;
    line-height: 1.4em;
    margin: 0 0 8px 0;
    padding:0;
}

#extras ul ul {
    margin:6px 0 0 10px;
    padding:0;
}

#extras ul ul li {
    margin: 0 0 4px 0;
}

#extras ul ul li a {
    font-size:1.1em;
    font-weight:normal;
}

#extras h2, #extras h3 {
    color:#505050;
    background-color:inherit;
    font-size:1.2em;
    margin:0 0 8px;
    padding:0;
}

#extras .more {
    font-style: italic;
}

#extras .box1 {
    color: #000;
    background: #eaeaea;
    margin-bottom: 20px;
    padding: 9px;
}
#extras .box1 p {
    margin-bottom: 5px;
    font-size: 0.9em;
    line-height: 1.4em;
}
#extras .box1 input {
    font-size: 0.9em;
}
#extras .box2 {
    color: #ffffff;
    background:#ff9900;
    padding: 3px 0;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.4em;
}
#extras .box2 a {
    color: #ffffff;
    font-size: 0.9em;
}


/***** Main content *****/

#content {
    margin: 0 150px 15px 150px;
    border-left:1px solid #01439a;
    border-right:1px solid #01439a;
    padding: 0 10px;
    line-height:1.6em;
    min-height: 350px;
}

#content h2 {
    color:#505050;
    font-size:1.4em;
    line-height: 130%;
    margin: 0px 0 12px 0;
}

#content h3 {
    color:#505050;
    font-size:1.3em;
    margin: 20px 0 3px 0;
}
#content h5 {
    font-weight: bold;
    font-size: 1em;
    color: #505050;
    margin: 0 0 6px 0;
}

/* #content img {
    padding:1px;
    display:inline;
    background:#bbbbbb;
    color:#303030;
    border:4px solid #f0f0f0;
} */

#content ul, #content ol {
    margin:0 0 16px 20px;
    padding:0;
}

#content li {
    margin:0;
    padding:0 0 0 5px;
}

#content ul ul, #content ol ol {
    margin:0 0 0 16px;
    padding:0;
}

#content div.body p, #content div.content-item p {
    margin: 0 0 6px 0;
}

#content strong {
    font-weight: bold;
    color: #505050;    
}


/***** Footer *****/

#footer {
    clear: both;
    margin: 0 auto;
    padding: 15px 0;
    border-top: 4px solid #01439a;
    width: 840px;
    text-align: center;
    color: #505050;
    /* background: #fff; */
}

#footer p {
    margin: 0;
    padding: 0;
}

#footer a {
    color:#505050;
    background-color:#ffffff;
    text-decoration:none;
}

#footer a:hover {
    text-decoration:underline;
}


/***** Various classes *****/

.left {
    margin:3px 10px 2px 0;
    float:left;
}

.right {
    margin:2px 0 2px 10px;
    float:right;
}

.textright {
    text-align:right;
}

.center {
    text-align:center;
}

.small {
    font-size:0.8em;
}

.bold {
    font-weight: bold;
}

.postinfo {
    background-color:#eaeaea;
    border-left:4px solid #bbbbbb;
    color:#606060;
    font-size:0.9em;
    line-height:1.4em;
    margin:1px 0 20px;
    padding:8px 5px 8px 8px;
}

.clearing {
    clear:left;
    padding:0;
    margin:0;
    visibility:hidden;
}

.hide {
    display:none;
}

/***** CMS styles *****/

/* Messages */
div.message {
    color: #ff9900;
    font-weight: bold;
    margin-bottom: 8px;
}
div.message:before {
    content: "";
}

div.error_message, div.error-message {
    margin-top: 1px;
    font-size: 85%;
    font-weight: bold;
    color: #ff9900;
}
.important {
    font-weight: bold;
    color: #ff9900; 
}

/* Chooser nav in content section */
#content div.body ul.chooser {
    margin: 0 0 15px 0;
    list-style: none;
}
#content div.body ul.chooser li {
    border: 1px solid #505050; 
    padding: 6px 8px; 
    background-color: whitesmoke; 
    margin-top: 12px;
}
#content div.body ul.chooser li a, .body ul.chooser li a:visited {
    border-bottom: 0;
    display: block;
}
.body ul.chooser li .title {
    font-weight: bold;
    color: #505050;
}


/* In-page navigation */
div.contextnav {
    margin: -8px -0 5px 0;
    text-align: right;
}
div.contextnav a, div.contextnav a:visited {
    font-size: 85%;
    text-decoration: none;
    color: #505050;
}
div.contextnav a:hover {
    color: #01439a;
}


/* TinyMCE generated styles */
img.image-left {
    margin: 3px 8px 3px 0;
    float: left;
    border: 1px solid #505050;   
}
img.image-right {
    margin: 3px 0 3px 8px;
    float: right;
}



/* User Listing */
#user-listing {
    margin-bottom: 20px;
}

#user-listing a, #user-listing a:visited {
    text-decoration: none;
} 

#user-listing table {
    margin-top: 5px;
    width: 512px;
}
#user-listing span.title {
    font-weight: bold;
    color: #505050;
}
#user-listing .title a:hover {
    text-decoration: underline;
}
#user-listing .body a:hover {
    text-decoration: underline;
}

#user-listing tr.even {
    background-color: #ebebeb;
}

#user-listing tr.odd {
    background-color: whitesmoke;
}

#user-listing th, #user-listing td {
    padding: 6px;
}
#user-listing th {
    font-weight: bold;
    color: white;
    background-color: #01439a;
}
#user-listing td {
    vertical-align: top;
}

#user-listing td.label {
    white-space: nowrap;
}

#user-listing span.req {
    color:#ff9900;
}


/* News listing */
/* News */
#news-listing {
    margin-top: 20px;
}

#news-listing h2 a, #news-listing h2 a:visited {
    font-size: 110%;
    font-weight: bold;
    color: <?php echo $color_grey_dark; ?>;
    text-decoration: none;
}
#news-listing h2 a:hover {
    text-decoration: underline;
}

#news-listing h5 {
    font-weight: normal;
    margin: 0 0 18px 0;
}
#news-listing p {
    /* margin: 0; */
    display: inline;
}



/* Pager */
#pager {
    margin-top: 25px;
}
.pager a, pager a:hover {
    text-decoration: none;
}

/* oes */
.oes {
    height: 1px;
    color: #ffffff;
}
