/* NOTA:
El objetivo de este archivo es hacer de submenu generico
Se recomienda sobreescribir estilos en style.css
*/

@media screen and (max-width: 992px) {
    #sidebar {
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    }
}

#sidebar .text-center {
    padding: 25px;
}

#sidebar .logo-container {
    display: block;
    margin: 20px 0;
}

.webDescription {
    /* text-transform: uppercase; */
    font-weight: bold;
}

/*@media screen and (max-width: 992px) {
    
*/

#navbar {
    display: none !important;
}

#sidebar {
    min-width: 285px;
    width: 285px;
    max-width: 285px;
    position: fixed;
    top: 0;
    margin-left: -285px;
    height: 100vh;
    z-index: 9999100;
    background: #fff;

    overflow-y: auto;
}

#sidebar i {
    padding: 3px 20px;

    right: 0;
}

#sidebar .main_submenu {
    margin: 0 !important;
}

#sidebar.active {
    margin-left: 0;
}

/*#sidebar.active {
        left: 0;
    }*/

#sidebar ul ul {
    display: none;
    list-style: none;
    padding-left: 30px;
    padding-top: 7px;
}

#sidebar li {
    /* margin-bottom: 7px; */
    margin-bottom: -1%;
}

#sidebar>ul>li>a {
    font-size: 14px;
    padding: 7px 10px 7px 32px;
    text-transform: uppercase;
}

/*#dismiss {
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        background: #7386D5;
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
    #dismiss:hover {
        background: #fff;
        color: #7386D5;
    }*/

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1041;
    display: none;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    font-size: 14px;
    display: block;
}

/*#sidebar ul li.active > a, a[aria-expanded="true"] {
        color: #fff;
        background: #000;
    }*/
/*}*/


@media screen and (max-width: 1216px) {
    #divMenuPC {
        display: none;
    }

    .usuario-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: 10%;
    }

    .hL1.logosEccomerce.navbar.navbar-info.navbar-men3.menuletras_div.ocultar-div-responsive {
        height: 5% !important;
        margin-top: 1%;
        background-color: transparent !important;
        position: absolute;
        margin-left: 66.1%;
    }


    /* #divBuscador {
        margin-bottom: -10%;
        margin-left: -5vw;
    } */



}

@media screen and (min-width: 1220px) {
    /*#sidebar { display: none; }*/
    /*.overlay { 
        display: none !important;
    }*/


    #mainNav {
        z-index: 100;
    }

    #sidebar-toggle {
        display: none;
    }

    /*body.home .headerContainer {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        min-width: 100%;
    }*/

    /*.headerContent {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }*/

    #sidebar {
        position: fixed;
    }

    /* Fix scroll lateral */
    .main_submenu {
        overflow: no-content;
        justify-content: center;
    }

    .main_submenu:hover {
        overflow: initial;
    }


    /* Primer nivel */
    .main_submenu>li>a:focus,
    .main_submenu>li>a:hover {
        background: none;
    }

    /* Todos los niveles */
    .main_submenu a {
        padding: 0 15px;
        line-height: 24pt;
        font-size: 11pt !important;
    }

    .main_submenu li {
        list-style-type: none;
        position: relative;
    }

    /* 2o nivel */
    .main_submenu ul {
        position: absolute;
        padding-left: 0;
        background: #fff;
        width: 200px;
        justify-content: center;
    }



    /* A partir del 2o nivel*/
    .main_submenu li>li,
    .main_submenu li li>a {
        font-size: 13px;
        display: block;
    }

    .main_submenu li>ul ul {
        top: 0;
    }

    .main_submenu li>ul ul {
        left: 100%;
    }

}