.medalsEsp {width:100%;position:relative;}
.medalsEsp table {border-collapse:collapse;width:100%;}
.medalsEsp .tableBox {width:100%;height:52rem;overflow:hidden;overflow-y:auto;top:0;position:relative;background:#fff;}

.medalsEsp thead th span {color:#fff;font-size:1.6rem;font-weight:300;opacity:1;height:1.6rem;}
.medalsEsp p {font-size:1.4rem;display:inline-block;vertical-align:middle;line-height:2.2;}
.medalsEsp span{font-size:1.4rem;}
.medalsEsp thead {background:#0f924c;padding:1rem 0;}
.medalsEsp thead abbr {font-size:0;}
.medalsEsp thead th {padding:1rem;}
.medalsEsp td {text-align:center;padding:1rem 0;}
.medalsEsp tbody > tr td{min-width:3rem;} 

/* Colores Filas */
.medalsEsp tbody tr:nth-child(even) {background:#f7f7f7;}
.medalsEsp tbody tr:nth-child(odd) {background:#fff;}
.medalsEsp .tableSpain tbody tr{background:#ffebd3;}

/* Medallas */
.g3 .medalsEsp .th-gold,.g3 .medalsEsp .th-silv,.g3 .medalsEsp .th-bron {padding:0 1rem;}
.g4 .medalsEsp .th-gold,.g4 .medalsEsp .th-silv,.g4 .medalsEsp .th-bron {padding:0 0.5rem;}
.medalsEsp .th-gold abbr, .medalsEsp .th-silv abbr, .medalsEsp .th-bron abbr {width:3.4rem;line-height:2.28;display:inline-block;border-radius:100% 100%;border:2px solid #fff;box-shadow:0px 0px 1px #dad7d7;font-size:1.4rem;font-weight:700;}
.medalsEsp .th-gold abbr {background:#f6d878;}
.medalsEsp .th-silv abbr {background:#e4e4e4;}
.medalsEsp .th-bron abbr {background:#cbab78;}

/* Modulos de 3 */
.g3 .medalsEsp table tr td:last-child, .g3 .th-fed {display:none;}

/* Modulos de 4 */
.g4 .medalsEsp thead span,
.g4 .medalsEsp table tr td:nth-child(3), .g4 .medalsEsp .th-sport, .g4 .medalsEsp table tr td:last-child, .g4 .medalsEsp .th-fed {display:none;}
.g4 .medalsEsp thead abbr  {color:#fff;font-size:1.6rem;font-weight:300;opacity:1;height:1.8rem;}