@media (max-width: 480px ) {


    #header{
        padding: 0;
    }
    #header #logo a{
        padding: 4px 0;
        display: block;
    }
    #header #logo img{
       height: 40px;

    }

    #showcase .slider-block .item .caption {

        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    #showcase .slider-block .item .caption .title{
        font-size: 40px;
    }
    #aftercontent .module-title .title,

    #beforecontent .advantages .ttl {
        font-size: 40px;
        line-height: 1;
    }
    #aftercontent .call_request .module-title .title{
        font-size: 50px;
        line-height: 1;
    }

    #aftercontent {
        padding: 0px 0 40px;
    }
    #aftercontent .call_request .module-content p {
    line-height: 1.1;
        font-size: 24px;
    }

    #aftercontent .module-title .watermark,
    #beforecontent .advantages .module-title .watermark {
        font-size: 60px;
        line-height: 1;
    }

    #aftercontent .product_groups .ttl{
        font-size: 20px;
        line-height: 1;
    }

    #aftercontent .product_groups .intro{
        line-height: 1;
    }

    h1.page-title {
        font-weight: 700;
        font-size: 30px;
        line-height: 1;
    }

    #header{
        padding: 0 0 0 0px;
    }
    #showcase .slider-block .item .watermark{
        font-size: 50px;
        line-height: 1;
    }

    #aftercontent .product_groups .tabs{
        position: relative;
        overflow: hidden;
        padding-top: 100%;

    }

    #aftercontent .product_groups .nav-tabs{
        /*position: absolute;*/
        top:0;
        z-index: 2;
        background: rgba(0,0,0,0.4);
        margin-bottom: 0;
        color:#fff;
        max-height: 100%;
        overflow-y: auto;
    }
    #aftercontent .product_groups .nav-tabs a {
        color:#fff;
    }

    #aftercontent .product_groups .caption {
        max-height: none;
        opacity: 1;
    }

    #aftercontent .product_groups .tab-content{
        position: absolute;
        top:0;

    }
    #aftercontent .product_groups .nav-tabs li.active {
        color: #000;
        border-color: #0B54E4;
        background-color: rgba(11, 84, 228, 0.6);
    }
    #aftercontent .block_wrap.newlist {
        padding: 30px 0 0;
    }
    #aftercontent .block_wrap.newlist .module-title .title {
        font-size:60px;
        margin-bottom: 0;
    }

    #aftercontent .product_groups {
        margin-bottom:25px;
    }
    .modal .modal-header{
        padding: 15px 40px 15px 20px;
    }
    .modal .modal-body {
        padding: 0 20px 10px;
        text-align: left;
    }
#aftercontent .block_wrap.contacts_phones{
 
    font-size: 18px;
  

}

}

@media (max-width: 420px ) {
    #showcase .slider-block {
        height: 50vh;
        min-height: 450px;
    }

    #showcase .slider-block .items,
    #showcase .slider-block .owl-carousel,
    #showcase .slider-block .owl-stage-outer,
    #showcase .slider-block .owl-stage,
    #showcase .slider-block .owl-item,
    #showcase .slider-block .item,
    #showcase .slider-block .item .image{
        height: 100%;
    }

    #showcase .slider-block .item .image img{
        height: 100%;
        width: auto;
        object-fit: cover;
    }
    #showcase .slider-block .item .caption .title {
        font-size: 30px;
    }

}


@media (max-width: 380px ) {




    #aftercontent .module-title .title, #beforecontent .advantages .ttl {
        font-size: 30px;
    }
    #aftercontent .call_request .module-title .title {
        font-size: 30px;

    }

    .container {
        width: 100%;
        max-width: 100%;
    }
    #beforecontent .advantages .advantages_item .title{
        padding: 0;
    }
    #beforecontent .advantages .advantages_item .description{
        padding: 20px 0;
    }



}


@media (max-width: 320px ) {


}