
/* top-header */
.top-header {
    padding: 5px 0 0;
    position: fixed;
    width: 100%;
    z-index: 9;
    top: 0;
    background: #fff;
}
.top_header_inner{
    display: flex;
    justify-content:space-between;
}
.top_header_inner .top_header_left{
    display: flex;
    align-items: center;
}
.top_header_inner .top_header_right{
    display: flex;
    align-items: center;
}
.top_header_inner .top_header_left .module_image {
    padding: 0 25px;
}
.all_module svg  {
    width: 20px;
    transition: all .2s ease;
}
.all_module svg:hover {
    fill: #727E8C;
}
/* menu-module */
.all_module{
    position: relative;
}
.box-items .box_module .name {
    font-size: 13px;
    font-weight: 500;
    color: var(--grey);
    font-family: var(--medium);
}
.all_module .box-items{
    display: flex;
    flex-wrap: wrap;
}
.top_header_left .module_name{
    font-size: 13px;
    margin-left: 20px;
    color: var(--black);
    font-family: var(--medium);
    font-weight: 500;
}
.box-items .box_module {
    width: calc((100% - 60px)/3);
    padding: 6px;
    height: 66px;
    text-align: center;
    transition: 0.2s ease-in;
    margin: 9px;
    color: var(--black);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    background: #f9f9f9;
}
.noti-bar i{
    color: #000;
    font-size: 20px;
}
.box-items .box_module:hover {
    background: #ebf4fe;
    text-decoration: none !important;
    color: var(--black);
}
.dropdown-toggle::after{
    display: none !important;
}
/* Search css */
.searchbar{
    position: relative;
}
.search_icon{
    cursor: pointer;
}
.togglesearch .text_field{
    height: 36px;
    padding: 5px 12px;
    border: 1px solid #ccc;
}
.togglesearch .text_field:focus{
    outline: none;
}
.togglesearch {
    display: none;
    position: absolute;
    right: -7px;
}
/* notification */
.notification_list{
    position: relative;
}
.notification_menu{
    display: none;
    width: 280px;
    position: absolute;
    right: 0;
    top: 40px;
    border-radius: 5px;
    height: 260px;
    overflow-y: scroll;
    background: #fff;
    box-shadow: rgb(17 12 46 / 15%) 0px 48px 100px 0px;
    z-index: 2;
}
.notification_menu::-webkit-scrollbar{
    background-color: #fff;
    width: 3px;
}
.notification_menu::-webkit-scrollbar-thumb{
    background-color: var(--grey);
    border-radius: 10px;
    border: 3px solid #ccc;
}
a.dropdown-toggle .fa{
    color: var(--black);
    font-size: 23px;
}
.noti-bar{
    margin: 0 30px;
}
.notification_bar{
    padding: 0;
}
.notification_bar li{
    list-style: none;
}
.notification_bar .noti_headbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    background: #f1f5f7;
}
.notification_bar .noti_headbar .notification-title{
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    font-family: var(--medium);
}
.notification_bar .media-list {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px;
    transition: all .3s ease;
    position: relative;
}
.notification_bar .media-list:hover:before {
    content: "";
    background: #29aae3;
    height: 100%;
    width: 3px;
    position: absolute;
    left: 0;
    top: 0;
}
.notification_bar .media-list:hover {
    background: #f5f5f5;
}
.notification_bar .media-list .noti-heading {
    font-size: 13px;
    transition: all .3s ease;
    color: var(--black);
    font-weight: 500;
    font-family: var(--regular);
}
/* .notification_bar .media-list:hover .noti-heading {
    color: var(--black);
} */
.media-list .notification-text{
    color: var(--grey);
    font-family: var(--regular);
}
.noti-bar i.far.fa-bell{
    position: relative;
    transition: all .2s ease;
}
.noti-bar i.far.fa-bell:hover{
    color: var(--grey);
}
span.noti_num {
    position: absolute;
    left: 7px;
    top: -9px;
    font-size: 11px;
    font-family: monospace;
    background: #C94350;
    color: #fff;
    height: 17px;
    width: 17px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* user-bar */
.user_area{
    position: relative;
}
.user_area .user_menu {
    display: none;
    position: absolute;
    right: 0;
    width: 170px;
    padding: 10px 14px 5px;
    box-shadow: rgb(17 12 46 / 15%) 0px 48px 100px 0px;
    background: #fff;
    z-index: 2;
}
.user_menu .user_bar {
    padding: 0;
}
.user_menu .user_bar li {
    list-style: none;
    margin: 8px 0;
}
.user_menu li {
    list-style: none;
}
 img.user_img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.module_bar_menu{
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 6px;
    width: 360px;
    max-height: 280px;
    overflow-y: scroll;
    top: 0px;
    left: 40px;
    box-shadow: rgb(17 12 46 / 15%) 0px 48px 100px 0px;
    padding: 15px;
    z-index: 9;
    border: 1px solid #ccc;
    scrollbar-color: #000;
    scrollbar-width: thin;
}
.module_bar_menu::-webkit-scrollbar{
    background-color: #fff;
    width: 5px;

}
 .module_bar_menu::-webkit-scrollbar-thumb{
    border-radius: 24px;
    border: 3px solid #D6D6D6;
}
.user-bar{
    position: relative;
}
.user-bar .dropdown-toggle{
    cursor: pointer;
}
.user-bar img.user_img {
    width: 50px;
}
.user-bar .dropdown.user {
    display: none;
    position: absolute;
    right: 0;
    width: 160px;
    padding: 10px 23px 5px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    background: #fff;
    z-index: 2;
}
.dropdown.user .user_bar {
    padding: 0;
}
.dropdown.user .user_bar li {
    list-style: none;
    margin: 8px 0;
} 
.dropdown.user .user_bar li .user_ln:hover span {
    color: var(--black);
} 
.user_bar .user_ln{
    display: flex;
    align-items: center;
    font-family: var(--regular);
}
.user_bar .user_ln span {
    font-size: 13px;
    padding-left: 20px;
    color: var(--grey);
}
.user_icon{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.user_icon .user_name{
    font-size: 13px;
    margin: 0 8px;
    font-weight: 500;
    color: var(--black);
    font-family: var(--medium);
}
.user_icon .fa-angle-down:before {
    content: "\f107";
    color: var(--grey);
}
/* Navigation menu */
.menu-toggle li.active{
    position: relative;
}
.menu-toggle li.active:after {
    content: "";
    background: #29aae3;
    height: 3px;
    width: 90%;
    position: absolute;
    left: 0;
    bottom: 0;
}
a.menu_link {
    position: relative;
}
a.menu_link.active {
    position: relative;
    z-index: 1;
}
a.menu_link.active::after {
    content: "";
    position: absolute;
    width: 85%;
    height: 3px;
    background: #29aae3;
    bottom: 0;
    z-index: -1;
    left: 0;
}
a.menu_link::after {
    transition: all .3s ease;
    content: "";
    width: 0;
    
}
a.menu_link:hover:after {
    content: "";
    position: absolute;
    width: 90%;
    height: 3px;
    background: #29aae3;
    bottom: 0;
    z-index: 1;
    left: 0;
}
i.fas.fa-chevron-down.down {
    font-size: 10px;
    margin-left: 5px;
}
.menu-toggle a.icon {
    display: none;
}
.main-menu {
    background: #29314c;
}
.sidebar-menu {
    display: flex;
    flex-direction: row;
    max-height: 100%;
    overflow: visible;
    margin-bottom: 0;
    padding: 0;
    margin-top: 5px;
}
.sidebar-menu li {
    list-style: none;
    position: relative;
    white-space: nowrap;
}
.sidebar-menu li.first a {
    font-size: 12px;
    line-height: 25px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 4px 25px 4px 0;
    font-family: var(--regular);
}
.sidebar-menu li.second a {
    padding: 2px 20px 2px 0;
}
.sidebar-menu .dropdowns {
    position: relative;
    z-index: 1;
}
.sidebar-menu .dropdowns ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -30px;
    opacity: 0;
    visibility: hidden;  
    overflow: visible;  
    min-width: 200px;  
}
.sidebar-menu .dropdowns:hover > ul { 
    top: 100%;
    left: 0;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    padding: 0;
    background: #29314c;
    box-shadow: 0px 15px 50px 0px rgb(82 63 105 / 15%);
}
.sidebar-menu .dropdowns:hover > ul.first_toggle { 
    transition-delay: 0.2s;
    transition-duration: 0.2s;
}
.sidebar-menu .dropdowns ul li {
    padding: 0 20px;
    position: relative;
    border-bottom: 1px solid #414a6a;
   /*  transition: all .1s ease; */
}
.sidebar-menu .dropdowns ul li:hover {
    background-color: #29aae3;
}
.dropdowns .multi_menu_r{
    position: relative;
}
.dropdowns .multi_menu_r .down_icon{
    font-size: 10px;
   position: absolute;
   right: -5px;
}
/* 2nd level dropdown */
.sidebar-menu .dropdowns .dropdowns:hover > ul {
    position: absolute;
    top: 0;
    left: 100% !important;
    right: auto;
    opacity: 1;
    visibility: visible;
}
.menu_link span {
    margin-left: 10px;
}
ul.second_toggle{
   left: auto !important;
}
/* mian content */
.content-section{
    padding-top: 100px;
}
/* content shadow box */
.content_box {
    background: #fff;
    box-shadow: rgb(0 0 0 / 10%) 0px 20px 40px 2px;
    padding: 15px;
    border-top: 1px dashed #ccc;
}
.noBorder {
    border: none;
}
body .notyf__icon .fa-warning {
    color: #fff !important;
}






@media only screen and (max-width: 991px) {
    .content-section {
        padding-top: 70px;
    }
    .menu-toggle li.active:after,a.menu_link:hover:after {
        height: 1px;
        width: 100%;
    }
    .dropdowns .multi_menu_r .down_icon{
        transform: rotate(90deg);
     }
    .sidebar-menu li.second {
        padding: 6px 20px 6px 0;
        border-bottom: 0.2px solid #d0d0d047;
    }
    .sidebar-menu li.third {
        padding: 6px 20px 6px 0;
        border-bottom: 0.2px solid #d0d0d047;
    }
    .sidebar-menu li.second:last-child,
    .sidebar-menu li.third:last-child {
        border-bottom: 0;
    }
    .sidebar-menu li.third a{
        position: relative;
    }
    .sidebar-menu li.third a:before{
        content: "";
        position: absolute;
        left: -18px;
        height: 1px;
        width: 8px;
        background: #fff;
    }
    a.menu_link.active::after {
        width: 100%;
        height: 1px;
       bottom: -1px;
    }
    .sidebar-menu .dropdowns ul {
        transition: none;
    }
    .main-menu a.icon {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
        left: 23px;
        color: var( --black);
    }
    .top_header_inner .top_header_left {
        padding-left: 45px;
    }
    .menu-toggle .sidebar-menu{
        display: none !important;
    }
    .menu-toggle.responsive .sidebar-menu{
        display: block !important;
    }
    .sidebar-menu .dropdowns ul li{
        background: transparent;
    }
    .sidebar-menu .dropdowns ul{
        display: none;
        position: initial;
        visibility: visible;
        opacity:1;
        padding-left: 10px;
    }
    .sidebar-menu li.second {
        margin: 4px 12px;
        position: relative;
    }
    .sidebar-menu li.second a:before {
        content: "";
        position: absolute;
    }
    .sidebar-menu li.third {
        margin: 5px 0 5px 15px;
    }
    .sidebar-menu li.first {
        border-bottom: 0.2px solid #d0d0d047;
    }
    .sidebar-menu .dropdowns .dropdowns:hover > ul {
        position: inherit;
        left: 0 !important;
        opacity: 1;
        visibility: visible;
    }
    .sidebar-menu .dropdowns ul li:hover{
        background-color: transparent;
    }
    ul.second_toggle {
        padding: 0 !important;
    }
    a.multi_menu.menu_link{
        position: relative;
    }
    a.multi_menu.menu_link .fa-chevron-down {
        position: absolute;
        right: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .all_module .module_bar_menu{
        top: 40px;
        left: 0;
    }
    .togglesearch .text_field{
       width: 100%;
    }
    .togglesearch {
        top: 33px;
        width: 273px;
        z-index: 2;
    }
    .top_header_inner {
        padding-bottom: 10px;
    }
    img.module_menu_img {
        margin-left: 12px;
    }
    img.logo_company {
        width: 28px;
    }
    .top_header_left .module_name {
        margin-left: 10px;
    }
    .main-menu a.icon {
        top: 14px;
        left: 15px;
    }
    .top_header_inner .top_header_left .module_image {
        padding: 0 15px;
    }
    .noti-bar {
        position: relative;
        margin: 0 20px;
    }
    .user-bar img.user_img {
        width: 30px;
    }
    img.module_img {
        width: 20px;
    }
    .top-header {
        padding: 15px 0;
    }
}   
@media only screen and (max-width: 575px) {
    .box-items .box_module .name {
        font-size: 12px;
    }
    .top_header_inner {
        padding-bottom: 2px;
    }
    img.user_img {
        width: 30px;
    }
    .user_icon .fa-angle-down{
        display: none;
    }
    .sidebar-menu li.first a{
        padding: 8px 20px 8px 0;
    }
    .sidebar-menu li.second,
    .sidebar-menu li.third{
        margin: 2px 12px;
    }
    .top_header_left .module_name {
        margin-left: 10px;
        font-size: 12px;
    }
    .top_header_inner .top_header_left .module_image {
        padding: 0 10px;
    }
    .search_icon {
        width: 15px;
    }
    a.dropdown-toggle .fa {
        font-size: 19px;
    }
    .user_icon .user_name {
        display: none;
    }
    .main-menu a.icon {
        top: 6px;
    }
    .top_header_inner .top_header_left {
        padding-left: 40px;
    }
    .user_bar .user_ln span {
        font-size: 13px;
    }
    .all_module .module_bar_menu {
        width: 300px;
        left: 0;    
        transform: translateX(-50%);
    }
    .notification_bar .media-list .noti-heading{
        font-size: 12px;
    }
    .media-list .notification-text {
        font-size: 12px;
    }    
}
  
@media only screen and (max-width: 370px) {
    .top_header_left .module_name {
        margin-left: 5px;
    }
    .top_header_left .logo {
        display: none;
    }
    .all_module .module_bar_menu{
        width: 260px;
    }
    .box-items .box_module {
        margin: 7px;
    }
    .notification_menu{
        right: -50px;
    }
    .togglesearch {
        right: -50%;
        transform: translateX(27%);
    }
}