@media only screen and (max-width: 1190px) {
    
    .map_info{
        flex-direction: column-reverse;
        width: 100%;
        height: auto;
    }

    .contacts_bg {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        position: static;
        width: 80%;
        margin: 30px 0;
    }

    .map_info a {
        width: 100%;
    }

    .map_bg {
        width: 100%;
        height: 0;
        padding-bottom: 50%;
        background-size: 80%;
        border-bottom: 1px solid #4A4857;
    }

    .cb_title {
        background:#E99954;
        margin-top: 10px;
    }

    .contacts_block {
        margin: 5px;
    }
    
    .form_bg {
        background: #ffffff;
        padding: 0;
    }

    .form_block {
        width: 80%;
        padding: 30px;
    }

    .form_block input{
        width: 100%;
    }

    .form_input_line {
        flex-wrap: wrap;
    }

    .form_input_line input, .message_block{
        margin-top: 10px;
    }

    .form_input_line input:first-child{
        margin-top: 0;
    }

    .form_title {
        margin-bottom: 30px;
    }

    .orange_button {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 730px) {
    .map_info{
        flex-direction: column;
    }

    .contacts_block {
        width: 100%;
    }

    .cb_text {
        width: calc(100% - 70px);
    }

    .cb_text a {
        color: #000000;
    }

    .map_bg {
        border-top: 1px solid #4A4857;
    }

    .form_title {
        font-size: 28px;
    }
}