/*
Theme Name: Shablon theMD
Author: theMD
Author URI:   http://themd.ru
Description: Шаблон WordPress. 
Version: 1.0

*/

/*----------------------------*/
* { margin:0; padding:0;}
input:focus, textarea:focus {outline:none;}
img {border:none;}
a {color:#294598; text-decoration:none;}
a:hover{text-decoration:underline;}
table {border-collapse: collapse; border-spacing:0px;}

html {height: 100%;}
html * {max-height:1000000px;}
body {min-height:100%; height:100%;font-family: 'Open Sans', sans-serif;color:#444;}
#total {height: auto !important;min-height:100%;height: 100%;}

/*--- h1-h5 ---*/

h1, h2, h3, h4, h5, h6, .h3 {font-weight:500;}
h1 {font-size:23px;}
h2 {font-size:21px;}
h3 {font-size:19px;}
h4 {font-size:16px;}
h5 {font-size:14px; font-weight:600;}

p {line-height:1.4em; margin:0 0 15px 0;}

textarea, input {font-family: 'Open Sans', sans-serif;}
.clean {clear:both;}


/*--- header ---*/

#header {height:150px;}

#logo {float:left; background:url(./images/logo.png) left top no-repeat;width: 214px;color: #294598;text-decoration: none;font-size: 32px;padding: 43px 0 51px 90px;margin-top:7px;text-transform: uppercase;font-weight: 700;}

.right_head {float:right; text-align:right; color:#333;margin-top: 27px;}
.tel {font-size:31px; color:#444; line-height:50px;}
.tel span {}
.zakaz {text-decoration: none;border-bottom: 2px dotted;font-size: 20px;text-transform: uppercase;cursor:pointer;}
.zakaz:hover {text-decoration: none;border-bottom: 2px solid;}

/*--- menu ---*/

#top_menu {text-align:center; background: url(../images/menu.png) center center no-repeat; height:43px; margin:0 0 15px 0; position:relative; z-index:2;}
#top_menu ul {display: inline-block; line-height:43px;}
#top_menu li {float:left; margin:0 25px; list-style:none;}
#top_menu a { font-size:15px; color:#147dad; text-transform:uppercase; text-decoration:none;}
#top_menu a:hover, #top_menu li.active a { text-decoration:underline;}


.inner{width:940px; margin:0 auto;}
.btn {background:#f7c105;font-size:16px;color:#fff;padding:10px 22px;border-radius:5px;border: 1px solid #a4a04a;text-transform: uppercase;font-weight: 600;text-shadow: 0 0 1px #1e1e1e;cursor:pointer;}
.btn:hover {text-decoration:none;background: #f8c71f;}
.btn:active {transform: translateY(2px);}

.wpcf7-not-valid-tip {display:none !important;}
img.ajax-loader {display: block;}
/*--- main ---*/
#block1{background: url(./images/bg_b1.jpg) center no-repeat;background-size: cover;}
#block1 .inner{padding: 130px 0;}
.home_title {width: 800px;margin: auto;padding: 30px;text-align: center;background: #fff;border: 1px solid #294598;box-shadow: 0 0 0 9px #fff;}
#block1 h1{font-size:50px;color:#294598;line-height:45px;font-weight: 700;text-transform: uppercase;margin-bottom: 32px;}
#block1 .entry-content p{font-size: 1.59em;color:#444;line-height: 30px;text-transform: uppercase;}

#block2{background: url(./images/bg_b2.jpg) center repeat;height: 240px;}
#block2 .inner{padding: 45px 0 60px;}
#block2 h3{color:#fff;font-size:25px;text-align:center;text-transform:uppercase;margin-bottom:45px;}
#block2 #wpcf7-f9-o1 {padding: 0 20px;}
#block2 .input_text{float:left;}
#block2 .wpcf7-text, #block2 .wpcf7-mask{font-size:18px;text-align:center;width: 258px;line-height: 40px;border-radius: 5px;border: 1px solid #c3c3c3;margin-right: 75px;}
#block2 .wpcf7-response-output {margin: 0.2em 0.5em 1em;}
#block2 .wpcf7-not-valid {border: 1px solid #f03c3c;}

#block3{background: url(./images/bg_b3.png) center repeat;}
#block3 .inner{padding: 45px 0 60px;text-align:center;}
#block3 h2{color:#5686c6;font-size:38px;font-weight: 600;text-transform:uppercase;margin-bottom:5px;}
#block3 .services{margin-top:40px;}
#block3 .services > div{float:left;width:260px;background:#fff;border:1px solid #ccc;padding:20px;margin-right:16px;}
#block3 .services > div:last-child{margin-right:0;}
#block3 .services h3{color:#5686c6;font-size:18px;text-transform:uppercase;}
#block3 .services img{margin: 20px 0 40px;}
#block3 .services ul{text-align:left;font-size:13px;margin: 40px 8px 0;list-style: none;}
#block3 .services li{background:url(images/romb.png) left 7px no-repeat;padding-left:20px;margin-bottom: 10px;}

#block4{background: url(./images/bg_b4.jpg) center;background-size: cover;color:#fff;position: relative;}
#block4 .inner{padding: 45px 0;}
#block4 .b4_left{width:49%;float: left;top: 50%;height: 170px;margin-top: 100px;}
#block4 h2{color:#f2ac19;font-size:45px;text-transform:uppercase;margin: 0 0 20px;line-height: 47px;}
#block4 p{font-size:18px;}
#block4 .b4_right{width:49%;float: right;}
#block4 .forma{background: #fff;border: 3px solid #f2ac19;border-radius: 5px;padding:20px;width: 270px;float: right;text-align: center;}
#block4 .forma .h3{color:#f2ac19;font-weight: 700;font-size:25px;text-transform:uppercase;margin-bottom:50px;}
#block4 #wpcf7-f9-o2 {}
#block4 .input_text{float:none;}
#block4 .wpcf7-text, #block4 .wpcf7-mask{font-size:18px;text-align:center;width: 224px;line-height: 40px;border-radius: 5px;border: 1px solid #c3c3c3;margin-bottom:30px;}
#block4 .wpcf7-response-output {margin: 0.2em 0.5em 1em;}
#block4 .forma .wpcf7-response-output{color: #000;}
#block4 .wpcf7-not-valid {border: 1px solid #f03c3c;}

#block5{background: #fff;}
#block5 .inner{padding: 45px 0 60px;text-align:center;}
#block5 h2{color:#5686c6;font-size:38px;font-weight: 600;text-transform:uppercase;margin-bottom: 40px;}
#block5 .types > div {float:left;width:210px;padding:210px 0 0;margin:0 12px 40px;background-repeat: no-repeat;background-position: 0 0;transition: .5s cubic-bezier(.08,.82,.17,1);transition-delay: .1s;}
#block5 .types > div:hover {background-position: 0 -340px;}
#block5 .types > div span {display:block;margin-top:6px;font-style: italic;}
#block5 .typ1 {background: url(./images/type/1.png);}
#block5 .typ2 {background: url(./images/type/2.png);}
#block5 .typ3 {background: url(./images/type/3.png);}
#block5 .typ4 {background: url(./images/type/4.png);}
#block5 .typ5 {background: url(./images/type/5.png);}
#block5 .typ6 {background: url(./images/type/6.png);}
#block5 .typ7 {background: url(./images/type/7.png);}
#block5 .typ8 {background: url(./images/type/8.png);}
#block5 .btn_typ {display: inline-block;border:2px solid #646464;padding:10px 25px;color:#333;text-transform: uppercase;margin:30px 0 0;font-weight: 600;}
#block5 .btn_typ:hover {background:#646464;color:#fff;text-decoration:none;}

#block6{background: url(./images/bg_b6.png);}
#block6 .inner{padding: 50px 0 40px;}
#block6 h2{color:#1b4581;font-size:38px;text-align: center;font-weight: 600;text-transform:uppercase;margin-bottom: 40px;}
#block6 .points {background: url(./images/bg2_b6.png) center 20px no-repeat;}
#block6 .points > div{display:inline-block;width:49%;vertical-align: top;font-size:15px;}
#block6 .pn_left > div  {background-repeat: no-repeat;background-position:center left;padding:28px 0 28px 100px;margin:10px 0 35px;height: 40px;}
#block6 .pn_right > div  {text-align:right;background-repeat: no-repeat;background-position:center right;padding:28px 100px 28px 0;margin:10px 0 35px;height: 40px;}
#block6 .point1 {background: url(./images/point/1.png);}
#block6 .point2 {background: url(./images/point/2.png);}
#block6 .point3 {background: url(./images/point/3.png);}
#block6 .point4 {background: url(./images/point/4.png);}
#block6 .point5 {background: url(./images/point/5.png);}
#block6 .point6 {background: url(./images/point/6.png);}

#block7{background: url(./images/bg_b7.jpg) center repeat;background-size: cover;color:#fff;}
#block7 .inner {padding: 45px 0 50px;}
#block7 h2{font-size:38px;text-align: center;font-weight: 600;text-transform:uppercase;margin-bottom: 55px;text-shadow: 0 0 5px #000;}
#block7 .works {background: url(./images/work.png) center 0 no-repeat;position:relative;height: 660px;font-size:15px;}
#block7 .works > div {position:absolute;width:130px;text-align:center;line-height: 18px;}
#block7 .work1 {left:405px;top:57px;}
#block7 .work2 {left:580px;top:132px;}
#block7 .work3 {left:652px;top:298px;}
#block7 .work4 {left:580px;top:475px;}
#block7 .work5 {left:405px;top:562px;}
#block7 .work6 {left:229px;top:488px;}
#block7 .work7 {left:156px;top:298px;}

#questions {background: #f2f2f2;text-align:center;height: 100px;}
#questions .inner {padding: 30px 0;}
#questions .quest {color: #606262;font-size:30px;line-height: 38px;}
#questions .quest a {border-bottom: 2px dotted;font-size: 24px;vertical-align: top;display: inline-block;line-height: 35px;}
#questions .quest a:hover {border-bottom: 2px solid;text-decoration:none;}

#reviews {background: #fff;text-align:center;}
#reviews .inner {padding: 30px 0;}
#reviews h2{color:#646464;font-size:38px;font-weight: 600;text-transform:uppercase;margin-bottom: 20px;}
#reviews .review_slider {}
#reviews .review_item {font-size: 18px;}
#reviews .review_name {font-size: 15px;margin-top: 10px;}

/*--- Model Windows ---*/
#fancybox-content {text-align: center;}
#fancybox-content > div {padding-top: 20px;}
#fancybox-content .wpcf7-text, #fancybox-content .wpcf7-mask{font-size:18px;text-align:left;width: 310px;line-height: 20px;padding: 10px;border-radius: 5px;border: 1px solid #c3c3c3;margin-bottom:20px;}
#fancybox-content .wpcf7-textarea{font-size:18px;text-align:left;width: 310px;line-height: 20px;padding: 10px;border-radius: 5px;border: 1px solid #c3c3c3;margin-bottom:20px;height:auto}
#fancybox-content .wpcf7-not-valid {border: 1px solid #f03c3c;}
#fancybox-content .price_list {margin:0 20px 20px;}
#fancybox-content .price_list td, #fancybox-content .price_list th {padding:5px 15px;border: 1px solid #ccc;}
#fancybox-content .price_list th {background: #f3f3f3;}
#fancybox-content .price_list tr:hover {background: #f3f3f3;}
#fancybox-content .price_list tr td:nth-child(2) {text-align:left;}

/*--- footer ---*/

#footer_space {height: 138px;clear: both;}
#footer {height: 138px;clear: both;margin:-138px auto 0 auto; background: #ece3de;}
#footer_inner {width:940px; margin:0 auto; }
.left_foot { float:left;}
#flogo {float: left;background:url(./images/logo.png) left top no-repeat;background-size: 56px;width: 214px;color: #294598;text-decoration: none;font-size: 24px;padding: 32px 0 33px 57px;text-transform: uppercase;font-weight: 700;}
.right_foot { float:right;font-size:31px; color:#444; line-height:94px;}
.bottom_foot {background: #5f5f5f;text-align:center;color:#fff;height: 40px;line-height:40px;}

