body {
    margin: 0;
    padding: 0;
    /*background: url(../img/bg.jpg);
    background-attachment:fixed;
    background-position: center top;
    background-repeat: no-repeat;*/
}

#bg_div {
  width: 1040px;
  /*height: 100%;*/
  min-height: 1000px;
  background-color: rgba(255,255,255,0.9);
  background-image: url(../img/top_bg.png), url(../img/bottom_bg.png);
  background-repeat: no-repeat;
  background-position: top center, bottom center;
  margin: 20px auto;
  box-shadow: 0 -1px 10px rgba(173, 187, 194, 0.5);
  position: relative;
}
#footer {
  height: 163px;
  width:  1040px;
  position: absolute;
  bottom: 0;
}
#footer_line{
  margin: 0 auto;
  height: 7px;
  width: 90%;
  background-color: #004688;
  top: 0;
}
#header{
  height: 175px;
  width: 100%;

}
#header h2{
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  padding: 100px 0 0 0;
  margin: 0;
  color: #004688;
}
#header h1{
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 30px;
  padding: 0 0 0 100px;
  margin: 0;
  color: #004688;
}

#header_logo{
  width: 250px;
  height: 100%;
  float: left;
  /*background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  background-position: center center;*/
  text-align: center;

}
#header_logo a img{
  margin-top: 40px;
}

#header_contacts{
  width: 380px;
  height: 108px;
  position: absolute;
  right: 0;
}
.contact_div{
  color: #004688;
  height: 40px;
  width 150px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  margin-top: 30px;
  margin-left: 10px;
  float: left;
}
.contact_div.text{
  margin: 8px 0 0 0;
  padding: 0 0 0 7px;
}

.rotate {
-webkit-transform: rotate(0deg) translate3d( 0, 0, 0);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
-o-transition:.5s;
-ms-transition:.5s;
-moz-transition:.5s;
-webkit-transition:.5s;
transition:.5s;
width:35px;
height:35px;
text-align:center;
cursor:pointer;
float:left;
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
}

.rotate:hover {
-webkit-transform: rotate(-360deg) translate3d( 0, 0, 0);
-moz-transform: rotate(-360deg);
-o-transform: rotate(-360deg);
-ms-transform: rotate(-360deg);
transform: rotate(-360deg);
-o-transition:.5s;
-ms-transition:.5s;
-moz-transition:.5s;
-webkit-transition:.5s;
transition:.5s;
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}

.rotate img {
width:35px;
height:35px;
}

#menu {
    opacity: 1;
    background-color: #FFF;
	background: url(../img/menu_bg.png) repeat-x scroll left top rgba(0, 0, 0, 0);
    box-shadow: 0 -1px 10px rgba(173, 187, 194, 0.5);
    height: 47px;
    margin: 0 auto;
    margin-top: 40px;
    width: 90%;
}
#menu table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    height: 47px;
}
#menu table tr td{
    background: url(../img/menu_line.png) repeat-x scroll left bottom rgba(0, 0, 0, 0);
    text-align: center;
}
#menu table tr td:hover{
    background: url(../img/menu_line_s2.png) repeat-x scroll left bottom rgba(0, 0, 0, 0);
}

#menu table tr td a{
    color: #1f4f8f;
    display: block;
    font: bold 13px Verdana;
    padding: 15px 13px;
    text-transform: uppercase;
    text-decoration: none;
}
#main_content{
    margin-left: 80px;
    padding-top: 20px;
    padding-bottom: 163px;
    overflow: hidden;
}
#main_content h2{
  color: #004688;
  font-size: 46px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
}
#main_content h3{
  color: #004688;
  font-size: 32px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
}
.contactsHeader{
  font-size:24px !important;
  font-weight:400 !important;
}


#main_content strong{
  color: #004688;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
#main_content p,ul{
  width: 90%;
  font-family: Verdana;
  font-size: 13px;
  line-height: 15pt;
  text-align: justify;
}
.imgLeft{
  float: left;
  margin: 10px;
}
.imgRight{
  float: right;
  margin: 10px 95px 10px 10px;
}

.slide {
  float: left;
  overflow: hidden;
  height: 100%;

}
#slider{
  margin-left: 80px;
  padding-top: 20px;
}


/*contacts*/
#yandexMap{
  float:left;
  margin: 0 0 25px 5px ;
  -webkit-box-shadow: 1px 1px 11px 0px rgba(50, 50, 50, 0.57);
  -moz-box-shadow:    1px 1px 11px 0px rgba(50, 50, 50, 0.57);
  box-shadow:         1px 1px 11px 0px rgba(50, 50, 50, 0.57);
}
#contactsTextBlock{
  float: left;
  width: 300px;
}
#contactsTextBlock h3{
  margin: 0 0 5px;
}

/*footer*/
#footer_addr{
  color: #004688;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 200;
  margin: 10px 50px;
  text-align: right;
  float: right;
}
/*services*/
.view {
  width: 800px;
  height: 300px;
  margin: 30px;
  border: 10px solid #fff;
  overflow: hidden;
  position: relative;
  text-align: center;
  box-shadow: 1px 1px 2px #e6e6e6;
  cursor: default;
  background: #fff url(../img/bg_img.jpg) center center
}
.view .mask, .view .content {
    width: 800px;
    height: 300px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.view img {
    display: block;
    position: relative
}
.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px !important;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0
}
.view p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #fff;
    padding: 10px 40px 20px;
    text-align: center
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000
}
.view a.info:hover {
    box-shadow: 0 0 5px #000
}
.view-tenth img {
    transform: scaleY(1);
    transition: all 0.7s ease-in-out;
}
.view-tenth .mask {
    background-color: rgba(255, 231, 179, 0.3);
    transition: all 0.5s linear;
    opacity: 0;
}
.view-tenth h2{
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    margin: 20px 40px 0px 40px;
    transform: scale(0);
    color: #333;
    transition: all 0.5s linear;
    opacity: 0;
}
.view-tenth p{
    color: #333;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}
.view-tenth ul{
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    padding: 10px 60px 20px;
    text-align: center
    color: #333;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.view-tenth a.info {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.view-tenth:hover img {
    transform: scale(10);
    opacity: 0;
}
.view-tenth:hover .mask {
    opacity: 1;
}
.view-tenth:hover h2,
.view-tenth:hover p,
.view-tenth:hover ul,
.view-tenth:hover a.info{
    transform: scale(1);
    opacity: 1;
}

#gallery-wrapper{
	margin:10px 60px 200px;
}
