/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com - Free to use for any purpose as long as the proper credits are given to the original author.
Version: 2.0 (Jun 25, 2006)
Screen layout: */

/***** BODY AND MAIN CONTAINER *****/
body {
	margin:0 auto;
	padding:0;
	font:76% Verdana,Tahoma,Arial,sans-serif;
	background:#666699 url(img/bg4.gif) top center repeat-y;
	color:#373737;
}

#wrap {
background:#ffffff;
color:#303030;
margin:0 auto;
width:760px;
}

/***** VARIOUS TAGS *****/
a {
text-decoration:none;
font-weight:bold;
color:#286ea0;
background-color:inherit;
}

a:hover {
	text-decoration:none;
	color:#286ea0;
	background-color:inherit;
}

a img {
border:0;
}

div.floatl {
float: left;
text-align: center;
padding:10px;
font:85% Arial,Verdana,Tahoma,sans-serif;
}
  
div.floatr {
float: right;
text-align: center;
padding:10px;
font:85% Arial,Verdana,Tahoma,sans-serif;
}
  


/***** HEADER *****/
#header {
margin:10px 0 49px; /**adjust for IE 7**/ 
padding:0;
height:45px;
}

#header h1 {
color:#505050;
background-color:inherit;
width:250px;
margin:0 0 0px;
font-size:2.2em;
float:left;
}


#header h1 a{
color:#505050;
background-color:inherit;
text-decoration:none;
}

#header p{
font:76% Arial,sans-serif;
float:right;
text-align:right;
vertical-align:top;
color:#505050;
margin:8px 0 0;
font-size:10px;
font-weight:normal;
line-height:1em;
background-color:inherit;
}


#frontphoto {
	margin:0 0 10px 0;
	padding:0;
	background:#cccccc;
	color:#303030;

}



/***** LEFT SIDEBAR *****/
#leftside {
	clear:left;
	float:left;
	width:140px;
	margin:0 0 2px;
	padding: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:#f4f4f4;
color:#505050;
border-left:4px solid #cccccc;
line-height:1.5em;
}

#leftside div.announce p {
margin:10px 0 0;
padding:0;
}

/***** MAIN NAVIGATION MENU *****/
ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 140px; /* Width of Menu Items */
	border-bottom: 1px solid #ccc;
	font-size:0.9em;
	}

ul li {
	position: relative;
	}
	
li ul {
	position: absolute;
	left: 139px; /* Set 1px less than menu width */
	top: 0;
	display: none;
	}

/* styles for menu items */
ul li a {
   width:124px;  /* fixes menu disappear in IE7 */
   display: block;
   text-decoration: none;
   color: #777;
   background: #fff; /* IE6 Bug */
   padding: 7px;
   border: 1px solid #ccc;
   border-bottom: 0;
}


ul li a.current { color: #1c77c4; background: #f9f9f9; text-decoration: none; }	

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

ul li a:hover { color: #1c77c4; background: #f9f9f9; text-decoration: none; } /* Hover Styles */
		
li ul li a { padding: 7px; } /* Sub Menu Styles */
		
li:hover ul, li.over ul { display: block; } /* The magic */


/***** RIGHT SIDEBAR *****/
#extras {
float:right;
width:140px;
margin:0px 0px 5px;
padding:0
line-height:1.6em;
}

#extras p,#extras ul {
color:#535353;
font-size:0.9em;
margin:0 0 16px;
padding:0;
}

#extras li {
	list-style:none;
	line-height:1.2em;
	margin: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 10px;
padding:0;
}

/***** MAIN CONTENT *****/
#content {
margin:0 150px 5px 150px;
border-left:1px solid #e0e0e0;
border-right:1px solid #e0e0e0;
padding:0 10px;
line-height:1.6em;
}

#contentwide {
margin:0 0 5px 150px;
border-left:1px solid #f0f0f0;
padding:0 0 0 10px;
line-height:1.6em;
}

#content h2,#contentwide h2 {
font-size:1.4em;
color:#454545;
margin:0 0 10px;
}

#content h3,#contentwide h3 {
font-size:12px;
margin:0 0 8px;
}

#content img,#contentwide img {
padding:1px;
display:inline;
background:#cccccc;
color:#303030;
border:4px solid #f0f0f0;
}

#content ul, #contentwide ul, #contentwide ol {
	margin:0 0 16px 20px;
}

#content li, #contentwide li {
	margin:0;
	padding:0 0 0 5px;
}

#content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
	margin:0 0 0 16px;
	padding:0;
}

/***** FOOTER *****/
#footer {
clear:both;
margin:0 auto;
padding:10px 0 20px;
border-top:4px solid #f0f0f0;
width:760px;
text-align:center;
color:#808080;
background:#ffffff;
font-size:0.8em;
}

#footer a {
color:#808080;
background-color:inherit;
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;
}

.hide {
display:none;
}

