.background_0 {
    background-color: #c2c9d3;
}

.background_1 {
    background-color: #71d14f;
}

.background_2 {
    background-color: #f0dc39;
}

.background_3 {
    background-color: #f0b339;
}

.background_4 {
    background-color: #ff2222;
}

.background_5 {
    background-color: #7e39f0;
}

td.pl-2 {
    font-weight: bold;
}

a.active {
    color: #175199 !important;
    font-weight: bold;
    border-top: solid #175199 !important;
    background: #efefef !important;
}

a.nav-item {
    width: 25%;
    color: #134480;
    background: #efefef;
    text-align: center;
}

a.nav-item:hover {
    color: #134480;
}

body {
    padding: 0.5%;
    overflow-x: hidden !important;
}

.clase_btn {
    margin-bottom: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 3px;
    background: #134480 !important;
    border: #134480 !important;
}


/* .clase_btn:hover {
    background: #134480 !important;
    border: #134480 !important;
} */

@font-face {
    font-family: "roboto";
    src: url("Roboto-Light.ttf");
}

* {
    font-family: "roboto";
    font-size: 1rem;
}

.medida {
    font-size: 0.75rem;
}

.radio_line {
    display: inline-block !important;
    margin-left: 10px;
}

#div-grafico {
    min-width: 100%;
    height: 100%;
}

#div-mapa {
    /* height: 300px; */
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.img-estacion {
    padding: 10px 10px;
    border-radius: 30px;
    width: 230px;
    height: 190px;
}

.div-estacion {
    border-radius: 10px;
    width: 250px;
    height: 250px;
    padding: 10px 10px;
    background-color: white;
    opacity: 0.8;
}

.boton-estacion {
    color: white !important;
    font-size: 15px;
    display: block;
    text-align: center;
    background-color: #175199;
    padding: 5px 20px;
    margin: 0 10px;
    border-radius: 10px;
    text-decoration: none;
}

.boton-estacion:hover {
    cursor: pointer;
    opacity: 0.8;
}

.boton-estacion:active {
    opacity: 1;
    background-color: #175199;
}

.style-div {
    width: 150px;
    right: 12px;
    background-color: white;
    position: relative;
    top: 40px;
    font-weight: bold;
    text-align: center;
    padding: 3px 3px;
    border-radius: 10px;
    left: calc(50% - 65px);
}

.clase_th {
    padding: 0px !important;
    text-align: center;
    width: 120px !important;
    max-width: 160px !important;
}

.clase_th:hover {
    background-color: #134480;
}

.clase_th:active {
    background-color: #134480;
}

.mi-tabla thead {
    background-color: #175199 !important;
}

#mi_tabla {
    width: 100% !important;
}


/* tbody{
  width: 97% !important;
} */

.dataTables_scrollHead {
    width: 100% !important;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

.table-responsive {
    overflow-x: hidden;
}

a.nav-item:hover {
    color: #134480;
}

.clase_p:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.clase_background {
    background-color: lightgray;
    border-color: lightslategrey;
}

.first_thead {
    width: 15% !important;
}

table.dataTable.table-sm>thead>tr>th {
    padding: 0px !important;
    vertical-align: inherit;
    text-align: center;
}

table.dataTable td.pl-2 {
    vertical-align: middle;
    text-align: center;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 100% !important;
    }
}

.estaciones_nombre:hover {
    cursor: pointer;
    color: white;
    background-color: #175199 !important;
}

@media(max-width: 670px) {
    .estaciones_nombre,
    .first_thead {
        font-size: small;
        width: 25% !important;
    }
    .mi-tabla td {
        padding: 0em 0em !important;
    }
    .small {
        font-size: 13px;
        font-weight: normal !important;
        margin-top: 10px !important;
    }
    .medida {
        font-size: 0.5rem;
        display: block;
    }
    .mi-tabla {
        font-size: 11px;
        min-width: 350px !important;
    }
    .calidadAire,
    .meteorologia {
        width: 35px;
        padding-top: 0px !important;
        transform: rotate(270deg);
        margin: 0em 0em !important;
        min-width: 30px !important;
        font-weight: normal !important;
        font-size: 0.7rem;
    }
    .clase_btn {
        transform: scale(0.6);
    }
    .clase_contaminante {
        margin: 0px !important;
    }
    .head-tr {
        font-size: 15px !important;
        height: 60px;
    }
    .mi-tabla td:first {
        width: 28px !important;
    }
    */ .mi-tabla th:first {
        height: 52px;
        width: 288px !important;
    }
    td.pl-2,
    th.pl-2 {
        width: 20% !important;
    }
    table thead th {
        vertical-align: middle !important;
    }
}

@media (max-width: 450px) {
    .mi-tabla {
        min-width: 310px !important;
    }
    .mi-tabla th {
        min-width: 5px !important;
        padding: 0px 0px !important;
        /* margin: 0px 10px !important; */
    }
    .div-tabla {
        min-width: 300px !important;
    }
    .small {
        min-width: 5px !important;
        padding: 0px 0px;
        margin: 0px 0px;
    }
    table thead th {
        vertical-align: middle !important;
    }
}