body {
  font-family: "Play", sans-serif;
  font-display: swap !important;
}

#eventos.loading {
  min-height: 500px;
}

#eventos:not(.loading) {
  min-height: auto;
}

#header {
  min-height: auto !important;
}

#sidebar {
  min-height: auto !important;
}

#footer {
  min-height: auto !important;
}

#tabla_posiciones {
  min-height: 600px !important;
}

.div.col.s12.m6.l6 {
  min-height: 296px !important;
  min-width: 227px !important;
}

.bold {
  font-weight: 700 !important;
}

/* SET DE PADDINGS PROPIOS */

.pt-1 {
  padding-top: 0.5rem !important;
}
.pt-2 {
  padding-top: 1rem !important;
}

.pb-1 {
  padding-bottom: 0.5rem !important;
}
.pb-2 {
  padding-bottom: 1rem !important;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* SET DE PADDINGS PROPIOS */

.mt-1 {
  margin-top: 0.5rem !important;
}
.mt-2 {
  margin-top: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}
.mb-2 {
  margin-bottom: 1rem !important;
}

.my-1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* para quitar el margin top del h5  */

h5 {
  margin: 0 !important;
  font-weight: 700;
}

.round {
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
}
h4 {
  margin: 0 !important;
}

h6 {
  font-weight: 600 !important;
}

.h5_aclaracion {
  font-size: 15pt;
  font-weight: 300;
}

.section-title {
  font-size: 1.5rem !important; /* tamaño tipo h5 */
  margin: 0 !important;
  font-weight: 600 !important;
}

.card-content {
  padding: 10px !important;
}
.card-content p {
  font-weight: 600 !important;
}

.card h5 {
  font-weight: 700 !important;
}

/* BOTONES DEL SIDEBAR */

.sidelink {
  font-weight: 800 I !important;
  transition: all 0.3s ease;
  cursor: pointer;
  padding-bottom: 3px !important;
  padding-top: 3px !important;
}

#sidelink {
  font-weight: 800 !important;
  transition: all 0.3s ease;
  cursor: pointer;
  padding-bottom: 3px !important;
  padding-top: 3px !important;
}

.sidelink a {
  color: white !important;
  text-decoration: none;
  display: block;
}

.sidelink:hover {
  background-color: rgb(255, 63, 63) !important;
}

#sidelink:hover {
  background-color: rgb(255, 63, 63) !important;
}

.sidelink img {
  vertical-align: middle !important;
}
/* MODIFICADOR DE LOS COLAPSABLES */
/* SI LE QUITÁS ESTO, EL PADDING SE ROMPE, NO PREGUNTES. */
.collapsible-body {
  padding: 0 !important;
}

.circuito-body {
  display: flex;
  align-items: flex-start; /* Alinea arriba */
  gap: 20px;
  padding: 1rem !important; /* Espacio entre img y ul */
  /* Más prolijo */
}

.circuito-body img {
  border-radius: 8px;
}
.circuito-body ul {
  padding: 5px;
  /* background-color: #82b1ff; */
  border: 1.5px solid #bdbdbd;
}
.circuito-body .circuit_name {
  font-weight: 600;
}

/* .cirmobil {
  border: 1px solid rgb(121, 121, 121) !important;
} */
.cirmobil .circuit_round {
  font-weight: 600 !important;
}
.cirmobil .circuit_name {
  font-weight: 600 !important;
}

.cuadrado {
  width: 13px; /* ancho  */
  height: 13px; /* alto   */
  display: inline-block;
  margin: 4px;
  vertical-align: middle;
  border: solid rgb(0, 0, 0) 3px;
}
.cuadradoLleno {
  width: 13px; /* ancho  */
  height: 13px; /* alto   */
  display: inline-block;
  margin: 4px;
  vertical-align: middle;
  background-color: rgb(0, 0, 0);
}
.cuadradoLleno_card {
  width: 10px; /* ancho  */
  height: 10px; /* alto   */
  display: inline-block;

  vertical-align: middle;
  background-color: rgb(255, 255, 255);
}

.cuadraditos {
  width: 10px;
  height: 10px;
  position: relative;
}

.c1 {
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: black;
  top: 0%;
  left: 0%;
}
.c2 {
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: rgb(0, 0, 0);
  top: 50%;
  left: 50%;
}

details {
  cursor: pointer;
  font-weight: 500;
}

summary {
  list-style: none !important;
}

details ul li a {
  color: white !important;
  text-decoration: none !important;
}

nav {
  height: auto !important;
  line-height: normal !important;
}

nav .nav-wrapper {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

nav .brand-logo {
  position: static !important; /* <- ESTO arregla TODO */
  transform: none !important;
}

nav .brand-logo img {
  height: 80px !important; /* tu logo real */
}

/* CATEGORIAS PORTADAS */

.tc_portada {
  background-image: url("../assets/img/portada_tc2.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tcpista_portada {
  background-image: url("../assets/img/portada_tcpista.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tcppk_portada {
  background-image: url("../assets/img/portada_tcppk.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tn_portada {
  background-image: url("../assets/img/portada_tn.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.f1_portada {
  background-image: url("../assets/img/portada_f1.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tc2000_portada {
  background-image: url("../assets/img/portada_tc2000.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.turcar2000_portada {
  background-image: url("../assets/img/portada_turcar2000.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.toprace_portada {
  background-image: url("../assets/img/portada_toprace.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tcpk_portada {
  background-image: url("../assets/img/portada_tcpk.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tcmouras_portada {
  background-image: url("../assets/img/portada_tcmouras.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tcpm_portada {
  background-image: url("../assets/img/portada_tcpm.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.rallyarg_portada {
  background-image: url("../assets/img/portada_rallyarg.webp") !important;
  height: 145px !important;

  background-position: center !important;
}

.portada_tcrsa {
  background-image: url("../assets/img/portada_tcrsa.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_wrc {
  background-image: url("../assets/img/portada_wrc.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_wec {
  background-image: url("../assets/img/portada_wec.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_indy {
  background-image: url("../assets/img/portada_indy.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_f2 {
  background-image: url("../assets/img/portada_f2.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_f3 {
  background-image: url("../assets/img/portada_f3.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_nascar {
  background-image: url("../assets/img/portada_nascar.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.portada_turismop {
  background-image: url("../assets/img/portada_turismop.webp") !important;
  height: 130px !important;
  background-position: center !important;
}

.tituloCategorias {
  font-size: 25pt !important;
  text-shadow: 2px 2px 4px #000;
}

/* SCROLL PARA POSICIONES */
.tabla-scroll {
  /* overflow-y: auto !important; */
  display: block !important;
}

/* FORZAR A COMPORTARSE COMO FLEX PARA QUE CONSERVEN ALTURA LAS CARD */

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Este bloque empuja lo de abajo */
.card-content .card-bottom {
  margin-top: auto;
}

.card {
  height: 340px;
}

.card-bottom p {
  font-size: 13pt !important;
}

/* LAS CARD DE RALLY SON MAS ALTAS, ASI QUE LO AJUSTAMOS ACÁ */
.card_rally_arg {
  height: 350px !important;
}
.trophy {
  font-variation-settings: "FILL" 1 !important;
}
/* Pero en mobile… */
@media (max-width: 600px) {
  /* .row {
    min-height: 3453px !important;
    min-width: 317px !important;
  } */

  /* LA ALTURA DE LAS CARD CAMBIAN DEPENDE EL DISPOSITIVO */

  .card {
    height: 255px;
  }

  .card_event_name {
    font-size: 12pt !important;
    margin-bottom: 10px;
  }
  .card_event_date {
    font-size: 9pt !important;
  }
  .card_event_round {
    font-size: 13pt !important;
  }
  .card_circuit_name {
    font-size: 9pt !important;
  }

  .btn_sidenav_donar {
    font-size: 15pt !important;
    background: #4f3410;
    background: linear-gradient(
      43deg,
      rgb(148, 93, 22) 0%,
      rgba(217, 186, 48, 1) 53%,
      rgb(167, 149, 13) 100%
    );
  }

  .btn_sidenav_ig {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 15pt !important;
    background: #833ab4;
    background: linear-gradient(
      90deg,
      rgba(131, 58, 180, 1) 0%,
      rgba(253, 29, 29, 1) 54%,
      rgba(252, 246, 69, 1) 100%
    );
  }

  .rallyarg_portada {
    background-image: url("../assets/img/portada_rallyarg.webp") !important;
    background-position: center !important;
  }

  .collapsible-body {
    padding-top: 0.5 !important;
    padding-bottom: 0.5 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  nav .nav-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  nav .nav-spacer {
    width: 12.5%;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  body {
    padding-top: 7rem; /* ajustá a la altura real de tu navbar */
  }

  /* nav {
    position: fixed;
    background-color: #bdbdbd !important;
  } */

  .collapsible-body {
    transform-origin: top;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  }

  .tituloCategorias {
    font-size: 25pt !important;
  }
}
@media (max-width: 992px) {
  nav .nav-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  nav .nav-spacer {
    width: 12.5%;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  body {
    padding-top: 7rem; /* ajustá a la altura real de tu navbar */
  }

  .btn_sidenav_donar {
    font-size: 15pt !important;
    background: #4f3410;
    background: linear-gradient(
      43deg,
      rgb(148, 93, 22) 0%,
      rgba(217, 186, 48, 1) 53%,
      rgb(167, 149, 13) 100%
    );
  }

  .btn_sidenav_ig {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 15pt !important;
    background: #833ab4;
    background: linear-gradient(
      90deg,
      rgba(131, 58, 180, 1) 0%,
      rgba(253, 29, 29, 1) 54%,
      rgba(252, 246, 69, 1) 100%
    );
  }

  .card {
    height: 255px;
  }

  .card_event_name {
    font-size: 12pt !important;
    margin-bottom: 10px;
  }
  .card_event_date {
    font-size: 9pt !important;
  }
  .card_event_round {
    font-size: 13pt !important;
  }
  .card_circuit_name {
    font-size: 9pt !important;
  }

  /* LAS CARD DE RALLY SON MAS ALTAS, ASI QUE LO AJUSTAMOS ACÁ */
  .card_rally_arg {
    height: 255px !important;
  }
}
@media (min-width: 992px) {
  .btn_sidenav_donar {
    font-size: 15pt !important;
    background: #4f3410;
    background: linear-gradient(
      43deg,
      rgb(148, 93, 22) 0%,
      rgba(217, 186, 48, 1) 53%,
      rgb(167, 149, 13) 100%
    );
  }

  .btn_sidenav_ig {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 15pt !important;
    background: #833ab4;
    background: linear-gradient(
      90deg,
      rgba(131, 58, 180, 1) 0%,
      rgba(253, 29, 29, 1) 54%,
      rgba(252, 246, 69, 1) 100%
    );
  }

  .card {
    height: 300px;
  }

  .card_event_name {
    font-size: 18pt !important;
    margin-bottom: 10px;
  }
  .card_event_date {
    font-size: 12pt !important;
  }
  .card_event_round {
    font-size: 15pt !important;
  }
  .card_circuit_name {
    font-size: 12pt !important;
  }
}
