/*

Original design: andreas00 (v2.2 - Apr 24, 2008) - A free xhtml/css website template by Andreas Viklund.

For more information, see http://andreasviklund.com/templates/andreas00/

*/



/* Main layout and header */

body {background:url(img/bg.gif) repeat-y top center #eaeaea; color:#3a3a3a; font:76%  Verdana, Arial, helvetica, sans-serif; line-height:1.4em; margin:0 auto; padding:0;}

/* begin browser font-size hacks */

body { font-size:  101.1%; }

body:first-of-type {
	font-size: 80%;/* adjust for Safari 3 */
} 

@media all and (min-width:0px) {
  head~body:last-child  { 
	  font-size: 80%; /* adjust for Opera */
	 }
}



body:last-child, * html body {
  /*font-size: 101.1%;  reset that value */
  font-size: 85%; /* firefox 2 */
} 

* html {
	font-size: 80%;/* adjust for IE 5-6 */
}

*:first-child+html { 
	font-size: 76%;/* adjust for IE 7 */
}

/* end browser font-size hacks */



#wrap {background: white; color:#303030; margin:0 auto; padding:1px 5px; width:760px;}

#header {background:url(img/front.jpg) no-repeat bottom left #fff; color:#505050; height: 275px; margin: 8px 0 10px 0; padding:0;}

#header h1 {font-size:2.5em; font-weight:400; letter-spacing:-2px; margin:0 0 15px 15px; padding:20px 0 0;  display: none; }

#header h1 a,#header h1 a:hover {font-weight:400; padding:0;}

#header p {font-size:1.1em; letter-spacing:-1px; margin:0 0 20px 15px; padding:0 0 0 3px;  display: none; }



/* Left sidebar and menu */

#leftside {clear:left; float:left; margin:0 0 10px; padding:0; width:150px;  font-size: .9em;    }

#leftside ul.avmenu {list-style:none; margin:0 0 18px; padding:0; width:150px;}

#leftside ul.avmenu li {display:inline; padding:0; width:150px;}

#leftside ul.avmenu li a {background:url(img/menubg.gif) repeat-x bottom left #f4f4f4; border-bottom:1px solid #d8d8d8; border-left:4px solid #ccc; border-right:1px solid #d8d8d8; border-top:1px solid #d8d8d8; color:#505050; float:left; font-size:1em; font-weight:700; margin-bottom:5px; padding:5px 1px 5px 5px; text-decoration:none; width:138px;}

#leftside ul.avmenu li a:hover,#leftside ul.avmenu li a.current {background:url(img/menubg2.gif) repeat-x bottom left #eaeaea; border-bottom:1px solid #b0b0b0; border-left: 4px solid #166090; border-right:1px solid #b0b0b0; border-top:1px solid #b0b0b0; color:#505050;}

#leftside ul.avmenu ul {font-size:0.9em; margin:0 0 0 15px; padding:0 0 5px 0; width:133px;}

#leftside ul.avmenu ul a {padding:3px 1px 3px 5px; width:123px; }

#leftside ul.avmenu ul ul {font-size: 1em; width:120px;}

#leftside ul.avmenu ul ul a {width:108px;}

#leftside h2 {font-size:1.3em; font-weight:600;  color: #778899; }

#leftside .announce {background:url(img/menubg.gif) repeat-x bottom left #f4f4f4; border-bottom:1px solid #d8d8d8; border-left:4px solid #ccc; border-right:1px solid #d8d8d8; border-top:1px solid #d8d8d8; clear:left; color:#505050; line-height:1.3em; margin:10px 0; padding:5px 5px 5px; width:134px;}

#leftside p,.announce p {font-size:1.0em; line-height:1.4em;}

#leftside div.announce ul {
	margin: -10px 0px 0px -15px;
	list-style-position: outside;
	list-style-type: disc;
}

#leftside div.announce ul li {
	margin: 0px 0px 0px -15px;
	list-style-position: outside;
	list-style-type: disc;
}



/* Right sidebar */

#extras {float:right; margin:0 0 10px; padding:0; width:160px; font-size: 1.05em; }

#extras p,#extras ul {font-size:0.9em; line-height:1.3em; margin:0 0 1.5em; padding:0;  width: 150px;  float: right;  }

#extras li {list-style: disc inside; margin: 0 0 6px 20px; padding:0;  text-align: left; }

#extras h2 {font-size:1.5em; font-weight:400;  margin: 0 0 6px 0; line-height:1.2em; }

#extras blockquote { width: 140px;  float: right;  margin: 10px 0px 10px 0px;         }



/* Main content */

#content {line-height:1.5em; margin:10px 170px 10px 160px; padding:0; text-align:left;   }

#contentwide {line-height:1.5em; margin:10px 0 10px 160px; padding:0; text-align:left;}

#content h2,#contentwide h2 {font-size:1.8em; font-weight:400; /*letter-spacing:-1px;*/ margin: 8px 0 10px 0; padding:0;  line-height: 1.5em; }

#content h3,#contentwide h3 {font-size:1.5em; font-weight:400; margin:6px 0; padding:0;  line-height: 1.3em; }

#content img,#contentwide img {background:#ccc; border: 1px solid #708090; color:#303030; display: inline; padding:1px; margin:0px;}

#content img.right,#contentwide img.right {background:#ccc; border: 1px solid #708090; color:#303030; display: inline; padding:1px; margin:5px 0px 5px 5px;}

#content img.left,#contentwide img.left {background:#ccc; border: 1px solid #708090; color:#303030; display: inline; padding:1px; margin:5px 5px 5px 0px;}

#content ul,#content ol,#contentwide ul,#contentwide ol {margin:0 0 16px 20px; padding:0;}

#content ul ul,#content ol ol,#contentwide ul ul,#contentwide ol ol {margin:2px 0 2px 15px;}

#content li,#contentwide li {margin:0 0 2px 5px; padding:0 0 0 4px;}

#content strong { font-weight: 700; }

#content p,#contentwide p {
	margin: 10px 0 10px 0;
}


/* Footer */

#footer {background: white; border-top:2px solid #dadada; clear:both; color: #708090; font-size:0.85em; margin:0 auto; padding:8px 0; text-align:center; width:760px;  height: 65px;    }

#footer p {margin:0; padding:0;}

#footer a {background:inherit; color:#666; font-weight:400; text-decoration:none;}

#footer a:hover {text-decoration:underline;}

#footer span {font-size:1.2em;}

#footer div.left {
	width: 33%;
	margin: auto auto auto auto;
	height: 63px;
}

#footer div.left img { 
	margin:0;
	padding: 0;
	border: none;
}


/* Links and paragraphs */

a {background:inherit; color:#166090; text-decoration:none; font-weight:700;}

a:hover {background:inherit; color:#286ea0; text-decoration:underline;}

a img {border:0;}

p {margin:0 0 16px;}

blockquote {background:url(img/menubg.gif) repeat-x bottom left #f4f4f4; border-bottom:1px solid #d8d8d8; border-left:4px solid #ccc; border-right:1px solid #d8d8d8; border-top:1px solid #d8d8d8; color:#505050; margin: 16px 16px 16px 16px; padding:7px 7px 7px 11px;}

blockquote p {font-size:1.1em; line-height:1.3em; margin:0; padding: 0}



/* Tables and forms */

table {border:1px solid #d8d8d8; border-collapse:collapse; line-height:1.3em; width:95%; margin:0 0 16px; padding:0;}

caption {font-size:1.5em; font-weight:400; margin:0; padding:6px 0 8px; text-align:left;}

th {background:url(img/menubg2.gif) repeat-x bottom left #eaeaea; color:#505050; padding:7px; text-align:left;}

td {background:url(img/menubg.gif) repeat-x bottom left #f4f4f4; color:#303030; font-size:0.9em; padding:7px; text-align:left;}

input,textarea {border:1px solid #ccc; font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:1em; margin:0; padding:4px;}

label {margin:2px 0 2px 0; font-size:1.2em;}

input {width:200px;}

textarea {width:400px;}



/* Search box */

#searchbox label,.hide {display:none;}

#searchbox {margin:6px 0 16px; padding:0;}

#searchform {background:#fff; border:1px solid #ccc; color:#505050; font-size:0.9em; padding:4px; width:116px;}



/* Additional classes */

.announce h2 {margin:0 0 10px; padding:0;}

.textright {margin:-10px 0 4px; text-align:right;}

.center {text-align:center;}

div.center {
	text-align: center;
	margin: 0 auto 0 auto;
	width: 97%;
	}

.small {font-size:0.8em;}

.large {font-size:1.3em; line-height:1.1em; margin: 0 0 0 0; padding: 0 0 0 0:}

.red {color:red;}

.green {color:green;}

.blue {color: #778899;}

.highlighted {background:#f0f0f0; border:1px solid #b0b0b0; color:#303030; padding:3px; }

.button {background:url(img/menubg.gif) repeat-x bottom left #f4f4f4; border-bottom:1px solid #d8d8d8; border-left:4px solid #ccc; border-right:1px solid #d8d8d8; border-top:1px solid #d8d8d8; color:#505050; font-weight:400; font-size:1.2em; margin:0 0 15px; padding:7px 7px 7px 11px; width:120px;}

.left {float:left; margin:10px 10px 5px 0;}

.right {float:right; margin:10px 0 5px 10px;}

img.left, img.right{ 	border: 1px solid #666666; }

br.clear { clear: both; height:1px; margin:0; padding:0;}

hr {border:1px solid #cccccc; width:90%; margin:0 auto 10px auto; padding:0;}

#extras div.box {background:#f0f0f0; border:1px solid #b0b0b0; color:#303030; padding:3px; font-size:1.2em;}
