/* Keep the content slider controls inside their column, away from the sidebar. */
.home .metaslider .flex-direction-nav .flex-prev {
    left: 8px !important;
}

@media screen and (max-width: 767px) {
    .home .banner-img-block,
    .home .banner-img-block .link-banner-img {
        display: block;
        width: 100%;
    }

    .home .banner-img-block img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }

    .home #otzov {
        width: 100%;
        margin: 24px 0 0;
        padding: 0;
    }

    .home #otzov #title4 {
        margin: 0 0 16px !important;
    }

    .home #otzov .otzov2 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .home #otzov #vse a {
        display: block;
        width: 100%;
    }
}

.home .metaslider .flex-direction-nav .flex-next {
    right: 8px !important;
}

@media screen and (max-width: 1199px) {
    /* The same form fits the full-width XS column and the narrow SM/MD sidebar. */
    .home #form1 {
        min-height: 0 !important;
        margin: 0;
        padding: 28px 20px;
    }

    .home #form1 form.wpcf7-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home #form1 .zagol {
        margin: 0;
        font-size: 24px;
        line-height: 1.3;
        text-shadow: none;
    }

    .home #form1 .podzagol {
        margin: 0 0 4px;
        font-size: 14px;
        line-height: 1.5;
        text-shadow: none;
    }

    .home #form1 #name,
    .home #form1 #marka1,
    .home #form1 #tel,
    .home #form1 #send {
        float: none;
        width: 100% !important;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .home #form1 .wpcf7-form-control-wrap {
        display: block;
        min-width: 0;
    }

    .home #form1 input:not([type="hidden"]) {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        height: 44px !important;
        min-height: 44px;
        margin: 0;
        padding: 10px;
        font-size: 16px;
        line-height: 22px;
    }

    .home #form1 .wpcf7-response-output:empty {
        display: none;
    }

    .home #masthead #list-sities {
        height: 44px;
        font-size: 16px;
    }
}
