@media screen and (max-width:1500px) {
    .header__top::after, .header__top::before {
        width: 45px;
    }
}

@media screen and (max-width:1400px) {
    .header__top::after, .header__top::before {
        width: 100px;
    }
}


@media screen and (max-width:1320px) {
    .header__top::after, .header__top::before {
        width: 45px;
    }
}

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

    .section-head .our-services__items {
        grid-auto-rows: 394px;
    }

    .main-slider__item {
        max-height: 876px;
    }

    .header__top-social svg {
        width: 35px;
    }

}

@media screen and (max-width:1040px) {
    .header__top::after, .header__top::before {
        display: none;
    }
}

@media screen and (max-width:992px) {
    .section-head .our-advantages-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .bondar-main-menu .menu-item-has-children::before {
        right: -9px;
    }

    .bondar-main-menu .menu-item a {
        padding: 10px;
    }

    .header__nav-application {
        margin-left: 0;
        font-size: 16px;
    }

    .section-head .our-services__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-slider__item {
        max-height: 676px;
    }

    .social-wrap {
        display: block;
        margin-top: 20px;
    }

    .page-price__lawyer-name {
        font-size: 20px;
    }

    .page-price__lawyer-icon img {
        max-width: 80px;
    }

    .page-price__services-name {
        font-size: 18px;
        margin-left: 5px;
    }

    .page-price__services-img {
        max-width: 65px; 
    }

    .page-price__flp-title, .page-price__lawyer-title {
        font-size: 26px;
    }

    .page-price__services-title {
        font-size: 28px;
        padding: 15px 0;
    }

    .page-price__header-title {
        margin-bottom: 50px;
    }

    .page-price__header-description {
        font-size: 30px;
    }

    .page-price__header-label {
        max-width: 100%;
    }

    .page-price__header-label .top {
        font-size: 42px;
        margin-right: 15px;
    }

    .page-price__header-label {
        padding: 40px 20px;
    }

    .question-form .wpcf7-form .wpcf7-form-control-wrap {
        width: 100%;
        margin-right: 0;
    }

    .question-form .wpcf7-form p {
        flex-direction: column;
    }

    .question-form .wpcf7-form .wpcf7-form-control {
        width: 100%;
        height: 50px;
    }

    /* .page-price .wpcf7-form .wpcf7-form-control-wrap {
        width: 100%;
    }

    .page-price .wpcf7-form p {
        flex-direction: column;
    }

    .page-price .wpcf7-form .wpcf7-form-control {
        width: 100%;
        height: 50px;
    } */

    .about-page__header-items p {
        font-size: 30px;
    }

    .about-page__header-items span {
        font-size: 58px;
    }

    .about-page__header {
        padding: 400px 0 120px 0;
    }

    .about-page__footer .working-us__items {
        width: 100%;
    }
}

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

    .section-head {
        background-size: cover;
        height: auto;
        background-position: center;
    }

    .section-head .our-advantages-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-menu {
        display: none;
    }

    .burger-menu-wrap {
        display: flex;
    }

    .main-menu {
        position: absolute;
        background: #fff;
        left: 0;
        top: 100%;
        z-index: 5;
        border-top: #222931;
    }

    .bondar-main-menu {
        display: block;
        padding: 15px 0;
    }

    .menu-main-container {
        width: 100%;
        background: #fff;
    }

    .bondar-main-menu .menu-item.current-menu-item a {
        background: transparent;
        color: #222931;
    }

    .header__nav-menu {
        height: auto;
    }

    .bondar-main-menu .menu-item {
        margin-bottom: 10px;
    }

    #menu-item-wpml-ls-3-uk {
        display: inline-block;
    }

    .main-slider__item {
        max-height: 476px;
    }

    .page-price__header-title {
        font-size: 50px;
    }

    .contact-page__information .col-12 {
        border-right: none;
        border-bottom: 1px solid #314A59;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .contact-page__information-items {
        min-height: auto;
    }

    .contact-page__title {
        padding-top: 40px;
    }

    .contact-page__title, .contact-page__logo {
        padding: 0;
        margin-bottom: 40px;
    }

    .about-page__header-title {
        font-size: 48px;
    }

    .about-page__header-title div:first-child {
        margin-bottom: 20px;
    }

    .about-page__header-items {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-page__header {
        padding: 250px 0 120px 0;
    }
}

@media screen and (max-width:639px){
    .breadcrumbs {
        overflow: auto;
    }
}

@media screen and (max-width:576px) {
    .header__top-location {
        display: none;
    }

    .header__top-wrap {
        width: 100%;
        justify-content: flex-end;
    }

    .section-head .our-services__items {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-head .tagline {
        grid-template-columns: 1fr;
    }

    /* .page-price__flp-rates .line, .page-price__flp-rates .item {
        width: 750px;
    } */

    .page-price__flp-rates {
        overflow: scroll;
    }

    .page-price__services-title {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-price__header-title {
        font-size: 38px;
    }

    .page-price__header-description {
        margin-bottom: 140px;
    }

    .page-price__header-label .top {
        font-size: 28px;
        margin: 0 0 15px 0;
    }

    .page-price__header-label .top-desc {
        margin: 0 0 15px 0;
    }

    .page-price__header-label {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-page__header {
        padding: 100px 0 120px 0;
    }
    
    .header__top-phone-item {
        font-size: 14px;
    }
}