html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    display: flex;
}

body {
    background: rgba(247, 255, 255, 1);
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    width: 100%;
}

.cuerpoBody {
    display: flex;
}

#sidebarKanriResponsive {
    display: none;
}

.contenedorPrincipal {
    width: auto;
    min-height: 85vh;
    height: auto;
    background: #d9dede;
    background: linear-gradient(0deg, rgba(217, 222, 222, 1) 0%, rgba(247, 255, 255, 1) 100%);
}
/* ============  Header ==============*/

.navHeader {
    position: fixed;
    top: 0;
    height: 13vh;
    width: 100%;
    overflow: visible;
    background: #0a28c2;
    background: linear-gradient(1deg, rgba(10, 40, 194, 0) 0%, rgba(10, 40, 194, 0) 20%, rgba(28, 97, 217, 1) 21%, rgba(10, 10, 105, 1) 100%);
    z-index: 1000;
    height: 110px;
}

.logoKanriNavBar {
    width: auto;
    height: auto;
}

.tituloNavbar {
    font-size: 1.5rem;
    text-decoration: none;
    color: #2E180D;
}

    .tituloNavbar:hover {
        color: #8F2211;
    }

.itemUsuarioNavBar {
    background: #039696;
    background: linear-gradient(0deg, rgba(3, 150, 150, 0.69) 0%, rgba(244, 245, 215, 1) 100%);
    border-radius: 20px;
}

    .itemUsuarioNavBar a {
        text-decoration: none;
    }

.btnUsuarioNavbar {
    font-size: 1.4rem;
}

.itemUsuarioNavBar form a:hover {
    color: #8F2211;
}

.NBAcionUsuario {
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    margin-left: 1.5rem;
    text-align: center;
}
/* ============  Sidebar ==============*/
#sidebarKanri {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 90px;
    min-width: 90px;
    transition: all 0.25s ease-in-out;
    background: #b3d3f2;
    background: linear-gradient(180deg, rgba(179, 211, 242, 1) 0%, rgba(87, 137, 199, 1) 50%, rgba(109, 83, 237, 1) 100%);
    min-height: 100%;
    position: fixed;
    top: 0;
    padding-top: 100px;
    z-index: 500;
}



    #sidebarKanri:not(.expand) .textoMenu {
        display: none;
    }

    #sidebarKanri:not(.expand) .sidebar-dropdown {
        position: relative;
        top: 0;
        left: 10px;
        background: #0a28c2;
        background: linear-gradient(135deg, rgba(10, 40, 194, 0.52) 0%, rgba(191, 144, 209, 0.61) 100%);
        padding: 0.5rem;
        min-width: 15em;
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
    }

        #sidebarKanri:not(.expand) .sidebar-dropdown .sidebar-text {
            color: #070638;
        }

    #sidebarKanri.expand {
        width: 250px;
        min-width: 250px;
    }

        #sidebarKanri.expand .sidebar-dropdown {
            background: #a7cccc;
            background: linear-gradient(0deg, rgba(167, 204, 204, 0.5) 0%, rgba(244, 245, 215, 1) 100%);
        }

            #sidebarKanri.expand .sidebar-dropdown span {
                color: #033636;
            }

.botonMenu {
    width: 40px;
    height: 30px;
    color: #fff;
    border-radius: 0.425rem;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2f1d73;
    background: linear-gradient(79deg, rgba(47, 29, 115, 0.6) 0%, rgba(197, 180, 237, 0.86) 100%);
}

    .botonMenu i {
        color: #E2EBDA;
    }


.sidebar-item-resp{}

.iMenu {
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    margin-right: 1rem;
}

itemUsuarioNavBar

#sidebarKanri.expand.botonMenu {
    animation: fadeIn.25s ease;
}

.dropDownResponsive {
    
    position:relative;
    top:-150px;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.botonItemMenu {
    color: #fff;
    height: 3rem;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #71a5d9;
    background: linear-gradient(180deg,rgba(113, 165, 217, 1) 0%, rgba(38, 38, 150, 1) 50%, rgba(116, 156, 204, 1) 100%);
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin: 0.5rem 0;
    border: 1px solid #022442;
}

.sidebar-text {
    text-decoration: none;
}
/*=============body=================*/
.cuerpoBody {
}

.contenedorPrincipal {
    margin-left: 90px;
    padding: 20px;
    transition: margin-left 0.3s ease;
    top: 100px;
    padding-top: 0;
}

#sidebarKanri.expand ~ .contenedorPrincipal {
    margin-left: 250px;
}

.deshabilitado {
    opacity: 0.5;
    pointer-events: none;
}

.modalVista {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo semitransparente */
}

.contenido-modal {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: aparecer 0.4s;
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .cerrar:hover {
        color: #000;
    }

/* Animación suave */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
. /*==============Home==================*/
.homeImagen {
    height: 50%;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.logoKanriHome {
    position: absolute;
    right: 10vh;
    top: 25vh;
    width: 60vW;
    height: 50vh;
    max-width:600px;
    margin: auto;
    border-radius: 0.425rem;   
    z-index: 0;
}

input[type="month"]::-webkit-clear-button {
    display: none;
}

.mostrarTab {
    display: none;
}

/*==============Grafico Reportes==================*/

canvas {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
}

.panel {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.panel-heading h4 {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 18px;
}

#graficoSituacionDepto {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto;
}



footer {
    background: #032559;
    background: linear-gradient(0deg, rgba(3, 37, 89, 0.9) 0%, rgba(54, 132, 247, 9.5) 100%);
}
/*==============Grafico Edificio==================*/

.cielo {
    background: #2EBCF0;
    background: linear-gradient(0deg, rgba(46, 188, 240, 1) 0%, rgba(6, 110, 148, 1) 100%);
    min-height: 3vh;
}
.lateralFuera {
    min-width:1vw;
    background: #2ebcf0;
    background: linear-gradient(180deg, rgba(46, 188, 240, 1) 0%, rgba(45, 187, 231, 1) 76%, rgba(28, 158, 11, 1) 84%, rgba(30, 171, 5, 1) 100%);
}
.suelo {
    min-height: 2vh;
    background: #1EAB05;
    background: linear-gradient(180deg, rgba(30, 171, 5, 1) 0%, rgba(128, 126, 0, 1) 100%);
}
.pisoNivel {
    padding-top: 1vh;
    min-height: 6vh;
    background: #c1c1d6;
    background: linear-gradient(180deg, rgba(193, 193, 214, 1) 36%, rgba(125, 125, 145, 1) 100%);
}
.techo {
    min-height: 2vh;
    background-color: #9CB1B5;
}
.Lateralpared {
  
    background: #9cb1b5;
    background: linear-gradient(180deg, rgba(156, 177, 181, 1) 0%, rgba(50, 62, 64, 1) 100%);
}
.piso {
    min-height: 4vh;
    background-color: #323E40;
}
/*======ROJO======*/
.deptoConProp {
    width: 5vw;
    height: 5vh;
    background: #db7da9;
    background: radial-gradient(circle, rgba(219, 125, 169, 1) 0%, rgba(125, 50, 50, 1) 100%);
    border: 5px solid transparent;
    border-image: linear-gradient(90deg,rgba(156, 177, 181, 1) 0%, rgba(50, 62, 64, 1) 100%);
    border-image-slice: 1;

}
/*======VERDE======*/
.deptoSinProp {
    width: 5vw;
    height:5vh;
    background: #aec763;
    background: radial-gradient(circle, rgba(174, 199, 99, 1) 0%, rgba(80, 125, 50, 1) 100%);
    border: 5px solid transparent;
    border-image: linear-gradient(90deg,rgba(156, 177, 181, 1) 0%, rgba(50, 62, 64, 1) 100%);
    border-image-slice: 1;
}
/*======NEGRO======*/
.deptoVacio {
    width: 5vw;
    height: 5vh;
    background: #292c4a;
    background: linear-gradient(90deg, rgba(41, 44, 74, 1) 0%, rgba(20, 20, 33, 1) 100%);
    border: 5px solid transparent;
    border-image: linear-gradient(90deg,rgba(156, 177, 181, 1) 0%, rgba(50, 62, 64, 1) 100%);
    border-image-slice: 1;
}
/*======AMARILLO======*/
.deptoOcupado {
    width: 5vw;
    height: 5vh;   
    background: #cfcf0c;
    background: radial-gradient(circle, rgba(207, 207, 12, 1) 0%, rgba(163, 113, 3, 1) 100%);
    border: 5px solid transparent;
    border-image: linear-gradient(90deg,rgba(156, 177, 181, 1) 0%, rgba(50, 62, 64, 1) 100%);
    border-image-slice: 1;
}
.puertaTorre {
    width: 5vw;
    height: 6vh;
    background: #1B90C2;
    background: linear-gradient(90deg, rgba(27, 144, 194, 1) 49%, rgba(0, 0, 0, 1) 49%, rgba(0, 0, 0, 1) 51%, rgba(27, 144, 194, 1) 51%);
    border-top: 5px solid transparent;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: none;
    border-image: linear-gradient(0deg,rgba(117, 75, 7, 1) 0%, rgba(186, 120, 13, 1) 100%);
    border-image-slice: 1;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}



.puertaTorre:hover {
    transition: transform 0.5s ease;
    background: #1B90C2;
    background: linear-gradient(90deg, rgba(27, 144, 194, 1) 10%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(27, 144, 194, 1) 90%);
}
        

.infoDepto {
    display: none;
    min-width: 100px;
    min-height: 100px;
    position: absolute;
    z-index: 50;
    background-color: #6383C7;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.deptoConProp:hover .infoDepto {
    display: block;
    opacity: 1;
}
.deptoSinProp:hover .infoDepto {
    display: block;
    opacity: 1;
}
.deptoVacio:hover .infoDepto {
    display: block;
    opacity: 1;
}
.deptoOcupado:hover .infoDepto {
    display: block;
    opacity: 1;
}

.deptoSinProp:hover .infoDepto,
.infoDepto:hover {
    display:block;
    opacity:1;   
}
.deptoConProp:hover .infoDepto,
.infoDepto:hover {
    display: block;
    opacity: 1;
}
.deptoVacio:hover .infoDepto,
.infoDepto:hover {
    display: block;
    opacity: 1;
}
.deptoOcupado:hover .infoDepto,
.infoDepto:hover {
    display: block;
    opacity: 1;
}

/*==============respoonsive==================*/
@media (max-width: 1366px) {
    .ocultarTab {
        display :none;
    }

    .mostrarTab {
         display:flex;
    }
}




@media (max-width: 768px) {
    /*==============navbar==================*/

    #sidebarKanri {
        display: none;
    }

    #sidebarKanriResponsive {
        display: flex;
        min-height: 9vh;
        width: 100vw;
        bottom: 0;
        position: fixed;
        background: #0a28c2;
        background: linear-gradient(180deg, #E2EBDA 0%, rgba(28, 97, 217, 1) 21%, rgba(10, 10, 105, 1) 100%);
        z-index: 500;
        padding-bottom: 80px;/* ajuste al servidor*/
    }
    .espacioSomee {
        height:100px;
    }

    .sidebarContenedorBotonesResponsive {
        width: 80vw;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .ulMenuResponsive {
        display: flex;
        flex-direction: row;
        margin-bottom: 0;
    }

    .botonItemMenu {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 0px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        margin: 0.5rem 0;
        border: 1px solid #022442;
    }

    .sidebar-dropdown {
        position: absolute;
        bottom: 100%;
        display: flex;
        flex-direction: column-reverse;
        background: #4d0463;
        background: linear-gradient(0deg, rgba(77, 4, 99, 0.72) 0%, rgba(96, 54, 247, 0.72) 100%);
        text-decoration:none;

    }
    .sidebar-link {
        color:black;
        text-decoration:none;
    
    }
    .sidebar-item {
        position: relative;
        height: 50px;
    }

    footer {
        display: none;
    }
    /*==============Home==================*/
    .logoKanriHome {
        width: 90vW;
        right:3vh;
    }
    .enConstrucionImg {
        width:90vw;
    }

    .contenedorPrincipal {
        margin-left: 5px;
        padding: 0px;
        transition: margin-left 0.3s ease;
        top: 0;
        padding-top: 10px;
    }

    #sidebarKanri.expand ~ .contenedorPrincipal {
        margin-left: 5px;
    }

    .mensajeSinLeer {
        color: #E85709;
    }


    /*==============table=====================*/
    .ocultarMov {
        display: none;
    }
}
