﻿/*GLOBALES*/
table {
    text-align: left;
    position: relative;
    border-collapse: collapse;
}

th, td {

    padding: 0;
}

th {
    background-color: #007BFF !important;
    color: white !important;
    border-color: white !important;
    position: sticky;
    top: -1px;
    text-align: center;
    z-index: 0;
}

tfoot {
    background-color: #007BFF !important;
    color: white !important;
    border-color: white !important;
} 

.txt-center {
    text-align: center;
}

#div-data {
    max-width: 100%;
    overflow-x: auto;
    height: 100vh;
}

#status {
    margin: 0 0 0 20px;
}

#img-loading {
    height: 20px;
}

#appsa-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 20px 0;
}

    #appsa-control .input-group {
        width: auto;
    }

        #appsa-control .input-group input {
            width: 110px;
        }

        #appsa-control .input-group select {
            width: 200px;
        }

.appsa-advice {
    color: red;
}

h1 {
    margin: 0 0 0 5px;
}

nav {
    padding: 0 !important;
}

#filter-inTable {
    display: none;
    width: 482px;
    margin: 0 0 10px 0;
}

.helpCont {
    z-index: 1 !important;
}
/*_TopNavigation*/
#logged-user {
    display: flex;
}

    #logged-user > img {
        height: 25px;
        width: 25px;
        margin: 0 10px 0 0;
    }

    #logged-user > p {
        margin: 0;
    }

/*PADRÓN Y MEDICIÓN*/
#helpDiv_padrontbl {
    z-index: 1;
}

/*TOTAL DE INGRESOS*/
#helpDiv_ingresostbl {
    z-index: 1;
}

/*CONSUMO*/
#helpDiv_consumotbl {
    z-index: 1;
}

#consumo-control {
    margin: 0 0 20px 0;
}

/*LECTURAS*/

#modal-forms {
    display: flex;
    flex-direction: row;
    max-width: auto;
}
    #modal-forms div {
        width: 100%;
    }

/*MODAL*/
#reading-modal {
    padding: 0;
    background-color: transparent;
    backdrop-filter: blur(10px);
}

#modal-buttons {
    margin: 20px 0 0 12px;
    display: flex;
    flex-direction: row;
    justify-content: end; 
    align-content: center;
}
    #modal-buttons span {
        margin-right: auto;
        display: flex;
        align-items: center;
    }

/*ESTILOS PARA DISPOSITIVOS MÓVILES*/
@media (max-width: 768px) {
    /*GLOBALES*/

    #div-data {
        max-width: 100%;
        overflow: auto;
    }

    #filter-inTable {
        width: 100%;
        margin: 0 0 10px 0;  
    }
        #filter-inTable input {
            margin: 0 !important;
        }

    #control-buttons {
        display: flex;
        padding: 10px 0 0 0;
        width: 100%;
    }

    #appsa-control {
        flex-direction: column;
        align-items: start;
    }

        #appsa-control .input-group {
            width: 80%;
            margin: 5px 0 5px 0;
        }

    #status {
        margin: 10px 0 0 0;
    }

    /*PADRÓN Y MEDICIÓN*/


    /*TOTAL DE INGRESOS*/

    /*SIN LECTURAS*/
    #sinLect-data {
        overflow: hidden !important;
    }
}