/* md */
@media only screen and (max-width: 1199px) {

    .fixed-buttons{
        right: 20px;
        bottom: 20px;
    }

    .phone{
        font-size: 18px;
    }

    .top-bg-wrapper{
        min-height: unset;
    }
    .top-bg-more-wrap{
        bottom: 10px;
    }
    .top-bg-more{
        transform: scale(0.7) rotate(-90deg);
    }
    .block-top-row{
        padding-top: 0;
    }
    .block-top-left .block-title{
        font-size: 70px;
    }
    .block-top-left .block-desc{
        font-size: 20px;
    }
    .block-top-right-info > div:nth-child(2){
        font-size: 33px;
    }

    .news-main{
        padding-bottom: 30px;
    }
    .news-title{
        font-size: 24px;
    }
    .news-desc{
        max-height: 60px;
        overflow: hidden;
        margin-bottom: 5px;
    }


    .counter-count{
        font-size: 100px;
    }

    .discount-img{
        right: 50%;
        width: 100vw;
        margin-right: -50vw;
    }

}

/* sm */
@media only screen and (max-width: 991px) {

    .top-bg-more-wrap{
        display: none;
    }

    .title{
        font-size: 50px;
    }

    .header-phone, .footer-phone{
        font-size: 16px;
    }
    .header-col-2{

    }
    .main-menu{
        margin: 0 -10px;
    }
    .main-menu > li{
        margin: 0 10px;
    }
    .main-menu > li > a{
        font-size: 14px;
    }

    .soc .icon-phone{
        display: inline-block;
        margin: 0;
    }

    .block-top-row{
        margin: 0 -20px;
    }
    .block-top-row > div{
        margin: 0 20px;
    }
    .block-top-left .block-title{
        font-size: 54px;
    }
    .block-top-left .block-desc{
        font-size: 16px;
    }
    .block-top-right-info > div:nth-child(1){
        font-size: 14px;
    }
    .block-top-right-info > div:nth-child(2){
        font-size: 28px;
    }

    .services-row-3 > a .service-in{
        display: block;
    }
    .services-row-3 > a .service-in > *{
        width: 100%;
        max-width: unset;
    }
    .services-row-3 > a .service-in > .service-left{
        margin-top: 20px;
    }

    .counter-count{
        font-size: 80px;
    }

    .news-items > div{
        padding: 10px 20px 0;
        width: calc( ( 100% - 20px ) / 2 );
        margin: 0 0 20px;
    }
    .news-items > div:nth-child(2n-1){
        margin-right: 20px;
    }
    .news-title{
        font-size: 16px;
    }
    .news-desc{
        max-height: 36px;
        line-height: 18px;
        overflow: hidden;
    }
    .news-items > div{}

}

/*xs */
@media only screen and (max-width: 767px) {

    .button{
        padding: 10px 20px;
    }
    .buttons .button{
        margin-top: 10px;
    }

    .fixed-buttons .fixed-to-top.active{
        height: 30px;
    }
    .fixed-buttons a{
        width: 30px!important;
    }

    #open-form{
        padding: 0;
    }

    .xs-for-open{
        opacity: 0;

        -webkit-transition: all 400ms ease;
        -moz-transition: all 400ms ease;
        -ms-transition: all 400ms ease;
        -o-transition: all 400ms ease;
        transition: all 400ms ease;
    }
    .xs-for-open.active{
        opacity: 1;
    }

    .horisontal-form .form-desc{
        margin-bottom: 0;
    }

    .icon{
        width: 30px;
        height: 30px;
        opacity: 1!important;
    }

    .horisontal-form .form-fields > div{

    }

    .top-bg-wrapper{
        padding-top: 85px;
    }
    .header{
        background-color: #323843;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 900;
        width: 100%;
        overflow: hidden;
    }
    .header.active{
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
    .header:before, .header:after{
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
    }
    .header:before{
        background: url("../images/top-bg-dark-texture.png") top center;
        background-attachment: fixed;
        opacity: 0.3;
    }
    .header:after{
        box-shadow: inset 0 0 250px rgba(0,0,0,0.5);
    }
    .header > *{
        position: relative;
        z-index: 20;
    }
    .header-row{
        height: 60px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0;
    }
    .header-row > div{

    }
    .header-col-1{
        margin: 0 7%;
    }
    .header-logo img{
        max-height: 50px;
    }
    .header-col-2{
        margin-left: auto;
        padding: 0;
    }
    .header-col-2 .soc a.phone{
        display: inline-block;
    }
    .header-col-menu{
        width: auto;
        order: -1;
        position: relative;
    }
    .top-menu-opener-wrapper{
        position: relative;
        z-index: 20;
    }
    .main-menu-wrapper{
        position: fixed;
        right: 100%;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        padding: 10px 15px 5px 70px;
        margin: 0;
        background: rgba(255,255,255,0.97);
    }
    .main-menu-wrapper.active{
        right: 0;
    }
    .main-menu{
        display: block;
    }
    .main-menu > li{
        margin-right: 0;
        position: relative;
        margin-bottom: 20px;
    }
    .main-menu > li > a{
        font-size: 30px;
        color: #2b2b2b;
    }

    .title{
        font-size: 24px;
        margin: 50px 0 50px 0;
    }

    .block-top-row, .block-page, .block-products{
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .block-top-row > div, .block-page > div, .block-products > div{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .block-top-left, .block-page-img, .block-products-left{
        margin-bottom: 20px;
    }
    .block-top-row > .block-top-left{
        text-align: center;
        margin-bottom: 30px;
    }
    .block-top-row{
        padding-top: 10px;
        padding-bottom: 0;
    }
    .block-top-left .block-title{
        font-size: 45px;
    }
    .block-top-right:before{
        left: -32%;
        top: 10vw;
        bottom: 30px;
        margin: 0;
        width: 100%;
        height: auto;
    }
    .block-top-right-info-wrap{
        margin-top: 30px;
    }

    .block-top-right-img{
        text-align: center;
    }
    .block-top-right-img > img{
        max-height: 500px;
    }

    .img-content{
        display: block;
        margin-bottom: 0;
    }
    .img-content > div{
        display: block;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .services-row-2, .services-row-3{
        display: block;
    }
    .services-row-2 > a, .services-row-3 > a{
        width: auto;
    }
    .services-row > a{
        padding: 20px;
    }

    .services-row-3 > a .service-in{
        display: flex;
    }
    .services-row-3 > a .service-in > *{
        width: auto;
    }
    .services-row-3 > a .service-in > .service-left{
        margin-top: 0;
        max-width: 60%;
    }
    .services-row-3 > a .service-in > .service-img{
        max-width: 40%;
    }


    .carousel-item{
        text-align: center;
    }
    .carousel-title{
        font-size: 16px;
    }

    .review-text{
        padding: 0;
        margin-top: 15px;
    }
    .review-text:before, .review-text:after{
        left: 0;
        top: -15px;
    }
    .review-text:after{
        left: auto;
        top: auto;
        right: 0;
        bottom: -15px;
    }

    .gallery-item-caption{
        font-size: 12px;
    }

    .block-contacts-content{
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        left: auto;
        right: auto;
        width: auto;
        top: auto;
    }
    .block-contacts-content .block-title{
        display: none;
    }
    .footer-row{
        display: block;
    }
    .footer-col-2{
        margin: 10px 0;
    }
    .footer-row > div{
        text-align: center !important;
    }

    .content-columns{
        flex-direction: column;
    }
    .content-columns > div{
        width: 100%;!important;
        margin-bottom: 20px;
    }
    .content-columns > div:last-child{
        margin-bottom: 0;
    }

    .counters-wrapper{
        flex-direction: column;
    }
    .counter-item{
        width: 100%;
        margin-bottom: 20px;
    }
    .counter-item:last-child{
        margin-bottom: 0;
    }

    .news-items > div{
        padding: 20px;
        width: 100%;
        margin: 0 0 20px;
    }
    .news-items > div:nth-child(2n-1){
        margin-right: 0;
    }
    .news-with-img > .news-item > .news-main{
        padding-top: 5px;
        padding-bottom: 28px;
    }

    .discount-in{
        white-space: normal;
    }
    .discount-wrapper{
        padding-bottom: 30vw;
    }
    .discount-img{
        max-width: 100%;
        background-size: contain;
        right: 40%;
    }
    .discount-title{
        font-size: 30px;
        text-align: center;
    }
    .discount-title > span{
        font-size: 48px;
    }
    .discount-desc{
        font-size: 14px;
        text-align: center;
        display: block;
    }
    .discount-button{
        position: relative;
        padding-top: 20px;
        left: auto;
        bottom: auto;
    }
    .discount-price-wrap{
        text-align: center;
    }
    .discount-counter{
        margin-bottom: 40px;
    }
    .discount-price-label{
        margin-left: 0;
    }
    .step-item{
        width: 100%;
        margin-top: 40px;
        min-height: unset;
        margin-left: auto;
        padding-right: 0!important;
        padding-left: 50px!important;
    }
    .step-item:after{
        right: 100%!important;
        margin-right: -10px!important;
        left: auto!important;
        margin-left: auto;
    }
    .steps-wrapper{
        padding-left: 20px;
    }
    .steps-line{
        left: 20px;
    }

}

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

}

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

}
