﻿#master_container {
    /*min-height: 100vh !important;*/
    min-height: calc(100vh - 72px);
}

.menu-container {
    /*height: calc(100vh - 72px);*/
    overflow: visible;
    background-color: #4FC1B7;
    width: 270px;
}

/* Menú superior */
nav {
    height: 72px;
    background-color: white;
    color: black;
    -webkit-box-shadow: 0 4px 20px 0 rgba(0,0,0,.14);
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14);
}

.nav-logo {
    width: 60px;
    height: 47px;
    margin: 10px;
}

.navbar-toggler {
    color: #989898;
    font-size: 25px;
}

.navbar-nav {
    background-color: #ffffff;
}

/* Menú perfil */

#divAvatar {
    background: #ccc;
    border-radius: 45px;
    width: 44px;
    height: 44px;
}

#btn-profile {
    padding: 0px 40px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    color: black !important;
}

    #btn-profile:after {
        display: none !important;
    }

#dropdown-profile {
    background-color: #4FC1B7;
    border-radius: 0px 0px 10px 10px;
    width: 220px !important;
    top: 56px !important;
    left: 35px;
}

    #dropdown-profile a {
        color: white !important;
        font-size: 14px;
    }

        #dropdown-profile a:hover {
            background-color: #3DADA4;
        }

@media screen and (max-width: 992px) {
    #btn-profile {
        justify-content: center;
    }

    .nav-item:hover {
        background-color: #3DADA4;
    }

    .collapse {
        z-index: 1;
    }

        .collapse ul {
            border-radius: 0px 0px 10px 10px;
            border: 1px #EEEEEE solid;
        }

        .collapse li {
            border-bottom: 1px #EEEEEE solid;
        }
}

/* Tooltip (Preferir contenido personalizado en lugar de sobreescribir estilos, JQuery UI)*/
.ui-tooltip {
    padding: 0px !important;
    border-radius: 0px !important;
    box-shadow: 0px !important;
    background: transparent !important;
}

.ui-widget-shadow {
    -webkit-box-shadow: -0px -0px 0px transparent !important;
    box-shadow: -0px -0px 0px transparent !important;
}

.ui-widget.ui-widget-content {
    border: 0px !important;
}

/*.submenuSel {
    background-color: #12322D !important;
}*/

.menu-tooltip {
    background-color: #3DADA4;
    color: white;
    padding-left: 7px;
    padding-right: 7px;
    min-height: 46px;
    margin: auto;
    text-align: left;
    display: flex;
    align-items: center;
}

/* Menu */

    .menu-container .list-group {
        border-radius: 0 !important;
        width: 270px;
    }

    .menu-container .list-group-item {
        padding: .7rem .7rem .7rem 0.3rem !important;
        border-radius: 0 !important;
    }

        .menu-container .list-group-item:hover {
            /*hover nivel 1*/
            background-color: #3DADA4;
        }

    .menu-container .list-group-item-action {
        background-color: #4FC1B7;
        color: white !important;
        border: 0px;
    }

        .menu-container .list-group-item-action:hover {
            color: white !important;
        }

    .menu-container .dropdown-toggle::after {
        display: none !important;
    }

.menu-container-collapsed {
    width: 35px !important;
}

    .menu-container-collapsed .list-group {
        width: 35px !important;
    }

    .menu-container-collapsed .menu-text-collapsed {
        display: none;
    }

.menu-item-icon {
    padding-right: .5rem !important;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(284deg) brightness(106%) contrast(102%);
}

.menu-item-arrow-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(284deg) brightness(106%) contrast(102%);
}

.menu-container-collapsed .menu-item-icon {
    padding-right: 0 !important;
}

.menu-container-collapsed .menu-item-arrow-icon {
    visibility: hidden;
}

.menu-container .dropright .dropdown-menu {
    margin-left: 0px;
}

    .menu-container .dropright .dropdown-menu .dropdown-item {
        padding: .7rem .7rem .7rem 0.7rem !important;
    }

.submenu-container {
    border-radius: 0 !important;
    width: 270px !important;
    white-space: normal;
    padding: 0px;
    margin: 0px;
}

    .submenu-container > a {
        padding: 0px 5px 0px 5px;
        /*color de fondo nivel 2*/
        background-color: #4FC1B7;
        color: white;
    }

        .submenu-container > a:hover {
            /*hover nivel 2*/
            background-color: #3DADA4;
            color: white !important;
        }

.dropdown-menu.submenu-container {
    max-height: 350px;
    overflow-y: auto;
}

    .dropdown-menu.submenu-container::-webkit-scrollbar {
        width: 5px;
    }

    .dropdown-menu.submenu-container::-webkit-scrollbar-track {
        background: rgb(249 250 252);
    }

    .dropdown-menu.submenu-container::-webkit-scrollbar-thumb {
        background: #8b8b8b;
    }

        .dropdown-menu.submenu-container::-webkit-scrollbar-thumb:hover {
            background: #8b8b8b;
        }


.active-first-level {
    background-color: #133C38 !important;
    color: white !important;
}

.active-second-level {
    background-color: #133C38 !important;
    color: white !important;
}

/* Content */

#content {
    width: calc(100% - 0px);
    background-color: #F9FAFC;
    padding: 30px;
}

.content {
    width: calc(100% - 0px);
    background-color: #F9FAFC;
    padding: 30px;
}

/* Footer */
.footer {
    color: #ccc;
    font-size: 8px;
    font-weight: 400;
    position: relative;
    bottom: 0;
    height: 40px;
}
/* Estilos solo para el dropdown con la clase 'custom-company-dropdown' */
.custom-company-dropdown .dropdown-menu li a span.text {
    white-space: normal !important;
}

.custom-company-dropdown > .dropdown-toggle {
    white-space: normal !important;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar-track {
    background: white;
}

.bootstrap-select .dropdown-menu::-webkit-scrollbar-thumb {
    background: #4fc1b7 !important;
}

/* Estilo para las opciones seleccionadas */
.bootstrap-select .dropdown-menu li.active > a {
    background-color: #4FC1B7 !important; /* Mantiene el color de fondo */
    color: white !important; /* Color del texto */
}

    /* Estilo para las opciones al pasar el mouse (hover) */
    .bootstrap-select .dropdown-menu li.active > a:hover,
    .bootstrap-select .dropdown-menu li > a:hover {
        background-color: #4FC1B7 !important; /* Mantiene el color al hacer hover */
        color: white !important; /* Mantiene el color del texto */
    }

/* Estilo para la opción seleccionada en el dropdown */
.bootstrap-select .dropdown-menu li.selected > a {
    background-color: #4FC1B7 !important; /* Color de fondo al seleccionar */
    color: white !important; /* Color del texto seleccionado */
}

    /* Evita que el color cambie al hacer clic */
    .bootstrap-select .dropdown-menu li.selected > a:focus,
    .bootstrap-select .dropdown-menu li.selected > a:hover {
        background-color: #4FC1B7 !important;
        color: white !important;
    }
