/* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */



/**************** Body and tag styles ****************/



*{margin:0; padding:0;}



body{

font:80% tahoma,sans-serif;

line-height:1.4em;

text-align:center;

color:#000000;

background:#ffffff url('background.jpg');

background-repeat:repeat-x;

margin: 0px 0px 10px 0px;

}



a{

color:#467aa7;

font-weight:bold;

text-decoration:none;

background-color:inherit;

}


a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}

a img{border:none;}



p{padding:0 0 1.6em 0;}

p form{margin-top:0; margin-bottom:20px;}



img.left, img.center, img.right{padding:4px; border:1px solid #a0a0a0;}

img.left{float:left; margin:0 12px 5px 0;}

img.center{display:block; margin:0 auto 5px auto;}

img.right{float:right; margin:0 0 5px 12px;}




/**************** Header and navigation styles ****************/



#container{

width:98%;

margin:20px auto;

padding:1px 0;

text-align:left;

background:#EDEFF1;

color:#000000;

border:0px solid #000000;

}

#rightnav

{

	float: right;

	width: 30%;

	margin: 0;

	padding: 1em;

}

#header{
text-align:right;
font-size:1.5em;
height:42px;
width:100%;
margin:0px 1px 1px 1px;
background:#04504D url('header_bg.jpg');
background-repeat:no-repeat;
color:#FFCC00;
padding-top:15px;
}




#header h1{

padding:35px 0 0 20px;

font-size:2.4em;

background-color:inherit;

color:#ffffff;

letter-spacing:-2px;

font-weight:normal;

}



#header h1 a{

color:#ffffff;

text-decoration:none;

}



#header h1 a:hover {

color:#CCCCCC; text-decoration:none; background-color:inherit;

}



#header2{

height:200px;

width:100%;

margin:0 1px 1px 1px;

background: #D2D6D9 url('header2_bg.jpg');
background-repeat:no-repeat;
background-position:center;
color:#ffffff;

border-bottom:10px solid #04504D;


}

#navigation{

height:2.2em;

line-height:2.2em;

width:100%;

margin:0 1px;

background:#000000;

color:#ffffff;

}



#navigation li{

float:left;

list-style-type:none;

border-right:1px solid #ffffff;

white-space:nowrap;

display: inline;

position: relative;

}



#navigation li a{

display:block;

padding:0 10px;

font-size:0.9em;

font-weight:normal;

text-transform:uppercase; /* transformed text to uppercase */

text-decoration:none;

background-color:inherit;

color: #ffffff;

font-weight:bold;

}



* html #navigation a {width:1%;}



#navigation .selected, #navigation a:hover{

background:#000000;

color:#ffffff;

font-weight:bold;

text-decoration:none;

}



/* Navigation for drop downs*/



ul li#bypass {

display : none;

}



#navigation ul {

height : 18px; /* you will also need to change #navigation a padding and #navigation li ul margin-top*/

width : 100%;

margin : 0;

padding : 0;

background:#000000; /* background coor of the drop downs */

color: #ffffff;

font-weight:bold;

list-style-type : none;

}



#navigation li ul {

border-top : 1px solid #ffffff;

margin-top : 3px; /* How far down the drop down menus start - you will also need to change #navigation ul height and #navigation a padding */

display : none;

left : 0;

position : absolute;

width : 200px; /* width of the drop down menus? */

height : auto;

}



#navigation li li {

border-left:0px solid #FFFFFF; 
border-right:0px solid #FFFFFF; 
border-bottom:0px solid #FFFFFF; 
width:200px; /* width of the drop down menus? */

/* color of drop down borders */

border-top : 0px none;

}



#navigation li li a {

display:block;

padding:0 10px;

font-size:0.8em;

font-weight:normal;

text-transform:uppercase; /* transformed text to uppercase */

text-decoration:none;

background-color:inherit;

color: #ffffff;

font-weight:bold;

border-right: none;

width: 180px;

}



#navigation a:hover, #navigation a:focus {

background-color:#04504D;

color: #DBAE24;

}



#navigation .sel a {

background-color:inherit;

color: #ffffff;

}



#navivation a:active {

background-color:inherit;

color: #ffffff;

}



/**************** Content styles ****************/



#content{

float:left;

width:55%;

font-size:1.4em;

padding:20px 0 0 20px;

}



#content h1{

display:block;

margin:0 0 16px 0;

font-size:2.4em;

font-weight:normal;

letter-spacing:-1px;

color:#505050;

background-color:inherit;

}



#content h2{

display:block;

margin:0 0 16px 0;

font-size:1.7em;

font-weight:normal;

letter-spacing:-1px;

color:#505050;

background-color:inherit;

}



#content h2 a{font-weight:normal;}

#content h3{margin:0 0 5px 0; font-size:1.4em; letter-spacing:-1px;}

#content a:hover, #subcontent a:hover{text-decoration:underline;}

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

#content dl{margin:0 5px 10px 25px;}

#content dt{font-weight:bold; margin-bottom:5px;}

#content dd{margin:0 0 10px 15px;}



/**************** Sidebar styles ****************/



#subcontent{

float:right;

width:170px;

padding:20px 20px 10px 0;

line-height:1.4em;

}



#subcontent h2{

display:block;

margin:0 0 15px 0;

font-size:1.6em;

font-weight:normal;

text-align:left;

letter-spacing:-1px;

color:#505050;

background-color:inherit;

}



#subcontent p{margin:0 0 16px 0; font-size:0.9em;}



/**************** Menublock styles ****************/



.menublock{margin:0 0 20px 8px; font-size:0.9em;}

.menublock li{list-style:none; display:block; padding:2px; margin-bottom:2px;}

.menublock li a{font-weight:bold; text-decoration:none;}

.menublock li a:hover{text-decoration:none;}

.menublock li ul{margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}

.menublock li ul li{margin-bottom:0;}

.menublock li ul a{font-weight:normal;}



/**************** Searchbar styles ****************/



#searchbar{margin:0 0 20px 0;}

#searchbar form fieldset{margin-left:10px; border:0px solid;}



#searchbar #s{

height:1.2em;

width:110px;

margin:0 5px 0 0;

border:1px solid #a0a0a0;

}



#searchbar #searchbutton{

width:auto;

padding:0 1px;

border:1px solid #808080;

font-size:0.9em;

text-align:center;

}



/**************** Footer styles ****************/



#footer{

clear:both;

width:100%;

padding:5px 0;

margin:0 1px;

font-size:0.9em;

color:#ffffff;

background:#04504D;

}



#footer p{padding:0; margin:0; text-align:center;}

#footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}

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



/**************** Misc classes and styles ****************/



.splitcontentleft{float:left; width:48%;}

.splitcontentright{float:right; width:48%;}

.clear{clear:both;}

.small{font-size:0.8em;}

.hide{display:none;}

.textcenter{text-align:center;}

.textright{text-align:right;}

.important{color:#f02025; background-color:inherit; font-weight:bold;}



.box{

margin:0 0 20px 0;

padding:10px;

border:1px solid #c0c0c0;

background-color:#fafbfc;

color:#505050;

line-height:1.5em;

}