@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    position: fixed;
    top: 72px;
    left: 0;
    height: calc(100% - 110px);
    width: 78px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 7px 60px #00000029;
    padding: 6px 14px;
    transition: all 0.5s ease;
    z-index: 1;
    overflow: scroll;
}

    .sidebar.active {
        width: 240px;
    }

    .sidebar .logo_content .logo {
        color: #fff;
        display: flex;
        height: 50px;
        width: 100%;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s ease;
    }

.sidebar-option.active {
    width: 250px;
    background: #fff;
}

    .sidebar-option.active span {
        opacity: 1;
    }

.logo_content .logo i {
    font-size: 28px;
    margin-right: 5px;
}

.sidebar.active .logo_content .logo {
    opacity: 1;
    pointer-events: none;
}

.logo_content .logo .logo_name {
    font-size: 20px;
    font-weight: 400;
}

.sidebar #btn {
    position: absolute;
    color: #000;
    left: 50%;
    top: 6px;
    font-size: 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateX(-45%);
    transition: all 0.5s ease;
}

.sidebar.active #btn {
    left: 90%;
    transition: all 0.5s ease;
}

.sidebar ul {
    margin-top: 0;
    padding-left: 0;
    margin-bottom: 35px;
}

    .sidebar ul li.item-menu-front {
        width: calc(100% + 28px);
        left: -14px;
        z-index: 2;
    }

    .sidebar ul li {
        position: relative;
        height: 45px;
        width: 100%;
        margin: 0;
        list-style: none;
    }

        .sidebar ul li input {
            position: absolute;
            height: 100%;
            width: 100%;
            left: 0;
            top: 0;
            border-radius: 12px;
            outline: none;
            border: none;
            background: #1d1b31;
            padding-left: 50px;
            font-size: 18px;
            color: #fff;
        }

        .sidebar ul li .bx-search {
            position: absolute;
            z-index: 99;
            color: #fff;
            font-size: 22px;
            transition: all 0.5s ease;
        }

            .sidebar ul li .bx-search:hover {
                background: #fff;
                color: #1d1b31;
            }

        .sidebar ul li a {
            color: #000;
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: all 0.5s ease;
            border-radius: 8px;
            white-space: nowrap;
        }

            .sidebar ul li a.active {
                border: 1px solid #70707033;
                box-shadow: 0px 10px 20px 5px #00000029;
            }

            .sidebar ul li a .bx-home-alt {
                color: #7764E4;
            }

            /*.sidebar ul li a .bx-home-alt:hover {
                color: #fff;
            }*/

            .sidebar ul li a .bxs-card {
                color: #F53C56;
            }

            .sidebar ul li a .bx-cog {
                color: #FB6340;
            }

            .sidebar ul li a .bx-package {
                color: #11CDEF;
            }

            .sidebar ul li a .bxs-bar-chart-alt-2 {
                color: #e8e30f;
            }

            .sidebar ul li a .bxs-calendar {
                color: #F53C56;
            }

            .sidebar ul li a .bx-user {
                color: #11CDEF;
            }

            .sidebar ul li a .bx-info-square {
                color: #141fde;
            }

            .sidebar ul li a .bx-log-in {
                color: #FB6340;
            }

            .sidebar ul li a:hover {
                box-shadow: 0px 10px 20px 5px #00000029;
            }

        .sidebar ul li i, .sidebar ul li svg {
            height: 45px;
            min-width: 50px;
            border-radius: 12px;
            line-height: 50px;
            font-size: 20px;
            margin-right: 10px;
            text-align: center;
        }

        .sidebar ul li svg {
            display: block;
            min-width: 20px;
        }

.sidebar .links_name {
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.sidebar.active .links_name {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.5s ease;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.sidebar .profile_content {
    position: absolute;
    color: #fff;
    bottom: 0;
    left: 0;
    width: 100%;
}

    .sidebar .profile_content .profile {
        position: relative;
        padding: 10px 6px;
        height: 60px;
        background: none;
        transition: all 0.4s ease;
    }

.sidebar.active .profile_content .profile {
    background: #1d1b31;
}

.sidebar .profile_content .profile .profile_details {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.sidebar.active .profile .profile_details {
    opacity: 1;
    pointer-events: auto;
}

.sidebar .profile_content .profile .profile_details img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 12px;
}

.sidebar .profile_content .profile .profile_details .name_job {
    margin-left: 10px;
}

.sidebar .profile_content .profile .profile_details .name {
    font-size: 15px;
    font-weight: 400;
}

.sidebar .profile_content .profile .profile_details .job {
    font-size: 12px;
}

.profile #log_out {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    min-width: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    background: #1d1b31;
}

.sidebar.active .profile #log_out {
    left: 88%;
}

.sidebar.active .profile #log_out {
    background: none;
}

.home_content {
    display: flex;
    position: relative;
    left: 78px;
    top: 97px;
    height: 100%;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
}

    .home_content .text {
        font-size: 25px;
        font-weight: 500;
        color: #1d1b31;
        margin-top: 12px;
    }


.item-event {
    margin-bottom: 15px !important;
}

.fa-calendar-check {
    background: linear-gradient(0deg, #5F2F97, #C01FE6);
    border-radius: 50% !important;
    color: #fff;
    height: 45px !important;
    min-width: 45px !important;
}


@media (min-width: 991px) {
    .sidebar.active ~ .home_content {
        width: calc(100% - 240px);
        height: calc(100% - 97px);
        left: 240px;
    }
}

@media screen and (max-width: 991px) {
    .sidebar {
        width: 58px;
    }

        .sidebar ul li {
            width: 70%;
        }

            .sidebar ul li i {
                min-width: 20px;
            }

                .sidebar ul li i img {
                    height: 20px;
                    width: 20px;
                    object-fit: contain;
                }

    .home_content {
        left: 58px;
        width: calc(100% - 58px);
    }

    .item-event {
        margin: 0 !important;
        margin-bottom: 15px !important;
    }

    .fa-calendar-check {
        height: 35px !important;
        min-width: 35px !important;
        font-size: 16px !important;
    }
}

@media screen and (max-width: 600px) {
    .sidebar {
        padding: 0;
    }

        .sidebar ul li {
            margin: 0;
            width: 100%;
        }

            .sidebar ul li a {
                padding-left: 30%;
            }

                .sidebar ul li a.sidebar-option-evento {
                    padding-left: 20%;
                }

        .sidebar.active ul li a {
            padding-left: 5%;
        }

        .sidebar ul li .container-icono-stats {
            left: 0 !important;
            margin-right: 6px !important;
        }

            .sidebar ul li .container-icono-stats .fa-palette {
                left: -8px !important;
            }
}

.sidebar::-webkit-scrollbar {
    background: transparent;
    height: 3px;
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #dadce0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    min-height: 40px;
}
