/* version: 1.0.0 */
/**/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1239px) {
  header .text{
    font-size: 26px;
    line-height:30px;
    margin-top: 14px;
  }

  header .contacts .phone{
    font-size: 18px;
  }

  header .button {
    float: right;
    margin-top: 40px;
    padding: 8px;
    width: 100%;
  }

  .catalog .item .name{
    left: 0;
    margin-left: 0;
    width: auto;
  }

  #block4 .title1{
    font-size: 28px;
    white-space: normal;
    line-height: 44px;
  }

  #block4 .title2{
    font-size: 40px;
  }

  .tovar_slider{
    width: 100%;
  }

  .synced-slider2-container{
    width: 100%;
  }

  .synced_slider2{
    margin-left: -10px;
    margin-right: -10px;
  }

    #block6 .feedback{
        left: 0;
        width: 100%;
    }

    #block6 .feedback .title{
        font-size: 34px;
    }

    .carousel_slider .owl-carousel .item .row .col-sm-6:first-child{
        padding-right: 10px;
    }

    .carousel_slider .owl-carousel .item .row .col-sm-6:last-child{
        padding-left: 10px;
    }

    .carousel_slider .owl-carousel .item .img-container img{
        width: 100%;
    }

    #block7 .lozung{
        font-size: 30px;
        margin-top: 72px;
        margin-bottom: 41px;
    }

    #block7 .items-container .item .text2 div{
        font-size: 22px;
        line-height:normal;
    }

    #block7{
        background: url(../img/block7-bg.jpg) center -18px no-repeat #553f38;
    }

    #block7 .h2{
        font-size: 50px;
    }

    #block7 .lozung{
        margin-top: 41px;
        margin-bottom: 41px;
    }

    footer .contacts .phone{
        font-size: 13px;
    }

    footer .contacts .email{
        font-size: 13px;
    }

  #block2 .items-container .item.even {
    margin-top: 0px;
  }
}
/* /Large Devices, Wide Screens */
/**/
/**/
/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
  .window .window_body {
    width: 90%;
  }
  .widget-phone-form {
    width: 100%;
  }
  .item-form-element .title {
    width: 20%;
    padding-right: 2%;
  }
  .item-form-element input, .item-form-element textarea {
    width: 78%;
  }
  .faq.nc-form .item-form-element > span, .faq.nc-form .nc-field-caption {
    width: 20%;
    padding-right: 2%;
  }

  .header-desktop{
    height: 100px;
  }

  header .text {
    font-size: 16px;
    line-height: 23px;
    margin-top: 5px;
  }

  header .text span{
    font-size: 14px;
  }

  header .logo-link{
    margin-top: 13px;
  }

  header .button {
    margin-top: 22px;
    font-size: 18px;
    float: none;
  }

  header .contacts .phone{
    font-size: 16px;
    line-height: 19px;
  }

  header .contacts{
    margin-top: 5px;
  }

  .menu-top-container{
    top: 100px;
    background: #6C4D44;
  }

  .menu-top > ul > li.separator,
  .menu-top-container .container:before{
    display: none;
  }

  .form-zayavka:before,
  #block1:before{
    display: none;
  }


  h2,
  .h2,
  #block2 h2,
  #block3 h2,
  #block5 h2{
    font-size: 40px;
  }

  #block2{
    padding: 50px;
    padding-bottom: 50px;
  }

  #block5 ul li{
    font-size: 18px;
    line-height:normal;
  }

  .synced_slider1{
    width: 100%;
    padding-top: 0;
    margin-bottom: 20px;
  }

  .tovar_slider{
    background: none;
  }

  .synced_slider1 .owl-theme .owl-controls .owl-buttons .owl-prev{
    left: -52px;
  }

  .synced_slider1 .owl-theme .owl-controls .owl-buttons .owl-next{
    right: -52px;
  }

  .synced_slider1 .owl-carousel .item .text-container .text{
    float: none;
  }

  .synced_slider1 .owl-carousel .item .text-container .portfolio-photo-link{
    float: none;
    margin-top: 5px;
  }

    #block6 .feedback .title{
        line-height:normal;
        font-size: 26px;
        padding-top: 66px;
    }

    #block6 .feedback .inputs-container{
        margin: 13px 55px 0 55px;
    }

    #block6 .feedback input{
        font-size: 16px;
    }

    #block6{
        margin-bottom: 0px;
    }

    #block6:before{
        display: none;
    }

    #block7 .h2{
        padding-top: 40px;
        font-size: 40px;
    }

    #block7{
        background:  #553f38;
    }

    #block7 .h2 div{
        font-size: 26px;
        margin-top: 10px;
    }

    #block7 .items-container .item{
        margin-bottom: 45px;
    }

    #block7 .items-container .item .text1:before{
        left: 50%;
        margin-left: -98px;
    }

    #block7 .lozung{
        margin: 19px 0 45px 0;
    }

    #block8 .form-zayavka{
        display: none!important;
    }

    footer .contacts .phone,
    footer .contacts .email{
        font-size: 16px;
    }
}

/* /Medium Devices, Desktops */
/**/
/**/
/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {

    .modal {
        min-width: inherit;
        width: 95%;
    }
    .modal.modal-success {
        min-width: 300px;
        width: auto;
    }
    .modal.modal-widget-phone {
        min-width: 300px;
        width: 300px;
    }

  #overflow_div {
    margin-top: 50px;
  }
  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 2;
  }
  .header-mobile {
    position: relative;
    height: 50px;
    background: #f0640d;
    border-bottom: 1px dotted #b84e0d;
  }
  .header-mobile .logo img {
    display: block;
    height: 43px;
    padding-top: 5px;
    padding-left: 5px;
  }
  .header-mobile .phone {
    display: block;
    width: 60px;
    height: 50px;
    background: url("../img/menu-phone.png") center no-repeat;
    border-left: 1px dotted #b84e0d;
    top: 0;
    right: 120px;
    position: absolute;
    text-indent: -9999px;
  }
  .header-mobile .header-mobile-button {
    width: 60px;
    height: 50px;
    background: url("../img/menu-popup.png") center no-repeat;
    border-left: 1px dotted #b84e0d;
    top: 0;
    right: 60px;
    position: absolute;
  }
  .menu-top {
    display: none;
  }
  .slicknav_menu {
    display: block;
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 0;
    background: transparent;
  }
  .slicknav_btn {
    position: absolute;
    top: -50px;
    right: 0;
    margin: 0;
    width: 59px;
    height: 50px;
    border-left: 1px dotted #b84e0d;
    background: url("../img/menu-lines.png") center no-repeat;
    -webkit-border-radius: 0;
            border-radius: 0;
    z-index: 1;
  }
  .slicknav_btn.slicknav_open {
    background: url("../img/menu-lines.png") center no-repeat #b84e0d;
  }
  .slicknav_icon {
    display: none;
  }
  .slicknav_nav {
    padding: 10px 0;
    background: #e48868;
    -webkit-box-shadow: 1.5px 2.6px 3px rgba(24, 23, 24, 0.3);
            box-shadow: 1.5px 2.6px 3px rgba(24, 23, 24, 0.3);
  }
  .slicknav_nav > ul {
    margin: 0;
  }
  .slicknav_nav a {
    -webkit-border-radius: 0 !important;
            border-radius: 0 !important;
      text-decoration: none;
    color: #fff!important;
  }
  .slicknav_nav a:hover {
    background-color: #b84e0d;
  }
  .slicknav_nav li.selected > a, .slicknav_nav .slicknav_row:hover {
    background-color: #b84e0d;
  }
  .window .window_body {
    width: 95%;
  }
  .window .close {
    top: 5px;
    right: 5px;
  }
  .item-form-element .title {
    width: 100%;
    padding-right: 0;
    display: block;
    margin-bottom: 5px;
  }
  .item-form-element input, .item-form-element textarea {
    width: 100%;
  }
  .item-form-element.tovar .item .img-container {
    display: none;
  }
  .item-form-element.tovar .title {
    width: auto;
    display: inline-block;
    margin-bottom: 0;
    vertical-align: baseline;
  }
  .widget-phone-popup {
    width: 100%;
  }
  .table-responsive {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding-bottom: 30px;
  }
  .table-responsive .table {
    margin-bottom: 0;
  }
  .table-responsive:after, .table-responsive:before {
    content: '';
    background: url("../img/arrow-right.png");
    width: 16px;
    height: 16px;
    position: absolute;
    right: 20px;
  }
  .table-responsive:after {
    top: 0;
  }
  .table-responsive:before {
    bottom: 10px;
  }
  .news.one .item .img-container {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  .synced_slider2 {
    display: none;
  }
  .synced_slider1 .owl-theme .owl-controls .owl-pagination {
    display: block;
    margin-top: 10px;
  }
  .faq.nc-form .item-form-element > span, .faq.nc-form .nc-field-caption {
    width: 100%;
    padding-right: 0;
    display: block;
    margin-bottom: 5px;
  }
  .faq.nc-form textarea {
    width: 100%;
  }
  .faq.nc-form input[type='text'], .faq.nc-form input[type='tel'], .faq.nc-form input[type='email'] {
    width: 100%;
  }
  footer {
    height: auto;
    position: relative;
  }
  body {
    margin-bottom: 0;
  }
  .toTop, .widget-phone, .breadcrumb {
    display: none !important;
  }

  .form-zakaz .img-container{
    margin-bottom: 10px;
  }

  .popup .close{
    top: 8px;
    right: 22px;
  }

  #block1{
    background-size: cover;
  }

  #block1,
  #block2,
  #block4{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #block3{
    padding-top: 30px;
    padding-bottom: 0;
  }

  #block1 .form-zayavka{
    margin-top: 20px;
  }

  .titles .text{
    padding: 10px;
    background: url('../img/header-bg.png');
    margin-left: 0;
  }

  h2, .h2,
  #block2 h2,
  #block3 h2,
  #block5 h2{
    font-size: 25px;
    margin-bottom: 15px;
    padding-top: 0;
  }

  #block2 .container > .text{
    font-size: 16px;
    line-height:normal;
  }

  #block2 .items-container .item{
    margin-bottom: 25px;
  }

  #block2 .items-container .item .text-container{
    left: 0;
    margin-left: 0;
    width: auto;
  }

  #block2 .items-container .item .title{
    font-size: 18px;
  }

  #block2 .items-container .item .text{
    font-size: 16px;
  }

  #block3 h2 div,
  #block5 h2 div{
    font-size: 25px;
    line-height:normal;
  }

  #block3_3 .items-container .item{
    margin-bottom: 35px;
  }

  #block3_3 .items-container .item .img-container{
    display: inline-block;
  }

  #block4 .title1,
  #block4 .title2{
    font-size: 18px;
    line-height:normal;
    text-align: center;
  }

  #block4 .title2{
    margin-top: 15px;
    font-size: 22px;
    line-height:normal;
    margin-bottom: 15px;
  }

  #block5 .table-block{
    margin-top: 20px;
  }

  #block6_1 h2{
    padding-top: 30px;
    margin-bottom: 15px;
  }

  .synced_slider1{
    margin-top: 0;
  }

    .synced_slider1 .owl-carousel .item .text-container{
        position: relative;
    }

  #block6{
      padding-bottom: 30px;
  }

    #block6 .feedback{
        background-size: cover;
        height: auto;
        padding: 40px 0 30px 0;
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    #block6 .feedback .inputs-container{
        margin: 0;
    }

    #block6 .feedback .valik{
        display: none;
    }
    #block6 .feedback .title{
        padding-top: 0;
    }

    .carousel_slider .owl-carousel .item{
        text-align: center;
    }

    .carousel_slider .owl-carousel .item .img-container{
        display: inline-block;
    }

    .carousel_slider .owl-carousel .item .text{
        text-align: left;
    }

    .carousel_slider .owl-carousel .item .name{
        margin-top: 10px;
    }

    #block6_3 h2{
        padding-top: 20px;
    }

    .block6-img{
        display: none;
    }

    .carousel_slider .owl-carousel  .owl-pagination{
        display: block;
    }

    #block7 .h2{
        font-size: 25px;
        padding-top: 30px;
    }

    #block7 .h2 div{
        font-size: 18px;
    }

    #block7 .items-container .item .text1{
        font-size: 18px;
    }

    #block7 .items-container .item .text2 div{
        font-size: 18px;
    }

    #block7 .lozung{
        font-size: 20px;
        line-height:normal;
        margin-bottom: 30px;
        margin-top: 0;
    }

    #block8,
    #block8 #map{
        height: 250px;
    }

    #block8 .container{
        display: none;
    }

  /*Disable Animation on Mobile Devices*/
  .animated {
    visibility: visible!important;

    /*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;
  }

  .popup[class*="tovar_form"].tovar_form1 .popup-content{
    left: 0!important;
  }

  .modal.modal-moydom{
    overflow: hidden;
  }

  .modal.modal-moydom:before {
    display: none;
  }
 
}

/* /Small Devices, Tablets */
/**/
/**/
/* Extra Small Devices, Phones */
/* /Extra Small Devices, Phones */
/**/
/**/
@media only screen and (max-width: 420px) {
    .footer-mobile{
        text-align: center;
    }
    .footer-mobile .copyright{
        float: none;
    }

    .footer-mobile .mastweb{
        float: none;
        margin-top: 5px;
        display: inline-block;
    }
}
/**/
/**/
/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {

}
/* /Custom, iPhone Retina */
