/*----*/
.menu,
.folder ul {
    font-family: "Museo Sans Cyrl 500", sans-serif;
    font-size: 16px;
    list-style: none;
    line-height: 17px;
    padding: 0;
    margin: 0;
    color: #fff;
    text-align: left;
}

/* верхнее меню */

.topmenu .menu li {
    float: left;
    height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.topmenu .menu li a {
    display: flex;
    text-decoration: none;
    text-transform: uppercase;
    /* padding: 10px; */
    font-weight: normal;
    font-family: "Museo Sans Cyrl 700", sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    left: 0px;
    flex-wrap: nowrap;
    width: 93px;
}


/* адаптив */
#adaptiveMenuBox .menu li {
    height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

#adaptiveMenuBox .menu li a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 0;
    font-weight: normal;
    font-family: "Museo Sans Cyrl 700", sans-serif;
    font-size: 14px;
    color: #666;
}


#adaptiveMenuBox .menu > li:hover > a,
#adaptiveMenuBox .menu > li.hover > a,
#adaptiveMenuBox .menu > li.active > a {
    color: #dd0017;
}

#adaptiveMenuBox .menu li ul {
    display: none;
    position: relative;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    border: 0;
    min-width: 100%;
}

#adaptiveMenuBox .menu .folder:after {
    top: 10px;
    bottom: auto;
}

#adaptiveMenuBox .menu li.active.folder > ul {
    display: block;
}

/**/

#adaptiveFloatMenuBox .menu li a {
    display: block;
    text-decoration: none;
    padding: 10px 0;
    font-weight: normal;
    font-family: "Museo Sans Cyrl 700", sans-serif;
    font-size: 14px;
    color: #666;
    position: relative;
}

#adaptiveFloatMenuBox .menu li a .icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 25px;
    height: 25px;
}

#adaptiveFloatMenuBox .menu li a .icon img {
    max-width: 100%;
    max-height: 100%;
    filter: contrast(0%) sepia(100%) brightness(146%) saturate(500%) hue-rotate(488deg) invert(100%);;
    -webkit-filter: contrast(0%) sepia(100%) brightness(146%) saturate(500%) hue-rotate(488deg) invert(100%);;
}

#adaptiveFloatMenuBox .menu li a .label {
    padding-left: 40px;
}

/* главное меню */

.mainmenu_wrapper .menu li {
    float: none;
    padding: 0;
    margin: 0 0 5px 0;
    transition: all 0.25s linear 0s;
    position: relative;

    width: 52px;
    height: 52px;
}

.mainmenu_wrapper .menu li a {
    display:block;
    color: inherit;
    text-decoration: none;

    font-size: 16px;
    line-height: 17px;
    font-weight: normal;
    font-family: inherit;
    text-align: center;

    width: 52px;
    height: 52px;
    overflow: hidden;

    position: absolute;
    right: 0;
    top: 0;
}


.mainmenu_wrapper .menu > li:hover > a,
.mainmenu_wrapper .menu > li.hover > a,
.mainmenu_wrapper .menu > li.active > a {
    color: #fff;
}

.mainmenu_wrapper .menu li a:hover {
    width: 248px;
}

.mainmenu_wrapper .menu li a .label {
    width: 196px;
    vertical-align: top;
    background-color: #be001e;
    padding: 15px;
    height: 52px;

    position: absolute;
    top: 0;
    right: -196px;
    z-index: 1;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;

    align-items: center;
    display: flex;
}

.mainmenu_wrapper .menu li a .icon {
    /*display: inline-block;
    vertical-align: top;*/
    background-color: #be001e;

    display: flex;
    align-items: center;
    justify-content: center;

    /*margin-left: -9px;*/
    width: 52px;
    height: 52px;

    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.mainmenu_wrapper .menu li a .icon img {
    max-width: 26px;
    max-height: 26px;
}

.mainmenu_wrapper .menu li:hover a .label,
.mainmenu_wrapper .menu li.hover a .label
/*.mainmenu_wrapper .menu li.active a .label*/ {
    right: 52px;
}

.mainmenu_wrapper .menu li:hover a .icon,
.mainmenu_wrapper .menu li.hover a .icon
/*.mainmenu_wrapper .menu li.active a .icon*/ {
    background-color: #960019;
}

/**/
.menu .folder {
    position: relative;
}

.menu .folder:after {
    content: '';
    position: absolute;
    background: url("../images/down-arrow.png") no-repeat;
    background-position: 0 0;
    right: -1px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 10px;
    height: 5px;
    pointer-events: none;
    z-index: 1;
}

/*.menu .folder:hover:after {
    background-position: -8px 0;
}*/

.mainmenu_wrapper .menu .folder > a {

}


/*- 2 уровень -*/
.menu .folder ul {
    position: absolute;
    z-index: 10;
    display: none;
    min-width: 210px;
    background-color: #fff;
    color: #666;
    margin: 0 auto;
    border: 1px solid #d7d7d7;
}

.menu > .folder > ul {
    padding: 10px 0;
    border-top: 1px solid #ddd;

    display: block;
    margin-top: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.menu .folder ul li {
    float: none;
}

.menu ul .folder:after {
    top: 10px;
    bottom: initial;
}

/**/

.menu .folder ul li a {
    padding: 5px 20px;
    font-family: "Museo Sans Cyrl 700", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.menu .folder:hover > ul {
    opacity: 1;
    visibility: visible;
    -webkit-transition: margin 0.3s ease 0s;
    -moz-transition: margin 0.3s ease 0s;
    -o-transition: margin 0.3s ease 0s;
    transition: margin 0.3s ease 0s;
    margin: 0;
    z-index: 10;
}

.menu .folder li:hover > a,
.menu .folder li.hover > a,
.menu .folder li.active > a {
    color: #dd0017;
}

/*- 3 уровень -*/
.menu .folder ul li ul {
    padding-left: 20px;
    margin: 7px 0;
    position: relative;
}