/*-----------------------------------------------------------creneaux.php-----------------------------------------------------------*/
.tab {
  overflow: hidden;
}

.tab button {
  background-color: #ccc;
  border: none;
  color: black;
  padding: 10px 20px;
  cursor: pointer;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #fff;
}

.tabcontent {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
}
.tab button.active.laserrun,
.tab button.active.natation,
.tab button.active.escrime,
.tab button.active.obstacle,
.tab button.active.bureau,
.tab button.active.coach,
.tab button.active.athletes,
.tab button.active.triathlé,
.tab button.active.tetrathlon,
.tab button.active.pentathlon,
.tab button.active.article,
.tab button.active.presentation,
.tab button.active.prive,
.tab button.active.public,
.tab button.active.evenement {
  background-color: gray !important;
  color: white !important;
  cursor: default !important;
}
.table {
  margin: 1rem auto;
  text-align: center;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid;
}

.table th,
.table td {
  padding: 8px 0;
}

.table thead {
  background-color: rgb(32, 47, 74);
  color: white;
}

.table tbody tr:nth-child(even) {
  background-color: white;
  color: rgb(32, 47, 74);
}

@media only screen and (max-width: 800px) {
  .table table,
  .table thead,
  .table tbody,
  .table th,
  .table td,
  .table tr {
    display: block;
  }

  .table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table td {
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }

  .table td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    white-space: nowrap;
    text-align: left;
    content: attr(data-title);
  }
}
