* {
	margin: 0;
	padding: 0;
}
body {
	width: 100%;
    background:#000;

}
a {
	color: #3371AE;
	outline: none;
	text-decoration: underline;
}
a:hover {
    color:#DB2B2B;
}

p {margin: 0 0 18px}
img {
	border: none;
}
input {vertical-align: middle}
#wrapper {
	width: 1160px;
	margin: 0 auto;
}
hr{
  border:1px dashed #C0C0C0;
}

div.clear{
  clear:both;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
  background-color: #DFC7AD;
	height: 290px;
 color: #931305;
}

/* Middle
-----------------------------------------------------------------------------*/
#middle {
	height: 1%;
    background:url('images/bg1.jpg') repeat-y top left;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container,#header #head_c,#footer #foot_c {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-right: -100%;
}
#content {
  font-family:Arial, Tahoma,Verdana, Helvetica, sans-serif;
  font-size:13px;
  position:relative;
  top:0px;
  padding-left:95px;
  padding-right:119px;
  color:#fff;
}
#sidebar{
  width:240px;
  float:left;
  margin-right:20px;
}

#maincontent{
  width:660px;
}


#container{
  width:1160px;
  min-height:600px;
  position:relative;
  background:url(images/bg1_bot.jpg) no-repeat bottom left;
}


/* Sidebar Left
-----------------------------------------------------------------------------*/
#header #head_l, #footer #foot_l {
	float: left;
	width: 97px;
	position: relative;
}
#middle .topbg{
background: url(images/bg1_top.jpg) no-repeat top left;
height:183px;
#top:290px;
float:left;
width:100%;
margin-right:-100%;
position:relative;
}
/* Sidebar Right
-----------------------------------------------------------------------------*/
.sr{
  background: url(images/bg4.jpg) repeat-y top right;
}

.sr, #header #head_r, #footer #foot_r {
	float: right;
	width: 98px;
	position: relative;
}
/* Backround
-----------------------------------------------------------------------------*/
#header #head_l{
  background:url(images/bgtop_left.jpg) no-repeat top left;
  height:100%;
}
#header #head_r{
  height:100%;
  background:url(images/bgtop_right.jpg) no-repeat top left;
}
#header #logo{
  height:290px;
  float:left;
  margin-left:97px;
  background:url(images/logo.jpg) no-repeat top left;
  width: 348px;
}
#header #logo a{
  margin-top:20px;
  width:348px;
  height:100px;
  float:left;
}


#header #skull{
  height:290px;
  float:left;
  background:url(images/skull.jpg) no-repeat top left;
  width: 270px;
}
#header #topmenu{
  background:url(images/topmenu.jpg) no-repeat top left;
  height:290px;
  float:left;
  width: 347px;
}

#topmenu #topmenu_top{
 height:15px;
 width:347px;
}
#topmenu #topmenu_but img,#topmenu #topmenu_but a,#topmenu #topmenu_but span{
  float:left;
  height:30px;
  width:170px;
}
#topmenu a#but1{
}
#topmenu a#but1:hover{
  background:url(images/topmenu_1_hover.jpg) no-repeat top left;
}
#topmenu a#but2{
  width:177px;
}
#topmenu a#but2:hover{
  background:url(images/topmenu_2_hover.jpg) no-repeat top left;
}
#topmenu a#but3{
}
#topmenu a#but3:hover{
  background:url(images/topmenu_3_hover.jpg) no-repeat top left;
}
#topmenu a#but4{
  width:177px;
}
#topmenu a#but4:hover{
  background:url(images/topmenu_4_hover.jpg) no-repeat top left;
}
#topmenu a#but5{
}
#topmenu a#but5:hover{
  background:url(images/topmenu_5_hover.jpg) no-repeat top left;
}
#topmenu a#but6{
  width:177px;
}
#topmenu a#but6:hover{
  background:url(images/topmenu_6_hover.jpg) no-repeat top left;
}
#topmenu a#but7{
}
#topmenu a#but7:hover{
  background:url(images/topmenu_7_hover.jpg) no-repeat top left;
}

#topmenu #topmenu_but  span#but8{
  width:177px;
}

#topmenu #loginform{
padding-top:30px;
background:url(images/loginform.jpg) no-repeat top left;
width:347px;
height: 105px;
}
#topmenu #loginform_clean{
background:url(images/loginform_clean.jpg) no-repeat top left;
padding-top:30px;
width:347px;
height: 105px;
}

#topmenu #topmenu_bot{
 height:20px;
 width:347px;
 clear:both;
 background:url(images/topmenu_bot.jpg) no-repeat top left;
}
#topmenu h2{
  font-size:16px;
}
#topmenu .simplelogin-avatar{
  margin:6px;
  float:left;
  border:2px solid #931305;
}
#topmenu ul.simplelogin-links{
  padding-left:70px;
  margin:0px;
  list-style: none;
}
ul.simplelogin-links li{
  display:block;
}
ul.simplelogin-links li a{
  color:#931305;
font-weight:bold;
font-size:14px;
}
form#login_form p,form#login_form a{
  font-weight:bold;
  font-size:16px;
}


/* Footer
------------------------------------------------------------------------------*/
#footer {
  background-color: #DFC7AD;
	height: 232px;
}
#footer #foot_l{
  background:url(images/bottom_left.jpg) no-repeat top left;
  height:100%;
}
#footer #foot_c{
  width:965px;
  height:100%;
  background:url(images/bottom.jpg) no-repeat top left;
}
#footer #foot_r{
  height:100%;
  background:url(images/bottom_right.jpg) no-repeat top left;
}
#footer #foot_text{

position:relative;
  top:50px;
  width:270px;
  height:160px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:10px;
  line-height:12px;

  color:#fff;
  overflow:hidden;

}
#foot_text p{
  margin-bottom:5px;
}
#foot_text a{
  color:#66CCFF
  }

/* Fonts
----------------------*/
div#content{
  padding-top:40px;
  font-size:14px;
  line-height:18px;
  color:#2A2A2A;

}
/* Form
------------------------*/
table.form{
  position:relative;
  width:100%;
}
table.form td{
  vertical-align:top;
}


table.form td.submit{
  vertical-align:top;
  padding:0px 8px 5px;
}
table.form td.links{
  padding-left:15px;
}


table.form input.button{
  width:135px;
  height:55px;
  background:transparent;
  border:none;
  cursor: pointer;
}
table.form input[type=checkbox]{
  background:transparent;
  color:#fff;
}

table.form td.field input[type=text],table.form td.field  input[type=password]{
  background:transparent;
  border:none;
  color:#fff;
  width:125px;
  height:22px;
  line-height:22px;
  margin: 2px 0px 7px 0px;
}
table.form td.field span, table.form a{
 color: #931305;
 font-size:14px;
 font-weight:bold;

}
ul.admin_box a{
 color: #931305;
 font-weight:bold;
}
ul.admin_box li{
  display:block;
  float:left;
  width:48%;
}

/*----Настройки Блоков----*/
div#sidebar ul li{
  margin-bottom:20px;

}


div#sidebar ul li{
  list-style:none;
  clear:both;
}
div#sidebar ul li h2{
  font-size:24px;
  font-weight:bold;
  margin-bottom:10px;
  height:40px;
  line-height:40px;
  padding-left:20px;
  margin-left:-5px;
  width:100%;
  display:block;
  background:url(images/rubrikbg.gif) no-repeat top left;
}
div#sidebar li#search{
background:url(images/searchbg.gif) no-repeat top left;
  padding-left:20px;
  margin-left:-5px;
  width:100%;
  display:block;
    height:40px;
  line-height:40px;
}
li#search input{
  background: none;
  border:none;
}


div#sidebar ul li ul{
  margin-left:30px;
}
div#sidebar ul li  ul li{
   list-style:none;
    display:block;
   margin-bottom:0px;
}
div#sidebar ul li ul li.cat-item a{
   font-size:14px;
  text-decoration:none;
  font-weight:bold;
  color:#931305;
  display:block;
  min-height:22px;
  padding:0px 5px;
}
div#sidebar ul li ul li.cat-item a.active{
  font-weight:bold;
}
div#sidebar ul li ul li.cat-item a:hover{
  text-decoration:none;
    background-color:#931305;
  color:#E5DAC4;
}
div#sidebar ul li ul li.cat-item ul.children{
  margin-left:0px;
}
div#sidebar ul li ul li.cat-item ul.children li{
    padding-left:30px;
  background:url('images/arrow.gif') no-repeat 10px;
}
div#sidebar ul li ul li.cat-item  ul.children li a{
font-size:12px;
}
div#sidebar ul.blogroll li{
  margin-bottom:5px;
}


div.tblock{
  float:right;
  border:1px solid #D6CCAD;
 background:#EEEADD;
  width:300px;
  margin-left:10px;
}
div.tblock div.tbtitle{
  position:absolute;
  margin-top:-10px;
  margin-left:5px;
  padding:0px 2px;
    border:1px solid #D6CCAD;
    font-size:12px;
    font-weight:bold;
 background:#EEEADD;
  line-height:18px;
}
div.tblock div.cbtext{
  padding:10px 5px 5px 5px;
}
div.bmblock{
  width:100%;
}
div.bblock{
    width:50%;
    float:left;
    margin-bottom:20px;
}
div.bblock ul.news{
  list-style: none;
  margin-right:10px;
}


div.bblock ul.news li{
width:100%;
float:left;
  margin-bottom:5px;
}
div.bblock ul.news li small{
  float:left;
  display:block;
  color:#931305;
  width:80px;
  font-size:11px;
}



div.bblock ul.news li a{
  float:right;
  width:240px;
text-align:left;
}


/*----Настройки страниц----*/
div.maintext{
  margin-bottom:20px;

}
h2,h3{
      font-family: "Times New Roman", Times, serif;
}


div#maincontent h2{
  font-size:24px;
  font-weight:bold;
  margin-bottom:10px;
}
div#maincontent h3{
  font-size:18px;
  font-weight:bold;
  margin-top:10px;
  margin-bottom:5px;
}
div.siterec{
  width:100%;
  float:left;
  margin-bottom:3px;
}
div.siterec a{
  font-size:14px;
  font-weight:bold;
  text-decoration:none;
}


div.siterec a:hover{
  text-decoration:underline;
}


div#maincontent{
  margin-bottom:30px;
  font-size:14px;
  float:right;
}
div#maincontent div.post{
  margin-bottom:25px;
}
div.conttext div.thumb{
  float:left;
  margin-right:5px;
  margin-top:3px;
}
div.post h3{
border-bottom:1px solid  #C0C0C0;
float:left;
width:100%;
height:20px;
}
h3 a,h3 span.title{
  float:left;
  margin-right:10px;
  text-decoration:none;
  line-height:14px;
}
div.time{
  width:50px;
  float:right;
  padding:3px;
}
div.conttext{
  clear:both;
}

div.conttext p{
  margin:5px 0px 10px 0px;
}
div.conttext a{
  text-decoration:none;
}
div.conttext a:hover{
  text-decoration:underline;
}
div.conttext a.more-link{
  clear:both;
  width:100%;
  float:left;
  font-weight:bold;
}
div.listauthors{
  border-top:1px dotted #2A2A2A;
}

div.listauthors ul{
  list-style:none;
}
div.listauthors ul li{
  margin-right:20px;
  float:left;
}
div#sidebar ul#recentcomments{
  margin-left:20px;
}
div#sidebar li.recentcomments,div#sidebar li.recentcomments_adm{
  margin-bottom:5px;
}
ul.commentlist li.comment{
  list-style:none;
  float:left;width:100%;
  margin-bottom:10px;
}
ul.commentlist li div.reply{
  float:right;
}


ul.commentlist li ul.children{
  margin-left:70px;
}
ul.commentlist li ul.children li{
  margin-top:10px;
  margin-bottom:0px;
}


li.recentcomments div.avatar,div.comment-author{
padding-right:10px;
float:left;
background:url('images/combg.gif') no-repeat right 5px;
}
div.comment-meta{
  font-size:11px;
}
div.comment-meta a.comment-edit-link{
  float:right;
}


li.recentcomments_adm div.avatar{
padding-right:10px;
float:left;
background:url('images/combg_adm.gif') no-repeat right 5px;
}
li.recentcomments_adm div.commenttext{
  padding:1px 4px;
  background:#F2EFCE;
  border-right:1px solid  #898163;
  border-bottom:1px solid  #898163;
  margin-left:50px;
  font-size:12px;
}
div.fullcommenttext{
  padding:1px 4px;
  background:#FBFAF0;
  border-right:1px solid  #898163;
  border-bottom:1px solid  #898163;
  font-size:12px;
  margin-left:70px;
}
div.fullcommenttext p.time{
  text-align:right;
  font-size:11px;
  margin:0px;
}


li.recentcomments div.commenttext{
  padding:1px 4px;
  background:#FBFAF0;
  border-right:1px solid  #898163;
  border-bottom:1px solid  #898163;
  margin-left:50px;
  font-size:12px;
}
span.small{
  font-size:11px;
}
span.small a{
  font-weight:bold;
}


ul#recentcomments a{
  text-decoration:none;
  color:#931305;

}


table td.tabletd{
  padding:0px 10px 0px 0px;
}
div.descript{
float:left;
width:100%;
margin-bottom:5px;
font-size:12px;
}

span.cat{
  float:left;
  height:16px;
}


span.comments{
/*  background:url('images/icons/comment.png') no-repeat left 50%;
*/
text-align:right;
float:right;
line-height:12px;
}
span.hits{
  background:url('images/icons/eye.png') no-repeat left 50%;
}

/* Галлерея */
ul.photocat {
  float:none;
  clear:both;
}


ul.photocat li{
  list-style:none;
  width:150px;
  padding:3px 5px 5px 3px;
  background:#fff;
  float:left;
  margin-right:10px;
  margin-bottom:10px;
  border:1px solid #C8C8C8;
  border-right-width:2px;
  border-bottom-width:2px;
}
ul.photocat li div.title a, ul.photocat li div.title{
  font-size:11px;
  text-decoration:none;
}
ul.photocat li div.image{
  width:150px;
  background:#000;
  border:1px solid #000;
}

/**/ *html .contactform textarea  { width: 306px; } /**/
/**/ *html .contactform  { height: 281px; } /**/
.contactform { min-height: 281px;width: 334px; margin-top: 20px;  font-size: 11px;}
.contactform input.txt {  padding: 5px 10px; color:#999; width: 195px; border: 1px solid #ddd; }
.contactform textarea { padding: 10px; margin-top: 3px; width: 315px; height: 95px; border: 1px solid #ddd; overflow:hidden; }
.contactform strong { color:#ff6600;}
.contactform .button { text-align: right; margin-top: 10px;}

.contactleft {position:relative; width: 119px; white-space: pre; text-align: left; clear: both; float: left; display: inline; padding: 4px 0px; margin: 4px 0px; }
.contactright { width: 214px; text-align: left; float: right; display: inline; padding: 2px 0px; margin: 2px 0px;}

.message{
  margin-bottom: 10px;
}


.message .messageauthor{
    width:100px;
  padding:5px;
    margin-right: 10px;
    float:left;
}
.message .messagecontent{
  background-color:#EBE7D8;
  margin-left:120px;
  padding:5px;
}
.message p{
  margin:0px;
}
.message p.author{
  color:#931305;
  font-weight:bold;
}
.message p.time{
  font-size:11px;
  color:#696969;
  line-height:16px;
}
.message p.title{
  font-weight:bold;
  font-size:11px;
}

img.captcha{
  margin:0px;
  position:absolute;
  top:0px;
  left:0px;
}
form#commentform textarea{
  width:100%;
}
form#commentform input#submit{
  float:right;
}


