/*.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{
    height: 100%;
}*/

.menu-sub {
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.m__i .m__l:after {
    font-family: 'nir-icons';
    font-size: 30px;
    transform: rotate(180deg);
    position: absolute;
    right: 16px;
}

body:not(.ios) .m__i:hover .m__l:after, body.ios .m__i.open .m__l:after {
    content: '\f104';
}

.m__l {
    padding: 4px 0;
}

.m__l > span {
    font: 500 14px Roboto, Arial, Helvetica, sans-serif;
    color: #263238;
    line-height: 16px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.m__l i {
    display: none;
    float: right;
    font-size: 15px;
    margin-top: 16px;
}

.m__l:hover {
    cursor: pointer;
}

.m__i {
    background: transparent;
}

body:not(.ios) .m__i:hover .m__l, body:not(.ios) .m__i:hover.m__l, body:not(.ios) .m__l:hover span,
.m__i.open .m__l, .m__i.open.m__l, .m__i.open span{
    color: #276ef1;
}

.m__i:hover .m__l i {
    display: inline-block;
}

.m__i .m__l:after {
    margin-top: -35px;
}

.m__i:hover .d-sm li:hover i {
    display: inline-block;
}

.m__i:hover .d-sm li:hover .ssm:last-child i {
    display: none;
}

.m__i:hover .d-sm li:hover .ssm i {
    display: block;
}

.m__i.dropdown {
    position: static;
}

.m__i .d-sm .d-s__i {
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    line-height: 20px;
    display: flex;
    align-items: center;
}

.m__i .d-sm a.ss-h {
    font: 500 16px Roboto, Arial, Helvetica, sans-serif;
    color: #40576D;
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 0;
    line-height: 20px;
}
.m__i .d-sm a.ss-h:hover {
    color: #5e6f89;
}
.m__i .d-sm a.ss-h[class*='nir-catalog-']:before {
    margin-right: 8px;
}
.m__i .d-sm .orange  a.ss-h {
    color: #f39c12;
}

.m__i .d-sm a .ssm a {
    font: 300 15px Roboto, Arial, Helvetica, sans-serif;
    margin-bottom: 19px;
}


.mobileMenuCatalog .mCSB_scrollTools {
    width: 8px;
}

.mobileMenuCatalog .mCSB_scrollTools .mCSB_draggerRail {
    width: 4px;
    background: #ECEFF1;
    border-radius: 4px;
}

.mobileMenuCatalog .mCSB_scrollTools .mCSB_dragger {
    width: 4px;
    background: #008DEE;
    border-radius: 4px;
}

.mobileMenuCatalog .mCSB_inside>.mCSB_container {
    margin-right: 12px;
}



@media (max-width: 1199px) {
    .menu-sub li a:hover {
        background: transparent;
        color: #313541;
    }

    .menu-sub li a i {
        display: block;
        margin-top: 12px;
    }

    .menu-sub li a span {
        font: 400 20px Roboto, Arial, Helvetica, sans-serif;
        padding-left: 0;
    }

    .menu-sub li .ssm li {
        margin-bottom: 54px;
    }

    .menu-sub li .ssm li:last-child {
        margin-bottom: 0;
    }

    .menu-sub li .ssm li {
        text-decoration: none;
    }

    .m__l > i, .mob-form-city > i {
        color: #bdc3c7;
    }

    .m__l > ihover, .mob-form-city > ihover {
        color: #3498db;
    }

    .ios .m__l:hover > span {
        border-bottom-color: transparent;
    }

    .ios .m__i:hover .m__l {
        background: transparent;
        color: #008DEE;
    }

    .m__i:hover .d-sm li i {
        position: relative;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ios .mobileMenuCatalog.open .m__l, .ios .m__i:hover .m__l {
        display: inline-block;
    }

    .m__i .d-sm a.ss-h img {
        margin-top: -2px;
    }

    .m__i:hover .d-sm li.l-ssm:not(.open):hover:before, .m__i:hover .d-sm li.l-ssm:not(.open):hover:after {
        background-color: transparent;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .menu-sub li a i {
        margin-right: 28px;
    }

    .menu-sub li a.l-ssm i {
        margin-top: 35px;
        margin-right: 21px;
    }

    .menu-sub li a.l-ssm i:before {
        content: '\f053';
    }

    .menu-sub li a span, .menu-sub li a > span {
        width: calc(100% - 65px);
    }

    .menu-sub .d-sm li a span {
        padding-top: 29px;
        padding-bottom: 25px;
    }

    .m__l:hover > span {
        border-bottom: transparent;
    }

    .ios .m__i:not(.open) .m__l:hover span {
        color: #313541;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .menu-sub .d-sm li {
        padding-left: 61px;
    }

    .m__i.open .m__l:after {
        content: '\f104';
    }

    .m__i .d-sm a.ss-h img

    .mobileMenuCatalog .mCSB_scrollTools {
        width: 12px;
    }
}

@media (max-width: 767px) {
    /*.menu-sub li .ssm {
        padding-bottom: 9px;
        padding-top: 0;
        padding-left: 68px;
        border: none;
    }*/

    .menu-sub > .m__i:last-child {
        padding-bottom: 0;
    }

    .menu-sub li a i {
        display: none;
    }

    .menu-sub li .ssm li {
        margin-bottom: 19px;
    }

    .menu-sub .d-sm li a span {
        margin-top: 0;
        margin-bottom: 0;
    }

    /*.menu-sub .d-sm li .ssm a {
        padding: 8px 0;
        height: auto;
        margin-bottom: 0;
    }*/

    .m__i.dropdown .m__l span {
        padding: 24px 200px 10px 0;
    }

    .m__l {
        padding: 0;
    }

    .mobileMenuCatalog > .m__l {
        padding-top: 0;
    }

    .d-s__i:hover.l-ssm:after, .m__i:hover .m__l:after {
        content: '';
    }

    .m__i:hover .d-sm li a i {
        left: auto;
    }

    .m__i .d-sm a.ss-h img {
        left: 0;
        margin-right: 20px;
        margin-left: 15px;
        margin-top: -4px;
    }

    .m__i:hover .d-sm li i {
        left: 0;
    }
}

@media (min-width: 768px) and (max-height: 600px) {
    .m__l {
        padding: 0;
    }

    .m__l > span {
        font-size: 16px;
    }
}

/**/
.menu-item .submenu-tab .col-lg-3{
    margin-bottom: 15px;
}

.menu-item:hover > .submenu-tab {
    display: block;
}

.head-bot.navbar .navbar-nav {
    float: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.head-bot.navbar .navbar-nav > li {
    display: inline-block;
    float: none;
    position: static;
    width: 14.2%;
    text-align: center;
}

.navbar-nav > li > span {
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    display: block;
    position: relative;
}

.head-bot.navbar .navbar-nav > li > span:hover, .head-bot.navbar .navbar-nav > li > span:focus, .head-bot.navbar .navbar-nav > li > span:active {
    background: transparent;
}

.head-bot.navbar .navbar-nav > li:hover > span, .head-bot.navbar .navbar-nav > li:hover > span:focus, .head-bot.navbar .navbar-nav > li:hover > span:active {
    background: #fff;
}

.head-bot.navbar .navbar-nav > li:hover > span {
    color: #276EF1;
    z-index: 995;
}

.head-bot.navbar .navbar-nav > li.li-hot > span {
    background: #f39c12;
    padding-left: 28px;
    padding-right: 28px;
}
.head-bot.navbar .navbar-nav > li.li-hot:hover > span {
    background: #fff;
    color: #f39c12;
}

.head-bot.navbar .navbar-nav:before, .head-bot.navbar .navbar-nav:after {
    content: none;
}

.menu-link {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.75px;
    line-height: 31px;
    text-transform: uppercase;
}

.submenu__heading {
    color: #008dee;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 8px 0 30px;
    text-transform: uppercase;
    display: block;
    position: relative;
}
.submenu__heading:before {
    position: relative;
    top: 8px;
    margin-right: 8px;
}

.sub-img {
    text-align: right;
    width: auto;
}

.sub__t {
    color: rgba(62, 82, 102, 0.95);
    font: 500 17px/1 Roboto, Arial, Helvetica, sans-serif;
    margin-bottom: 19px;
    display: block;
}
.sub__t.linked:hover {
    color: #008dee;
    text-decoration: none;
    outline: 0;
    cursor: pointer;
}

.sub__t:not(.linked):hover {
    cursor: default;
    color: rgba(62, 82, 102, 0.95);
}

.menu-list {
    list-style: none;
    padding-top: 0;
    padding-bottom: 19px;
    margin-top: 19px;
}

.m-l__i {
    margin-bottom: 9px;
    color: rgba(149, 165, 166, 0.95);
    font-size: 15px;
    display: list-item;
    text-decoration: none;
}

.m-l__i:hover {
    color: #008dee;
    text-decoration: underline;
    cursor: pointer;
}

.submenu-tab {
    background: #fff;
    position: absolute;
    display: none;
    text-align: left;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 996;
    overflow-y: scroll;
    width: 120%;
    padding-right: 20%;
    /*height: calc(100vh - 96px);*/
    /*max-height: fit-content;*/
}

#header + .content {
    transition: filter 200ms;
}
#header.hover + .content {
    filter: opacity(0.4);
}

main.content {
    overflow: hidden;
}

.head-bot .submenu-tab img.menu-icon {
    width: 32px;
}

#header:not(.hover) .js-submenu-wrap {
    display: none;
}

.head-bot {
    border: 0;
    margin-top: 8px;
    margin-bottom: 0;
    border-radius: 0;
    z-index: 22;
}

.head-bot.hover {
    position: relative;
    z-index: 1031;
}

.head-bot.hover .header-bottom {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.header-nav {
    background: #008dee;
    height: 32px;
}

.d-ssm .promo {
    text-align: center;
}

.promo a {
    display: inline-block;
}

.promo-hidden {
    display: none;
}

.mob-heading-sub {
    color: #008DEE;
    font-size: 24px;
    line-height: 28px;
    cursor: default;
}


.dropdown-menu.d-sm {
    display: block;
    opacity: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    position: absolute;
    top: 0;
    color: #fff;
    background: #fafafa;
    z-index: -1;
    transition: all 400ms;
    width: 100%;
    padding: 0;
    left: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    height: 100%;
}
.open > .d-sm {
    left: 0;
    opacity: 1;
    z-index: 1;
    transition: all 300ms;
}

.d-sm .li-hot > a span {
    background: #FF9100;
    border-radius: 5px;
}

.d-sm .li-hot:hover > a {
    background: #FF9100;
}

.d-sm .li-hot .d-ssm {
    background: #FF9100;
}

.d-sm .l-ssm__block {
    height: calc(100% - 80px);
    margin-top: 37px;
    max-height: 500px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    padding: 0 16px;
}
.d-sm .l-ssm__block li.l-ssm {
    color: #40576D;
    padding: 15px 0;
}
body:not(.ios) .d-sm .l-ssm__block li.l-ssm:not(.orange):hover,
body.ios .d-sm .l-ssm__block.open li.l-ssm:not(.orange).open {
    color: #276ef1;
}

.d-sm .l-ssm__block:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
}

.d-sm .l-ssm__block:after {
    content: '';
    display: block;
    height: 100%;
    width: 380px;
    position: absolute;
    top: 0;
    left: -80px;
    z-index: -3;
    background-color: #fff;
    opacity: 0.5;
    transition: all 200ms;
}
.d-sm .l-ssm__block.open:after {
    left: 300px;
    opacity: 1;
}


.d-ssm {
    display: block;
    width: 380px;
    z-index: -2;
    padding: 16px 0 16px 0;
    color: #667580;
    border: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 300px;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    opacity: 0;
    transition: opacity 300ms;
}
.l-ssm.open > .d-ssm {
    opacity: 1;
    z-index: -1;
    transition: opacity 150ms 150ms;
}
.l-ssm__block:not(.open) .l-ssm > .d-ssm {
    transition: none;
}
.l-ssm:not(.open) > .d-ssm {
    display: none;
}

.d-ssm .mCSB_container .s-name,
#mobPanel.nir-card-arrow-right{
    color: #000;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
    padding-left: 24px;
}
#mobPanel.nir-card-arrow-right{
    padding-top: 16px;
}
.d-ssm .mCSB_container .s-name.nir-card-arrow-right::before,
#mobPanel.nir-card-arrow-right::before{
    color: #40576D;
    font-size: 16px;
    transform: rotate(180deg);
    margin-right: 18px;
    cursor: pointer;
}

#mobPanel.nir-long-arrow,
.d-ssm .mCSB_container .s-name{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 28px;
    line-height: 35px;
    color: #182B48;
    cursor: pointer;
}

#mobPanel.nir-long-arrow:before,
.d-ssm .mCSB_container .s-name:before{
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
}


.d-ssm > .scroll {
    position: absolute;
    top: 85px;
    bottom: 16px;
    width: 100%;
}

.d-ssm .scroll-content {
    height: 100%;
    width: 110%;
    padding-right: 10%;
}

.d-ssm .baron__track {
    width: 4px;
    right: 4px;
    background-color: rgba(0, 120, 201, 0);
}

.d-ssm .baron__bar {
    width: 4px;
    opacity: 1;
}

.dropdown-menu-scroll:not(._scrollbar) .baron__bar{
    opacity: 0;
}

.d-ssm a {
    color: inherit;
}

.d-ssm p {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 43px;
}


.d-s__i {
    position: static;
    cursor: pointer;
}
.d-s__i .d-ssm {
    cursor: default;
}

.d-s__i.l-ssm:after {
    font-family: 'nir-icons';
    font-size: 30px;
    transform: rotate(180deg);
    position: absolute;
    right: 16px;
}


.l-s {
    display: block;
}

.l-ssm {
    color: inherit;
    display: block;
    width: calc(100% - 20px);
}

.l-ssm i[class*='nir-catalog-'] {
    display: block;
    margin-top: 0;
    margin-right: 16px;
}

.l-ssm i.ssm-hr {
    height: 1px;
    width: 170px;
    background-color: #A4AEB9;
    display: block;
    float: unset;
    margin: 24px 0;
}

.l-ssm .ssm:last-child i.ssm-hr {
    display: none;
}


.ssm {
    list-style: none;
    padding-left: 48px;
    margin-bottom: 56px;
}

.ssm a {
    padding: 8px;
    margin-bottom: 4px;
    color: #5C7282 !important;
    font-weight: 500;
    line-height: 20px;
    font-size: 16px;
    display: block;
    text-transform: lowercase;
}

.ssm a:hover {
    color: #748a99;
}

body:not(.ios) .d-s__i:hover.l-ssm:after, body.ios .d-s__i.l-ssm.open:after  {
    content: '\f104';
}


@media (min-width: 768px) {

}

@media (min-width: 768px) and (max-height: 600px) {
    .d-sm .l-ssm__block {
        height: calc(100% - 50px);
        margin-top: 16px;
    }

    .d-sm .l-ssm__block li.l-ssm {
        padding: 0;
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /*.dropdown-menu.d-sm, .dropdown-menu.d-ssm {
        left: 300px;
        position: fixed;
        width: calc(100% - 317px);
        display: none;
    }*/

    .dropdown.open > .dropdown-menu.d-sm, .dropdown.open > .dropdown-menu.d-ssm {
        display: block;
    }

    .l-ssm.open > .d-ssm {
        left: 300px;
        z-index: 1;
        background: #fff;
    }

    /*.l-ssm.open > .d-ssm .s-name:before {
        content: '\f104';
        font-family: 'nir-icons';
        font-size: 30px;
        position: absolute;
        top: 15px;
        left: 24px;
    }*/

    .d-s__i.open.l-ssm:after {
        content: '\f104';
        right: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mob-heading-sub:before {
        display: none;
    }

    .ios .d-sm {
        height: 100%;
        z-index: -1;
        left: 285px;
        top: 0;
        right: unset;
        width: 300px;
        position: absolute;
        padding-top: 16px;
        overflow: unset;
    }

    .d-sm .l-ssm__block:after, .d-ssm, .s-name {
        width: 360px;
    }

}





@media (max-width: 1199px) {
    .ss-h {
        font-weight: 400;
        margin-bottom: 44px;
        padding-left: 15px;
    }

    .navbar-fixed-top .megamenu-inner .navbar-collapse .d-sm .li-hot > a {
        background: #FF9100;
    }

    .megamenu-inner.lock #mCSB_4_scrollbar_vertical{
        display: none !important;
    }

    .d-ssm p {
        margin-bottom: 56px;
        padding-left: 15px;
    }

    .head-bot.navbar .navbar-nav > li {
        width: fit-content;
        padding: 0;
        margin: 0;
    }

    .header-nav {
        height: 34px;
        margin-top: 16px;
        margin-bottom: 8px;
    }
}

@media (max-width: 991px) {
    /*.mob-heading-sub {
        z-index: 2;
    }

    .open > .d-ssm .s-name {
        display: none;
    }*/
}

@media (max-width: 767px) {
    .ss-h {
        margin-bottom: 4px;
    }
    .mob-heading-sub {
        cursor: pointer;
        font-size: 24px;
        margin-bottom: 8px;
    }

    .d-sm {
        left: 100px;
        height: calc(100% - 75px);
        padding-top: 52px;
        position: fixed;
        right: 0;
        top: 75px;
        overflow: auto;
        width: auto;
    }

    .d-sm > li {
        padding: 10px 12px 10px 39px;
        height: auto;
    }

    .dropdown-menu.d-sm {
        width: auto;
    }
    .open > .d-sm {
        left: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding-left: 0;
        z-index: 1;
    }

    /*.d-sm .l-ssm__block {
        margin-top: 12px;
        height: calc(100% - 60px);
    }

    .d-sm .l-ssm__block li.l-ssm {
        padding: 0;
    }*/

    .d-ssm p {
        margin-bottom: 25px;
    }

    .d-ssm {
        position: fixed;
        top: 46px;
        width: 100%;
        background: #fff;
    }

    .l-ssm.open > .d-ssm {
        left: 0;
        z-index: 2;
    }

    .l-ssm i.ssm-hr {
        margin: 6px 0 0 30px;
    }
}

@media (max-width: 667px){

    .megamenu{
        width: 100%;
        top: 112px;
        height: Calc(100vh - 188px);
    }

    .megamenu-inner{
        width: 100%;
        height: 100%;
        padding: 24px 3px 24px 0;
        box-shadow: 0 -4px 5px rgba(39, 110, 241, 0.14), 0 -1px 10px rgba(39, 110, 241, 0.12), 0 -2px 4px rgba(39, 110, 241, 0.2);
        border-radius: 12px 12px 0 0;
        left: 0 !important;
        -webkit-transform: translateY(130%);
        -moz-transform: translateY(130%);
        -ms-transform: translateY(130%);
        -o-transform: translateY(130%);
        transform: translateY(130%);
    }

    .megamenu.open .megamenu-inner{
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    .megamenu-top{
        padding: 8px 16px;
        font-size: 20px;
        line-height: 28px;
    }

    .tablet-menu .header-links__item i:before{
        color: #276ef1;
    }

    .mob-form-city .city-block i[class*='nir-']:before{
        color: #5b91f5;
    }

    #mobPanel.nir-long-arrow, .d-ssm .mCSB_container .s-name{
        padding: 8px 24px;
        margin-bottom: 0;
        font-size: 20px;
        line-height: 28px;
    }

    #mobPanel.nir-long-arrow:before, .d-ssm .mCSB_container .s-name:before{
        margin-right: 12px;
    }

    .ssm{
        padding-left: 40px;
        margin-bottom: 24px;
    }

    .ssm a{
        font-weight: 400;
    }

}

