@media (min-width: 768px) {
    .block__header__phones, .menubar__slogan {
        display: none;
    }
}

@media (max-width: 767px) {
    div#header {
        display: flex;
        flex-wrap: wrap;
        background: #000000 url(/static/images/headerbar_bg.png?ec5bb357ebb8) 0 100% repeat-x;
        border-radius: 0 0 10px 10px;
        margin-bottom: 20px;
        justify-content: space-between;
        align-items: center;
    }
    #toolbar {
        display: none;
    }
    #headerbar {
        display: none;
    }
    div#logo {
        position: static;
        order: 1;
        width: auto;
        max-width: calc(100% - 230px);
        margin: 10px 15px 0;
    }

    div#logo a img {
        padding: 0 !important;
    }

    div#menubar {
        order: 3;
        width: 100%;
        flex-grow: 111;
        position: relative;
        z-index: 26;
        transform: translateY(10px);
    }
    div#menu {
        order: 4;
        width: 100%;
        flex-grow: 111;
        padding-top: 10px;
    }

    div#menu .level2 {
        opacity: 1 !important;
    }

    div#menubar .menubar-m {
        display: flex;
        justify-content: space-between;
    }

    .menubar__slogan {
        max-width: 179px;
        align-self: center;
        line-height: 1;
        font: normal 12px Arial;
        color: #717676;
    }

    #content_container > p:first-of-type {
        display: none;
    }

    #top {
        display: none;
    }

    .block__header__phones {
        position: relative;
        order: 2;
        padding: 15px 20px 5px;
        padding-left: 45px;
        align-self: flex-start;
    }

    .block__header__phones::before {
        content: "";
        width: 35px;
        height: 61px;
        background: url("/static/images/icon-phone-operators.png?ec5bb357ebb8") no-repeat center;
        display: block;
        position: absolute;
        left: 0;
        top: 15px;
    }


    .block__header__phone {


    }
    .block__header__phone a {
        color: #fff !important;
        font: normal 28px Arial;
    }
    .route-buttons {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .route-buttons .btn {
        padding: 10px 7px;
    }

    .route-buttons .btn:last-of-type {
        margin-right: 0
    }

    .panel.panel-default {
        transform: translateY(-60px);
    }
    .timetable-choose-date {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    .timetable-date {
        order: 2;
    }
    .timetable-buttons {
        order: 1;
        margin-bottom: 7px;
        width: 100%;
        flex-shrink: 0;
    }
    .timetable-date {
        order: 2;
        margin-bottom: 15px;
    }
    .btn.btn-route.discard-trip {
        order: 3;
        align-self: center;
        margin-bottom: 15px;
    }
}