
body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*.row {
    margin-right: 45px!important;
}*/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: #1e2e5f;
    z-index: 100;
    /*    transition: all 0.5s ease;*/
    /* border-radius: 3px; */
}

    .sidebar.close {
        width: 78px;
    }

    .sidebar .logo-details {
        height: 43px;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

        .sidebar .logo-details i {
            font-size: 30px;
            color: #fff;
            height: 50px;
            min-width: 78px;
            text-align: center;
            line-height: 50px;
        }

        .sidebar .logo-details .logo_name {
            font-size: 15px;
            color: #fff;
            font-weight: 600;
            transition: 0.3s ease;
            transition-delay: 0.1s;
        }

    .sidebar.close .logo-details .logo_name {
        transition-delay: 0s;
        opacity: 0;
        pointer-events: none;
    }

    .sidebar .nav-links {
        height: 100%;
        padding: 30px 0 150px 0;
        overflow: auto;
    }

    .sidebar.close .nav-links {
        overflow: visible;
    }

    .sidebar .nav-links::-webkit-scrollbar {
        display: none;
    }

    .sidebar .nav-links li {
        position: relative;
        list-style: none;
        transition: all 0.4s ease;
        color: #000;
    }

        /*  .sidebar .nav-links li:hover {
            background: #1d1b31;
        }*/

        .sidebar .nav-links li .iocn-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: black;
        }

    .sidebar.close .nav-links li .iocn-link {
        display: block;
    }


    .sidebar .nav-links li i {
        height: 50px;
        min-width: 78px;
        text-align: center;
        line-height: 50px;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        margin-left: -3px;
        transition: all 0.3s ease;
    }

    .sidebar .nav-links li.showMenu i.arrow {
        transform: rotate(-180deg);
    }

    .sidebar.close .nav-links i.arrow {
        display: none;
    }


    .sidebar .nav-links li a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

        .sidebar .nav-links li a .link_name {
            font-size: 18px;
            font-weight: 400;
            color: #fff;
            transition: all 0.4s ease;
            white-space: nowrap;
        }

    .sidebar.close .nav-links li a .link_name {
        opacity: 0;
        pointer-events: none;
    }

    .sidebar .nav-links li .sub-menu {
        padding: 13px 32px 4px 10px;
        margin-top: 0;
        background: #ffffff;
        display: none;
    }

    .sidebar .nav-links li.showMenu .sub-menu {
        display: block;
    }

    .sidebar .nav-links li .sub-menu a {
        color: #313035;
        font-size: 15px;
        padding: 5px 0;
        white-space: nowrap;
        text-shadow: none !important;
        padding-right: 15px;
        margin-bottom: 4px;
        margin-right: -31px;
        margin-left: -3px;
    }



    .sidebar .nav-links .sub-menu a#active {
        opacity: 1;
        background-color: #9baeda;
        box-shadow: -7px 0px 0px 0px rgba(42,111,229,255);
    }

    .sidebar .nav-links li .sub-menu a:hover {
        opacity: 1;
        background-color: #bdd4e5;
        box-shadow: -7px 0px 0px 0px rgba(42,111,229,255);
    }





    .sidebar.close .nav-links li .sub-menu {
        position: absolute;
        right: 102%;
        top: -10px;
        margin-top: 0;
        padding: 10px 31px 0px 10px;
        border-radius: 3px 0 0 3px;
        opacity: 0;
        display: block;
        pointer-events: none;
        transition: 0s;
        box-shadow: 0 0 10px rgba(12, 12, 12, 0.73);
    }

    .sidebar.close .nav-links li:hover .sub-menu {
        top: 0;
        opacity: 1;
        pointer-events: auto;
        transition: all 0.4s ease;
    }

    .sidebar .nav-links li .sub-menu .link_name {
        display: none;
    }

    .sidebar.close .nav-links li .sub-menu .link_name {
        font-size: 18px;
        opacity: 1;
        display: block;
    }

    .sidebar .nav-links li .sub-menu.blank {
        opacity: 1;
        pointer-events: auto;
        padding: 3px 20px 6px 16px;
        opacity: 0;
        pointer-events: none;
    }

    .sidebar .nav-links li:hover .sub-menu.blank {
        top: 50%;
        transform: translateY(-50%);
    }

.home-content .profile-details {
    position: fixed;
    /* bottom: 43px; */
    left: -180px;
    width: 260px;
    display: flex;
    top: -5px;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 10px 9px;
    transition: all 0.1s ease;
    font-size: 12px;
    /* box-shadow: 5px 0px 5px 1px rgb(0 0 0 / 35%); */ /* Add subtle shadow */
}



    .home-content .profile-details .profile-content {
        display: flex;
        align-items: center;
    }

    .home-content .profile-details img {
        height: 45px;
        width: 45px;
        object-fit: cover;
        border-radius: 30px;
        margin: 2px 2px 1px 2px;
        background: transparent;
        transition: all 0.5s ease;
    }



    .home-content .profile-details .profile_name,
    .home-content .profile-details .job {
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
        cursor: pointer;
    }


    .home-content .profile-details .job {
        font-size: 12px;
    }

.home-section {
    position: relative;
    background: #394d89;
    height: 59px !important;
    right: 250px;
    width: calc(100% - 236px);
    /*    transition: all 0.5s ease;*/
    padding: 12px;
    /* margin-bottom: 10px; */
    margin-top: -5px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar.close ~ .home-section {
    right: 71px;
    width: calc(100% - 51px);
}

.home-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* transform: translate(0px, -14px);*/
    position: absolute;
    top: -1px;
}

.home-section .home-content .bx-menu,
.home-section .home-content .text {
    color: #fff;
    font-size: 35px;
}

.home-section .home-content .bx-menu {
    cursor: pointer;
    margin-right: 10px;
}

.home-section .home-content .text {
    font-size: 26px;
    font-weight: 600;
}

@media screen and (max-width: 400px) {
    .sidebar {
        width: 240px;
    }

        .sidebar.close {
            width: 78px;
        }

        .sidebar .profile-details {
            width: 240px;
        }

        .sidebar.close .profile-details {
            background: none;
        }

        .sidebar.close .profile-details {
            width: 78px;
        }

    .home-section {
        right: 240px;
        width: calc(100% - 240px);
    }

    .sidebar.close ~ .home-section {
        right: 78px;
        width: calc(100% - 78px);
    }

    .sub-menu .active {
        background-color: #7692BC;
    }
}

.link .active {
    background-color: #7692BC;
}

.profile-details {
    display: inline-block;
    position: relative;
    z-index: 1050;
    /*    box-shadow: 0px 2px 0px 0px rgb(212 219 231);*/
}

.profile-content {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

#profileImage {
    border-radius: 50%;
    transition: transform 0.3s ease-out;
}

    #profileImage:hover {
        transform: scale(1.1);
    }





#profileImage {
    border-radius: 50%;
}
/*.profileImageWrapper {
    width: 66px;
    height: 66px;
    overflow: hidden;
    transform: translate(29px, 8px);
}*/
#profileImage {
    border-radius: 50%;
    transition: transform 0.3s ease;
    background-color: #339966;
    padding: 3px;
}
    /*#profileImage {
    border-radius: 50%;
    transition: transform 0.3s ease;
    width: 79%;
    height: 79%;
    background-color: #339966;
    padding: 3px;
}*/


    #profileImage:hover {
        transform: scale(1.1);
    }

.dropdown-menu {
    position: absolute !important;
    z-index: 1060 !important;
    top: 2px !important;
    left: -4% !important;
    box-shadow: 0 4px 8px rgb(0 0 0 / 18%) !important;
}


#profileName {
    margin-left: 131px;
}



.dropdown-item:focus, .dropdown-item:active, .dropdown-item:hover {
    text-decoration: none;
    background-color: #F9F9F9;
    color: #313035;
    border-radius: 5px;
}

a#dropdownLanguage {
    margin-right: 10px !important;
}

i.bx.bx-message-square-dots {
    transform: translate(7px, 4px) !important;
    font-size: 17px !important;
}


/*.btn:not(:disabled):not(.disabled) {
    transform: translate(-9px, 0px);
}*/

/*.sidebar .nav-links li a .link_name:hover {
    color: #000;
}

.sidebar .nav-links li a .link_name:active {
    color: #000;
}
 
.sidebar .nav-links li i:active {
    color: #000000;
}
.sidebar .nav-links li i:hover {
    color: #000000;
}*/
.sidebar .nav-links li .iocn-link:hover {
    background-color: #263D86;
}

.sidebar .nav-links .iocn-link#active {
    background-color: #263D86;
}
/*.dxgvSearchPanel_MaterialCompact .dxeButtonEdit_MaterialCompact td.dxic {
    padding: 16px 12px 14px 102px!important;
}*/
.close {
    opacity: 1 !important;
}


.profile-details2 {
    display: inline-block;
    position: relative;
    z-index: 1050;
    box-shadow: 0px 2px 0px 0px rgb(212 219 231);
    width: 99.9%;
}

.custom-size {
    overflow-x: auto !important;
    max-height: 90vh !important;
    margin-right: 257px !important;
    transition: margin-right;
    height: 89vh;
    margin-left: -4px;
}

    .custom-size.closed {
        margin-right: 74px !important;
    }

    .custom-size::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 10px;
        border: 2px solid #f0f0f0;
        transition: all 0.3s ease;
    }

        .custom-size::-webkit-scrollbar-thumb:hover {
            background: #555;
            border: 1px solid #f0f0f0;
        }

/* For Firefox */
.custom-size {
    scrollbar-width: thin;
    scrollbar-color: #233B83 #f0f0f0;
}

/* For Edge and IE */
.custom-size {
    -ms-overflow-style: none;
}

    .custom-size::-ms-scrollbar-track {
        background: #f0f0f0;
    }

    .custom-size::-ms-scrollbar-thumb {
        background-color: #888;
        border: 2px solid #f0f0f0;
    }

div#sub_dropdown {
    top: -64px !important;
    left: 68% !important;
}



.profile-name {
    position: relative;
    cursor: help;
    color: #fff;
}

    .profile-name::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -210%;
        left: 100%;
        transform: translateX(-20%);
        padding: 5px 10px;
        background-color: #339966;
        color: #fff;
        border-radius: 4px;
        font-size: 0.8rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .profile-name:hover::after {
        opacity: 1;
        visibility: visible;
    }

    .profile-name[data-tooltip^="@shortenedName"]::after {
        display: none;
    }

.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 200px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.language-icon {
    height: 30px !important;
    width: 30px !important;
    border-radius: 0px !important;
    padding: 2px !important;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: baseline;
    flex-direction: column-reverse;
    align-content: space-between;
}

    .icon-wrapper .ripple {
        position: absolute;
        border-radius: 50%;
        background: rgb(255 254 254 / 37%);
        transform: scale(0);
        animation: ripple-animation 0.6s linear;
    }

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.icon-wrapper i {
    font-size: 24px;
}

.dropdown-divider {
    border-top: 1px solid #e0e0e0;
    margin: 5px 0;
}

.profileImageWrapper {
    position: relative;
    display: inline-block;
}

.ripple-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

.hover-title {
    position: absolute;
    background-color: #339966;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
}

.profileImageWrapper:hover .hover-title {
    opacity: 1;
}

.dropdown-item .hover-title {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

@media (max-width: 500px), (max-height: 0px) {
    .custom-size {
        max-height: 100vh !important;
        height: 91vh !important;
    }
}