/* template_styles.css */

.work #slides {
    height: auto;
    min-height: 50px;
}

#menu {
    display: flex;
    font-size: 13px;
    line-height: 1.15;
    align-items: stretch;
    background-image: none;
}

/* opa-w80.png */
body.main #menu {
    background-color: rgba(255, 255, 255, 0.8);
}

/* work-menu-bg.png */
body.work #menu {
    background: #f0f1f3;
    box-shadow: inset 0 -1px 0 #fff;
}

#menu > li {
    float: none;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    background-image: none;
}

/* work-menu-libg.png */
body.work #menu > li:not(:first-child) {
    box-shadow: inset 1px 0 0 #fff;
}

/* menu-li-bg.png */
body.main #menu > li:not(:first-child) {
    box-shadow: inset 1px 0 0 rgba(193, 193, 193, 0.85);
}

#menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 50px;
    padding: 7px;
    box-sizing: border-box;
    line-height: 1.15;
    text-align: center;
}

#menu > li:has(ul) > a::before,
#menu > li:has(ul) > a::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    flex-shrink: 0;
}

#menu > li:has(ul) > a::before {
    margin-bottom: 3px;
}

#menu > li:has(ul) > a::after {
    margin-top: 2px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}

/* menu-act-bg.jpg */
#menu > li:hover,
#menu > li.set {
    background-image: linear-gradient(to bottom, #f79a4a 0%, #f58121 100%);
    background-color: transparent;
    box-shadow: none;
    margin-bottom: 0;
}

#menu > li:has(ul):hover > a::after,
#menu > li:has(ul).set > a::after {
    opacity: 1;
}

#menu > li ul {
    position: absolute;
    top: 100%;
    left: 1px;
    right: 0;
    width: calc(100% - 1px);
    z-index: 30;
    margin: 0;
    background-color: #fff;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 15px);
    background-repeat: no-repeat;
}

#menu > li ul li a {
    padding: 10px 14px;
    line-height: 1.3;
}

.breadcr,
.path {
    font-size: 1rem;
    line-height: 1.4;
}

/* main.map */

.map-level-0 > li {
    padding-top: 10px;
}

.map-columns {
    line-height: 22px;
}

.map-level-1 li {
    padding-left: 15px;
    background: url(/bitrix/templates/main/images/li_orange.png) 0 8px no-repeat;
}