body {
	background-color: #ffffff;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-align: center;
	color: #444444;
}
body#dark {
	background-color: #000000;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-align: center;
	color: #444444;
}

/* structure */
#container {
	width: 850px;
	margin: 0 auto;
   padding: 5px;
}
#headWrapper {
   display: table;
   #position: relative;
   text-align: left;
   overflow: hidden;
   height: 76px;
   width: 350px;
   float: right;
}
#adContainer {
   #position: absolute; 
   #top: 50%; 
   display: table-cell; 
   vertical-align: middle; 
   text-align: center;
}
#adBase {
   #position: relative; 
   #top: -50%; 
   width: 100%; 
   right:0;
}





/* forms */
form {
   margin: 0;
   padding: 0;
}
form ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
form ul li {
   margin: 0 0 4px 0;
   padding: 0;
}
form input {
   margin: 0 2px 0 0;
   padding: 2px;
   font-size: 11px;
   border-top: 1px solid #d3d3d3;
   border-left: 1px solid #d3d3d3;
   border-right: 1px solid #c3c3c3;
   border-bottom: 1px solid #c3c3c3;
}
form input.noborder {
   border: 0;
   padding: 0;
   margin: 0 2px 0 2px;
}
form input.submit {
   background-color: #CEE8FF;
   margin: 4px 0 0 0;
}
form label {
   margin: 0 2px 0 2px;
}




#textBlock {
   padding: 34px 10px 0 10px;
}
#textBlockSecond {
   padding: 14px 10px 0 10px;
}
#textBlock ul,#textBlockSecond ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
#textBlock ul li, #textBlock ul li.last, #textBlockSecond ul li, #textBlockSecond ul li.last {
   display: block;
   float: left;
   list-style: none;
   width: 132px;
   font-size: 1.1em;
   text-align: center;
   margin: 0 22px 0 12px;
   display: inline;
   overflow: hidden;
}
#textBlock ul li.last, #textBlockSecond ul li.last {
   margin: 0 0 0 12px;
}
#textBlock ul li a, #textBlockSecond ul li a {
   color: #ffffff;
   text-decoration: underline;
   font-weight: bold;
}
#textBlock ul li a:hover, #textBlockSecond ul li a:hover {
   color: #a6e9ff;
}






#footer, #footerDark {
   font-size: 1.1em;
   color: #e3e3e3;
   text-align: center;
   font-weight: bold;
}
#footerDark {
   color: #333333;
}


/* clearing for the browsers */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
