/* --- --- MODALS --- --- */

/* --- resumen --- */
.modal-resumen-historial {
}

.header-resumen-historial__nombre {
  color: #fff;
}

.body-resumen-historial {
  background-color: #3a3e4a;
}

.cont-tablas-resumen-historial {
  height: 50vh;
}

.cont-tablas-resumen-historial table thead tr th,
.cont-tablas-resumen-historial table tbody tr td {
  text-align: center;
  width: auto;
}

.tabla-resumen-historial-porPatente thead th,
.tabla-resumen-historial-total thead th {
  border: none;
}

.tabla-resumen-historial-porPatente thead .nitiTitulo,
.tabla-resumen-historial-total thead .nitiTitulo {
  font-size: 1.2rem;
}

.tabla-resumen-historial-porPatente tbody {
  background-color: #3753bf;
}

.tabla-resumen-historial-porPatente tbody:nth-child(even) {
  background-color: #2e45a0;
}

.tabla-resumen-historial-porPatente tbody:hover {
  background-color: #405ed0;
}

.tabla-resumen-historial-total tbody {
  background-color: #1bbf89;
}

.tabla-resumen-historial-total tbody:nth-child(even) {
  background-color: #15956b;
}

.tabla-resumen-historial-total tbody:hover {
  background-color: #1cca92;
}

.modal__historial .modal-body {
  background: #3f424b;
}

.scoring-viaje-td {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

/* ESTRUCTURAL: NUEVO HISTORIAL */
/* INFO: Tabla principal */
.tbl-historial,
.tbl-resumen {
  font-size: 0.8rem;
}

.tbl-historial th,
.tbl-resumen th {
  position: -webkit-sticky;
  /* required for Safari*/
  position: sticky;
  top: 0;
  background-color: #1b1c22;
}

.tbl-historial thead th,
.tbl-historial tbody td,
.tbl-resumen thead th,
.tbl-resumen tbody td {
  padding: 0;
  border: none;
}

.tbl-historial tbody td {
  padding: 7px 0px;
}

.his-mapa {
  width: 100%;
  height: 450px;
}

.tbl-historial .img {
  width: 100px;
  height: 75px;
  cursor: pointer;
  transition: 300ms all;
}

.tbl-historial .img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* INFO: Tabla resumen */
.tbl-resumen tbody td {
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-collapse: collapse;
  padding: 0px 2px;
}

.tbl-resumen .porPatente {
  background-color: var(--azul-no-prioritarios);
}

.tbl-resumen .total {
  background-color: var(--verde-primario);
}

/* INFO: GRAFICOS */
.grafico--historial {
  width: 100%;
  height: 250px;
}

.mapa-historial {
  min-height: 600px;
}
