@media(max-width: 1200px) {
    .nav-item {
        margin-right: 0;
    }
}


@media(max-width: 991px) {
    header .container {
        flex-direction: row-reverse;
    }

    .header_left {
        justify-content: flex-end;
    }

    .header_right {
        justify-content: flex-start;
    }

    .header_left,
    .header_right {
        max-width: 80px;
    }

    .navbar-toggler {
        top: auto;
        right: auto;
    }
    
    .phone-number:not(.mobile) {
        display: none;
    }

    .phone-number.mobile {
        display: flex;
        margin-left: 20px;
    }

    .select-apartment {
        display: none;
    }

}


@media(max-width: 640px) {
    header {
        padding-top: 20px;
    }

    .logo-line_up span {
        margin-right: 15px;
    }

    .logo-line_up {
        font-size: 25px;
    }

    .logo-line_down {
        font-size: 7px;
    }
    
    .logo-line_down_wrap {
        margin-right: 10px;
    }

    .logo-line_down span {
        margin-right: 5px;
    }
}