.ad-top{width:99%;display:block;margin:10px auto;text-align:center;clear:both}

.ad-left{width:120px;height:600px;display:block;margin:0 3px;text-align:center;float:left;clear:left}
.mainbox{text-align:center;margin-left:126px}
@media(max-width:800px){.ad-left{display:none} .mainbox{margin-left:0}}
@media(min-width:1000px){.ad-left{width:160px} .mainbox{margin-left:166px}}
@media(min-width:1400px){.ad-left{width:300px} .mainbox{margin-left:306px}}

@media(min-width:800px){.extracolumn{width:45%;float:left;padding-right:30px}}

A:link { color: #0000FF; text-decoration: none; }
A:visited { color: #0000FF; text-decoration: none; }
A:active { text-decoration: underline; }
A:hover { text-decoration: underline; }

.n { background: #FFF; border: 1px solid #EEE; margin: 2px; padding: 5px; font-weight: bold;}
a.n { background: #EEF; border: 1px solid #AAB;}

BODY
{
font-size: 15px;line-height:1.5em;
margin: 0px;
background: #7191AB url(bg.png) repeat-x;
font-family: Trebuchet MS,Verdana,Tahoma,Arial,sans-serif;
}

H1
{
text-align: center;
margin: 2px;
color:#800;
}

H2
{
margin-left: 20px;
color:#800;
}

h3
{
padding: 0 0 0 12px;
margin: 10px 0 0 12px;
color:#B00;
}

PRE
{
font-size:16px;line-height:1.5em;
font-family:Trebuchet MS,Verdana,Tahoma,Arial,sans-serif;
}

DT{font-weight:bold}
OL.def P A{font-size:75%;line-height:1.5em}
OL.def A{font-size:75%;line-height:1.5em}
OL LI{margin-left:20px}
IMG{max-width:100%}
INPUT{max-width:90%}

#container
{
text-align: left;
padding: 0 8px 0 8px;
margin:8px auto 0 auto;
overflow:hidden;
width: 96%;
background: #CFDCE6 url(entry.png) repeat-x;
}

.post
{
display: block;
overflow:hidden;
padding-bottom: 0;
margin-top: 14px;
margin-left: 0;
margin-bottom:5px;
margin-right: 0;
background: #fff;
border:2px solid #B5C4CF;
}

.thumb * {
margin: 0;
padding: 0;
}
.thumb li {
width: 10.8em;
height: 10em;
margin: 0 1em 7em 0;
float: left;
display: inline;
position: relative;
text-align: center;
}
.thumb li div {
width: 10.8em;
position: absolute;
bottom: 0;
left:0;
}
.thumb li p {
position: absolute;
top: 100%;
left: 0;
padding: .5em;
width: 10.3em;
}
.thumb img {
display: block;
margin: 5px auto 0 auto;
padding: 2px;
background: #fff;
}
.thumb em {
display: block;
font-weight: bold;
}

#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #ddf;
}

/* begin css tabs */

ul#tabmain {
text-align: left;
margin: 5px 0 3px 0;
width:90%;
font-weight: bold;
border-bottom: 1px solid #767;
list-style-type: none;
padding: 3px 10px 2px 10px; /* THIRD number must change with respect to padding-top (X) below */
}

ul#tabmain li { /* do not change */
display:inline-block;
margin:7px 0 0;
}

ul#tabmain li.tabx {
border-bottom: 1px solid #CBD6E1; /* set border color to page background color */
background-color: #CBD6E1; /* set background color to match above border color */
}

ul#tabmain li.tabx a {
background-color: #CBD6E1; /* set selected tab background color as desired */
color: #000; /* set selected tab link color as desired */
position: relative;
top: 1px;
padding-top: 4px; /* must change with respect to padding (X) above and below */
}

ul#tabmain li a {
padding: 3px 4px; /* set padding (tab size) as desired; FIRST number must change with respect to padding-top (X) above */
border: 1px solid #878; /* set border COLOR as desired; usually matches border color specified in #tabnav */
background-color: #B5BAD9; /* set unselected tab background color as desired */
color: #234; /* set unselected tab link color as desired */
margin-right: 1px; /* set additional spacing between tabs as desired */
text-decoration: none;
border-bottom: none;
}
@media(max-width:950px){ul#tabmain li a{font-weight:normal}}

ul#tabmain a:hover {
background: #CBD6E1;
color: #00f;
text-decoration: underline;
}

/* end css tabs */

ul#tabnav {
font-weight: bold;
list-style-type: none;
padding:0 0 28px 10px;
border-bottom: 1px solid #6c6;
margin: 0;
}

ul#tabnav li {
float: left;
height: 25px;
background-color: #dfd;
margin: 2px 2px 0 2px;
border: 1px solid #6c6;
overflow:hidden;
}
@media(max-width:950px){
ul#tabnav{font-weight:normal;border-bottom:0;padding:0 0 10px}
ul#tabnav li{float:none}
}

ul#tabnav li.tabx {
border-bottom: 1px solid #fff;
background-color: #fff;
overflow:visible;
}

ul#tabnav li.tabx a {
color: #000;
}

#tabnav a {
float: left;
display: block;
color: #666;
text-decoration: none;
padding: 4px;
}

#tabnav a:hover {
background: #fff;
}
