
.tabla-eventos {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.tabla-eventos th,
.tabla-eventos td {
  padding: 8px;
}
.tabla-eventos td {
  border: 1px solid #ccc;
}
.tabla-eventos th {
  background-color: #f0f0f0;
  text-align: left;
}
#buscar-eventos {
  padding: 8px;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
}

.tabla-eventos tbody tr:nth-child(odd) {
  background-color: #fafafa;
}
.tabla-eventos tbody tr:nth-child(even) {
  background-color: #ffffff;
}

@media screen and (max-width: 768px) {
  .tabla-eventos thead {
    display: none;
  }

  .tabla-eventos,
  .tabla-eventos tbody,
  .tabla-eventos tr,
  .tabla-eventos td {
    display: block;
    width: 100%;
  }

  .tabla-eventos tbody tr:nth-child(odd) {background-color: transparent;}

  .tabla-eventos tr {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    padding: 0.5rem;
  }

  .tabla-eventos td:nth-child(1),
  .tabla-eventos td:nth-child(2) {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    font-weight: bold;
    background-color: transparent;
  }

  .tabla-eventos td:nth-child(1) {
    border-top-left-radius: 8px;
    padding: 6px 10px !important;
  }
  .tabla-eventos td:nth-child(2) {
    border-top-right-radius: 8px;
  }

  .tabla-eventos td:nth-child(3),
  .tabla-eventos td:nth-child(4) {
    display: inline-block;
    box-sizing: border-box;
    background-color: #FFF;
  }

  .tabla-eventos td:nth-child(3) {
    margin-top: -2px;
    width: 100% !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .tabla-eventos td:nth-child(4) {
    display: none !important;
  }
}