/* Layout ******************/
html {
  height:100%;
  }
body {
  padding:0;  
  margin:0 auto;  
  width:950px;
  min-height:100%;
  position:relative;
  font:11pt Arial,Tahoma,Sans-Serif;   
  }
  
* html body {
  height:100%;
  }
#meta {
  position:absolute;
  bottom:0;
  height:36px;
  width:100%;
  padding:2px 0;
  background: url(images/bg_meta.png) white left top repeat-x; 
}                                                        
#meta h2 {
  margin:15px;  
  text-align: right;
  font: bold 7pt Arial;
  color: #302075;
  background: none;
  }

#meta p {
  margin: 5px 5px;  
  font-size: 80%;
  text-align: center;
  }
  
#soc {
float: left;
margin: 7px 0 0 10px;

}
 
#search {
width: 220px;
position: absolute;
right: 5px;
top: 115px;
 }

a:link, a:visited { 
    font-weight: bold; 
    text-decoration: none; 
    color: #302075;
}

a:hover, a:active { 
    text-decoration: none; 
    color: white;
}

.active a{
    color: white;    
}

#meta a:link, #meta a:visited { 
   /* margin-right: 30px; */
    }

#hat {
  left: 0; top: 0; 
  height: 150px;
  width: 937px;
  margin: 0 auto;
  background: url(images/logo.jpg) white right top no-repeat;  
    border-left: 1px solid #DCDCDC; 
    border-right: 2px dotted #1D89CE; 
  }
  
#hat img {
   padding-left:30px;
    border: none;
}       

.logotype {
float: right;
display: block;
width: 210px;
height: 150px;

}


#keys {  
  left: 0; top: 150px; 
  height: 50px; width: 100%;
  background: url(images/bg_keys.png) white left top repeat-x;  
  }

#keys ul {
   position: relative;
    top: 15px;
    left: 30px;
    margin: 0;
   padding: 0;
    height: 20px;
}

#keys li {
        display: inline;
      font:12pt Arial,Tahoma,Sans-Serif;   
      margin: 24px;
}

/****************************************************/  
#content {
  padding-bottom:34px;
  overflow:hidden;
  margin: 0 auto;
  width:938px;
  background: #0093dd; 
  border-right: 2px dotted white;     
  }

#main {
  position: relative;
  float:left;
  width:721px;
  height: 100%;
  background: white; 
  border-left: 1px solid #DCDCDC;
}                   

#text {  
  margin:10px;
  min-height: 680px;   
  /*z-index: -1;*/
}      

* html #text {
height: 680px;   
}                

#text img {  
  margin: 7px 20px;
  border-style:dotted;
  border-width:1px;  
}    

#text a:link,#text a:visited { 
    font-weight: bold; 
    text-decoration: none; 
    color: #302075;
}

#text a:hover,#text a:active { 
    text-decoration: underline; 
    color: #0093DD;
}


#sections {
position: relative;
  float:right; 
  width:216px;
  margin:0; 
  color:Black;  
  z-index: 10;
}   

#sections a:link, #sections a:visited { 
  text-decoration: none; 
  font-size: 9pt;                
  color:Black;  
  }
  
#sections a:hover,#sections a:active { 
    text-decoration: none; 
    color: #D3D3D3;
}  

#sections ul {     
  margin-left: -10px;
}

*html #sections ul {     
  margin-left: 10px;
}

*:first-child+html #sections ul {     
  margin-left: 20px;
}



#sections li {     
  display: list-item;
  font-size: 9pt;                
/*  list-style-image:URL(jack.png);*/
list-style-type: circle;
  padding:4px 2px 2px 1px;
} 

  
.address {
    color: black;
     font: bold 8pt Tahoma, Arial, Geneva, Verdana,  Helvetica, sans-serif;    
    text-align: center;
     text-indent: 0;
    margin: 40px 0 0 -32px;
    padding: 45px 0 0 5px;
    bottom: 0px;    
    width: 220px;
     height: 164px;
     background: url(images/visit.png) left top no-repeat;
}

#new {
position: absolute;
display: block;
width: 128px;
height: 128px;
top: 156px;
left:-63px;
}


*html .address {
width: 220px;
     height: 120px;
        behavior:url(pngfix.htc);
}

#count {
position: absolute;
left: 420px;
     bottom: 10px;
     margin: 0 auto;
}

/********* для статей ********************/
h1 {
text-align: center;  
font-size: 130%;
font-weight: bold;     
}

h2 {
margin:5px 0px -15px 0px;
text-align: center;
font: bold 12pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;       
color: Black;
background: #A8D0E2;
}

h3 {
text-align: center;  
font-size: 100%;
font-weight: bold;     
}

h5 {
    position: absolute;
    color: #1d89ce;
    top: 20px;
    right: 15px;
   font: italic bold 11pt Arial,Tahoma,Sans-Serif;   
}

h6 {
text-align: center;  
margin: -1px 0px -12px 0px;
font-size: 100%;
}


em {
display:block;
/*width: 300px;*/
text-align: right;
font-size: 70%;
/*margin-left:200px;*/
}

hr {
width: 80%;
height: 2px;
}

p {
margin:1px 10px 3px 10px;
text-align: justify;
text-indent:20px;  
font: 11pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;   
}                     

i {
margin:0;
}  

/*
table {
   margin: 10px;
}
*/

.frby td {
   border: 0;
}

td {
    font: 8pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;
    text-indent: 0;
    text-align: center;
    padding: 2px;
    /* border: solid 1px; */
}

td p {
text-indent:0;  
}

.main {
    border: none;
    vertical-align: top;    
    padding: 5px;    
}

#text table img {  
  margin: 0;
  padding: 0;
  border: 0;
}    

#text table p {
    text-align: left;
}

.bold td {
    font:bold 7pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;    
}

.bg {
    background: #A8D0E2;
}

a {
    outline: none;
}

/*************  форма **************/

h4 {
   position: absolute;
    padding: 0; margin:0;
    bottom: 1px;
    left: 400px;
    font: bold 9pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;
    color: Gray;
   
}

form td{
    font: bold 10pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;
    color: #302075;
}

#formtext {
    font: 10pt Arial,Verdana, sans-serif, Tahoma, Geneva, Helvetica;
    color: Black;
    border: 1px dashed black;    
    width: 450px;
}

#formtext p {
margin:1px 10px -2px 10px;
text-align: justify;
}

#formtext a:link,#formtext a:visited {
    color: Blue;
}

textarea {
    width: 400px;
    height: 50px;
}

form td {
    padding: 2px;
    text-align: right;
    border: none;
}

input {
    width: 200px;    
}

.form_button {
width: 118px;
height: 19px;
border: none;
background: url('images/minibut.png') top left no-repeat;        
color: White;
margin-left: 160px;
}

div.dioxin {
position: absolute;
top: 250px;
left: 48px;
background: url('images/dio.png') top left no-repeat;        
width: 120px;
height: 119px;
}


div.dioxintext {
display: none;
width: 600px;
height: 680px;
margin: 110px 0 0 10px;
 background: #fc0 repeat-y; 
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
z-index: 11;
}


div.dioxin:hover div.dioxintext {
display:block;
}  

#simple a:hover, #simple a:active {
color: #fff;
text-decoration: none;
}

div.promo {
display: block;
background: #C3F8FF;
width: 605px;
margin: 10px auto;
padding: 10px;
border: 1px solid #0093dd;
font-size: 12pt;
display: none;
}

.social {
    position: absolute;
    right: 30px;
    top: 152px;
    height: 32px;
}

.social img{
	box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.5);
}

/** {
    border: 1px solid red;
}*/

.newform {
text-align: center;
line-height: 2em;
}

.newform textarea {
    width: 198px;
    height: 90px;
}

.newform .form_button
{
margin:0 auto;
}

span {
    padding: 5px;
}

i.fa.fa-comment-o.fa-fw {
    vertical-align: top;
}

p img {
    max-width: 30% !important;
}