/* =========================
   RESET
========================= */
* {
	font-size: 100%;
	color: #000000;
}

body {
	margin: 0px;
}

/* =========================
   BASE
========================= */
html {
	font-family: var(--SpaceGr);
	height: 100%;
	background-size: 100%;
}

a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
	transform-origin: left;
}

img {
	max-width: 100%;
	height: auto;
}

/* =========================
   LAYOUT
========================= */
.grillaEncab {
	background: var(--azul24);
	width: 100%;
	margin-bottom: 0.8em;
	top: 0px;
	height: 5.5em;
}

.grillaGeneral {
	width: 97%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
}

.grillaEncabResul {
	background: purple;
	width: 98.9%;
	padding: 0% 0.5% 0.1% 0.5%;
	margin-bottom: 0.5em;
	height: 5.5em;
}

.grillaGeneralRet {
	width: 99%;
	margin-right: auto;
	margin-left: auto;
}

.grillaBusqueda {
	background: white;
	width: 98%;
	margin-top: 0em;
	margin-bottom: 35px;
	padding: 0% 1%;
}

.tdLeft {
	width: 16%;
	vertical-align: top;
	float: left;
}

.tdRight {
	width: 75%;
	float: left;
}

/* =========================
   COMPONENTES
========================= */

/* Botón principal */
#btn {
	font-family: var(--SpaceGr);
	border: none;
	border-radius: 6px;
	font-weight: 800;
	background-color: var(--naranja24);
	color: #FFF;
	padding: 6px;
	width: 100px;
	position: absolute;
	right: 10px;
	top: 70px;
}

/* Botones varios */
.btnVolverProg,
a:hover .btnVolverProg,
.btnVolverRet,
a:hover .btnVolverRet,
.btnVolverIH,
a:hover .btnVolverIH {
	font-family: var(--SpaceGr);
	font-size: 1em;
	font-weight: 400;
	margin-right: auto;
	margin-left: auto;
	width: 50vw;
}

.btnVolverProg {
	color: #FFFFFF;
	background-color: #099;
	font-weight: 400;
	text-align: center;
}

a:hover .btnVolverProg {
	color: #FFFFFF;
	font-weight: 800;
	background-color: black;
}

.btnVolverRet {
	color: #FFFFFF;
	background-color: #d85034;
	font-weight: bold;
	text-align: center;
}

a:hover .btnVolverRet {
	background-color: black;
}

.btnVolverIH {
	color: #FFFFFF;
	font-weight: 700;
	text-align: center;
	padding:4px;
	border-radius: 0 0 6px 6px;
	margin-bottom: 1.4vw;
	display: block;
}

a:hover .btnVolverIH {
	font-weight: 700;
	background-color: var(--naranja24);
}

/* =========================
   TIPOGRAFÍA
========================= */
.leyendas {
	font-family: var(--Narrow);
	font-size: 0.8em;
	line-height: 1.2;
	font-weight: 400;
	margin-top: 0px;
	padding-bottom: 20px;
	width: 97%;
	margin-right: auto;
	margin-left: auto;
}

.anuncio {
	font-size: 1.2em;
	font-weight: 700;
	color: #c1c2ac;
	text-align: center;
	padding: 30% 10%;
}

.advertencia {
	font-size: 0.8em;
	color: #d85034;
	font-weight: 700;
}

.nomCarrera {
	font-family: var(--SpaceGr);
	font-size: 1.4em;
	font-weight: 700;
	color: var(--azul24);
	text-align: left;
	padding: 2.2% 0% 0.5% 4%;
	line-height: 0.9em;
}

.fecha {
	font-family: 'PT Sans', sans-serif;
	font-size: 1.3em;
	font-weight: 700;
	color: white;
	text-align: center;
}

.titOf {
	font-family: var(--SpaceGr);
	font-size: 1.25em;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin-top: 8px;
}

/* =========================
   ELEMENTOS DE CARRERA
========================= */
.ordenCarrera {
	font-family: var(--SpaceGr);
	font-size: 2.4em;
	margin-left: 0;
	letter-spacing: -2px;
	border-radius: 30px;
	color: #FFFFFF;
	background-color: var(--naranja24);
	font-weight: bold;
	text-align: center;
	height: 54px;
	width: 64px;
	padding-top: 6.5px;
}

.carreraN {
	font-size: 0.8em;
	color: #FFF;
	padding: 3px 5px 0;
	font-weight: 700;
	text-align: center;
	background-color: var(--azul24);
}

.hora {
	font-size: 1em;
	color: #069;
	font-weight: 700;
	text-align: center;
}

.distanciaSinImg {
	font-family: var(--SpaceGr);
	font-size: 0.8em;
	font-weight: 700;
	color: #666666;
	padding-left: 4%;
}

.condicion,
.comienzaAp {
	font-family: var(--Narrow);
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1.2em;
	padding-left: 4%;
}

.apuestas {
	font-size: 0.7em;
	font-style: italic;
	padding-left: 4%;
}

.premioysimul {
	font-size: 0.85em;
	font-weight: 700;
	padding-left: 4%;
}

.recordTelas {
        font-family: var(--Narrow);
	font-size: 0.75em;
	font-weight: 400;
	line-height: 1em;
	padding-left: 1%;
	position: relative;
	top: -36px;
}

/* =========================
   TABLAS
========================= */
table {
	width: 100%;
	font-size: 100%;
	table-layout: fixed;
	border-top: rgba(255, 255, 255, 0.19) 1px solid;
}

.wCaba { width: 20%; }
.w4Ult { width: 7%; }
.wNum { width: 5%; text-align: center; }
.wSpc { width: 19%; }
.wPelo { width: 5%; }
.wEdad { width: 3%; }
.wKg { width: 5%; }
.wJock { width: 17%; }

.mandil {
	font-size: 1em;
	text-align: center;
	font-weight: 700;
	color: #FFF;
	background-color: #099;
	padding-top: 2px;
	padding-right: 1px;
	padding-bottom: 5px;
}

.valigntop {
	vertical-align: top;
}

.encabezados, .encab, .encab2 {
	font-size: 70%;
	padding:2px;
	color:white;
	background-color:black;
}

/* =========================
   TEXTO TABLA
========================= */
.txt4ult {
	padding-left: 2px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 0.62em;
	line-height: 1.05em;
	font-weight: 400;
}

.txtleft,
.txtCenter, .pelo {
	font-family: var(--Narrow);
	font-size: 0.85em;
	line-height: 1.05em;
	font-weight: 400;
}

.txtCenter, .pelo {
	text-align: center;
}

.txtNegrita {
	font-size: 0.80em;
	font-weight: 700;
	padding-left: 2px;
}

/* =========================
   UTILIDADES / ESTADOS
========================= */
.retirado {
	background-color: #d85034;
}

.filete {
	border-top: 1px solid #099;
	padding-bottom: 2px;
}

.filete2 {
	border-top: 3px solid #099;
	padding-bottom: 2px;
}

/* =========================
   OCULTOS EN MOBILE
========================= */
.logo,
.encabProg,
.encabezados,
.progImp,
.progBusq,
.txtsmall,
.pista,
.padreMadre,
.distanciaConImg,
.wwwdir {
	display: none;
}



/* ======================================================================================================================================================
   TABLET (=768px)
========================= */
@media (min-width: 768px) {
.encabezados, 
.distanciaSinImg {
	display: none;
}

.encab2,
.encabProg,
.progImp,
.progBusq,
.txtsmall,
.pista {
	display: block;
}

.grillaEncab {
	height: 11.7em;
	margin-bottom: 40px;
}

/* Botones varios */
.btnVolverProg,
a:hover .btnVolverProg,
.btnVolverRet,
a:hover .btnVolverRet,
.btnVolverIH,
a:hover .btnVolverIH {
	font-size: 1.3em;
}

#btn {
    right: 40px;
    top: 55px;
}

.logo {
	display: block;
	max-width: 30%;
	height: auto;
	margin-left: 50px;
}

.wwwdir {
	display: block;
	font-weight:400;
	text-align: center;
	padding-top:8px;

}

.ordenCarrera {
    margin-left: 25%;
}

.titOf {
	font-size: 1.7em;
	margin-top: 0px;
	margin-bottom: 10px;
	line-height: 1;
}

.tdRight {
    width: 66%;
    float: left;
}

.condicion, .comienzaAp {
	font-family: var(--SpaceGr);
        font-size: 0.9em;
}

.distanciaConImg {
	display: block;
	font-size: 1em;
	font-weight: 700;
	color: #666666;
	padding-left:5%;
	margin-top:-10px;
}

.txtleft {
    font-family: var(--SpaceGr);
    font-size: 1em;
    line-height: 1.05em;
    font-weight: 400;
}

.mandil {
    font-size: 2em;
}
.txtNegrita {
    font-size: 1.2em;
    font-weight: 700;
    padding-left: 4px;
}

.padreMadre {
	font-family: var(--Narrow);
	display: block;
	padding-left: 4px;
}
.txt4ult, .txtCenter, .pelo {
    padding-left: 4px;
    font-size: 0.9em;
}
}



/* ======================================================================================================================================================
   DESKTOP (=1024px)
========================= */
@media (min-width: 1024px) {
.grillaEncab {
        height: 10.9em;
        margin-bottom: 40px;
}

.logo {
	display: block;
	max-width: 19%;
	margin-top:-30px;
}

.pista {
	width:17%;
	float:right;
}

.pista img {
	width:180px;
	margin-right:auto;
	margin-left:auto;
}

.distanciaConImg {
        display: block;
	margin-top: -10px;
	padding-left:20%;
}

.wwwdir {
	display: block;
	padding-top:4px;
}

.ordenCarrera {
	margin-left: 35%;
}

.nomCarrera {
    font-size: 1.8em;
}
.titOf {
        position: relative;
        font-size: 2.2em;
        margin-top: -47px;
        margin-bottom: 10px;
        line-height: 1;
    }
}




/* PRINT ===============================================================================================================================================*/
@media print {
@page {
	size: A4 portrait;
	margin: 8mm 8mm 6mm 10mm;
}

body {
	font-size: 12pt;
	line-height: 1.1;
	position: relative;
	z-index: 1;
}

.grillaGeneral {
	width: 100%;
}

.grillaEncab {
        height: 6em;
        margin-bottom: 40px;
}

.grillaBusqueda {
    margin-bottom: 20px;
}

#btn {
        display:none;
}

.btnVolverIH {
        display:none;
}

.logo {
	display: block;
	max-width: 31%;
	padding-top:15px;
	margin-left:25px;
}

.titOf {
	position:absolute;
	top:15px;
	left:38%;
	font-size: 1.5em;
        line-height: 1.2;
}

.wwwdir {
	font-size: 11pt;
	display: block;
	padding-top:16px;
}

.ordenCarrera {
	margin-left: 20%;
}

.tdRight {
        width: 76%;
        float: left;
}

.nomCarrera {
    padding: 1.2% 0% 0.5% 4%;
}

.padreMadre {
        font-family: var(--Narrow);
	font-size: 11px;
        line-height: 1.2;
        display: block;
        padding-left: 4px;
}

.recordTelas {
    top: -20px;
}
.wCaba { width: 20%; }
.w4Ult { width: 7%; }
.wNum { width: 5%; text-align: center; }
.wSpc { width: 19%; }
.wPelo { width: 5%; }
.wEdad { width: 3%; }
.wKg { width: 5%; }
.wJock { width: 17%; }



table,
tr,
td {
	page-break-inside: avoid;
}

#pagina {
	page-break-inside: avoid;
}


body::before {
	content: "PROGRAMA OFICIAL";
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-30deg);
	font-size: 80px;
	color: rgba(0,0,0,0.08);
	z-index: 0;
	pointer-events: none;
	white-space: nowrap;
}
}