﻿/* XHTML ELEMENTS */

body {
    /* BASE SCALE */
    width: 100%;
    
    /* BASE FONT */
    font-family: Arial, Helvetica, Sans-Serif;
    word-spacing: 0.35em;
    letter-spacing: -1px;
    font-size: 14px;
    color: #444444;
    
    /* BASE STYLE */
    background: #444444;    
}

a { 
    color: #333333;
    text-decoration: none;    
    text-decoration: underline;    
}

a:hover {
    color: #79C120;
}

h1 {
    font-size: 20px;
    font-weight: normal;
    color: #79C120;    
}

h2 {
    font-size: 18px;    
    font-weight: normal;
    color: #79C120;     
}

/* BASE CLASSES */

.hidden {
    display: none;
    visibility: hidden;
    height: 0;
}

.left {
    float: left;
    clear: left;
}

.right{
    float: right;
    clear: right;
}

/* STRUCTURAL ELEMENTS */

div#page {
    width: 1000px;
    margin: 0 auto 0 auto;
}

div#main {
    width: 800px;
    float: left;    
    position: relative;
    z-index: 10;    
}

ul#side {
    width: 240px;
    float: right;
    position: relative;
    margin: 0 -20px 0 -20px;
    padding: 10px 0 0 0;    
}

div#head {
    width: 780px;
    height: 140px;
    background: url(../images/head.png) center bottom no-repeat;
    padding: 10px;
}

div#logo {
    width: 116px;
    height: 116px;
    background: url(../images/logo.gif) center center no-repeat;
    position: relative;
    top: 10px;    
    left: 10px;
}

div#content {
    width: 780px;
    background: url(../images/content.png) center top repeat-y;
    padding: 0 11px 0 9px;        
}

div#document {
    width: 760px;
    padding: 0 10px 0 10px;
}

div#footer {
    color: #666666;
    margin: 30px 10px 0 10px;
    padding: 5px 0 10px 0;
    border-top: 1px solid #79C120;
    font-size: 10px;
    word-spacing: normal;
    letter-spacing: normal;
}

div#foot {
    width: 780px;
    height: 21px;
    background: url(../images/foot.png) center top no-repeat;
    padding: 0 12px 0 8px;
}

/* SIDE COLUMN ELEMENTS */

li.widget {
    
}

div.widgetHead {
    height: 21px; 
    background: url(../images/widgetHead.png) right bottom no-repeat;    
}

div.widgetContent {    
    width: 208px;
    background: url(../images/widgetContent.jpg) center top repeat-x #79C120;
    border-right: 1px solid #567516;
    padding: 0 10px 0 20px;
}

div.widgetFoot {
    height: 21px; 
    background: url(../images/widgetFoot.png) right top no-repeat;    
}

div.sidecontainer {
    width: 100%;
    padding: 10px 0 10px 0;      
}

div.sidecontainer a, div.sidecontainer a:hover{
    color: #444444;        
}

div.sidecontainer h6 {
    font-size: 14px;
    font-weight: normal;
}

div.sidecontainer h6.sidetitle, div.sidecontainer h6.sidetitle a, div.sidecontainer h6.sidetitle a:hover {
    font-size: 15px !important;    
    font-weight: bold !important;
    border-bottom: 1px solid #99cc33;
    padding: 0 0 -1px 0;
    margin: 0 0 4px 0;
    color: #FFFFFF;
    text-decoration: none;   
}

/* HEADING TYPES */

.Hstatistics {
    background: url(../images/statistics_heading.gif) right center no-repeat;
}

.Hnews {
    background: url(../images/news_heading.gif) right center no-repeat;
}

.Hlogin {
    background: url(../images/login_heading.gif) right center no-repeat;
}

.Hfeed {
    background: url(../images/feed_heading.gif) right center no-repeat;
}

/* NEWS WIDGET */

div.blog_latest_summary {
    margin: 10px 0 0 0;
    padding: 0 0 0 10px;
}

div.blog_latest_summary h6 a {
    font-weight: bold;
    color: #444444;
    font-size: 12px;
}

div.blog_summary_text{
    font-size: 11px;
    margin: 5px 0 5px 0;
}

p.blog_summary_date, p.blog_summary_more{
    font-size: 10px;
    font-weight: bold;
}

/* LOGIN WIDGET */

form#login_widget span {
    height: 25px;
    display: block;
    background: url(../images/form_input_r.gif) top right no-repeat transparent;
    margin: 0 0 5px 0;    
}

form#login_widget span #form_email {
    width: 170px;
    height: 25px;
    background: url(../images/form_input_l_email.gif) top left no-repeat transparent;
    border: none;
    padding: 5px 0 5px 30px;
}

form#login_widget span #form_password {
    width: 170px;
    height: 25px;
    background: url(../images/form_input_l_passl.gif) top left no-repeat ;
    border: none;    
    padding: 5px 0 5px 30px;
}

form#login_widget #form_submit {
    width: 62px;
    height: 25px;
    background: url(../images/form_input_button.gif) center center no-repeat ;
    border: none;
}
    



/* NAVIGATIONAL ELEMENTS */

/* style the outer div to give it width */
div#nav {
}

/* remove all the bullets, borders and padding from the default list styling */
div#nav ul {    
    padding:0 0 0 0;
    margin: 0 0 0 1px;
    list-style-type:none;
    width:780px; 
    background: url(../images/nav.jpg) center top repeat-x #7FBE25;
    border-top: 1px solid #87A647;
    border-bottom: 1px solid #87A647;
    height: 1.95em;
}

/* style the sub-level lists */
div#nav ul ul {
    width:14em;
    padding: 0;
    margin: 0 0 0 -1px;
    border: none;
    background: #FFFFFF;
    border-left: solid 1px #7FBE25;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
div#nav ul li {
    float:left;
    display: inline;    
    border-right: solid 1px #7FBE25;
}

div#nav ul li a{
    font-size: 14px !important;
    color: #ffffff;
    text-decoration: none;
    padding: 0.38em 10px 0.38em 10px;
}

/* style the sub level list items */
div#nav ul ul li {
    display:block;
    width:12em;
    height:auto;
    position:relative;
    line-height:1em;
    border: none;
}

/* style the links for the top level */
div#nav a, div#nav a:visited {
    display:block;
    float:left;
    height:100%;
    font-size:1em;
    text-decoration:none;
}

/* style the sub level links */
div#nav ul ul a, div#nav ul ul a:visited {
    display:block;
    background: #ffffff; 
    color:#79C120;
    width:12em;
    height:100%;
    line-height:1em; 
    padding:0.5em 1em;
    font-size: 14px !important;
}

div#nav ul table ul a, div#nav ul table ul a:visited  {
    width:14em; 
    w\idth:12em;
}


/* style the table so that it takes no part in the layout - required for IE to work */
div#nav table {
    position:absolute; 
    left:0; 
    top:0; 
    font-size:1em; 
    z-index:-1;
}

div#nav ul ul table {
    lef\t:-1px;
}

div#nav ul ul table ul.left {
    margin-lef\t:2px;
}

div#nav li:hover {
    position:relative;
}

* html div#nav a:hover {
    position:relative;
}

/* style the third level background */
div#nav ul ul ul a, div#nav ul ul ul a:visited {
    background:#ccc;
}

/* style the fourth level background */
div#nav ul ul ul ul a, div#nav ul ul ul ul a:visited {
    background:#ddd;
}
/* style the sub level 1 background */
div#nav ul :hover a.sub1 {
    background:#ccc;
}
/* style the sub level 2 background */
div#nav ul ul :hover a.sub2 {
    background:#ddd;
}

/* style the level hovers */
/* first */
div#nav a:hover {
    color:#79C120;    
    background: url(../images/nav_li.png) top left repeat-x;
}

div#nav :hover > a {
    color:#79C120;
    background: url(../images/nav_li.png) top left repeat-x;
}

/* second */
div#nav ul ul a:hover{
    color:#FFFFFF;
    background:#79C120;
}

div#nav ul ul :hover > a {
    color:#FFFFFF;
    background:#79C120;
}

/* third */
div#nav ul ul ul a:hover {
    background:#79C120;
}

div#nav ul ul ul :hover > a {
    background:#ddd;
}

/* fourth */
div#nav ul ul ul ul a:hover {
    background:#eee;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
div#nav ul ul {
    visibility:hidden;
    position:absolute;
    height:0;
    top:1.9em;
    left:0;
    width:14em;
    margin: -1px 0 0 -1px !important;
    }

/* position the third level flyout menu */
div#nav ul ul ul{
    left:14em;
    top:0;
    width:14em;
}

/* position the third level flyout menu for a left flyout */
div#nav ul ul ul.left {
    left:-14em;
}


/* make the second level visible when hover on first level list OR link */
div#nav ul li:hover ul, div#nav ul a:hover ul {
    visibility:visible; 
    height:auto; 
    background:transparent;
    }

/* keep the third level hidden when you hover on first level list OR link */
div#nav ul :hover ul ul{
    visibility:hidden;
}

/* keep the fourth level hidden when you hover on second level list OR link */
div#nav ul :hover ul :hover ul ul{
    visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
div#nav ul :hover ul :hover ul{
    visibility:visible;
}

/* make the fourth level visible when you hover over third level list OR link */
div#nav ul :hover ul :hover ul :hover ul {
    visibility:visible;
}

/* image Classes */

.main_banner {
    margin: 0 -9px 0 -9px;
}

