* {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;   
}
html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
    background: #ffffff url(/templates/default/img/bg2.png) repeat;
}
a {
	color: #ad4785;
	outline: none;
	text-decoration: underline;
}

p {
	margin: 0 0 18px;
    
 }
 
 ul{
    
    margin-top:20px;
    
 }
 
 li{
    
    list-style:none;
    font-size:14px;
    margin-left:50px;
    
    
 }
 
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	width: 900px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 120px;
	background: #ffffff url(/templates/default/img/top_bord.png) no-repeat top;
   
}



/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 0 0 100px;
    background: #ffffff;
    height: auto !important;
    height:100% !important;
    
}



/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width: 900px;
	margin: -100px auto 0;
	height: 100px;
	position: relative;
}

#line_footer{
    
    border-top: 1px solid #e3e3e3;
    box-shadow: inset 0px 0px 50px 0px rgba(255,255,255,1),
    inset 0px 0px 50px 0px rgba(255,255,255,1),
    inset 0px 20px 50px -25px rgba(0,0,0,0.2);    
    margin:0 30px 0 30px;
    height:3px;
    
}

#copy{
    
    float:left!important;
    margin:30px;
    width:250px;
    height:30px;
    display: inline-block!important;
    
}

#social{
    
    float:left!important;
    margin:30px;
    width:340px;
    height:30px;
    display: inline-block!important;
   
}

#stat{
    display: inline-block!important;
    margin:30px!important;
    width:130px!important;
    height:30px!important;
    float:right;
  
}



/* Content
-----------------------------------------------------------------------------*/
#logo{
    
    width:400px;
    height:120px;
    margin-left:20px;
    background:url(/templates/default/img/logo.png) no-repeat 20px;
    float:left; 
    position:relative!important; 
   
}

.tab{
    
    width:100%;
    
}

.tab td{
    
    vertical-align:top;
    text-align:center;
    padding:20px;
    border-bottom:1px solid gray;
    
}

.tab2{
    width:100%;
    
}

.tab2 td{
    
    vertical-align:middle;
    text-align:center;
    padding:20px;
    border-bottom:1px solid gray;
    font-size:12px!important;
    
}

.tab2 td span{
    
    font-size:12px!important;
    
}

#bl{

  float:left; 
  width:250px;
  height:60px;  
  display: inline-block!important;
  margin-top: 40px;

    
}

#cit{

  float:right; 
  width:230px;
  height:60px;  
  display: inline-block!important;
  margin-top: 40px;

    
}

#cit a{
    
    text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #794b67;
    
}




a#nd{
    
    text-decoration:none;
    
}

#body_content{
background: #ffffff url(/templates/default/img/top_bord.png) no-repeat top;
padding:30px;
}

#menu_left {
top:120px;
margin: -5px 0 0 -5px;
position: absolute;
width: 5px;
height: 5px;
background: transparent url(/templates/default/img/menu_decor_left.png) no-repeat center;
}

#menu_right {
top:120px;
margin: -5px 0 0 900px;
position: absolute;
width: 5px;
height: 5px;
background: transparent url(/templates/default/img/menu_decor_right.png) no-repeat center;
}


h1 {
font-size: 20px!important;
font-weight: normal!important;
font-family: 'Open Sans', sans-serif!important;
margin-top:10px;
color: #000000;
border-bottom: 1px solid #e3e3e3;
padding-bottom:20px;
width:auto;
}

h2,h3{
    
    margin-top:50px;
    font-weight:100;
    line-height:130%!important;
    height:auto!important;
}

h2 a{
    padding:0px!important;
    margin:0px!important;
    line-height:90%!important;
    font: 25px/25px Arial, Tahoma, Verdana, sans-serif!important;
    text-decoration: none;
}
   
  
    
h3{
    
    font-size:30px;
    
}    
    
#col_left{
width: 400px;
float: left;
min-height: 250px;
}

#col_right {
width: 390px;
float: left;
margin-left: 40px;
}

#col_left_inner{
width: 200px;
float: left;
min-height: 250px;
/*border-right:1px solid #9f5d89;*/
padding-left: 0px!important;
}

#col_right_inner {
width: 590px;
float: left;
margin-left: 40px;

}

#clear{
clear:both;
}

#button{
    
    padding:20px;
   
}

.button{
    background:#8c3564;
    color:#fff;
}

#error_box {
    background: #fdd7cd;
    margin-top: 30px;
    padding: 10px;
    border: 1px solid red;
}

/* -----------autocomplete------------ */
.ac_results {
    padding: 0px;
    border: 1px solid WindowFrame;
    background-color: Window;
    overflow: hidden;
    width: 300px;
}

.ac_results ul {
    list-style-position: outside;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 250px;
}

.ac_results iframe {
    display: none; /*sorry for IE5*/
    display /**/: block; /*sorry for IE5*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: mask();
    height: 3000px;
    border: 1px red solid;
}

.ac_results li {
    position: relative;
    margin: 0px;
    padding: 2px 5px;
    cursor: pointer;
    display: block;
    width: auto;
    border-bottom: 1px gray solid;
    font: menu;
    font-size: 16px;
    overflow: hidden;
    color:#000!important;
}

.ac_loading {
    background: Window url('/img/autocomplete_indicator.gif') right center no-repeat;
}

.ac_over {
    background-color: orange;
    color: HighlightText;
}

small{
    
    font-size:80%;
    
}

/* -----------формы------------ */

table#forms{
    width:600px;
    margin:auto;
}

#forms td{    
    padding:10px 20px 10px 0;
}

#forms td#lc{
    width:45%;
}

#forms td#rc {
    width: 70%;
}

#forms  input, #forms textarea, #forms select,#inp {
    padding: 4px 3px;
    width: 100%;
}




/*==================Forum=======================================*/
.forum {
    position: relative;
    clear: both;
    width: 100%;
    margin: 20px 0 0 0;
    background: #f2e9d4;
    border: solid 18px #f2e9d4;
}

.forum th {
    text-align: left;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    border-bottom: solid 1px #282828;
    height: 30px;
    text-decoration: underline;
    vertical-align: top;
    padding: 10px;
}

.forum td {
    text-align: left;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 1em;
    font-weight: normal;
    border-bottom: solid 1px #c5c7ae;
    height: 30px;
    padding: 7px;
    vertical-align: top;
}

textarea#message_forum,textarea#message {
    width: 600px;
    height: 300px;
}

#topic_author {
    width: 150px;
    height: 150px;
    /*align: center;*/  /* fix dv */ text-align: center;
    vertical-align: top;
    padding-bottom: 25px;
}

#top_desc {
    /*text-decoration: italic;*/ /* fix dv */ text-decoration: none; border-bottom: 1px; border-bottom-style: dashed; 
}
.comm_c {
    width: 100%;
}

.comm_r {
    height: 5px;
    clear: both;
}

.mess {
    height: 30px;
    clear: both;
}

.ava {
    padding: 10px;
    width: 100px;
    float: left;
    overflow:hidden;
}

.comm_c #comm_spam {
    float: right;
}

.body_mess {
    overflow: hidden;
    padding: 10px;
}

#infobox_s {
    float: left;
    margin: 5px;
}

#al {
    text-align: left;
}

#ar {
    text-align: right;
}

#icon_pdf {
    position:relative;
    float:right;
    height:30px;
    margin:0px;
}

#icon_pdf img {
    
    margin-right:5px;
    
    }

#quote {
    margin-top: 10px;
}

#quote b {
    font-size: 0.9em;
}

#citat {
    border: 1px #7d805b solid;
    background-color: #f6f9e4;
    padding: 10px;
}

#post_answ {
    max-height: 30px;
}

#post_bod {
    height: 150px;
    border-bottom: 0px;
}

#forum_folder {
    float: left;
    margin-right: 10px;
}

.w {
    background: url(/img/week.gif) left top no-repeat;
    height: 6px;
    overflow: hidden;
    margin: 5px 0px;
    width: 83px;
    position: relative;
}

.w div {
    background: url(/img/week_bg.gif) 1px 1px no-repeat;
    position: absolute;
    height: 6px;
    overflow: hidden;
    width: 10px;
}

.w div.red {
    background: url(/img/week_bg.gif) right 1px no-repeat;
}
input{
    
    padding:5px;
    
}

#s_small, #small{
    
    font-size:83%;
    line-height: 130%;
    
}

#val-mid{
    
    vertical-align:middle;
    
}

#bold{
    font-weight:bold!important;
    }
}

#boxm {
    position: absolute;
    border: 4px solid orange;
    padding: 20px;
    z-index: 500;
    background-color: #fff;
    display: none;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 1em;
    color:black;
}

ul#vmenu{
    padding:0px!important;
    margin: 0px!important;
    text-align:left;
    
    
}

ul#vmenu li{ 
    margin-left: 0px!important;
    }

ul#submenu{
    
    margin-top: 0px!important;
    margin-bottom: 30px;
    }
    
li#active {
    
    font-weight: bold;
}

a#no_uline {
    
    text-decoration: none;
}

ul#blocks{
 
    margin-left:0px!important;   

}

ul#blocks li{
    
    margin-left: 0px;
}

ul#blocks span{
    
    float:top;
}

.svetofor{
    width:50px;
    height:30px;
} 


.svet1{
    background: red;    
}

.svet2{
    background: yellow;    
}

.svet3{
    background: green    
}


.btn-custom {
  background-color: hsl(329, 34%, 38%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b86f95", endColorstr="#813f61");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#b86f95), to(#813f61));
  background-image: -moz-linear-gradient(top, #b86f95, #813f61);
  background-image: -ms-linear-gradient(top, #b86f95, #813f61);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b86f95), color-stop(100%, #813f61));
  background-image: -webkit-linear-gradient(top, #b86f95, #813f61);
  background-image: -o-linear-gradient(top, #b86f95, #813f61);
  background-image: linear-gradient(#b86f95, #813f61);
  border-color: #813f61 #813f61 hsl(329, 34%, 33%);
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
  -webkit-font-smoothing: antialiased;
}