.first {
    position: relative;
    display: inline-block;
    /* vertical-align: middle; */
}

.responsive-menu-btn {
    width: 50px;
    height: 100%;
    position: absolute;
    top: 0;
    /* right: 10px; */
    cursor: pointer;
    display: none;
}

.responsive-menu-btn span {
    background-color: #4a5d7e;
    /* цвет полосок мобильного свёрнутого меню */
    width: 26px;
    height: 19px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    margin: auto;
}

.responsive-menu-btn span:after,
.responsive-menu-btn span:before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 5px;
    top: 3px;
    left: 0;
    background-color: #fff;
    /* цвет между полосками мобильного свёрнутого меню */
    -webkit-transition: all;
    transition: all;
    -webkit-transition-duration: .3s, .3s;
    transition-duration: .3s, .3s;
    -webkit-transition-delay: .3s, 0s;
    transition-delay: .3s, 0s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.responsive-menu-btn span:after {
    top: 11px;
}

.responsive-menu-btn.is-active span {
    background-color: transparent;
}

.responsive-menu-btn.is-active span:after,
.responsive-menu-btn.is-active span:before {
    content: '';
    height: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #4a5d7e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-duration: .3s, .3s;
    transition-duration: .3s, .3s;
}

.responsive-menu-btn.is-active span:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


header {
    position: relative;
    z-index: 3;
}


.nav-menu_top {
    position: relative;
    background-color: #59caf6;
}

.nav-menu_top ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.nav-menu_top ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.nav-menu_top ul li:last-child {
    margin-right: -18px;
}

.nav-menu_top ul li a {
    /* стили текстов горизонтального меню */
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-family: 'PTSansPro', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;

    /* font-family: "Trebuchet MS", 'HelveticaNeueCyr';
    font-weight: 500;
    font-style: normal; */
    font-size: 16px;
    display: inline-block;
    padding: 5px 17px;
    cursor: pointer;
}

.nav-menu_top ul li:hover>a {
    color: #4a5d7e;
    /* цвет гиперссылок горизонтального меню при наведении */
    background-color: #c4daff;
    /* цвет подстветки меню при наведении */
}

.nav-menu_top ul li.active>a {
    color: #ff4402;
    background-color: #353b42;
}

.nav-menu_top ul li.current_ancestor>a {
    color: #f5cd60;
}

.nav-menu_top ul li:hover .dropdown {
    /* блок выпадающего меню */
    height: auto;
    max-height: 2000px;
    padding-bottom: 15px;
    padding-top: 5px;
    opacity: 1;
    width: auto;
}

.dropdown {
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-column-count: 2;
    /* Важно!!! Количество коллонок меню. В оригинале 3 шт. Если надо один столбик, добавляем стиль no-columns */
    -moz-column-count: 2;
    column-count: 2;
    background-color: #c4daff;
    /* цвет меню, выпадающего при наведении*/
    overflow: hidden;
    text-align: center;
    /* padding: 0 10px; */
    -webkit-transition: all 0.7s;
    transition: all 0.7s;
    height: 0;
    opacity: 0;
    box-sizing: border-box;
    text-align: left;
}

.dropdown .item {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    width: 100%;
}

.dropdown .item a.caption {
    text-transform: uppercase;
    color: #687fa9;
    /* цвет букв заголовков впадающего меню моб*/
    min-width: 220px;
    font-family: 'HelveticaNeueCyr', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
}

.dropdown.no-columns {
    column-count: 1;
    padding: 5px 10px !important;
}

.dropdown .item a.caption:hover {
    color: #687fa9;
    /* цвет букв заголовков впадающего меню при наведении */
    background-color: #bcd1f5;
}

.dropdown .item ul {
    display: block;
    list-style: none;
    text-align: left;
}

.dropdown .item ul li {
    display: block;
}

.dropdown .item ul li a {
    color: #5c7172;
    font-size: 15px;
    text-transform: none;
    line-height: normal;
    font-weight: normal;
    font-family: "Trebuchet MS", 'HelveticaNeueCyr';
    display: block;
}

.dropdown .item ul li a:before {
    content: '-';
    /* вид маркета в раскрывающемся меню */
    display: inline-block;
    margin: 0 4px 0 0;
    color: inherit;
    font-size: inherit;
}

.dropdown .item ul li a:hover {
    color: #fff;
    background-color: #4a5d7e;
    /* width: 90%; */
}

.dropdown .item ul li.active a {
    color: #b3b9c0;
}

.nav_address {
    color: #6a80a5;
    font-size: 20px;
    margin: 5px 15px;
    font-family: 'Helvetica Neue';
    font-weight: bold;
    font-style: normal;
    line-height: 1.1;
    text-decoration: none;
    margin-top: 10px;
}

.nav_address:hover {
    color: #6a80a5;
}

.nav_phone {
    color: #6a80a5;
    font-size: 20px;
    margin: 5px 15px;
    font-family: 'Helvetica Neue';
    font-weight: bold;
    font-style: normal;
    line-height: 1.1;
    text-decoration: none;
    margin: 20px 0;
}

.nav_phone_icon {
    width: 20px;
    display: inline-block;
    margin: 2px;
    padding-bottom: 3px;
}

.logo_img {
    max-width: 100%;
}

.working_time {
    font-family: 'HelveticaNeueCyr';
    font-weight: 500;
    font-style: italic;
    font-size: 17px;
    color: #6a80a5;
}

.nav_email {
    font-family: 'HelveticaNeueCyr';
    font-weight: 500;
    font-style: italic;
    font-size: 16px;
    color: #6a80a5;
}

@media screen and (min-width: 1171px) {
    /* если ширина экрана больше 1171px */
}

@media screen and (max-width: 930px) {
    /* горизонтальное меню сворачивается в полоски. */

    .logo_img {
        width: 80%;
    }

    .nav_social_netvork {
        display: none;
    }

    .working_time {
        display: none;
    }

    .nav-menu_top {
        background: #c4daff;
        /* цвет выпадающего меню в мобильной версии */
        position: relative;
    }

    .nav-menu_top ul li a {
        color: #4a5d7e;
        padding: 0 8px;
    }

    header .with_dropdown>a {
        /* выпадающее меню в мобильной версии */
        margin: 2px 0;
    }

    header .with_dropdown>a:after {
        /* стрелочка верхнего списка */
        content: '';
        margin: 0 0 2px 10px;
        vertical-align: middle;
        display: inline-block;
        width: 12px;
        height: 7px;
        background-image: url("/img/responsive_top_menu_arrow.png");
        background-repeat: no-repeat;
        background-position: center;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .with_dropdown.opened>a:after {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    .nav-menu_top a {
        margin: 0;
    }

    .dropdown {
        display: none;
    }

    .bottom {
        position: absolute;
        /* right: -100%; */
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        width: 280px;
        max-width: 100%;
        z-index: 2;
        visibility: hidden;
    }

    header .bottom.opened {
        left: 0;
        visibility: visible;
    }

    header .bottom ul {
        display: block;
        width: auto;
        text-align: left;
        padding: 8px 0;
    }

    header .bottom ul li {
        display: block;
    }

    header .bottom ul li:hover .dropdown {
        padding: 0 0 0 20px;
    }

    header .bottom ul li a {
        display: block;
        line-height: 30px;
    }

    .first {
        display: inline-block;
        width: 100%;
        border-radius: 0;
        margin: 0 !important;
        vertical-align: middle;

    }

    .responsive-menu-btn {
        display: block;
    }

    .dropdown {
        opacity: 1;
        position: static;
        -webkit-column-count: 1;
        /* количество коллонок в мобильной версии */
        -moz-column-count: 1;
        column-count: 1;
        -webkit-transition: none;
        transition: none;
        background-color: #c4daff;
        /* цвет раскрывающегося меню второго слоя  */
        height: auto;
        max-height: none;
        padding: 0 0 0 20px;
        margin: 0 !important;
    }

    a.caption {
        text-transform: none;
        line-height: 30px;
        font-weight: normal;
    }

    .dropdown .item ul {
        display: none;
    }

    .dropdown .item ul li a {
        margin: 3px 0;
        padding: 2px 2px 2px 10px;
    }

}

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

    .logo_img {
        width: 100px;
    }

    .nav_email {
        display: none;
    }

    .nav_phone {
        margin: 10px 0;
    }

    .underground_address {
        display: none;
    }

    .nav_address {
        font-size: 16px;
    }

    .nav_phone {
        font-size: 16px;
        margin-top: 35px;
    }

    .nav_phone_icon {
        width: 16px;
    }
}

@media only screen and (max-width: 590px) {
    .nav_phone_icon {
        display: none;
    }

    .nav_phone {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 540px) {
    .nav_address {
        display: none;
    }

    .responsive-menu-btn span {
        left: 25px;
    }

    .logo_img {
        margin-left: 50px;
    }
}

@media only screen and (max-width: 480px) {
    .logo_img {
        width: 70px;
    }

    .nav_phone {
        margin: 0 0;
    }

    .nav_address {
        margin-top: 0;
    }
}

@media screen and (max-width: 400px) {
    .responsive-menu-btn span {
        left: 10px;
    }

    body {
        margin: 2px;
    }

    .first {
        padding: 0 8px;
    }

}

@media screen and (max-width: 310px) {
    .nav_phone {
        display: none;
    }

}

.top_name {
    color: #6a80a5;
    margin-top: 10px;
    font-size: 120%;
}

.top_name a:hover {
    color: #6a80a5;
    margin-top: 10px;
    font-size: 120%;
    text-decoration: none;
}

.top_name a:hover {
    text-decoration: underline;
}

.top_logout {
    color: #577193;
    margin-top: 0;
    text-decoration: none;
}

.top_logout:hover {
    color: #577193;
    text-decoration: underline;
}