/* =========================================================
SIDEBAR
========================================================= */

.eom-sidebar {

    position: fixed;

    top: 220px;
    left: 20px;

    width: 100px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 4px;

    z-index: 9999;

    transition: width .25s ease;
}

/* =========================================================
ITEMS
========================================================= */

.eom-nav-item {

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 8px;

    border-radius: 16px;

    text-decoration: none;

    box-sizing: border-box;

    overflow: hidden;

    transition:
        background .2s ease,
        transform .2s ease;
}

/* =========================================================
ICONOS
========================================================= */

.eom-icon {

    width: 80px;
    min-width: 80px;

    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.eom-icon img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

/* =========================================================
TEXTOS
========================================================= */

.eom-label {

    opacity: 0;

    width: 0;

    overflow: hidden;

    white-space: nowrap;

    transform: translateX(-10px);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

/* =========================================================
EXPANSIÓN
========================================================= */

.eom-sidebar:hover {

    width: 260px;
}

.eom-sidebar:hover .eom-label {

    opacity: 1;

    width: auto;

    margin-left: 12px;

    transform: translateX(0);
}

/* =========================================================
ACTIVO
========================================================= */

.eom-nav-item.active {

    background: rgba(255,255,255,.12);
}

/* =========================================================
NEVE
========================================================= */

.nv-sidebar-wrap {

    display: none !important;
}

.nv-content-wrap {

    display: block !important;
}

#content .container {

    max-width: 100% !important;
}

@media (min-width:1201px){

    .eom-sidebar:hover ~ #content{

        margin-left:160px;

        transition: margin-left .25s ease;
    }

    #content{

        transition: margin-left .25s ease;
    }

}

/* =========================================================
TABLET
========================================================= */

@media (max-width:1200px){

    .eom-sidebar{

        top:150px;
        left:10px;
    }

}

/* =========================================================
MÓVIL Y TABLET VERTICAL
========================================================= */

@media (max-width:900px){

    .eom-sidebar{

        position: sticky;

        top: 0;

        left: auto;

        width: 100%;

        flex-direction: row;

        justify-content: center;
        align-items: center;

        gap: 12px;

        padding: 10px 0;

        margin-bottom: 0;

        background: #fff;

        box-shadow: 0 2px 12px rgba(0,0,0,.08);

        z-index: 9999;
    }

    .eom-nav-item{

        width:auto;
        padding:6px;
    }

    .eom-label{

        display:none;
    }
}

/* TABLET VERTICAL */

@media (max-width:900px) and (min-width:601px){

    .eom-icon{
        width:80px;
        min-width:80px;
        height:80px;
    }

}

/* MÓVIL */

@media (max-width:600px){

    .eom-icon{
        width:50px;
        min-width:50px;
        height:50px;
    }

}

@media (max-width:900px){

    .wrapper{
        overflow:visible !important;
    }

}
