/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1920px) {
	.container{
		width: 100%;
		max-width: 1170px;
	}
    #commentform.comment-form label{
        display: none !important;
    }
}
@media only screen and (max-width : 1550px) {
.my_head{
	line-height: 50px;
}
.rew_item_block .rewiew_item:first-child,
.rew_item_block .rewiew_item:last-child{
margin: 0 13px;
}
}
@media screen and (min-width:1441px) and (max-width:1550px) {
    .why_main_item {
        height:415px;
    }
}

}
@media only screen and (max-width : 1470px){

    .h_left {
    padding-left: 360px;
}
.header{
    max-width: 365px;
}
}


@media only screen and (max-width : 1440px) {
.h_left {
    padding-left: initial;
    padding-top: 134px;
}
.header {
    display: inline-block;
    margin-top: 90px;
    margin-left: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    z-index: 99999;
    text-align: center;
}
.logo {
    display: inline-block;
    margin-top: 10px;
    margin-left: 20px;
    max-width: 250px;
    vertical-align: top;
    float: left;
    text-align: left;
}
.logo img{
	width: 100%;
}
.logo p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    position: relative;
    padding: 5px 0;
    top: 0;
    color: #494949;
    margin: 0;
}
.navbar-nav>li {
    float: left;
        margin-right: 20px;
}
.navbar-nav>li:last-child{
	margin-right: 0;
}
.navbar-default .navbar-nav>li>a{
	font-size: 16px;
}
li a:before,
li.active a:before{
	display: none;
}
#menu {
    margin: 10px;
    display: inline-block;
}
.header_contacts {
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    float: right;
    text-align: left;
}
.head_phone img {
    margin-right: 7px;
    position: relative;
    width: 20px;
    top: -4px;
}
.head_phone a {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    text-decoration: none;
    color: #323232;
}
.address {
    font-size: 17px;
    font-weight: 500;
}
.address p {
    display: inline-block;
    line-height: 20px;
    margin: 0;
}
.head_baccall {
    color: #41ad49;
    font-size: 20px;
    text-decoration: underline;
    text-transform: uppercase;
    margin-left: 40px;
    margin-top: 10px;
    display: inline-block;
}




@media (max-width: 1190px) {
    .navbar-header {
        float: none;

    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li,
    .navbar-nav>li:last-child {
        float: none;
        margin-right: 16px;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    .header{
        text-align: right;
    }
    .menu-glavnoe-menyu-container{
    }
}







}
@media (max-width: 1024px){
    .calc_row{
        text-align: center;
    }
    .input_block{
        margin-left: 0;
        text-align: left;
    }
    .why_main_item{
        min-height: 470px;
    }
.calc_row.big_h .input_title {
    padding: 10px 0 10px 20px;
}
.question_bac_call,
.question_email{
    display: block;
    float: right;
}
.main_how_item {
    display: block;
    float: left;
    max-width: 150px;
    text-align: left;
    position: relative;
    vertical-align: top;
}
.main_how_item_arr {
    position: relative;
    display: block;
    float: left;
    width: 21px;
    top: 80px;
    vertical-align: top;
    margin-right: 40px;
    margin-left: 10px;
}
.breadcrumbs {
    padding: 30px 30px;
}
#commentform.comment-form p.comment-form-author, #commentform.comment-form p.comment-form-email, #commentform.comment-form p.comment-form-url {
    width: 33% !important;
    margin: 0;
    display: inline-block;
    padding-right: 0px;
}






}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	/*Disable Animation on Mobile Devices*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}

    #commentform.comment-form p.comment-form-author, #commentform.comment-form p.comment-form-email, #commentform.comment-form p.comment-form-url {
    width: 32.9% !important;
    margin: 0;
    display: inline-block;
    padding-right: 0px;
}
.navbar-default{
        position: absolute;
    right: 0;
    background: #fff;
}
#menu{
    float: right;
}
.collapse.in {
    display: block !important;
    position: absolute;
    right: 0;
    width: 270px;
    background: #fff;
    box-shadow: 1px 1px 1px 1px #d0d0d0;
}
.map{
    display: inline-block;
}
.footer_contacts {
    position: relative;
    top: -10px;
    width: 100%;
    text-align: center;
    max-width: 100% !important;
}

.footer_contact_item {
    display: inline-block;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 7px;
    vertical-align: text-bottom;
    text-align: left;
    padding: 0px 20px 0 30px;
    max-width: 100%;
    margin: 0;
}
.main_product_item{
        width: 44%;
    max-width: 100%;
    height: 365px;
    margin: 0px 5px 10px;
}
.main_product_item:hover:before{
    max-width: 100%;
}
.calc_row .input_count {
    font-size: 26px;
    background: #48b04f;
    color: #fff;
    width: 40px;
    display: inline-block;
    float: none;
    text-align: center;
    line-height: 40px;
}
.calc_row.big_h .input_count {
    line-height: 40px;
}
.certificat p {
    font-size: 17px;
    line-height: 27px;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}
.why_main {
    text-align: center;
    display: inline-block;
}
.why_main_item {
    min-height: 470px;
    height: 100%;
    width: 45%;
    max-width: 100%;
    text-align: center;
}
.why_main_item img {
float: none;
    display: inline-block;
    height: 235px;
    width: initial;
}
.why_main_item p{
        float: none;
    max-width: 100%;
    padding: 10px;
}
.question h2{
    max-width: 100%;
    padding-top: 20px;
}
.question_r {
    padding-right: 0;
    padding-left: 30px;
    text-align: left;
    padding-top: 30px;
}
.question_l{
    padding-left: 30px;
}
.question_bac_call, .question_email {
    display: block;
    float: none;
    margin: 20px 0;
}
.main_how_item {
    display: inline-block;
    float: none;
    }
.main_how_item_arr {
    position: relative;
    display: inline-block;
    float: none;
}
.main_how {
    text-align: left;
    margin-bottom: 60px;
    margin-top: 20px;
    padding: 0 10px;
}
.how_resp {
    float: left;
    margin-top: 30px;
}
.calc_row input[type="text"]{
        width: 100%;
    padding: 10px 0;
    text-align: center;
}
.input_block {
    margin-left: 0;
    text-align: left;
    width: 100%;
    max-width: 700px;
    padding: 10px 5px;
}
.page_item_post-meta{
    padding: 0 20px;
}
}
@media only screen and (max-width : 710px) {
    .main_product_item {
    width: 49%;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 0px;
    height: 100%;
}
.main_product_item img {
    width: initial;
    height: 130px;
    max-width: none;
}
.main_product_item h4 {
    font-size: 17px;
    line-height: 21px;
}

.my_head {
    font-size: 40px;
line-height: 40px;    text-align: center;
    margin-bottom: 15px;
    margin-top: 20px;
}
.my_head:before{
    margin-bottom: 20px;
}
.calc h3 {
    font-size: 21px;
    line-height: 24px;
    text-align: center;
    font-weight: 100;
    margin-bottom: 40px;
    margin-top: 0;
}
.calc_row.big_h .input_title {
    padding: 10px;
}
.input_block {
    margin-left: 0;
    text-align: left;
    width: 100%;
    max-width: 700px;
    padding: 10px;
}
.calc_row.big_h label{
    width: 100%;
}
.calc_row.big_h label span {
    position: relative;
    margin-left: 10px;
    top: -10px;
    line-height: 29px;
}
.calc_row input[type="radio"], .calc_row input[type="checkbox"]{
    margin: 0 0 0 -20px;
}

.sl .input_block {
    width: 100%;
}
.why_main .my_head {
    line-height: 40px;
    font-size: 30px;
}
.why_main .my_head:before{
    width: 100%;
    max-width: 360px;
}
.why_main_item {
    min-height: 470px;
    height: 100%;
    width: 100%;
    margin: 0 0 10px;
    max-width: 100%;
    text-align: center;
}
.why2_item .img {
    margin-left: 0;
    display: block;
    float: none;
    text-align: center;
    align-items: center;
    height: 90px;
}
.why2_item .img img{
    display: inline-block;
}
.why2_item p {
    display: block;
    align-items: center;
    height: auto;
    padding: 0;
    text-align: center;
    margin: 0;
    float: none;
}
.why2_item {
    max-width: 545px;
    width: 100%;
    height: auto;
    padding: 10px 0;
    margin: 0;
}
.rew_item_block .rewiew_item:first-child, .rew_item_block .rewiew_item:last-child,.rewiew_item {
    margin: 0 0 10px;
    height: auto;
}
.question h2 {
    max-width: 100%;
    padding-top: 20px;
    font-size: 29px;
    line-height: 23px;
}
.question_l {
    padding-left: 10px;
}
.question{
    background: #fff;
}
.question_phone {
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
}
.main_how_item_arr{
    display: none;
}
.main_how_item {
    display: inline-block;
    float: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.main_how_item h3:after{
    display: none;
}
.main_how_item_last{
    display: none;
}
.main_how_item_last_txt{
    width: 100%;
}
.footer_contact_item{
        padding: 0px 10px 0 10px;
}
.h_left{
    padding-top: 0;
}
.collapse.in {
    display: block !important;
    position: absolute;
    right: 0;
    width: 340px;
    background: #fff;
    box-shadow: 1px 1px 1px 1px #d0d0d0;
    z-index: 99;
}
.navbar-nav{
    margin: 3.5px 0px;
}
.header{
    position: relative;
}
.page_item_post-meta{
        min-height: 140px;
}
}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 520px) {
.top_main{
    display: none;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}