.top-menu nav {
    background: inherit;
    padding: 7px 0 7px 0;
    margin-left: -10px;
    margin-right: -10px;
}

.top-menu nav a {
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.top-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu .top-menu-wrapper {
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    -ms-flex-direction: row;
    flex-direction: row;
}

.top-menu .top-menu-wrapper > li {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.top-menu .top-menu-wrapper > li {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.top-menu .top-menu-wrapper > li:last-child {
}

.top-menu .top-menu-wrapper > li > a {
    font-size: 16px;
    color: #14315C;
    padding: 4px 10px;
}

.submenu-link {
    white-space: nowrap;
}

.submenu-link:after {
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    content: '';
    display: inline-block;
    height: 0.5em;
    left: 0.15em;
    top: 0.15em;
    vertical-align: top;
    width: 0.5em;
    transform: rotate(135deg);
    margin-left: 10px;
    margin-top: 6px;
}

.top-menu .top-menu-wrapper .active, .top-menu .top-menu-wrapper > li:hover > a, .top-menu .submenu li a:hover {
    background-color: #e4e4da;
    text-decoration: none;
}

.top-menu .submenu {
    position: absolute;
    z-index: 5;
    border-bottom: 1px solid #cbc9b6;
    visibility: hidden;
    opacity: 0;
    min-width: 240px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);

}

.top-menu .submenu li {
    position: relative;
}

.top-menu .submenu a {
    background: white;
    border-top: 1px solid #cbc9b6;
    border-right: 1px solid #cbc9b6;
    border-left: 1px solid #cbc9b6;
    color: #1c1c1c;
    text-align: left;
    display: block;
    padding: 1rem;
}

.top-menu .submenu .submenu {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    left: -webkit-calc(100% - 1px);
}

.top-menu nav li:hover > .submenu {
    visibility: visible;
    opacity: 1;
    z-index: 110;
}

.header__top_tel_switcher {
    white-space: nowrap;
}

.top-menu .aim_catalog {
    display: none!important;
}

@media (max-width: 1140px) {
    .top-menu .top-menu-wrapper {
        display: initial;
        display: initial;
        justify-content: initial;
        -ms-flex-direction: initial;
        flex-direction: initial;
    }

    .top-menu .top-menu-wrapper > li > a {
        padding: 2px 10px;
    }
}

@media (max-width: 767px) {
    .top-menu .top-menu-wrapper > li:not(.topmenu-contacts) {
        display: none;
    }

    .top-menu .top-menu-wrapper > li > a {
        padding: 4px 10px;
    }
}
