html {
    font-size: 14px;
    padding: 0;
    margin: 0;
    height: 100%;
}

.body-mastersys {
    height: 100% !important;
    width: 100% !important;
    background-color: #f8f9fa;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* SideBar */
.sidebar {
    background-color: white;
    width: 17%;
    border-right: 1px solid #ccc;
}

/*.sidebar:hover .sidebar-element{*/
/*    grid-template-columns: 100% 100%;*/
/*}*/


.sidebar-list {
    list-style: none;
    padding: 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.sidebar-element {
    padding: .8rem 1.3rem;
    border-radius: 3px;
    display: grid;
    grid-template-columns: 100%;
    color: #526581;
    fill: #8491a5;
    /*transition: grid-template-columns .4s;*/
}

.sidebar-button {
    display: flex;
    background: white;
    border: none;
    /*overflow: hidden;*/
}

.sidebar-icon-logo {
    max-width: 50px;
}

.sidebar-icons {
    max-width: 40px;
}

.sidebar-text-main {
    color: black;
    font-weight: 640;
    margin-top: 10px;
    margin-left: 10px;
    font-size: x-large;
}

.sidebar-text {
    margin: 15px;
    font-size: medium;
}

.sidebar-button:not(:has(.sidebar-icon-logo)):hover {
    background-color: rgba(203, 234, 244, 0.6);
    color: #6eacff;
    fill: #6eacff;
    cursor: pointer;
    border-radius: 8px;
}

.sidebar-button:has(.sidebar-icon-logo) {
    margin-bottom: 1rem;
}

.sidebar-element:has(.sidebar-icon-logo) {
    padding-bottom: 3rem;
    padding-top: 1.4rem;
}


/*.sidebar-hide{*/
/*    overflow: hidden;*/
/*}*/

/* NavBar*/
.header-text {
    font-size: x-large;
    font-weight: bold;
    padding-top: 1.4rem;
}

.navup {
    height: 13%;
    background-color: white;
    align-items: center;
    top: 0;
}

/* Dashboard */
.content-dashboard {
    padding: 2rem;
}

/* Login */

.fnd-login {
    background-color: #03045e;
    z-index: -1;
}

.login {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.login-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 50%;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 991px) {
    .login-content {
        background-color: white;
        margin: 10% auto;
        padding: 20px;
        border-radius: 15px;
        width: 70%;
        display: flex;
        justify-content: center;
    }
}

.popup-content-login {
    background-color: white;
    margin: 30% auto;
    padding: 20px;
    border: 1px solid #888888;
    width: 80%;
    font-size: 10px;
    height: auto;
}


/* Modulos */

.menu-modulos {
    border-radius: 5px;
    width: 60%;
}

/* Barra lateral */
.menu-horizontal {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 0;
}

.menu-horizontal button {
    width: 100%;
    border: 0px;
    background-color: transparent;
    padding-top: 15px;
}

.menu-horizontal button:hover {
    background-color: #6dacff;
}

.menu-horizontal-image {
    border-radius: 5px;
    width: 80%;
}

.btn-navbar {
    display: block;
    width: 100%;
    border: 0px;
    background-color: transparent;
}

.btn-navbar:hover {
    background-color: #6dacff;
}

.nav-navbar {
    background-color: #9DE8FF;
}

/* Modulos*/
.btn-modulo {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #6dacff;
    color: black;
    border-radius: 5%;
    border-width: 0px;
}

.btn-modulo:hover {
    background-color: #9eb8ff;
}

/* Entidades Menu */

.tab {
    overflow: hidden;
    border: 1px solid #a9c6d4;
    background-color: #cceeff;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #8fcdeb;
}

.tab button.active {
    background-color: #76c3e8;
}

.tabcontent {
    display: none;
    border-top: none;
    padding: 6px 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tabcontent button {
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border-style: solid;
    border-radius: 5%;
    border-width: 3px;
    border-color: #3858AF;
}

.tabcontent button:hover {
    background-color: #9DE8FF;
}

/* Entidades Detalles */

.bordederecha {
    border-right: 2px solid #1e8f69;
    border-bottom: 0px;
    text-align: center;
}

.bordearriba {
    border-top: 2px solid #1e8f69;
}

.permisos {
    padding: 10px;
    display: flex;
    justify-content: center;
}

.empresa-select-bottom {
    width: 100%;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 992px) {
    html {
        font-size: 12px;
    }

    .menu-horizontal {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 12px;
        padding: 0px;
    }

    .popup-content-login {
        background-color: white;
        margin: 10% auto;
        padding: 20px;
        font-size: medium;
        border: 1px solid #888888;
        width: 40%;
    }
}

