/* Template created by CENTROARTS.com | Author: Rumin Sergey | URL: http://centroarts.com */

* { margin: 0; padding: 0; }
body, html { height:100%; }
body { background: #e9e9e9 url("../images/bgtop.png") repeat-x; color: #696969; font: .82em/1.4 Tahoma, Arial, Helvetica, sans-serif; }
html { min-width: 996px; }

h1, h2, h3, h4, h5 { font-weight: normal; }
h1 { font-size: 1.6em; } h2 { font-size: 1.4em; } h3 { font-size: 1.2em; } h4 { font-size: 1.1em; } h5 { font-size: 1em; }

input, textarea, select, button { color: #505050; font: 1em Tahoma, Arial, Helvetica, sans-serif; }

a { color: #4d96aa; text-decoration: underline; }
a:hover { text-decoration: none; }
a img  { border: 0 none; }

p { margin-bottom: .6em; }
hr { border: 0 none; border-top: 1px solid #dfdede; height: 1px; }

ul, ol { list-style: none; padding: 0; margin: 0; }
.dcont ul { padding-left: 16px; list-style: disc outside; }
.dcont ol { list-style-image: none; list-style-position: outside; list-style-type: decimal; margin-left: 2.2em; }

.clr { clear: both; }
.thide, .ui-icon-closethick, #searchbar label, #topmenu li.sublink:after, .shadows b, .fullstory .dbtm:after { overflow: hidden; display: block; height: 0; line-height: normal; }
table.userstop, table.pm, table.tableform, #calendar { border-collapse: collapse; border-spacing: 0; }
.lcol, .rcol, form { display: inline; }
.lcol { float: left; } .rcol { float: right; }
.small { font-size: .8em; }
.green { color: #739d24; }

.ui-dialog, #topmenu li ul, .navigation a, #dropmenudiv, #searchsuggestions, .searchitem, #loading-layer { -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; }

.wrap { width: 90%; min-width: 990px; max-width: 1400px; text-align: left; margin: 0 auto; }
.pagebg { background: url("../images/bglines.png") no-repeat 50% 0; }
.page { min-width: 996px; overflow-x: hidden }

/* Fonts */
@font-face {
    font-family: 'aAvanteBsExtraBold';
    src: url('../fonts/ava_beb-webfont.eot');
    src: url('../fonts/ava_beb-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ava_beb-webfont.woff') format('woff'),
         url('../fonts/ava_beb-webfont.ttf') format('truetype'),
         url('../fonts/ava_beb-webfont.svg#aAvanteBsExtraBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
#head h1 a span, #topmenu li a, .block h3, #commbox .dtop { text-transform: uppercase; font-size: 14px; font-family: "aAvanteBsExtraBold", Tahoma, Arial, Helvetica, sans-serif; }

/* header */
#head { border-top: 9px solid #6f6f6f; width: 100%; }
	#head .wrap { z-index: 49; position: relative; height: 135px; }

	#head h1, #head h1 a, #head h1 a * { float: left; }
	#head h1 a { width: 218px; margin-top: 15px; text-decoration: none; color: #696969 }
	#head h1 a span { line-height: 18px; margin-top: 38px; width: 95px;} 
	#head h1 a b { margin: 0 11px 0 0; float: left; width: 97px; padding-top: 90px; background: url("../images/cmi-img.png"); }
	
/* Menutop */
#tmenu { padding-left: 1px; float: left; z-index: 50; left: 23%; position: absolute; height: 135px; background: url("../images/topmenu.png") no-repeat -249px -135px; }
	#topmenu li, #topmenu li a { float: left; position: relative; }
	#topmenu li a { background: url("../images/topmenu.png") no-repeat 100% -135px; padding: 88px 13px 0 13px; height: 47px; color: #696969; text-decoration: none; }
	#topmenu li a.active { color: #739d24 !important; }
	#topmenu li.sublink:after { cursor: pointer; content: "^"; position: absolute; bottom: 13px; left: 50%; margin-left: -5px; padding-top: 7px; width: 10px; background: url("../images/cmi-img.png") no-repeat -75px -240px; }
	#topmenu li a:hover, #topmenu li.selected a { color: #3e3e3e; background-position: 100% 0; }

	#topmenu li ul { border-top: 2px solid #dcdcdc; padding: 10px; float: left; z-index: 51; position: absolute; top: 135px; left: 0; display: none; background-color: #f9f9f9; background-color: rgba(249,249,249,0.95);
		-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topleft: 0; -moz-border-radius-topright: 0; border-top-left-radius: 0; border-top-right-radius: 0; 
		-moz-box-shadow: 0 4px 4px 0 rgba(75,75,75,0.3);
		-webkit-box-shadow: 0 4px 4px 0 rgba(75,75,75,0.3);
		box-shadow: 0 4px 4px 0 rgba(75,75,75,0.3);
	}
	#topmenu li ul li { margin: 0; width: 180px; }
	#tmenu #topmenu li ul li a { font-family: Tahoma, Arial, Helvetica, sans-serif; text-transform: none; color: #696969; font-size: .9em; padding: 5px 5px; width: 170px; line-height: normal; height: auto; background: none;
	}
	#tmenu #topmenu li ul li a:hover { color: #3e3e3e; background: #fefefe; }
	#tmenu #topmenu li ul li { padding: 0; height: auto; }

/* login */
#userint { width: 210px; margin-top: 23px; float: right; }
.logbox { margin-bottom: 24px; height: 35px; line-height: 34px; }
	.logbox a { height: 35px; font-size: 1.1em; float: right; }
	.logbox a b { cursor: pointer; height: 35px; padding: 0 15px; display: block; font-weight: normal; }
	.lxbtn { background: url("../images/cmi-img.png") no-repeat 0 -100px; }
	.lxbtn b { background: url("../images/cmi-img.png") no-repeat 100% -135px; }

	.lxbtn:hover { color: #709a21; background-position: 0 -170px; }
	.lxbtn:hover b { background-position: 100% -205px; }

	.loginbtn { text-decoration: none; padding: 0 18px; color: #fff; height: 31px; line-height: 31px; background: #c6153a url("../images/lbtn.png") no-repeat 50% 0; border: 1px solid #d6284e;
		-moz-box-shadow: 0 1px 2px 0 #000;
		-webkit-box-shadow: 0 1px 2px 0 #000;
		box-shadow: 0 1px 2px 0 #000;
	}
	.loginbtn:hover { background-position: 50% -31px; background-color: #d6173f; }

	.lfield { margin-bottom: 10px; }
		.lfield input { border: 1px solid #ababab; width: 258px; padding: 6px 5px 5px 5px; }
	.lbtn { text-align: center; }

/* Search */
#searchtop { height: 29px; }
#searchbar { float: right; height: 29px; position: relative; }
	#searchbar label { position: absolute; padding-top: 29px; width: 17px; left: -12px; top: 0; background: url("../images/cmi-img.png") no-repeat 0 -240px; }
	.stext { display: block; width: 181px; height: 17px; background: #fbfbfb; border: 1px solid #d0d0d0; padding: 5px 5px 5px 5px;
		-webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px;
		-webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; 
		-moz-box-shadow: inset 0 1px 2px 0 #e4e4e4;
		-webkit-box-shadow: inset 0 1px 2px 0 #e4e4e4;
		box-shadow: inset 0 1px 2px 0 #e4e4e4;
	}
	.sbtn { position: absolute; top: 0; right: 0; width: 29px; height: 29px; background: url("../images/cmi-img.png") -17px -240px; }
	.sbtn:hover { background-position: -46px -240px; }

/* Speedbar */
#pagetop { width: 100%; min-height: 26px; background: url("../images/speedbar.png") no-repeat 50% 0; }
	#pagetop .wrap { height: 66px; }
	#speedbar { padding: 1em 0 0 18px; text-shadow: 0 1px 0 #fff; font-size: .8em; }
	#speedbar a, #speedbar { color:#8e8e8e; }

	#speedbar b { padding-top: 10px; width: 8px; float: left; margin: .3em 0 0 -18px; background: url("../images/cmi-img.png") 0 -90px; }

#contbody { background: #fff url("../images/wrapbg.png") repeat-x 50% 0; min-height: 400px;
	-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
}

	.page { width: 100%; min-width: 996px; overflow: hidden; }
	
	.shadows { height: 24px; position: relative; }
		.shadows b { padding-top: 373px; width: 22px; background: url("../images/wrap_shadow.png"); position: absolute; top: 0; display: block; }
		.shadows .lcol { left: -22px; }
		.shadows .rcol { right: -22px; background-position: -22px 0; }

/* content coloms */
#conteiner { padding: 0 260px; }
	#lside, #rside { width: 200px; padding: 0 30px; }
	#lside { margin-left: -260px; }
	#rside { margin-right: -260px; }
	#midside, .midside { width: 100%; }
	#midside { padding-bottom: 90px; }

/* Footer */
#footer { font-size: .8em; min-height: 122px; text-shadow: 0 1px 0 #f6f6f6; color: #6a6a6a; background: #cacaca url("../images/bgfoot.png") repeat-x; }
	#footer a { color: #6a6a6a; }
	#footer { padding-top: 30px; }

	.copyright { padding-left: 50px; float: left; }
		.copyright p { margin-bottom: 1.4em; }
		#cmifoot { float: left; margin: -4px 0 0 -50px; width: 37px; padding-top: 35px; background: url("../images/cmi-img.png") 0 -269px; }

.counts { float: right; }
	.counts li { float: left; width: 88px; height: 31px; margin: 0 0 0 6px; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
	.counts li:hover { opacity: 1.0; -moz-opacity: 1.0; filter:alpha(opacity=100); }

/* blocks */
.voteline .thide, .pollbox, .comright, .berrors, .commbox, .bcomment .lcol img { -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }
	
	.block { width: 200px; margin-bottom: 30px; }
	.block h3 { padding-bottom: .8em; margin-bottom: 1em; font-weight: normal; border-bottom: 1px solid #d9d9d9; }
	
	/* Vmenu */
	.vmenu li a, .topnews li a { background: url("../images/arrow.png") no-repeat 0 9px; padding: .1em 0 .4em 12px; width: 188px; font-size: 1.1em; display: block; }

	/* Archives */
	a.archives b { font-weight: normal; }

	/* News */
	.bnews li { margin-bottom: 1.4em; }
	.bnews li .bncont { overflow: hidden; max-height: 4.1em; font-size: .8em; padding: .4em 0 0 15px; background: url("../images/arrow-light.png") no-repeat 0 8px; } 
		.bnews li img { display: none; }

	/* Votes */
	.vote, #dle-poll-list div { clear: both; padding: 2px 0 2px 0; }
	.vote input, #dle-poll-list div input { vertical-align: middle; margin: -1px 2px 0 0; padding: 0; width: 14px; height: 14px; }

	#dle-poll-list { text-align: left; }

	#pollbox { padding: .8em 6% 1.2em 6%; }
	.pollbox { background: #f8f8f8; padding: 18px 20px; border: 1px dotted #ccc; margin: 0 auto; margin-bottom: 1.1em; }
	.pollhead { margin-bottom: 1em; color: #739d24; font-size: 1.3em; font-weight: normal; }

/* bannerfoot */
#bnfoot { height: 0; position: relative; }
	.bnfoot { text-align: center; width: 100%; height: 60px; position: absolute; top: -90px; left: 0; }

/* static */
.bstatic { margin-bottom: 30px; }
	.bstatic .dcont, .story .dcont { text-align: justify; }

/* shortstory */
.story { border-bottom: 1px dotted #d9d9d9; padding-bottom: 1.6em; margin-bottom: 30px; }
	.story h2 { color: #739d24; margin-bottom: .4em; }
	
	.stinfo { margin-bottom: .8em; }
	.isicons { float: right; margin-left: 1em; }
	.isicons b { height: 16px; width: 16px; float: left; margin-left: 4px; }
	.isicons a { display: block; height: 16px; width: 16px; }

	.ihmenu { display: inline; font-size: .8em; }
	.ihmenu, .shortstory .dbtm { color: #a6a6a6; }
	.ihmenu li { float: left; padding-left: 10px; margin-right: 9px; background: url("../images/ihmenu.png") no-repeat 0 50%; }
	.ihmenu li span { padding-left: 15px; }
	.ihmenu li:first-child { padding: 0; background: none; }

	.story .dcont { margin-bottom: 1em; }

	.rate { float: right; margin: -1px 0 0 1em; width: 85px; height: 17px; overflow: hidden; }
	.argcat { float: right; font-size: .8em; }
	.argmore a { margin-right: 1em; padding-left: 12px; background: url("../images/arrow.png") no-repeat 0 6px; }

	.adate { background: url("../images/adate.png") no-repeat 0 50%; }
	.auser { background: url("../images/auser.png") no-repeat 0 50%; }
	.aviews { background: url("../images/aviews.png") no-repeat 0 50%; }
	.acat { background: url("../images/acat.png") no-repeat 0 50%; }

/* fullstory */
.fullstory { margin-bottom: 30px; }
.sthead { margin-bottom: .4em; font-size: 1.6em; color: #739d24; }

/* Вывод ошибок */
.berrors { margin-bottom: 20px; padding: 13px 13px 13px 55px; background: #f3f0e9 url("../images/berrors.png") no-repeat 18px 22px; }

/* Комментарии */
#commbox { margin-bottom: 30px; }
#commbox .dtop { height: 37px; }
	#commbox .dtop h3 { padding: 10px 0 0 13px; float: left; height: 38px; width: 127px; background: #f1f1f1 url("../images/comtop.png") repeat-x; font-size: 1em; }
	.addcombtn { cursor: pointer; font-size: .85em; width: 88px; height: 29px; line-height: 29px; padding-left: 9px; text-decoration: none; float: right; color: #fff; background: #7ca72b url("../images/addcomm.png") no-repeat; }
	.addcombtn:hover { background-position: 0 -29px; }

	.commbox { padding: 13px; background: #f1f1f1 url("../images/commbox.png") repeat-x;
		-moz-box-shadow: inset 0 1px 1px 0 #e0e0e0;
		-webkit-box-shadow: inset 0 1px 1px 0 #e0e0e0;
		box-shadow: inset 0 1px 1px 0 #e0e0e0;
	}
	
	.commbox .bform { margin-bottom: 13px; padding-bottom: 13px; background: url("../images/bcomment.png") repeat-x 0 100%; }

	.bcomment { padding: 13px 0 13px 55px; background: url("../images/bcomment.png") repeat-x; }
	.bcomment .lcol { margin-left: -55px; width: 55px; }
	.bcomment .lcol img { width: 41px; }

	.bcomment .rcol { width: 100%; }
	.cdate { font-size: .8em; margin-left: 1em; float: right; color: #8a8a8a; text-shadow: 0 1px 0 #f6f6f6; }
	.dcont { margin-bottom: 1em; }
	.comedit { clear: both; height: 16px; }
	.comedit li { float: left; font-size: 11px; margin-right: 1em; }
	.comedit li.selectmass { float: right; margin: 0 0 0 1em; }
	
	.signature { border-top: 1px dashed #9b9b9b; padding-top: 1em; margin-bottom: 1em; font-size: .85em; color: #6b6b6b; }

	.mass_comments_action { margin-bottom: 30px; text-align: right; height: 30px; padding-top: 13px; background: url("../images/bcomment.png") repeat-x; }
	.commbox .mass_comments_action { margin: 0; }
	.selectmass input { float: right; margin-left: 6px; }

/* forms */
.bform { width: 100%; margin-bottom: 30px; }
.bfhead { font-weight: normal; color: #585858; font-size: 1.8em; margin-bottom: .6em; }
.tableform { width: 100%; }
	.tableform td, .tableform th { padding: 4px 0 6px 0; text-align: left; }
		.tableform th, .tableform .label, .tableform .addnews { width: 25%; font-weight: normal; vertical-align: top; padding-right: 10px; padding-top: 8px; }
		.imp:after { color: #dc173f; content: "*"; font-weight: bold; margin-top: 6px; vertical-align: middle; }

	.recipient select { width: 298px; }

	.checkbox { padding: 4px 0; line-height: 1em; }
		.checkbox input { margin-top: -2px; vertical-align: middle; }

	/*captcha*/
	.c-captcha { position: relative; height: 70px; }
	.c-captcha #dle-captcha, .c-captcha .f_input { float: left; margin-right: 5px; }
	.c-captcha #dle-captcha a { display: block; clear: both; }
	.c-captcha .f_input { position: absolute; font-size: 20px; height: 30px; padding: 9px; width: 100px; }

.f_input, .xfields input, .xprofile input { width: 288px; }
textarea { resize: vertical; }
.f_textarea { width: 96.7%; }
#category { width: 300px !important; }
.f_input { height: 16px; }
.fieldtr select, .f_textarea, .f_input, .xfields textarea, .xprofile textarea, .tdfield select, .lfield input,
.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select, #category, .bbeditor select, .textin, select.rating { padding: 4px; background: #fbfbfb; border: 1px solid #ababab;
	-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
	-moz-box-shadow: inset 0 1px 2px 0 #dbdbdb;
	-webkit-box-shadow: inset 0 1px 2px 0 #dbdbdb;
	box-shadow: inset 0 1px 2px 0 #dbdbdb;
}
.xfields textarea { width: 96.7%; }
.editor_button select { padding: 0; }

/* search */
.searchstyle { width: 480px; }
.search { padding: 0; }
.searchtable { background-color: #f8f8f8; padding: 10px; }
fieldset legend { font-size: 11px; font-weight: bold; color: #696969; }
fieldset { border-width: 0; border: 1px solid #d7d7d7; padding: 5px; text-align: left; }
#searchuser, #searchinput { width: 90% !important; }
.searchitem { background: #f8f8f8; padding: 18px 20px; border: 1px dotted #ccc; }
.searchresult { margin-bottom: 20px; }
.searchresult:hover { background-color: #fff; }

/* Userinfo */
.avatar { width: 100px; background: #fff; border: 1px solid #e5e8e9; padding: 5px; }
.avatar img { width: 100px; display: block; }
.userinfo { padding-left: 135px; }
	.rateui { width: 85px; height: 17px; margin: 0 auto; padding-top: 4px; }
	.userinfo .lcol { margin-left: -135px; width: 110px; padding-right: 25px; }
		.userinfo .lcol .avatar { margin-bottom: 1em; }

	.userinfo .rcol { width: 100%; }
	.userinfo .rcol ul { list-style: none; margin-bottom: 1.4em; }
	.userinfo .rcol ul li { margin-bottom: 0.2em; } 

	.usinf li { padding: 8px 0; border-top: 1px dotted #D9D9D9; }
	.usinf { border-bottom: 1px dotted #c0bcbc; }
	.ussep { padding-top: 1.2em; background: url("../images/ussep.png") no-repeat; }

/* statistics */
.statistics { padding-bottom: 1em; }
	.statistics ul.lcol { min-height: 71px; margin: 0 0 0 -1px; width: 33.3%; }
	.statistics ul.lcol li { padding: 0 15px 0 1px; margin-bottom: 2px; }
	.statistics h4 { color: #739d24; font-size: 1.3em; margin-bottom: .4em; }

.lines { border: 1px solid #f0f0ed; padding: 10px; }
	.lines li { margin-bottom: 0.2em; }
	
.pm_status {
	float:left;
	border: 1px solid #d8d8d8;
	padding: 0px;
	background-color: #fff;
	width: 450px;
	height: 100px;
	margin-left: 20px;
	margin-right: 5px;
}

.pm_status_head {
	border-bottom: 1px solid #d8d8d8;
	font-size: 0.9em; 
	background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
	height: 22px;
	padding: 0;
	font-weight: bold;
	text-align: center;
	color: #4e4e4e;
}

.pm_status_content {
	padding: 5px;
}