/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}






.img-company {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 7px;
    /*margin: 0px 0px 0px 17px;*/
    background: var(--color-fondo-inbox);
    transition: all 0.5s ease;
    /* padding: 4px;*/
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    /*width: 260px;*/
    width: 365px;
    /*    padding: 10px 14px;*/
    background: white; /*color de fondo*/
    z-index: 100;
    transition: all 0.5s ease;
}


    .sidebar header .image,
    .sidebar .icon {
        min-width: 60px;
        border-radius: 6px;
    }


    .sidebar header {
        position: relative;
    }

        .sidebar header .image-text {
            display: flex;
            align-items: center;
        }

        .sidebar header .logo-text {
            display: flex;
            flex-direction: column;
        }


header .image-text .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .image-text .profession {
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sidebar header .image img {
        width: 40px;
        border-radius: 6px;
    }



.sidebar.close {
    width: 78px;
}

.sidebar .logo-details {
    /*padding: 16px;*/
    height: 113px;
    width: 98%;
    display: flex;
    align-items: center;
    /*background: var(--color-fondo-menu);*/
    margin: 2px 1px 3px 1px;
    border: 1px solid var(--color-principal) !important;
    border-radius: 0.3em;
}

    .sidebar .logo-details i {
        font-size: 30px;
        color: #fff;
        height: 50px;
        min-width: 78px;
        text-align: center;
        line-height: 50px;
        margin-left: 10px;
    }

    .sidebar .logo-details .logo_name {
        font-size: 22px;
        color: #fff;
        font-weight: 600;
        transition: 0.3s ease;
        transition-delay: 0.1s;
        margin-left: 10px;
    }

.sidebar.close .logo-details .logo_name {
    transition-delay: 0s;
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links {
    height: 100%;
    padding: 5px 0 62px 1px;
    /*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;
}

    .sidebar .nav-links li:hover {
        background: #fff;
        border: 1px solid #ddd;
        /*border-style: solid;*/
        border-width: thin;
        border-color: #ddd;
    }

    .sidebar .nav-links li .iocn-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.sidebar.close .nav-links li .iocn-link {
    display: block
}

.sidebar .nav-links li i {
    height: 50px;
    min-width: 118px;
    text-align: center;
    line-height: 50px;
    color: black;
    font-size: 20px;
    cursor: pointer;
    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: 12px;
        font-weight: 200;
        color: black;
        transition: all 0.4s ease;
    }

.sidebar.close .nav-links li a .link_name {
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
    padding: 6px 6px 14px 80px;
    margin-top: 0px;
    background: white;
    display: none;
    border: 2px solid #ddd;
    border-radius: 0.3em;
}

.sidebar .nav-links li.showMenu .sub-menu {
    display: block;
}

.sidebar .nav-links li .sub-menu a {
    color: black !important;
    font-size: 12px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 0.6;
    transition: all 0.3s ease;
}

    .sidebar .nav-links li .sub-menu a:hover {
        opacity: 1;
    }

.sidebar.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin: 0px 0px 0px 3px;
    padding: 3px 3px 3px 3px;
    border: 1px solid black;
    border-radius: 0.3em;
    opacity: 0;
    display: block;
    pointer-events: none;
    transition: 0s;
}

.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%);
}

.sidebar .profile-details {
    position: fixed;
    bottom: 0;
    width: 365px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1d1b31;
    padding: 12px 0;
    transition: all 0.5s ease;
    color: white;
}

.sidebar.close .profile-details {
    background: none;
}

.sidebar.close .profile-details {
    width: 78px;
}

.sidebar .profile-details .profile-content {
    display: flex;
    align-items: center;
}

.sidebar .profile-details img {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 14px 0 12px;
    background: #1d1b31;
    transition: all 0.5s ease;
}

.sidebar.close .profile-details img {
    padding: 10px;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
    display: none;
}

.sidebar .profile-details .job {
    font-size: 12px;
}



.sidebar.close .toggle {
    transform: translateY(-50%) rotate(0deg);
}

.home-section {
    /* position: relative;
    background: #E4E9F7;
    height: 100vh;
    left: 260px;
    width: calc(100% - 260px);
    transition: all 0.5s ease;*/
    position: relative;
    top: 0;
    top: 0;
    left: 355px;
    height: 100vh;
    width: calc(100% - 365px);
    background-color: white;
    transition: all 0.5s ease;
}

.home .text {
    font-size: 30px;
    font-weight: 500;
    color: #707070;
    padding: 12px 60px;
}



.sidebar.close ~ .home-section {
    left: 122px;
    height: 100vh;
    width: calc(100% - 122px);
}

.sidebar header .toggle {
    position: absolute;
    top: 50%;
    right: -11px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px !important;
    width: 25px !important;
    background-color: var(--color-fondo-inbox);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    /*    min-width: 30px !important;*/
}

body.dark .sidebar header .toggle {
    color: var(--text-color);
}



.sidebar.close {
    /*width: 88px;*/
    width: 130px;
    z-index: 99999;
}



.home-section .home-content {
    height: 60px;
    display: flex;
    align-items: center;
    background: var(--color-fondo-inbox);
    border: 1px solid var(--color-principal) !important;
    border-radius: 0.3em;
}

    .home-section .home-content .bx-menu,
    .home-section .home-content .text {
        color: white;
        font-size: 35px;
    }

    .home-section .home-content .bx-menu {
        margin: 0 15px;
        cursor: pointer;
    }

    .home-section .home-content .text {
        font-size: 26px;
        font-weight: 600;
    }

@media (max-width: 420px) {
    .sidebar.close .nav-links li .sub-menu {
        display: none;
    }
}


.sidebar.close ~ .home {
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}
