@import url(reset.css);
#wrapper {/*Параметры обертки*/
    width: 1024px;
    margin: 0 auto;
    outline: 0px solid #cccccc;
    height: 3411px;

}

#topLines {
    height: 18px;
    background-image: url(../images/topLine.png);
    background-repeat: repeat-x;
    background-color: #cccccc;
   }
#header {
    height: 120px;
    outline: 0px solid #cc0000;
    position: relative;
}
#logo {
    width: 296px;
    height: 91px;
    background-image: url(../images/logo1.png);
    background-repeat: no-repeat ;
    position: absolute;
    left: 20px;
    top: 27px;
}
#logo a {
    height: 91px;
    display: block;
    cursor: pointer;
}
#nav {
    width: 499px;
    height: 30px;
    outline: 0px solid #cccccc;
    position: absolute;
    top: 56px;
    right: 168px;
}
#nav li {
    display:inline;
    margin-right: 20px;
    text-transform: uppercase;
}
#nav li a {
    text-decoration: none;
    font: 16px Arial, sans-serif;
    color:#3f3f3f;
}
#nav li a.active, #nav li a:hover {
    color: #2c789c;
}
/*Конец блока header*/

/*Блок с серо-черной полосой*/
#topLinesB {
    height: 18px;
    background-image: url(../images/topLineH.png);
    background-repeat: repeat-x;
    background-color: #cccccc;
   }
/*Конец блока с серо-черной полосой*/
/*Блок с верхними боковыми сайдбарами*/
#bars {
 position: relative;
 height: 100px; 
}
#Btop {
    position: absolute;
    height: 1px;
    width: 952px;
    background-image: url(../images/Bbottom.png);
    background-repeat: repeat-x;
    top: 0;
    right: 36px;
 }
#sideRH, #sideLH {
    height: 100px;
    width: 36px;
    position: absolute;
 }
 #sideRH {
    background-image: url(../images/sideRH.png);
    background-repeat: no-repeat;
    right: 0;
    bottom: 0;
 }
 #sideLH {
    background-image: url(../images/sideLH.png);
    background-repeat: no-repeat;
    left: 0;
    bottom: 0;
 }
/*Окончание блока с сайдбарами*/
/*Начало черно-белого блока*/
#blackAndWhite {
    height: 350px;
    position: relative;
    outline: 0px solid #00cccc;
    background-image: url(../images/colorsBG.png); 
    background-repeat: repeat-y;
    padding: 0px 0px 0px 0px;
    
}
#info {
    outline: 0px solid #00cccc;
    height: 400px;
    width: 950px;
    position: absolute;
    top: -75px;
    left: 37px;
    background-image: url(../images/Fon1.jpg); 
    background-repeat: repeat-y;
} 
 
 #sideR, #sideL {
    height: 100px;
    width: 36px;
    position: absolute;
 }
 
 #sideR {
    background-image: url(../images/sideR.png);
    background-repeat: no-repeat;
    right: 0;
    bottom: 0;
 }
 #sideL {
    background-image: url(../images/sideL.png);
    background-repeat: no-repeat;
    left: 0;
    bottom: 0;
 }
 #Bbottom {
    position: absolute;
    height: 1px;
    width: 952px;
    background-image: url(../images/Bbottom.png);
    background-repeat: repeat-x;
    bottom: 0;
    right: 36px;
 }
 
/*Окончание черно-белого блока*/
/*Начало Первого черного блока*/
#dark {
    height: 2400px;
    padding: 13px 30px 14px 41px;
    outline: 0px solid #cc0000;
    background-color: #1D1E1B;
}
#planning, #team, #blog {
    outline: 0px solid #cccccc;
    height: 403px;
    float: left;
}

#planning, #team {
    width: 289px;
}
#blog {
    width: 297px;
}
#team, #blog {
    margin-left: 39px;
}
#dark1 {
    width: 289px;
    height: 114px;
    outline: 0px solid #cc0000;
    background-image: url(../images/dark1.png);
    background-repeat: no-repeat;  
}


#dark h3 {
   height: 27px;
   outline: 0px solid #cc0000;
   font: 19px Arial, sans-serif;
   color: #ffffff;
   /*text-transform: uppercase;*/
   overflow: hidden; 
}
#dark h3.rab {
  height: 27px;
   outline: 0px solid #cc0000;
   font: 19px Arial, sans-serif;
   color: #ffffff;
   /*text-transform: uppercase;*/
   overflow: hidden;   
}

#planning p, #team p {
    font: 12px Arial, sans-serif;
    height: 226px;
    outline: 0px solid #cc0000;
    color: #8E938A;
    padding-top: 9px;
    overflow: hidden;
    text-align: justify;
    text-indent: 10px;
}
#planning a, #team a {
    text-decoration: none;
    color: #B4C9D6;
    font: 14px Arial, sans-serif;
    display: block;
    width: 99px;
    height: 18px;
    background-image: url(../images/readMoreBlue.png);
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 4px 10px;
    letter-spacing: 2px;
    }
    
#dark2 {
    width: 289px;
    height: 114px;
    outline: 0px solid #cc0000;
    background-image: url(../images/dark2.png);
    background-repeat: no-repeat;   
    }
  #post1, #post2  {
    height: 125px;
    outline: 0px solid #cc0000;
  }
#post3  {
    height: 125px;
    outline: 0px solid #cc0000;
  } 
#blogImg3 {
    width: 112px;
    height: 81px;
    background-image: url(../images/dark3.jpg);
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
} 
#blogImg4 {
    width: 112px;
    height: 81px;
    background-image: url(../images/dark4.jpg);
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
} 
#blogImg5 {
    width: 112px;
    height: 81px;
    background-image: url(../images/dark5.jpg);
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
} 
#blog h4 {
    font: bold 13px Arial, sans-serif;
    color: #ffffff;
    
} 
#blog p {
    font: 12px Arial, sans-serif;
    color: #94998f;
} 
#blog a {
    font: 12px Arial, sans-serif;
    color: #2c789c;
    text-decoration: none;
    background-image: none;
    letter-spacing: 2px;
}

#blog span {
    color: #2c789c;
    text-transform: lowercase;
    padding-left: 20px;
}
/*Таблица в черном блоке*/
table {
border-spacing: 0 10px;
font-family: Arial, sans-serif;
font-weight: bold;
color:#FFFFFF;
margin: 0 auto;
width: 900px;
}
th {
padding: 10px 20px;
background: #56433D;
color: #F9C941;
border-right: 2px solid; 
font-size: 0.9em;
}
th:first-child {
text-align: left;
}
th:last-child {
border-right: none;
}
td {
vertical-align: middle;
padding: 10px;
font-size: 14px;
text-align: center;
border-top: 2px solid #56433D;
border-bottom: 2px solid #56433D;
border-right: 2px solid #56433D;
height: 100px;
}
td:first-child {
border-left: 2px solid #56433D;
border-right: none;
}
td:nth-child(2){
text-align: left;
}

/*Окончание таблицы в черном блоке*/


/*Начало серого блока*/
#grey {
    
    background-color: #2E302C;
    padding: 15px 30px 10px 40px;
    outline: 0px solid #c1ad00;
    height: 200px;
}
#about {
    width: 300px;
    outline: 0px solid #cccccc;
    float: left;
}
#about p {
    text-indent: 10px;
}



#partners {
    width: 628px;
    height: 168px;
    outline: 0px solid #cccccc;
    float: left;
    margin-left: 26px;
    
}
#partners h2.preim {
    margin-left: 20px;
}
#grey h2{
    font: 18px Arial, sans-serif;
    color:#FFFFFF;
    text-transform: uppercase;
    margin-bottom: 3px;
}
#grey p{
    font: 12px Arial, sans-serif;
    color:#94998F;
    margin-bottom: 6px;
}
#grey a {
    text-decoration: none;
    color: #2C789C;
    font: 16px Arial,sans-serif;
}
.partner {
    width: 275px;
    float: left;
    outline: 0px solid #ffffff;
}
.partner li {
    color: #7F847B;
    font: 11px Arial, sans-serif;
    margin-bottom: 15px;
    padding-left: 22px;
    background-image:url(../images/plus.png);
    background-repeat: no-repeat;
    background-position: 0 4px;
}
#p2 {
    margin-left: 56px;
}
#p1 {
    margin-left: 22px;
}
/*Окончание серого блока*/
/*Начало футера*/

#footer {
    height: 154px;
    background-color: #131412;
    position: relative;
    outline: 0px solid #cc0000;
}
#copy {
    position: absolute;
    top: 81px;
    left: 39px;
}
#copy, #copy a {
    text-decoration: none;
    font: 10px Arial,sans-serif;
    color: #9B9D99;
}
#footerNav {
    width: 450px;
    height: 30px;
    outline: 0px solid #cccccc;
    position: absolute;
    top: 81px;
    right: 50px;
}
#footerNav li {
    display:inline;
    margin-left: 23px;
    text-transform: uppercase;
}
#footerNav a {
    text-decoration: none;
    font: 13px Arial, sans-serif;
    color:#8E9389;
}
#footerNav li a.active, #footerNav li a:hover {
    color: #2c789c;
}

#footerSocial {
    width: 200px;
    height: 21px;
    position: absolute;
    top: 112px;
    right: 36px;
    outline: 0px solid #cccccc;
}
#footerSocial li {
    float: right;
    margin-left: 5px;
    height: 21px;
    background-repeat: no-repeat;
}
#s1 {
    width: 21px;
    background-image:url(../images/s1.png);
    outline: 0px solid #cccccc;
}
#s2 {
    width: 26px;
    background-image:url(../images/s2.png);
    outline: 0px solid #cccccc;
}
#s3 {
    width: 21px;
    background-image:url(../images/s3.png);
    outline: 0px solid #cccccc;
}
#s4 {
    width: 69px;
    background-image:url(../images/s4.png);
    outline: 0px solid #cccccc;
}
#footerSocial li a {
    display: block;
    height: 22px;
    cursor: pointer;