@media screen and (max-width: 1020px) {
    .table-offers  {
        width: auto;
    }

    .result-text > span {
        padding: 0 100px;
    }
}

@media screen and (max-width: 980px) {
    .logo {
        width: 70px;
        height: 70px;
    }
    .header-mobile nav > ul > li {
        padding: 7px;
    }
    .container-service {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .service {
        width: 450px;
    }

    .container-offer {
        padding: 0 20px 100px;
    }
    .result-text > span {
        padding: 0 70px;
    }
}

@media screen and (max-width: 968px) {
    header {
        height: 70px;
    }
    .header-content {
        padding: 0 45px;
    }

    .header-mobile > a::before {
        right: 160px;
        bottom: -4px;
    }


    .service-type-icon {
        width: calc((100% - 20px)/2);
    }


    .review-text-box {
        padding-left: 80px;
    }

    .footer-menu {
        justify-content: space-between;
    }

    .footer-menu > li {
        border: none;
    }

    .footer-menu :nth-child(2) {
        max-width: 100%;
    }
}

@media screen and (max-width: 880px) {
    .header-mobile > a::before {
        right: 150px;
        bottom: -1px;
        left: 10px;
    }
    .owl-carousel .owl-item .client{
        width: 80%;
    }

    .client {
        margin: 10px 20px;
    }

    .owl-carousel {
        margin-top: 50px;
    }

    .result > h3 {
        margin: 20px 0;
    }
}

@media screen and (max-width: 797px) {
    .header-content .button-mobile {
        display: block;
    }
    
    .image-mobile {
        display: block;
    }
    .header-mobile > a {
        padding-left: 0;
    }

    .header-mobile > a::before {
        display: none;
    }
    /* .map iframe{
        display: none;
    }
    .map-mobile{
        display: block;
    } */
    .header-content {
        padding: 0 20px;
    }

    .header-mobile {
        right: -1000px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        top: 100%;
        position: absolute;
        background-color: #ffffff;
        flex-direction: column;
        padding: 10px 20px;
        transition: all .5s;
        z-index: 9999;
    }

    .header-mobile.open-mobile-header {
        right: 0;
        width: 200px;
    }

    .header-mobile nav > ul {
        flex-direction: column;
        margin-bottom: 10px;
        align-items: flex-start;

    }

    .header-mobile nav > ul > li {
        display: block;
        width: 170px;
        text-align: center;
        padding: 12px 50px;
        margin: 0;
    }

    .header-mobile nav > ul > li > a {
        padding: 5px;
    }

    .header-mobile nav > ul > li:hover{
        background-color: rgba(0, 0, 0, 0.05);
    }

    .header-mobile nav > ul > li:hover > a {
        color: #2196f3;

    }

    .header-mobile nav > ul > li:before {
        display: none;
    }

    .header-mobile > a::before {
        right: 95px;
        bottom: -3px;
    }

    .header-mobile > a {
        margin: 5px 0 5px 4px;
    }

    .go-top {
        display: block;
    }

    .home-title {
        top: 120px;

    }

    /*.home-about {*/
    /*    margin-top: 80px;*/
    /*}*/

    .about-us {
        padding: 10px;
    }

    .about-us-box {
        flex-direction: column;
        padding: 35px;
    }

    .about-text-box {
        padding-top: 70px;
        margin-left: 0;
    }

    .service-type-icon {
        width: calc((100% - 20px));
    }
    .service-type-box {
        padding: 170px 20px 0;
    }

    .reviews-carousel .owl-next::before {
        padding: 12px;
    }

    .reviews-carousel .owl-prev::before {
        padding: 12px;
    }

    .result > h3 {
        margin: 15px 0;
    }

    .footer-main-content{
        flex-direction: column;
        line-height: 15px;
    }

    .advice-social  {
        flex-direction: row;
        margin-top: 20px;
    }

    .footer-info {
        width: 100%;
    }
    .footer-content {
        justify-content: flex-start;
        padding: 0 10px;

    }


    .footer-logo {
        margin-top: -30px;
        width: 80px;
        margin-bottom: 10px;
    }
}

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

    .line-bottom {
        height: calc(35px + 3vw);
    }

 
    .owl-carousel {
        margin-top: 0;
    }
    .owl-carousel .owl-item .client{
        width: 60%;
        margin-left: 80px;
        margin-right: 0;
    }
    .about-img > img {
        transform: translate(9%, 9%);
    }

    .reviews > h3 {
        padding-top: 20px;
    }

    .container-carousel blockquote {
        margin: 10px 15px;
    }

    .clients > h3 {
        padding-top: 50px;
    }
    .carousel {
        top: 45%;
    }

    .carousel-control {
        width: 5%;
    }

    .container-carousel blockquote {
        padding: 0 30px;
    }

    .reviews-carousel {
        padding-bottom: 10px;
    }
    .reviews > h3 {
        margin-bottom: 10px;
    }
    .reviews-carousel .owl-next::before {
        padding: 10px;
    }

    .reviews-carousel .owl-prev::before {
        padding: 10px;
    }
    .result > h3 {
        padding: 15px 0;
    }

    .advice-content > h3{
        padding: 10px 0;
    }
}

@media screen and (max-width:600px){
   
    
    .clients{
        max-height: 400px;
        min-height: 0;
        padding-left: 0;
    }
    .client {

        margin: 30px 40px;

    }
    #name, #tel {
        width: 300px;
    }

}
@media screen and (max-width: 500px) {
    
    .line-bottom {
        height: calc(30px + 3vw);
    }

    .about-img {
        max-width: 350px;
    }

    .result-text > span {
        padding: 0 40px;
    }
    .advice-content {
        padding: 40px 0;
    }
    .service {
        width: calc(200px + 20vw);
    }

    .footer-menu {
        flex-direction: column;
        justify-content: center;
        padding-left: 0;
    }

    .footer-menu li {
        padding-top: 10px;
    }

    .footer-menu :nth-child(2) {
        border: none;
    }

    .footer-menu :first-of-type {
        padding-top: 0;
    }
}



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

    .service {
        width: 250px;
    }


    #name, #tel {
        width: 250px;
    }
}