/* andreas03 - 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: 1.2
(Nov 28, 2005)

Screen layout: */

body{
margin:0;
background: #047 url('img/bodybg.png') repeat-x fixed;
color:#222; font-style:normal; font-variant:normal; font-weight:normal; font-size:76%; font-family:tahoma, verdana, sans-serif; padding-left:0; padding-right:0; padding-top:30px; padding-bottom:30px
}

#header{
width:760px;
background:#c0c0c0 url('img/banner.jpg') no-repeat top center;
height:50px; margin-left:auto; margin-right:auto; margin-top:0; margin-bottom:20px; padding-left:0; padding-right:0; padding-top:0; padding-bottom:10px
}

#thetop{
margin:0;
}

#container{
width:720px;
margin:0 auto;
background:#fff url('img/contbg.png') no-repeat;
color:#222; padding-left:20px; padding-right:20px; padding-top:20px; padding-bottom:0
}

a{
text-decoration:none;
background-color:inherit;
color:#26c;
}

a:hover{
text-decoration:underline;
}

a img{
border:0px none;
}

p{
margin:0 0 15px 0;
line-height:1.5em;
}

#main p, #sidebar p{
padding:0 0 0 10px;
}

#logo{
float:left;
width:450px;
margin:0 20px 10px 0;
padding:0 0 0 0;
background:#eee;
border:4px solid #dde;
text-align:center;
vertical-align: top;
horizontal-aligh:top;
color:#555;
overflow:auto;
}

#logo h1{
margin:1px 5px 1px 5px;
letter-spacing:-3px;
}

#logo a{
background-color:inherit;
color:#26a;
text-decoration:none;
}

#logo a:hover{
background-color:inherit;
color:#69e;
}

#tagline{
text-align:center;
font-size:1.2em;
}

#intro p{
line-height:1.5em;
}

#main{
float:left;
width:530px;
margin-right:20px;
padding:0;
}

.headerstyle{
display:block;
background:#eee url('img/gradient2.png') repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd;
text-decoration:none; margin-left:0; margin-right:0; margin-top:30px; margin-bottom:10px; padding-left:8px; padding-right:0; padding-top:5px; padding-bottom:5px
}

#sidebar{
width:155px;
float:right;
margin-top:20px;
font-size:1em;
line-height:1.3em;
}

#sidebar p{
font-size:0.9em;
}

.sidelink{
display:block;
width:140px;
font-size:1.1em;
font-weight:bold;
text-align:left;
background:#eee url('img/gradient1.png') repeat-x;
color:#26c;
border-top:1px solid #ddd;
border-right:1px solid #bbb;
border-bottom:1px solid #bbb;
border-left:1px solid #ddd; margin-left:0; margin-right:10px; margin-top:3px; margin-bottom:2px; padding-left:8px; padding-right:0; padding-top:5px; padding-bottom:5px
}

.sidelink:hover, .menuheader{
background:#fff url('img/gradient2.png') repeat-x;
color:#222;
border-top:1px solid #ddd;
border-right:1px solid #888;
border-bottom:1px solid #888;
border-left:1px solid #ddd;
text-decoration:none
}

#footer{
width:760px;
background:#fff url('img/footerbg.png') no-repeat bottom left;
font-size:0.9em;
color:#888;
text-align:center; margin-left:auto; margin-right:auto; margin-top:0; margin-bottom:20px; padding-left:0; padding-right:0; padding-top:0; padding-bottom:5px
}

h1, h2, h3, h4{
margin:0 0 10px 0;
font-weight:normal;
}

h1{
font-size:2.8em;
}

h2{
margin:0 0 4px 0;
font-size:1.8em;
}

h3{
margin:20px 0 8px 0;
font-size:1.4em;
}

h4{
margin:10px 0 5px 0;
font-size:1.2em;
}

.clear{
clear:both;
margin:0;
}

.right{
text-align:right;
}

.internallink{
font-size:0.9em;
text-align:center;
}

.block{
padding:20px;
background:#eee;
color:#222;
border:2px solid #ddd;
}

.credit{
color:#888;
background-color:inherit;
}

.hide{
display:none;
}

/* Original open source design by Andreas Viklund - http://andreasviklund.com
Released through OSWD.org */


/* CSS Popout menuv */

/* Fix IE. Hide from IE Mac \*/
* html #menuv ul li{float:left;height:1%;}
* html #menuv ul li a{height:1%;}
/* End */

#menuv		                                 /* position, size, and font of  menu */
	{	
	position:left;	
	top:19em;
	left:6em;
	z-index: 10;
	width: 8em;						          /* [1] width of menu item (i.e., box) */
	text-align: center;
	font-size: 0.9em;
	font-family: tahoma, arial, geneva, sans-serif;
	}

#menuv a
	{
	width: 100%;
	display:block;						
	padding-top: 0.2em;						/* expands menu box vertically*/
	padding-bottom: 0.2em;
	border-bottom:1px solid #555;		/* adds bottom border */
	white-space:wrap;
	}

#menuv a, #menuv a:visited				/* all menus at rest */
	{
	display:block;
	width:140px;
	font-size:1.1em;
	font-weight:bold;
	text-align:left;
	background:#eee url('img/gradient1.png') repeat-x;
	color:#26c;
	border-top:1px solid #ddd;
	border-right:1px solid #bbb;
	border-bottom:1px solid #bbb;
	border-left:1px solid #ddd; margin-left:0; margin-right:10px; margin-top:3px; margin-bottom:2px; padding-left:8px; padding-right:0; padding-top:5px; padding-bottom:5px
	}

#menuv a.parent, #menuv a.parent:hover 	/* attaches parent-arrow on all parents */
	{
	background-image: url('nav_white.gif');
	background-position: left center;
	background-repeat: no-repeat
	}

#menuv a:hover				             /* all menus on mouse-over */
	{
	background:#fff url('img/gradient2.png') repeat-x;
	color:#222;
	border-top:1px solid #ddd;
	border-right:1px solid #888;
	border-bottom:1px solid #888;
	border-left:1px solid #ddd;
	text-decoration:none
	}
	
#menuv li
	{
	list-style-type:none;		            /* removes bullets */
	}

#menuv ul li
	{
	position:relative;
	}

#menuv li ul
	{
	position: absolute;
	top: 0;
	left: 14em;				                 /* distance from  left menu (this should be the same as width value in #menuv [1]) above */
	display: none;
	}

div#menuv ul, #menuv ul ul, div#menuv ul ul ul
	{
	margin:0;				               /* keeps the menu parts together */
	padding:0;
	width: 14em;			              /* width of sub menus  (this should be the same as width value in #menuv [1]) above */
	}

div#menuv ul ul, div#menuv ul ul ul, div#menuv ul li:hover ul ul, div#menuv ul li:hover ul ul ul
	{
	display: none;
	}

div#menuv ul li:hover ul, div#menuv ul ul li:hover ul, div#menuv ul ul ul li:hover ul
	{
	display: block;
	}