/* 
_________________________________________________________________

Necessary styles/hacks

_________________________________________________________________
*/

* {
    padding: 0;
    margin: 0;
    border: 0;
    }
    
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    font-size: 0;
    }

.clearfix {
    display: inline;
    }  

    * html .clearfix {height: 1%;}
    .clearfix {display: block;}
    
/* 
_________________________________________________________________

Body/Container

_________________________________________________________________
*/

body {
        font-family: Geneva, Arial, Helvetica, san-serif;
        background: url(images/bg.jpg) repeat-x #FFF;
        }
        
#container {
        width: 800px;
        }
        
/* 
_________________________________________________________________

Header

_________________________________________________________________
*/

h1 {
        background: url(images/h1.gif);
        height: 107px;
        width: 227px;
        text-indent: -9999px;
        float: left;
        }
        
/* 
_________________________________________________________________

Top nav

_________________________________________________________________
*/

#topnav {
        width: 173px;
        height: 74px;
        background: url(images/topnavbg.jpg);
        float: right;
        list-style-type: none;
        padding-left: 400px;
        }
        
#topnav li {
        float: left;
        padding-top: 2px;
        margin-right: 7px;
        }
        
#topnav a {
        font-size: 11px;
        font-weight: bold;
        color: #FFF;
        margin-top: 5px;
        text-decoration: none;
        }
        
/* 
_________________________________________________________________

Horizontal nav

_________________________________________________________________
*/

#horizontalnav {
        float: left;
        width: 502px;
        height: 33px;
        background: url(images/horizontalnavbg.jpg);
        list-style-type: none;
        padding-left: 70px;
        }
        
#horizontalnav li {
        width: 100px;
        text-transform: uppercase;
        float: left;
        background: url(images/horizontalnavlibg.jpg) no-repeat right;
        margin-top: 1px
        }

#horizontalnav a {
        font-size: 12px;
        font-weight: bold;
        color: #FFF;
        text-decoration: none;
        text-align: center;
        height: 23px;
        width: 40px;
        display: block;
        padding-top: 8px;
        }
        
#horizontalnav a:hover {
        background: url(images/navover.gif) no-repeat top center;
        }

/* 
_________________________________________________________________

Top ad

_________________________________________________________________
*/

#topad {
        height: 110px;
        padding: 23px 0 0 10px;
        display: block;
        float: left;
        background: url(images/adbg.jpg);
        margin-top: 1px;
        }
        
/* 
_________________________________________________________________

Left navigation

_________________________________________________________________
*/

#leftnav {
    width: 200px;
    float: left;
    margin-top: 8px;
    margin-right: 8px;
    border-left: 7px solid #4F83FF;
    }
    
h2 {
    height: 16px;
    background: url(images/h2bg.gif);
    color: #fc7100;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 15px;
    float: left;
    width: 170px;
    }
    
#leftnav ul {
    list-style-type: none;
    background: #f8f8f8;
    padding: 0 5px;
    float: left;
    border-bottom: 4px solid #487CDF;
    margin-bottom: 10px;
    width: 190px;
    }
    
#leftnav li {
    display: inline;
    color: #437ADA;
    float: left;
    border-bottom: 1px solid #CCC;
   }

#leftnav a {
    font-size: 11px;
    background: url(images/s_arrow.gif) no-repeat left;
    height: 30px;
    line-height: 30px;
    color: #575F71;
    text-decoration: none;
    padding-left: 10px;
    padding-top: 3px;
    float: left;
    width: 180px;
    }
  
#leftnav ul.cat a {
    width: 150px;
    }
    
#leftnav b {
    font-size: 11px;
    float: right;
    line-height: 30px;
    }
    
#leftnav form {
    background: #f8f8f8;
    padding: 0 5px;
    float: left;
    border-bottom: 4px solid #487CDF;
    margin-bottom: 10px;
    padding: 7px;
    width: 186px;
    }
    
#leftnav input.text {
    border: 1px solid #CCC;
    color: #999;
    background: #FFF;
    font-size: 11px;
    height: 20px;
    width: 150px;
    }
    
#leftnav input.button {
    background: url(images/button.gif) repeat-x;
    height: 20px;
    color: #FFF;
    font-size: 8px;
    font-weight: bold;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 4px;
    }

.bginput
{
    border: 1px solid #CCC;
    color: #999;
    background: #FFF;
    font-size: 11px;
    height: 20px;
    width: 100%;
}

.button
{
    background: url(images/button.gif) repeat-x;
    height: 20px;
    color: #FFF;
    font-size: 8px;
    font-weight: bold;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 4px;
}
    
/* 
_________________________________________________________________

Left Ad

_________________________________________________________________
*/

#leftnav .ad {
    background: #E9EFF9;
    width: 200px;
    height: 600px;
    padding-top: 10px 30px 10px 0px;
    text-align: center;
    }
    
/* 
_________________________________________________________________

Central content

_________________________________________________________________
*/

#content {
    width: 437px;
    margin: 8px;
    margin-left: 0;
    float: left;
    }
    
#content dl {
    background: #ECF1FB;
    }
    
#content dt {
    text-align: left;
    height: 36px;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 36px;
    background: url(images/contenthead.gif);
    border-bottom: 1px solid #FFF;
    padding-left: 14px;
    padding-right: 14px;
    }

#content dt a:link, dt a:hover, dt a:visited, dt a:active
{
    text-align: left;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 36px;
}
    
#content dd.contentimg {
    background: #ECF1FB;
    text-align: left;
    padding: 8px;
    float: left;
    }
    
#content dd.contentdes {
    padding: 0 8px 9px 8px;
    font-size: 12px;
    color: #575F71;
    text-align: left;
    padding-top: 10px;
    width: 421px;
    float: left;
    }
    
#content dd.clear {
    clear: both;
    }
    

.bottom
{
    padding: 10px;
    background: url(images/contentbottom.gif) repeat-x bottom;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: bold;
    height: 14px;
}

.bottom a:link, .bottom a:hover, .bottom a:visited, .bottom a:active
{
    color: #FFFFFF;
    font-weight: bold;
}

/* 
_________________________________________________________________

Right Ad

_________________________________________________________________
*/

#righttowerad {
    width: 120px;
    float: right;
    background: #E9EFF9;
    padding: 10px;
    }
    
#righttowerad img {
    margin-bottom: 10px;
    }
    
/* 
_________________________________________________________________

Footer

_________________________________________________________________
*/

#footer {
    background: url(images/footerbg.gif);
    height: 29px;
    border-left: 7px solid #4F83FF;
    text-align: center;
    font-size: 12px;
    color: #FFF;
    padding-top: 12px;
    }
    
#footer a:link, #footer a:hover, #footer a:visited, #footer a:active
{
    color: #FFF;
    font-size: 12px;
}