* {
margin:0;
padding:0;
}

html,body {height:100%; width:100%; font-family:Tahoma; font-size:12px; color:#3F3A0D; background:#FFFCEA;} 
img {border:none;}
a {text-decoration:underline; color:#984905;}
a:hover {text-decoration:none; color:#D16208;}
a:focus {outline:none;}
h1,h2,h3 a {text-decoration:none;}
h1 {font-size:18px;}
h3 {font-size:14px;}

/* Мои хаки . Начало ерунды */

div.linksss { padding:10px; margin:5px; border:2px #999999 dashed; background-color:#ffffff; color:#333333; }

.ahtung {
background-color:#eee5b8;
margin:10px;
padding:5px;
text-align:center;
}

#banners a img {     
opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=40);     
}     

#banners a:hover img {     
opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);   

}

.xernya {
	font-size:11px;
	word-spacing: 0em;
	letter-spacing: 0px;
	margin: 0px;
	padding-top: 7px;
	padding-right: 0px;
	padding-bottom: 7px;
	padding-left: 0px;
	border-top-width: 1px;
	border-top-style: solid;
	color: #555555;
	border-top-color: #EEEEEE;


}

.xernya a {
	color: #555555;
	text-decoration:none
}

.xernya h2 {
	color: #0099CC;
	text-decoration:none
}

.xernya h3 {
	color: #0099CC;
	text-decoration:none
}

.subfooter {
	padding:30px 30px 10px 30px;
	float:left;
	color: #FFFFFF;
}

.subfooter a {
	color: #FFFCEA;
	text-decoration:none
}

/* Мои хаки . Конец ерунды */


.topmenu_ac {
position:relative;
width:100%;
}

.topmenu_ac:after {
content:'';
display:block;
clear:both;
}

.topmenu_acl {
position:relative;
right:50%;
float:right;
}

.topmenu_acr {
position:relative;
z-index:1;
right:-50%;
}

.topmenu_area {
margin:0 auto;
padding:0;
}

.topmenu_area a {
color:#FFF;
font-family:Arial;
font-size:10px;
font-weight:700;
text-decoration:none;
float:left;
height:26px;
background-image:url(top_menu_02.png);
margin:0;
padding:15px 10px 0;
}

.topmenu_area a:hover {
color:#FFC;
text-decoration:underline;
}

.topmenu_area p {
background-image:url(top_menu_c.png);
background-repeat:no-repeat;
width:10px;
float:left;
height:26px;
padding-top:15px;
padding-right:0;
padding-bottom:0;
margin:0;
}

.topmenu_area .tml {
background-image:url(top_menu_l.png);
background-repeat:no-repeat;
width:47px;
float:left;
height:26px;
padding-top:15px;
padding-right:0;
padding-bottom:0;
margin:0;
}

.topmenu_area .tmr {
background-image:url(top_menu_r.png);
background-repeat:no-repeat;
width:47px;
float:left;
height:26px;
padding-top:15px;
padding-right:0;
padding-bottom:0;
margin:0;
}

.kaleidoscope {
text-align:center;
border:1px solid #EEE;
padding-bottom:5px;
padding-top:5px;
margin-bottom:20px;
}

.kaleidoscope img {
border:1px solid #CCC;
margin:1px;
}

.kaleidoscope img:hover {
border:1px dashed #F90;
}

.rcorn { width:100%; background-color:#F4F4F4; color:#666666; }
.rcorn p { margin:0 5px; padding-left:12px; color:#666; font-size:11px; }
.roundtop { background:url(roundtr.png) no-repeat top right; }
.roundbottom { background:url(roundbr.png) no-repeat top right; }


img.corner {
width:15px;
height:15px;
border:none;
display:block !important;
}

.cornhc {
background:url(hc.png);
height:40px;
}

.cornhc h3 {
color:#FF8409;
padding-top:12px;
padding-left:20px;
font-size:14px;
font-weight:700;
}

.cornhl {
background:url(hl.png) no-repeat;
width:10px;
height:40px;
float:left;
}

.cornhr {
background:url(hr.png) no-repeat;
width:22px;
height:40px;
float:right;
}

.lmenu,.lnav,.lvip {
border:1px solid #eee;
margin-bottom:20px;
padding:10px;
}

/* ---- links ---- */

.lmenu .sapka {color:#666666; font-size:11px; text-align:left;}
.lmenu .sapka a {color:#666666; text-decoration:none;}
.lmenu. sapka p.links { margin:5px 5px; background:url(gray_arr.png) no-repeat left; padding-left:15px; }

.lmenu .sapka2 {color:#666666; font-size:11px; text-align:left;}
.lmenu .sapka2 a {color:#666666; text-decoration: underline;}
.lmenu .sapka2 a:hover {color:#666666; text-decoration:none;}
.lmenu. sapka2 p.links { margin:5px 5px; padding-left:15px; }

/* ---- end links ---- */

.lnews{
border:1px solid #eee;
margin-bottom:20px;
}

.lmenu, .lnews, .lnav, .lvip { padding:10px; border:1px solid #eee; margin-bottom:20px; }
.lmenu p.links { margin:5px 5px; background:url(gray_arr.png) no-repeat left; padding-left:15px; }
.lnews p.news { margin:3px 5px; padding-left:5px; }
.lnews div { padding:3px; color:#666; margin-left:5px; font-size:11px }
.lvip p { text-align:center; margin:3px 5px; padding-left:5px; }
.lvip p a { color:#3E1F00; font-weight:bold }
.lvip div { padding:3px; color:#666; margin-left:5px; font-size:11px }
.lnav p.links { margin:5px 5px; }
.lnav p.links img { vertical-align:middle; margin-right:5px }
.lnav p.links a { color:#0099CC; font-weight:bold }
.linec { background:url(c.png) repeat-x left bottom; width:80% }
.header { width:100%; margin-top:0; }
.logo { float:left; padding:10px; width:22%; }

.nav {
float:left;
width:50%;
padding:10px;
}

.nav a {
color:#399;
font-size:18px;
font-family:Arial;
}

.searchform {
padding-top:10px;
padding-right:10px;
width:22%;
height:50px;
float:left;
}

.searchform form {
background:url(search.gif) no-repeat right;
padding:10px;
}

.container {
width:100%;
margin:0;
}

.subcontainer {
width:76%;
float:left;
margin:0;
}

.leftcolumn {
width:28%;
float:left;
color:#CCC;
margin:0;
padding:5px 0 0 20px;
}

.centercolumn {
width:66%;
float:right;
margin:0;
padding:5px 1.5%;
}

.rightcolumn {
width:21%;
float:right;
color:#CCC;
margin:0;
padding:5px 20px 5px 0;
}

.footer { clear:both; width:100%; margin:0; background-color:#4B3A21; height:150px; font-size:11px; color:#000000; }

.subfooter_right { padding:30px 30px 10px 30px; float:right; }

.news_title {
text-align:center;
padding-bottom:30px;
}

.news_autor {
font-weight:700;
margin-top:10px;
padding:0 5px;
}

.news_full {
text-align:justify;
padding:0 5px;
}

.news_logo {
float:left;
margin-right:10px;
margin-bottom:10px;
}

.news_date {
float:right;
color:#999;
font-size:11px;
margin-top:10px;
text-align:right;
}

.news_links {
text-align:center;
margin-top:20px;
}

.news_list {
margin-bottom:25px;
border-bottom:1px solid #CCC;
padding-bottom:5px;
}

.news_list_title {
font-size:14px;
font-weight:700;
color:#29ABE2;
text-decoration:none;
}








.clear { clear:both; padding:0; }


.admlink a {
font-size:11px;
}

.admmenu a {
text-decoration:none;
font-size:11px;
font-weight:700;
}

.admmenu td {
background-color:#F8F8F8;
padding:15px;
}

td.whitebg { background-color:#FFFFFF; }

.sm { font-size:10px; }
.large { font-size:16px; }
.gray { color:#999999; }
.dgray { color:#666666; }
.lgray { color:#AAAAAA; }
.green { color:#009900; }
.red { color:#FF0000; }


.dred { color:#CC0000; }
.orange { color:#FF6600; }
.blue { color:#3366CC; }
.b { font-weight:bolder }
.absmid { vertical-align:middle }
.alcenter { text-align:center; }
.err { border:3px #FF0000 solid; background-color:#FFFF99; }
.topmess { width:94%; background-color:#FFFFD9; border:2px dashed #FF6600; margin:10px; padding:10px; font-size:11px; }
.topmess a { color:#FF3300 }
.selectmess { width:94%; background-color:#EEFFEA; border:1px dashed #009900; margin:10px; padding:10px; font-size:11px; }
.stradv { width:94%; margin:10px; padding:10px; border-bottom:1px solid #EFEFEF; font-size:11px }


.o1 {
width:40%;
float:left;
}
.o2 { width:10%; float:right; }

.o3 {
width:5%;
float:right;
}

.o4 { width:20%; float:right; }
.o5 { width:20%; float:right; }
.o111 { width:35%; float:left; }
.o333 { width:10%; float:right; }
.o11 { width:50%; float:left; }
.o33 { width:18%; float:right; }
.cp1 { width:50%; float:left; }


.cp2 {
width:7%;
float:right;
}

.cp3 { width:20%; float:right; }
.cp4 { width:20%; float:right; }


.index_cat a { font-size:12px; }


.rootcat,a.rootcat {
color:#29ABE2;
font-size:14px;
font-weight:bolder;
}

.rootcatimg {
float:left;
margin-right:10px;

}





.subclass {
color:#090;
font-size:12px;
margin-left:10px;
}


.addform { width:98%; vertical-align:middle; }
.addform .pad { clear:both; padding:10px; }
.addform select { width:100%; }
.addform .lc { float:left; width:30%; padding-right:5px; text-align:right; }
.addform .lc .req { color:#FF0000; font-weight:bolder; padding-left:5px; }
.addform .rc { width:66%; float:right; padding-left:5px; text-align:left; }




.w100 { width:100% }


div#nojs { padding:10px; border:2px #FF9900 dashed; background-color:#FFFF99; display:block; text-align:center; color:#FF0000; }

div.comments { padding:10px; margin:5px; border:2px #CCFFCC dashed; background-color:#F0FFEA; color:#333333; }
div.searchtags { padding:10px; margin:5px; border:2px #999999 dashed; background-color:#F9F9F9; color:#333333; }
div.searchtags a:hover { color:#FFF; background:#FF0000; font-weight:bold; }
div.pagination { padding:3px; margin:10px; text-align:center; }
div.pagination a { padding:2px 5px 2px 5px; margin-right:2px; border:1px solid #2C2C2C; text-decoration:none; color:#fff; background:#2C2C2C url('poff.gif'); }
div.pagination a:hover, div.pagination a:active { border:1px solid #B30000; color:#FFF; background:#B30000 url('pon.gif'); }
div.pagination a:visited { color:#FFF; }
div.pagination span.current { padding:2px 5px 2px 5px; margin-right:2px; border:1px solid #B30000; font-weight:bold; background:#B30000 url('pon.gif'); color:#FFF; }
div.pagination span.disabled { padding:2px 5px 2px 5px; margin-right:2px; border:1px solid #f3f3f3; color:#ccc; }

#informer_code { background-color:#FFFFF2; border: solid 1px #FC0; padding:10px; color:#C00; display:none; }
#informer_code b { color:#333; }
#informer_preview { background-color:#F2FFF3; border: solid 1px #0F0; padding:10px; color:#666666; display:none; }
.b_inf_width { width:70%; }
.b_inf_text_size { font-size:110%; }
.b_inf_text_color { color:#0066CC; }
.b_inf_date_size { font-size:90%; }
.b_inf_date_color { color:#666666; }
div.admcats select { float:left }


#toggle_s {
display:none;
position:absolute;
right:20px;
z-index:9999;
background-color:#FFFBD7;
border:1px solid red;
margin-top:-10px;
padding:10px;
}

#toggle_s_close {
text-align:right;
margin-top:0;
}

table.sett td {
vertical-align:middle;
padding:10px;
}

table.sort {
border-spacing:0.1em;
margin-bottom:1em;
margin-top:1em;
}

table.sort td {
padding:0.3em 1em;
}

table.sort thead td {
cursor:pointer;
font-weight:700;
text-align:center;
vertical-align:middle;
}

table.sort thead td.curcol {
background-color:#999;
color:#FFF;
}

table.sort p {
display:none;
}


#thumbBox {
position:absolute;
left:0;
top:0;
width:auto;
background:#661500;
visibility:hidden;
z-index:10;
cursor:pointer;
padding:5px 5px 10px;
}

#thumbBox .footerbar {
font:12px Tahoma;
color:#FFF;
text-align:center;
}

#thumbBox #thumbImage {
background-color:#661500;
}

#thumbLoading {
position:absolute;
visibility:hidden;
border:1px solid #000;
background-color:#EFEFEF;
z-index:5;
padding:5px;
}

/* ------------------ new code in admin --------------------- */

.cssPopupImg{position: relative;z-index: 0; margin:3px}
.cssPopupImg:hover{background-color: transparent;z-index: 50;}
.cssPopupImg span{position: absolute;background-color:white;padding:5px;left: -1000px;border: 1px dashed gray;visibility: hidden;}
.cssPopupImg img.static{border:1px solid #B6B6B6;}
.cssPopupImg span img{border-width:0;padding:2px;}
.cssPopupImg:hover span{visibility:visible;top:20;left:20px;}
