@media screen and (max-width: 1300px) {

}

/*********LG********/
@media screen and (max-width: 1200px) {
    .footer__form_inputs input {
        padding: 10px 15px;
        background: #EAEAEA;
        border-radius: 4px;
        margin-right: 0;
        margin-bottom: 5px;
    }
    .bl-yl__wrap {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .contacts-top__inner {
        position: static;
        transform: translateY(0);
        width: 100%;
        background: rgba(0,69,131,0.91);
    }
    .contacts-top__text {
        position: static;
        width: auto;
        max-width: 650px;
        color: #fff;
        margin-top: 10px;
    }
    .contacts-top__wrap {
        position: relative;
        width: 100%;
        padding: 20px;
        height: auto;
        background: url(../images/contacts-top.jpg) no-repeat center center / cover;
    }
}

/*********MD********/
@media screen and (max-width: 992px) {
    .yellow-bl__text {
        font-size: 17px;
        font-weight: 600;
        margin-right: 50px;
    }

    .blocks__item {
        margin-bottom: 10px;
        width: 50%;
    }

    .footer__wrap {
        flex-direction: column;
        display: flex;
        align-items: center;
        text-align: center;
        padding: 25px 0;
    }
}

/*********SM********/
@media screen and (max-width: 768px) {
    .header__top {
        flex-direction: column;
    }

    .header__top_right > div,
    .header__menu_wrap,
    .vids__wrap,
    .header__icons {
        flex-direction: column;
    }

    .header__icons > div {
        margin-bottom: 15px;
    }

    .header__popup,
    .vids__form {
        margin-top: 10px;
    }

    .db859 {
        margin-left: 0;
        margin-top: 10px;
    }

    .header__title {
        font-size: 22px;
    }

    .header__slider_item .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .header__slider .slick-prev {
        z-index: 20;
        background: url(../images/slick-prev15.svg) no-repeat center center;
        width: 22px;
        height: 27px;
        left: 0;
    }
    .header__slider .slick-next {
        z-index: 20;
        background: url(../images/slick-next15.svg) no-repeat center center;
        width: 22px;
        height: 27px;
        right: 0;
    }
    .yellow-bl > .container {
        flex-direction: column;
        text-align: center;
    }
    .yellow-bl-btn {
        margin-top: 10px;
    }
    .yellow-bl__text {
        margin-right: 0;
    }
    .about__wrap .d-flex {
        flex-direction: column;
    }
     h2 {
        font-size: 22px;
    }
    .vids__form {
        width: 100%;
    }
    .header__menu_item_services.active > img {
        transform: rotate(180deg);
    }
    
    .header__menu_item_services.active > .header__menu_inner {
        display: block;
    }
    .header__menu_inner {
        width: 255px;
    }
    .header__slider_main .header__slider_item {
        padding: 20px 0;
    }
    .header__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .header__icons > div {
        margin-bottom: 7px;
    }
    .header__icons > div > img {
        margin-right: 10px;
        width: 48px;
    }
    .header__slider_item {
        display: flex !important;
        align-items: center;
    }
}

/*********XSM********/
@media screen and (max-width: 576px) {
    .blocks__item {
        margin-bottom: 10px;
        width: 100%;
    }
    .blocks__wrap {
        margin-top: 20px;
    }
    .blocks__item_4 ,
    .blocks__item_2,
    .blocks__item_5,
    .blocks__item_7 {
        height: auto;
    }
    .blocks__item_1 {
        order: 1;
    }
    .blocks__item_2 {
        order: 2;
    }
    .blocks__item_3 {
        order: 3;
    }
    .blocks__item_4 {
        order: 4;
    }
    .blocks__item_5 {
        order: 6;
    }
    .blocks__item_6 {
        order: 5;
    }
    .blocks__item_7 {
        order: 8;
    }
    .blocks__item_8 {
        order: 7;
    }
    .blocks__item_arr {
        transition: .3s;
        transform: rotate(180deg);
    }
    .about__item {
        flex-direction: column;
        text-align: center;
    }
    .header__menu_item:last-child {
        margin-right: 0;
    }
    .popup {
        width: 93%;
        padding: 30px;
    }
    .bl-yl__left {
        flex-direction: column;
        text-align: center;
    }
    .bl-yl__left > div {
        margin: 10px 0;
    }
    .bl-yl__right {
        text-align: center;
    }
    .bl-yl__right {
        font-size: 17px;
    }
    .bl-yl__left {
        font-size: 16px;
    }
    .contacts-form__wrap input {
        width: 100%;
        padding: 20px 25px;
    }
    .contacts-form__cont {
        flex-direction: column;
    }
    .contacts-form__submit {
        padding: 20px 32px;
    }
    .contacts-form__wrap {
        padding: 20px;
    }
    .contacts-top__inner {
        padding: 20px;
    }
    .contacts-top__inner_line {
        flex-direction: column;
        margin-bottom: 19px;
        display: flex;
        border-bottom: 1px solid;
        padding-bottom: 9px;
        align-items: flex-start;
    }
    .contacts-top__inner_line > div {
        margin-bottom: 8px;
    }
    .contacts-top__inner_line a {
        display: block;
    }
    .contacts-form__wrap .wpcf7-form-control-wrap {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    
    .header__menu_item_services > img {
        transition: .1s;
    }
    
    .header__menu_item_services:hover .header__menu_inner {
        display: block;
    }
    
    .header__menu_item_services:hover > img {
        transform: rotate(180deg);
    }
    
    .header__menu_item_services a:hover {
        text-decoration: underline;
    }
}



