/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #181c32;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

    #spinner.show {
        transition: opacity .5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }


/*** Button ***/
.btn {
    transition: .5s;
}

    .btn.btn-primary {
        color: #FFFFFF;
    }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.navbar-light .navbar-brand {
    width: 228px;
}

/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0px;
    left: 0;
    bottom: 0;
    width: 250px;
    background: #FFFFFF;
    transition: 0.5s;
    z-index: 999;
    box-shadow: 0 3px 3px -2px rgba(39,44,51,.1), 0 3px 4px 0 rgba(39,44,51,.04), 0 1px 8px 0 rgba(39,44,51,.02);
}

/*.sidebar .navbar {
    padding-top: 1rem;
}
*/
.dnblerp_navbar_scroll {
    height: calc(94vh - 20px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--kt-scrollbar-color) transparent;
    align-content: start;
}

@-moz-document url-prefix() {
    .dnblerp_navbar_scroll {
        scrollbar-color: #D3D3D3 white;
        scrollbar-width: thin;
    }
}

.dnblerp_navbar_scroll::-webkit-scrollbar-thumb {
    background: #D3D3D3;
    border-radius: 100px;
    margin-right: 30px !important;
    border: 0.1px solid #B4B5B6;
    width: 10px !important;
    height: 10px;
}

.dnblerp_navbar_scroll::-webkit-scrollbar {
    width: 10px;
    border-radius: 100px;
    height: 0px;
    margin-right: 30px !important;
}

.dnblerp_navbar_scroll .navbar-nav {
    padding-top: 10px;
}

.content {
    margin-left: 250px;
    /* min-height: 100vh;*/
    background: #f5f7fa;
    transition: 0.5s;
}


.logo-custom-size {
    width: 170px;
    height: 23px;
}

@media (min-width: 1024px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 5px 14px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
    height: auto;
    font-size: 14px;
    height: 46px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-nav-link {
    position: relative;
    padding: 5px 10px 5px 0px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
    height: auto;
    font-size: 14px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active{
    color: #FFFFFF;
    background: #181c32;
    border-color: var(--primary);
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: rgb(24, 28, 50) !important;
    background-color: rgb(239, 242, 245) !important;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link .menu_icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    background: #181c32;
    border-radius: 40px;
}


/*.sub-nav-link .menu_icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    background: #181c32;
    border-radius: 40px;
}*/

.sidebar .navbar .navbar-nav .nav-link:hover .menu_icon, .sub-nav-link:hover .menu_icon,
.sidebar .navbar .navbar-nav .nav-link.active .menu_icon, .sub-nav-link.active .menu_icon{
    color: #181c32;
    background: var(--light);
}

.sidebar .navbar .navbar-nav .nav-link img, .sub-nav-link img{
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #181c32;
    border-radius: 40px;
}

.sidebar-menu .first-menu .list-group-item .icon {
    color: #ffffff;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    width: 50px;
    height: 50px px;
    line-height: 50px;
    border-radius: 20px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sidebar-menu .first-menu .list-group-item .icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(to bottom, #1765fd, #4fcb8d);
    z-index: -1;
    border-radius: 20px;
    transition: all ease 0.5s;
    opacity: 0;
}

.sidebar .navbar .navbar-nav .nav-link:hover img, .sub-nav-link:hover img,
.sidebar .navbar .navbar-nav .nav-link.active img, .sub-nav-link.active img{
    color: #181c32;
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    /*top: 15px;*/
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    padding: 8px 6px 8px 8px;
    font-size: 14px;
}

.content .navbar .navbar-nav .nav-link, .sub-nav-link {
    /*margin-left: 10px;
    padding: 12px 0;*/
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
}

/*.top-header {
    box-shadow: 0 6px 6px -3px rgba(39,44,51,.1), 0 10px 14px 1px rgba(39,44,51,.04), 0 4px 18px 3px rgba(39,44,51,.02);
}*/

.navbar .sidebar-toggler,
.navbar .navbar-nav .nav-link .menu_icon{
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--dark);
    border-radius: 40px;
}

.sub-nav-link .menu_icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--dark);
    border-radius: 40px;
}
.sub-nav-link-name {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    /*content: "\f107";*/
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar-toggler .left_arrow {
    display: none;
}
.navbar .right_arrow .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.htmlCss-sub-menuItem.sub-menu {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    transition: padding 300ms;
    padding: 0rem 0 0 2.8rem;
    box-shadow: none;
}

.htmlCss-sub-menuItem:before {
    content: '';
    opacity: 0;
    transition: opacity 300ms;
    height: 100%;
    opacity: 1;
    width: 3px;
    background: #ccc;
    position: absolute;
    left: 33px;
    top: 0;
    border-radius: 15px;
}

.sub-htmlCss-sub-menuItem{
    display: none;
}

.sub-htmlCss-sub-menuItem.nested-sub-menu {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    transition: padding 300ms;
    /*padding: 0rem 0 0 .1rem;*/
    box-shadow: none;
}

/*.sub-htmlCss-sub-menuItem:before {
    content: '';
    opacity: 0;
    transition: opacity 300ms;
    height: 100%;
    opacity: 1;
    width: 3px;
    background: #ccc;
    position: absolute;
    left: 20px;
    top: 0;
    border-radius: 15px;
}*/

.subnav_dropdown_item {
    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    white-space: normal;
    background-color: transparent;
    border-radius: 0 30px 30px 0;
    padding: 8px 6px 8px 14px;
    font-size: 14px;
    border-left: 3px solid var(--light);
}

.subnav_dropdown_item:hover {
    color: #181c32;
    background-color: #eff2f5;
    border-color: var(--primary);
}

.nested_subnav_item {
    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    white-space: normal;
    background-color: transparent;
    border-radius: 0 30px 30px 0;
    padding: 8px 6px 8px 28px;
    font-size: 14px;
    border-left: 3px solid var(--light);
}

.nested_subnav_item:hover {
    color: #181c32;
    background-color: #eff2f5;
    border-color: var(--primary);
}

/*.htmlCss-sub-menuItem li {
    color: #6c757d;
    height: 2rem;
    line-height: 2rem;
    padding: 0 1.5rem;
}*/
.htmlCss-sub-menuItem li a {
    position: relative;
    white-space: nowrap;
    font-weight: 600;
    align-items: flex-start;
    border-radius: 5px;
    color: #2c2c2c;
    cursor: pointer;
    display: flex;
    justify-content: left;
    line-height: 1.5;
    margin: 0;
    padding: 8px 10px;
    text-decoration: none;
    transition: background .2s;
}

.htmlCss-sub-menuItem li a:hover {
    color: #3f6ad8;
    background: #e6e6e6;
}

.htmlCss-sub-menuItem {
    display: none;
    /*transition: all 2s ease-in-out;*/
}
.htmlCss-sub-menuItem.sub-menu-active {
    display: block;
    transition: all 2s ease-in-out;
}

.sub-htmlCss-sub-menuItem.nested-sub-menu-active {
    display: block;
    transition: all 2s ease-in-out;
}

.vertical-nav-menu li.active .htmlCss-sub-menuItem {
    display: block;
}

.notification_dropdown_menu {
    border-radius: 5px;
    background-color: #FFFFFF;
    will-change: transform, opacity;
    min-width: 300px;
    overflow: auto;
    padding: 0;
    box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024, 0 3px 14px 2px #0000001f;
}

.notification-header {
    padding: 20px;
    background-color: #dae1f3;
    border-radius: 5px 5px 0 0;
}

.notification-header h5 {
    color: var(--dark);
    font-size: 1.25rem;
}

.notification-header .notification-mark-as-read {
    display: block;
    text-align: right;
    color: var(--dark);
    float: right;
    width: 100%;
    font-size: 12px !important;
    cursor: pointer;
}

.notification-card_body{

}

.notification-card_body_item {
    position: relative;
    cursor: pointer;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    color: inherit;
    font-size: inherit;
    background: none;
    align-items: center;
    min-height: 48px;
    padding: 11px;
    text-decoration: none;
    transition: .5s;
    float: left;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.notification-footer {
    line-height: 50px;
    cursor: pointer;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, .15);
}


.profileSetting_menu {
    border-radius: 5px;
    background-color: #FFFFFF;
    will-change: transform, opacity;
    overflow: auto;
    padding: 0;
    box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024, 0 3px 14px 2px #0000001f;
}

.profileSetting_menu a {
    padding: 8px 12px;
    color: var(--dark);
    display: flex;
    gap: 4px;
}

.profileSetting_menu a i{
    width: 24px;
    line-height: 20px;
}

.sidebar-toggler .icofont-bubble-right:before {
    content: "\ea64";
}

@media (max-width: 1024px) {
    .navbar-brand {
        display: none !important;
    }

    .sidebar {
        top: 53px;
    }
}

/*.dnblerp-body-section {
    margin-left: 250px;
    min-height: 100vh;
    background: #f5f7fa;
    transition: 0.5s;
}*/
.dnblerp-body-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 0px 15px 20px;
}

.dnblerp-body-section {
    background-color: #ffffff;
    border: 1px solid #ebf1ff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.031372549);
    /*padding: 20px;
    border-radius: 10px !important;*/
}


.DnblEEP_app-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    position: relative;
    display: flex;
    height: 100vh;
    flex-direction: column;
    margin: 0;
    background: #f5f7fa;
}

.app-main {
    /*flex: 1;
    display: flex;
    z-index: 0;
    position: relative;*/
    padding-top: 54px;
}


.button-effect::after {
    background: rgba(111,148,182,0.2);
}

.button--click::after {
    animation: effect 0.3s forwards;
}

@keyframes effect {
    0% {
        transform: scale3d(0.3, 0.3, 1);
    }

    25%, 50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale3d(1.2, 1.2, 1);
    }
}