html, body, div, p, ul, li, image, span, h1, h2, h3, h4, h5, h6 {
   margin: 0;
   padding: 0;
   
   font-family: serif;
   color: #000;
   font-size: 12pt;
   
   text-decoration: none;
}
body {
	text-align: center;
	background-image: url('yellow-grad.jpg');
	background-repeat: repeat-x;
	
	border-top: 5px solid #660;
}
div#header {
   height: 90px;
   width: 100%;
   
   text-align: center;
   font-family: sans-serif;
}
.width {
   width: 890px;
   margin: 0 auto;
}

div#header #headerlogo {
   height: 96px;
   width: 347px;
   
   float: left;
   position: relative;
   
   background-image: url('logo.jpg');
   background-repeat: no-repeat;
}
div#header #headerlogo:hover {   
   background-image: url('logo-hover.jpg');
   background-repeat: no-repeat;
}
div#header #headerlogo a {
   position: absolute;
   top: 0;
   left: 0;
   
   height: 96px;
   width: 347px;
}
div#header #headerlogo h1 a span {
   display: none;
}

/*****
	TOP MENU
**/
div#header ul.topmenu {
   list-style-type: none;
   margin: 40px 0 0 0;
   
   float: right;
}
div#header ul.topmenu li {
   display: inline;
}
div#header ul.topmenu li a {
   margin: 0 5px;
   padding: 5px 11px;
   
   font-size: 0.9em;
   color: #000;
   text-decoration: none;
   font-family: sans-serif;
   font-weight: bold;
   
   border-bottom: 3px solid #CC9;
}
div#header ul.topmenu li a:hover, .selected {
   background-color: #DDD;
   border-bottom: 3px solid #660;
}

/*****
	CONTENT
**/
div#content {
   width: 850px;
   margin: 20px auto;
   
   text-align: left;
}
div#content .maintext {
   width: 600px;
   float: left;
}

div#content .maintext h1 {
   font-size: 1.3em;
   font-family: Georgia;
   margin: 10px;
   
   border-bottom: 2px dotted #EFEFEF;
}
div#content .maintext h2 {
   font-size: 1.1em;
   font-family: Georgia;
   margin: 5px;
}
div#content .maintext img {
   padding: 5px;
   margin: 5px;
   border: 0;
}
div#content .maintext p {
   font-family: Verdana;
   font-size: 0.8em;
   
   padding: 0 0 9px 0;
}
div#content .maintext span {
   font-family: Verdana;
   font-size: 0.7em;
   
   margin: 20px;
   line-height: 20px;
}
div#content .maintext .code {
   margin: 10px;
   border: 2px solid #EFEFEF;
   
   padding: 20px;
   
   font-size: 0.8em;
}
div#content .maintext a:link,a:visited,a:active {
   color: #339;
   text-decoration: underline;
}
div#content .maintext a:hover {
   color: #660;
}
div#content .maintext .focus {
   text-align: center;
   font-style: italic;
   font-size: 1em;
   
   line-height: 1.2em;
}
div#content .maintext hr {
   width: 80%;
   
   border: 1px solid #CCC;
}
div#content .maintext ul {
   margin: 10px 20px;
}
div#content .maintext ol {
   margin: 10px 20px;
}
div#content .maintext li {
   font-family: Verdana;
   font-size: 0.8em;
}
div#content .maintext .largeboxad {
   float: left;
   margin: 10px;
}
div#content .maintext .adbox-leader {
   text-align: center;
   margin: 0 auto;
}

/*****
	SIDEBAR
**/

div#content .sidebar {
   width: 250px;
   float: left;
}
div#content .sidebar h3 {
   background-color: #9CF;
   
   padding: 5px;
   margin: 5px 5px 0 5px;
   
   color: #000;
   font-size: 1em;
   font-family: sans-serif;
}
div#content .sidebar h4 {
   background-color: #CCF;
   
   padding: 5px;
   margin: 5px 5px 0 5px;
   
   color: #000;
   font-size: 0.8em;
   font-family: sans-serif;
}
div#content .sidebar div.box {
   border-left: 2px solid #EBEBEB;
   border-right: 2px solid #EBEBEB;
   border-bottom: 2px solid #EBEBEB;
   
   padding: 5px;
   margin: 0 5px;
   
   
   font-family: Verdana, Arial;
}
div#content .sidebar div.adbox {
   border: 2px solid #EBEBEB;
   
   padding: 5px;
   margin: 5px;
   
   text-align: center;
   font-family: Verdana, Arial;
}
div#content .sidebar div.box img {
   padding: 5px;
   margin: 5px;
   border: 1px solid #FC9;
}
div#content .sidebar div.box img:hover {
   background-color: #9C9;
}

/*****
	VERTICAL MENU
**/

.box ul.verticalmenu {
   list-style-type: none;
   margin: 0;
   padding: 0;
}
.box ul.verticalmenu li {
   margin: 0 0  2px 0;
}
.box ul.verticalmenu li a {
   background-color: #CF6;
   color: #000;
   
   text-decoration: none;
   font-weight: bold;
   font-family: Arial;
   font-size: 0.9em;
   
   border-left: 3px solid #CC0;
   
   padding: 5px 0 5px 5px;
   display: block;
}
.box ul.verticalmenu li a:hover {
   background-color: #690;
   border-left: 3px solid #000;
}
.box ul.verticalmenu li a.leftselected {
   background-color: #690;
   border-left: 3px solid #000;
}

/*****
	FOOTER
**/

div#content .footer {
   width: 90%;
   
   margin: 10px auto;
   padding: 5px;
   
   border-top: 1px solid #EFEFEF;
}
div#content .footer p {
   font-size: 0.8em;
   text-align: left;
}
div#content .footer a:link,a:visited,a:active {
   color: #339;
   text-decoration: underline;
}
div#content .footer a:hover {
   color: #660;
}
.left {
   float: left;
}
.right {
   float: right;
}
.clear {
   clear: both;
}
