/**
 * Rebel Monkey Ride - Hall of Fame
 */

.tableHOF {
    display: table;
    text-align: center;
    width: 100%;
    margin: 5% auto 0;
    border-collapse: separate;
    font-family: var(--rmr-font-primary) !important;
    font-weight: var(--rmr-font-weight-normal);
}

.tableHOF_row {
  display: table-row;
}

.theaderHOF {
  display: table-row;
}

.tableHOF_header {
  display: table-cell;
  border-bottom: #ccc 1px solid;
  border-top: #ccc 1px solid;
  background: white;
  color: #000000;
  font-weight: 500;
}

.tableHOF_header:first-child {
  border-left: #ccc 1px solid;
}

.tableHOF_header:last-child {
  border-right: #ccc 1px solid;
}

.tableHOF_small {
  display: table-cell;
}

.tableHOF_row > .tableHOF_small > .tableHOF_cell:nth-child(odd) {
  display: none;
  padding-top: 8px;
  padding-bottom: 8px;
}

.tableHOF_row > .tableHOF_small > .tableHOF_cell {
  padding-top: 2px;
  padding-bottom: 2px;
  border-bottom: #ccc 1px solid;

  border-right: #ccc 1px solid;
  border-top: #ccc 1px solid;

}

.tableHOF_row > .tableHOF_small:first-child > .tableHOF_cell {
  border-left: #ccc 1px solid;
}

.tableHOF_row > .tableHOF_small:last-child > .tableHOF_cell {
  border-right: #ccc 1px solid;
}



    .tableHOF_row > .tableHOF_small:first-child > .tableHOF_cell:last-child {
      border-left: none;
    }
    .tableHOF_row > .tableHOF_small > .tableHOF_cell:first-child {
      border-left: #ccc 1px solid;
			background: white;
      color: #000000;
    }
    .tableHOF_row > .tableHOF_small:first-child > .tableHOF_cell:first-child {
      border-top: #ccc 1px solid;
    }
    .tableHOF_row > .tableHOF_small:first-child > .tableHOF_cell:last-child {
      border-top: #ccc 1px solid;
    }
    .tableHOF_row > .tableHOF_small:last-child > .tableHOF_cell:first-child {
      border-right: none;
    }
    .tableHOF_row > .tableHOF_small > .tableHOF_cell:last-child {
      border-right: #ccc 1px solid;
    }


@media screen and (max-width: 900px) {
  .tableHOF {
      width: 90%
    }
 }

@media screen and (max-width: 650px) {
  .tableHOF {
    display: block;
  }
  .tableHOF_row:nth-child(2n+3) {
    background: none;
  }
  .theaderHOF {
    display: none;
  }
  .tableHOF_row > .tableHOF_small > .tableHOF_cell:nth-child(odd) {
    display: table-cell;
    width: 50%;
  }

  .tableHOF_cell {
    display: table-cell;
    width: 50%;
  }
  .tableHOF_row {
    display: table;
    width: 100%;
    border-collapse: separate;
    padding-bottom: 20px;
    margin: 5% auto 0;
    text-align: center;
  }
  .tableHOF_small {
    display: table-row;
  }


  .tableHOF_row > .tableHOF_small > .tableHOF_cell:nth-child(odd) {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}
/* -- End Tabla Hall of Fame Responsive */

/* El Hero del directorio conserva el ancho completo. El resto de sus
 * controles y contenido comparten una columna visual centrada para evitar
 * que toolbar, grid y paginación queden pegados a los bordes del viewport. */
body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__filters.rmr-filters,
body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__toolbar,
body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory-grid,
body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__load-more {
  width: min(1320px, calc(100% - 4rem));
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 980px) {
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__filters.rmr-filters,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__toolbar,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory-grid,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__load-more {
    width: calc(100% - 3rem);
  }
}

@media screen and (max-width: 767px) {
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__filters.rmr-filters,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__toolbar,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory-grid,
  body.post-type-archive-monkey .rmr-hall-directory .rmr-monkey-directory__load-more {
    width: calc(100% - 2rem);
  }
}
