.head_text {
	font-family:Tahoma, Geneva, sans-serif;
	font-size: 10px;
	text-align:justify;
}
.head_text h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 19px;
	color:#f70a45;
	padding:10px 0 10px 0;
}
.head_text h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color:#f70a45;
	padding:20px 0 10px 0;
	text-align:right;
}
.head_text h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 23px;
	color:#ffffff;
	padding:15px 0 10px 0;
	text-align:right;
}
.head_text p {
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 12px;
	font-weight:bold;
	padding:13px 0 2px 0;
}
#head_menu li { float: left ; margin:0; width:auto; padding:0; font-family: Arial, Helvetica, sans-serif;
	font-size: 13px; font-weight:bold; text-align: left; display: inline;}

#head_menu li a { display:block; padding:5px 10px 5px 10px; text-decoration:none; border-right:2px solid #000000; }
#head_menu a:hover, a:focus, a:active { color:#000000; }

html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset { margin: 0; padding: 0;}
body {color:#2f2f2f; background: #eaeaea; }  .clrr { clear:both; padding-top:20px; }
.pagebg { background: #eaeaea url("../images/pagebg.png") repeat-x; }

h1, h2, h3, h4, h5 {line-height: normal;}
h1 {font-size: 1.25em;} h2 {font-size: 1.2em;} h3 {font-size: 1em;} h4 {font-size: 1.1em;} h5 {font-size: 1em;}

a {color:#436678; text-decoration:none;}
a:hover {text-decoration:none; }
a img  {border:0 none;}

input, textarea, select, button, body { font: 12px/15px Arial, Verdana, Tahoma, Helvetica, sans-serif; }
input, textarea, select, button, a { outline: none; }
ul { margin: 0 0 18px 2em; list-style: disc outside; }
ol { margin: 0 0 18px 2.1em; list-style: decimal; }
p { margin-bottom: 0.4em; }
.clr { clear: both; padding-top:5px; }
hr { border: 0 none; border-top: 1px solid #e3e3e3; height: 1px; }
.reset, .reset li { list-style: none; padding: 0; margin: 0; }

/* Homepage */
.wrapper { width: 1200px; min-width: 899px; text-align: left; margin: 0 auto; }
.logo { background:url("../images/logo.png") no-repeat; width:405px; height:111px; position:absolute; margin:7px 0 0 70px; float:left; }
.logo-footer { background:url("../images/logo_f.png") no-repeat; width:190px; height:42px; position:absolute; margin:4px 0 0 0px; float:left; }

/* Header */
.hd { height:154px;}
.hd-left { background: url("../images/hd-left.png") no-repeat; width:347px; height:154px; float:left; }
.hd-center { background: url("../images/hd-center.png") repeat-x; height:154px; }
.hd-right { background: url("../images/hd-right.png") no-repeat; width:637px; height:154px; float:right; }

/* MenuHeader */
.menuhd { height:55px;}
.menuhd-l { background: url("../images/menuhd-left.png") no-repeat; width:33px; height:55px; float:left; }
.menuhd-c { background: url("../images/menuhd-center.png") repeat-x; height:55px; }
.menuhd-r { background: url("../images/menuhd-right.png") no-repeat; width:301px; height:55px; float:right; }

/* PREHeader */
.prehd { height:187px;}
.prehd-left { background: url("../images/slihd-left.png") no-repeat; width:487px; height:187px; float:left; }
.prehd-center { background: url("../images/slihd-center.png") repeat-x; height:187px; }
.prehd-right { background: url("../images/slihd-right.png") no-repeat; width:502px; height:187px; float:right; }

/* Footer */
.footer { height:50px; margin:5px 0 0 0; }
.fb-left { background: url("../images/fb-left.png") no-repeat; width:29px; height:50px; float:left; }
.fb-center { background: url("../images/fb-center.png") repeat-x; height:50px; }
.fb-right { background: url("../images/fb-right.png") no-repeat; width:29px; height:50px; float:right; }
.copyright { float:right; padding:5px 20px 8px 0; font-size:0.9em; }
.fb-icons { float:right; margin:9px 0 0 0; }

/* Search */
.search { float:right; margin:12px 14px 0 0; }
.searchbg { float:left; }
input.search_input { background:url("../images/sinput.png") no-repeat; width:235px; height:27px; float:left; border:0; padding:0 0 0 25px; font-size:0.9em; color:#99a5aa;}
input.search_but { background:url("../images/search.png") no-repeat; display:block; width:13px; height:27px; margin:0 0 10px 0px; float:left;}

/* TopMenu */
.topmenu { margin:0 0 0 12px; }
.topmenu ul { height:28px; line-height:27px; padding:11px 0 0 0; position:absolute; }
.topmenu ul li, .topmenu li a, .topmenu li a span, .topmenu li a span b { float:left; height:28px; cursor:pointer; }
.topmenu li a { color:#fff; padding:0 3px 0 4px; font-size:0.9em; font-weight:100; }
.topmenu li a span { padding-left:16px; background:url("../images/topmenu.png") no-repeat; }
.topmenu li a span b { padding-right:9px; background:url("../images/topmenu.png") no-repeat 100% -28px; }
.topmenu li a:hover { color:#fff; text-decoration:none;  }
.topmenu li a:hover span { padding-left:16px; background:url("../images/topmenuu.png") no-repeat;}
.topmenu li a:hover span b  {padding-right:9px; background:url("../images/topmenuu.png") no-repeat 100% -28px; }

/* Login */
.loginbox { float:right; width:300px; height:154px; margin:40px 50px 0 0; }
.loginform { background:url("../images/login-input.png") no-repeat; width:69px; height:33px; float:left; border:none; padding:0px 10px 0 45px; font-size:0.9em; }
.passform { background:url("../images/pass-input.png") no-repeat; width:69px; height:33px; float:left; border:none; padding:0px 10px 0 45px; font-size:0.9em;  }
.sinup { background:url("../images/sinup.png") no-repeat; width:27px; height:33px; float:left; border:none; cursor:pointer; }

.log-in { float:left; margin-top:0px; }
ul.logmenu { float:left; list-style:none; }
ul.logmenu { padding:1px 0 1px 0; font-size:0.9em; }

/* TopNavi */
ul.menu, ul.menu ul { list-style-type:none; margin: 0; padding: 0; width: 15em; width:223px; }
ul.menu a { display: block; text-decoration: none; }
ul.menu li { margin-top: 1px; padding:1px 0 1px 0; }
ul.menu li a, ul.menu ul.menu li a { background: #e2caca; color: #505e67; line-height:26px; text-indent:10px; background:url(../images/menulink.png) no-repeat; width:223px; height:25px; }
ul.menu li a:hover, ul.menu ul.menu li a:hover { background: #000; text-indent:10px; background:url(../images/menulinka.png) no-repeat; width:231px;  }
ul.menu li ul li a, ul.menu ul.menu li ul li a { background:url(../images/menulinkopenb.png) no-repeat; width:223px; padding-left: 5px; }
ul.menu li ul li a:hover, ul.menu ul.menu li ul li a:hover { background:url(../images/menulinkopen.png) no-repeat; width:223px; padding-left: 5px; }
ul.menu ul.menu li a:hover { border-left: 0; padding-left: 0.5em; }
ul.menu ul.menu { border-left: 5px #f00 solid; }
ul.menu a.active, ul.menu ul.menu li a.active, ul.menu a.active:hover, ul.menu ul.menu li a.active:hover { text-indent:10px; background:url(../images/menulinka.png) no-repeat; width:223px; }
div.panel { border: 1px #000 solid; padding: 5px; margin-top: 1px; }
ul.menu div.panel a, ul.menu div.panel li a:hover  { display :inline; color:#6c785a; background: none; margin: 0; padding: 0; border: none; font-weight: bold; }
ul.menu div.panel a:hover { color: #000; text-decoration: underline; }
.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }
.code code { display: block; padding: 3px; margin-bottom: 0; }
.code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }
.indent1 { padding-left: 1em; } .indent2 { padding-left: 2em; } .indent3 { padding-left: 3em; } .indent4 { padding-left: 4em; } .indent5 { padding-left: 5em; } .indent6 { padding-left: 6em; }
.indent7 { padding-left: 7em; } .indent8 { padding-left: 8em; } .indent9 { padding-left: 9em; } .indent10 { padding-left: 10em; }
.naviblock { margin:15px 13px 11px 13px; }

/* Content #1 */
.pbt-top { background: #ffffff url("../images/pbt_top.png") repeat-x left top; }
.pbt-left { background: transparent url("../images/pbt_left.png") no-repeat left top; }
.pbt-right { background: transparent url("../images/pbt_right.png") no-repeat right top;}
.pb-left { background: transparent url("../images/pb_left.png") repeat-y left top; }
.pb-right { background: transparent url("../images/pb_right.png") repeat-y right top; }

/* Content #2 */
table.structure { width: 100%; }
.substanc { margin:5px 10px 0 13px; }
.substanc2 { margin:20px 7px 0 16px; }
.dcont-news { padding:10px; font-size:1.0em; }

/* Content #3 */
#leftcol { width: 223px; vertical-align: top; }
#rightcol { width: 223px; vertical-align: top;}
#maincol { width: 100%; vertical-align: top;}

/* Content #4 */
.pbd-bottom, .pbd-bottom .dleft, .pbd-bottom .dright { height: 38px; }
.pbd-bottom { overflow: hidden; background: #ffffff url("../images/pbd_bottom.png") repeat-x left top; width: 100%; }
.pbd-bottom .dleft { background: transparent url("../images/pbd_left.png") no-repeat left top; }
.pbd-bottom .dright { background: transparent url("../images/pbd_right.png") no-repeat right top; }

/* Left Blocks */
#leftcol .block { margin-right: 5px; margin-bottom: 4px; width: 223px; background: url("../images/bb-l.png") repeat-y -446px top; }
#leftcol .block .dtop { background: url("../images/bb-l.png") no-repeat left top; }
#leftcol .block .dbottom { background: url("../images/bb-l.png") no-repeat -223px bottom; }
#leftcol .block .dconter { padding: 1px 10px 20px 10px; font-size:0.9em; }
#leftcol div.block h3.title { font-family: Arial, Tahoma, Helvetica, Sans-serif; font-size: 1em; font-weight: bold; color: #3f4950; padding:17px 0 25px 5px; text-transform:uppercase; }

/* Right Blocks */
#rightcol .block { margin-right: 5px; margin-bottom: 4px; width: 185px; background: url("../images/bb-r.png") repeat-y -370px top; }
#rightcol .block .dtop { background: url("../images/bb-r.png") no-repeat left top; }
#rightcol .block .dbottom { background: url("../images/bb-r.png") no-repeat -185px bottom; }
#rightcol .block .dconter { padding: 1px 10px 20px 10px; font-size:0.9em; }
#rightcol .block .dconter a { color:#6e7880; }
#rightcol div.block h3.title { font-family: Arial, Tahoma, Helvetica, Sans-serif; font-size: 1em; font-weight: bold; color: #3f4950; padding:15px 0 25px 5px; text-transform:uppercase; }

/* Infoerror */
.infore{line-height: 1.3em; background: #f2f6eb; height:auto; overflow:auto; border-top: 1px solid #d3d8ca; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
.errorss { background:url(../images/errors.png) no-repeat; width:30px; height:32px; float:left; margin:10px; }
.error-ser { padding:11px; }

/* Buttoms */
.fbutton, .btn_reglog, .vresult { border: 0 none; background: none; cursor: pointer; }
.btn_reglog { background: #f2f2f2 url("../images/bbcodes.png") repeat-x; border: 1px solid #c5c5c5; color: #7d7d7d; width: 108px; height: 21px; padding-bottom: 3px; font-weight: bold; }
.btn_reglog:hover { background: #fff none; }
.fbutton { text-shadow: 0 1px 0 #fff; font-size: 1.15em; margin-bottom: 2px; border: 1px solid #bcc5c9; width: 100px; height: 29px; color: #596368; padding: 2px 0 5px 0; background: #fff url("../images/fbutton.png") repeat-x 0 100%; font-weight: bold; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
.fbutton:hover { background-position: 0 10px; }
.fbutton {-moz-box-shadow: 0 1px 4px -3px black; -webkit-box-shadow: 0 1px 4px -3px black; box-shadow: 0 1px 4px -3px black;}
button.fbutton span { cursor: pointer; display: block; padding-top: 2px; }

/* Baseforms */
.baseform { background: #fff; }
.tableform { width: 99%; margin-left:4px; } .tableform td { } .tableform td.label { width: 20%; vertical-align: top; padding-right: 0; font-weight: bold; }
.fieldsubmit, .tableform td { padding: 10px 10px; border-top: 1px solid #d3d8ca; } .addnews { font-weight: bold; } .impot { color: #96c; font-weight: normal; }
.checkbox { padding: 4px 0; line-height: 1em; } .checkbox input { margin-top: -2px; vertical-align: middle; }
.f_input { width: 300px; padding: 1px; } .f_textarea { width: 458px; }
.fieldtr select, .textin, .f_textarea, .f_input, .xfields textarea, .xprofile textarea,
.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select { padding: 2px; background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2; }
.f_textarea, .editor_button select { padding: 0; }
.textin { padding: 2px; }
.lcol, .rcol, form { display: inline; } .lcol { float: left; } .rcol { float: right; }
.pheading { padding:10px; font-size:1em; }
.toptop { background-position: 0 -116px; width: 29px; }
.toptop:hover { background-position: 0 -145px; }

/* Comments */
.addcombtn { text-align: center; font: 1.15em/30px sans-serif; color: #fff; float: left; height: 28px; width: 181px; padding-right: 0px; background-color: #e0e0e0; }
.wmcomments { overflow: hidden; position: relative; border-top: 2px solid #f0f0f0; border-bottom: 2px solid #f0f0f0; background-color: #fff; padding: 8px 0px 3px 0px; }
.wmcomments .binner1 { margin: 0 8px; }
.comments { overflow: hidden; padding: 0 0 0 82px; }
.comments .dleft { float: left; width: 82px;  margin: 0 0 0 -82px; }
.comments .dright { overflow: hidden; float: right; width: 100%; }
h3.nickname a, h3.nickname { color: #3a3a3a; }
h3.nickname { font-weight: bold; font-size: 1.1em; text-transform: uppercase; line-height: 1em; font-family: Arial, Tahoma, Verdana, sans-serif; }
.comments .date { font-size: 0.9em; display: block; color: #76706e; margin: 0 0 0.3em 0; }
.commentid { position: absolute; right: 5px; top: 0; }
.commentid b { float: right; padding: 2px 8px 4px 8px; background-color: #464342; color: #24201e; }
.editcomment { float: right; display: inline; font-size: 0.9em; }
.editcomment a { text-decoration: none; }
.editcomment a span { float: right; cursor: pointer; height: 16px; line-height: 16px; margin: 0 0 0 3px; background: #676767 url("../images/commentedit.png") no-repeat 0 0; color: #2f2b29; }
.editcomment a span span { background: url("../images/commentedit.png") no-repeat 100% -16px; float: left; margin: 0; padding: 0 10px; }
.avatarbox img { width: 70px; height: auto; }
.signature { color: #93918d; }

/* Statistics */
.statistics { margin: 0 auto; padding:5px 10px 10px 10px; } .statinn { text-align: left; }
.statistics ul { margin-bottom: 15px; } .statistics ul li { position: relative; background: url("../images/dotted.gif") repeat-x 0 100%; padding: 2px 0; }
.statistics ul li b { position: absolute; right: 0; }

/* Userpanel */
.usercolomn { padding: 00px 0 0 120px; margin-bottom: 9px;} .usercolomn .dleft { float: left; width: 100px; margin: 0 0 0 -110px; }
.usercolomn .dright { float: right; width: 100%; } .userinfo h2 { font-size: 18px; color: #828282; font-weight: normal; }
.userinfo .uirow, .userinfo .uirow2 { padding: 10px 0;  } .userinfo .uirow { padding-top: 0; } .userinfo .colomn { float: left; }
.boxlinks { line-height: 1.3em; padding-bottom: 5px; margin-bottom: 22px; background: #f2f9fc; border-top: 1px solid #d3d8ca; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
.boxlinks .dtop { color: #6793a3; padding: 8px 36px 9px 10px; }
.boxlinks .dmid { overflow: hidden; }
.infodown { background-color: #65a22b; padding: 6px 10px; color: #fff; }
.infodown strong { font-weight: normal; }
.boxlinks .pad { margin: 0 10px; padding: 6px 0 2px 0; }
.boxlinks .pad a { color: #6b8a4e; }
.maincont { margin: 0 0 0.8em 0; text-align: justify;}
.btags { padding: 4px 0; margin: 0 0 8px 0; font-style: italic; color: #6b8a4e; }
.editdate, .tagstore { margin: 0 0 8px 0; font-style: italic; }
.editdate { text-align: right; color: #cdcdcd; }
.small { font-size: 0.9em; color: #717170; }
.storenumber { text-align: center; padding: 10px 0 0 0; }

/* Newscast */
.basen { overflow:auto; padding-top: 7px; }
.binner { overflow:auto; } 
.binner img {
    padding: 0 50px 20px 0;
    border: 5px;
	margin-top: 17px;
}
.argmore { background:url(../images/argmore.png) no-repeat; width:96px; height:29px; float:right; margin-top:5px; }
.argmore:hover { background-position:0 -29px; } 

h3.newstitle { position:absolute; float:left; padding:11px 0 0 5px; text-transform:uppercase; color:#e2e8f4; font-size:0.9em; } h3.newstitle a { color:#484848; }
.bass { height: 40px; border-bottom: 1px solid #ececec; }
.headinfo { height: 11px; position:absolute; margin:38px 0 0 -25px; padding: 0 0 20px 0; }
ul.headmenu{list-style:none;}
ul.headmenu li { height:12px; line-height:8px; font-size:10px; color:#202020; padding:0px 8px 0px 8px; float:left;}
ul.headmenu li a{color:#505e67; font-size:10px; text-decoration:none;}
ul.headmenu li a:hover{color:#eb7221;}

.ico-date { background:url(../images/date.png) no-repeat; width:19px; height:19px; float:left; margin:-6px 5px 0 0; }
.ico-cat { background:url(../images/category.png) no-repeat; width:19px; height:19px; float:left; margin:-6px 5px 0 0; }
.ico-author { background:url(../images/author.png) no-repeat; width:19px; height:19px; float:left; margin:-6px 5px 0 0; }

.nw { height: 62px; }
.nw-left { background:url(../images/nw-left.png) no-repeat; width:18px; height:62px; float:left; }
.nw-center { background:url(../images/nw-center.png) repeat-x; height:62px; }
.nw-right { background:url(../images/nw-right.png) no-repeat; width:18px; height:62px; float:right; }

/* Navisite */
.navigation { margin:0px 5px 10px 5px; font-weight: bold; line-height: 30px; background:#ecf0f3; width:98%; height:29px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
.navigation { text-align:center; margin:0 auto; }
.navipage a { text-decoration: none !important; color: #768d9e; padding: 5px 4px; }
.navipage a:hover { background-color: #6793a3; color: #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.navipage span { color: #2f2f2f; padding: 3px 4px; }
.nprev img, .nnext img { vertical-align: middle; margin: 2px; width: 40px; height: 11px; background: url("../images/navipage.png") no-repeat 0 0; }
.nnext a img { background-position: 0 -22px; }
.nprev a img { background-position: 0 -33px; }
.nnext span img { background-position: 0 0; }
.nprev span img { background-position: 0 -11px; }

/* Carouselle */
#carousel { margin: -177px 0px 0 24px; width: 100%; float:left;  }
#carousel ul { margin: 0; padding: 0; list-style: none; display: block; }
#carousel li { font-size: 40px; color: #999; text-align: center; width: 180px; height: 138px; padding: 0; margin: 6px; display: block; float: left; background: transparent url('../images/carousel_polaroid.png') no-repeat 0 0; position:relative; }
#carousel li img { width:158px; height:103px; margin-top:9px; }
#carousel li a { width:201px; height:127px; position:absolute; display:block; z-index:2; top:14px; left:16px; background: transparent url('../images/carousel_shine.png') no-repeat 0 0; text-indent:-999em; }			

/*---Подсветка кода в теге [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa; 
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}

.maincont {
    margin-bottom: 15px;
    text-align: justify;
}

.maincont img {
    padding: 5px;
    border: none;
}