.header-flexible li.nav-item a span[class^='icon'] {
    margin-right: 10px;
}
.header-flexible .top-header-menu-container ul li>ul li a {color: #fff !important; font-weight: normal;}
.header-flexible .top-header-menu-container ul li>ul li a span[class^="icon-"] {
    background: #fff !important;
}
    .headerright_mb p.user-name {
        display: inline-block !important;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 100px;
    }
    .headerright_mb p.user-role {
        display: inline-block !important;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 100px;
    }
.header-flexible a.nav-link {
    font-size: 1rem;
    line-height: 1.75;
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.header-flexible .top-header-menu-container ul li:hover>a {opacity: 1;}
.header-flexible ul.dropdown-menu li a {
    color: #fff;
}
.headerright_mb ul.user-menu li {
    padding-top: 0px;
    border: 0px;
    height: auto;
}
.headerright_mb ul.user-menu li a {
    line-height: inherit;
}

.header-flexible ul li.current-menu-item a, .header-flexible ul li.current-menu-ancestor a {
color: #d5001c;
font-weight: bold;
}
.header-flexible ul li.current-menu-item a span[class^="icon-"], .header-flexible ul li.current-menu-ancestor a span[class^="icon-"] {
background: #d5001c;
}


.header-flexible .navbar-toggler {
    padding: 2px 5px;
    background: #e4e4e4;
}

.header-flexible ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #222427;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 185px;
}

.header-flexible .dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #d5001c;
}

.header-flexible .navbar-nav .nav-link {
    margin-right: 28px;
}

.header-flexible .dropdown-toggle::after {
    display: none;
}

.header-flexible ul.user-menu {
    display: none;
}

.header-flexible ul.user-menu li {
    margin-right: 0px;
}

.header-flexible .navbar-expand-lg {
    padding: 0px;
}

.header-flexible .navbar-toggler-icon {
    background: url('../img/header-menu.svg');
    background-size: 90%;
    background-repeat: no-repeat;
}

.header-flexible .navbar-toggler-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
}


.header-flexible {
    background: #222427;
}

.header-flexible .navbar {
    padding: 0px;
}


@media (max-width:1199px) {
    .header-flexible .container {
        max-width: 100%;
    }

    .top-header-menu-container ul li a {
        font-size: 14px;
    }
}

@media (max-width:1023px) {
    .top-header-menu-container ul li a span[class^='icon'] {
        display: none;
    }

    .top-header-menu-container ul li a {
        font-size: 14px;
    }

    .top-header-menu-container ul li {
        margin-right: 15px;
    }
}

@media (max-width:800px) {
    .header-flexible .container {
        padding: 0px;
    }


}


@media (max-width:767px) {
    .header-notify {
        margin-right: 5px;
    }

    .headerright_mb {
        position: fixed;
        top: 0;
        right: 0px;
        z-index: 9;
    }

    .top-header-menu-container ul li {
        z-index: auto;
    }

    .top-header-menu-container ul li>ul {
        z-index: 3;
    }

    .top-header-menu-container ul li:hover>ul li>ul {
        left: 40%;
        top: 50px;
    }

    .header-flexible {
        padding: 3px;
    }

    .top-header-menu-container ul li>ul {
        left: 60px;
        background: #191a1c;
    }

    .top-header-menu-container ul li a span[class^='icon'] {
        display: block;
    }
    
    .header-flexible .navbar {
        padding: 5px;
    }
    
    .header-flexible button:focus {
        outline: none;
    }


}

@media (min-width:768px) {
    .header-flexible ul li.current-menu-item, .header-flexible ul li.current-menu-ancestor {
    border-bottom-color: #d5001c;
    }
}