﻿nav {
    position: relative;
    margin: 0 auto;
    width: 100%;
}
.menunav {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* justify-content: space-around; */
    justify-content: flex-end;
    padding-top: 14px;
}
.menunav a {
    display: block;
}
.menunav .icon {
    display: none;
}
.menunav a:hover, .dropdown:hover .dropbtn {
}
@media screen and (max-width: 1000px) {
    .menunav {
        justify-content: flex-end;
    }
    .menunav a:not(:first-child),
    .menunav a.icon {
        float: left;
        display: block;
    }
    .menunav.responsive {
        position: relative;
        padding-left: 10px;
        width: 100%;
    }
    .menunav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .menunav.responsive a {
        float: none;
        display: block;
    }
}
.m-panel {

}

.menu_link:focus {
    background-color: #f2f5f7;
    color: var(--color-base);
    text-decoration: none;
}
.menu_link:hover {
    background-color: #f2f5f7;
    color: var(--color-base);
    text-decoration: none;
}
.menu_link {
    color: var(--color-base);
    /*width:100%;*/
    /*margin-top:6px;*/
}

/*======================  menu */
.pull-right .dropdown-menu:after {
    left: auto;
    right: 13px;
}
.pull-right .dropdown-menu {
    left: auto;
    right: 0;
}
.mn-a {
    text-decoration: none;
    /* cursor: url(/img/main/Pointer.svg); */
    cursor: pointer;
    box-sizing: border-box;
    outline: currentcolor none medium;
    color: var(--fnt-color);
}
    .mn-a:active {
    }
    .mn-a:hover {
        /*color: rgba(0, 0, 0, 0.4);*/
    }
.mn-btn {
    display: block;
    text-align: left;
    margin: 0px 15px;
    height: 40px;
    line-height: 40px;
}
.dropmenu {
}
    .dropmenu:hover .dropmenu-content {
        display: block;
    }
    .dropmenu:hover .dropbtn {
    }
.dropmenu-content {
    overflow-y: auto;
    scrollbar-width: thin;
    display: none;
    position: absolute;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}
    .dropmenu-content a {
        display: block;
        text-decoration: none;
    }
    .dropmenu-content a:hover {
        background-color: #f1f1f1;
    }


 /*переопределяем при наведении на подменю*/
.dropdown-menu {/*> li > a:hover, .dropdown-menu > li > a:focus {*/
    color: var(--fnt-main);
    text-decoration: none;
    background-color: #f2f5f7;
    /*background-color: var(--mc-base);*/
}
.dropdown-menu > li > a:hover {
    background-color: #cbdfee;
    color: #104692;
    background-image: none;
}
.sub-menu {
    display: none;
    width: fit-content;
}
.sub-menu.open {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    height: max-content;
}