/* BODY */
body {
    background-image: url('bg-pattern.svg'),
    -webkit-radial-gradient(10% 0, farthest-side ellipse, orange 20%, #ff770d);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    margin: 0;
}

table {
    width: 100%;
}

a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

hr {
    border: 2px solid orange;
}

h2, h3 {
    text-align: center;
}


/* HEADER */
header {
    background: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.head-logo {
    display: flex;
    align-items: center;
}

.head-logo img {
    width: 150px;
    margin-right: 15px;
}

.head-info {
    float: right;
    text-align: right;
}

.head1, .head2 {
    color:black;
    font-style: italic;
    letter-spacing: 5px;
    font-weight: 700;
}

.head1 {
    font-size: 18pt;
}

.head2 {
    text-transform: uppercase;
    font-style: italic;
}

.sub1 {
    color: #333;
}

.no-oficial, .privado {
    color: red;
    font-size: 1.5em;
    border: 1px solid red;
    text-transform: uppercase;
}

.logo {
    width: 30%;
}


/* FOOTER */
footer {
    text-align: center;
}

.firma {
    vertical-align: top;
    font-size: 20px;
}

.sponsors  {
    display: flex;
    place-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: white;
    padding: 10px;
}

.sponsors img {
    width: 100px;
    margin-left: 15px;
    margin-right: 15px;
}


/* CONTENIDO */
.container {
    overflow: scroll;
}

#contenedor_loading {
    display: none;
    background: white;
    text-align: center;
    padding: 50px;
}

#contenedor_resultados {
    display: none;
    overflow-x: auto;
}

.texto-resultados {
    text-align: center;
    background: white;
    padding: 10px;
    margin: 15px;
    border-radius: 5px;
    font-size: large;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* TABLAS */
#contenedor_resultados .tabla_interna {
    border-radius: 5px;
    width: 96%;
    padding: 10px;
    margin: 2%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.tabla_interna {
    border: 1px solid orange;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 5px;
    width: 98%;
    padding: 5px;
    margin: 1%;
}

.tabla_chica,
.tabla_chica th,
.tabla_chica td {
    width: auto;
}

.tabla_interna tbody tr:nth-child(even) td {
    background: rgb(255, 255, 255, 0.8);
    border-radius: 5px;
}

.tabla_interna tbody tr:nth-child(odd) td {
    background: rgb(255, 255, 255, 0.9);
    border-radius: 5px;
}

.tabla_interna thead {
    /*background: rgba(20, 20, 20, 0.9);*/
    color: white;
}

.tabla_interna tbody tr:hover td, .tabla_interna tbody tr.odd td {
    background-color: orange;
    color: #ffffff;
}


/* INFORMES */
@media all {
   div.saltopagina {
      display: none;
   }
}
@media print {
   div.saltopagina {
      display:block;
      page-break-before:always;
   }
}
.chart {
    width: 100%;
    padding-bottom: 30px;
    text-align: center;
}

.numero {
    font-weight: bold;
}

/* TICKETS */
.contenedor_ticket {
    font-size: 2em;
}

.ticket_logo {
    text-align: center;
    margin: 20px;
}

.ticket_content, .ticket_etapas, .ticket_pcs, .ticket_videos {
    text-align: center;
    background: rgb(255, 255, 255, 0.9);
    border-radius: 1em;
    padding: 20px;
    width: 80%;
    text-align: center;
}

.ticket_consulta, .ticket_buscar {
    margin: 15px 0;
}

.ticket_consulta input, .ticket_buscar input {
    margin: 8px 5px;
    padding: 10px;
    border-radius: 8px;
}

.ticket_consulta p, .ticket_buscar p {
    margin: 10px 0 5px 0;
    font-weight: bold;
}

#informe_ticket iframe {
    width: 90%;
}

#informe_ticket .numero, #informe_ticket .nombre {
    font-style: italic;
    letter-spacing: 5px;
    font-size: 2em;
    line-height: 1.4em;
    text-transform: uppercase;
}

#informe_ticket .nombre {
    width: 6em;
}

#informe_ticket .localidad,
#informe_ticket .categoria,
#informe_ticket .nombre_etapa,
#informe_ticket .nombre_pc,
#informe_ticket .nombre_video {
    letter-spacing: 2px;
    line-height: 2em;
}

#informe_ticket .tiempo,
#informe_ticket .pos_general,
#informe_ticket .pos_sexo,
#informe_ticket .pos_categoria {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5em;
    line-height: 2em;
}

#informe_ticket .estado_carrera,
#informe_ticket .tiempo_nro,
#informe_ticket .pos_general_nro,
#informe_ticket .pos_sexo_nro,
#informe_ticket .pos_categoria_nro,
#informe_ticket .pena_nro {
    color: orange;
    letter-spacing: 3px;
    font-size: 1.5em;
    font-weight: 700;
}

#informe_ticket .ticket_pcs,
#informe_ticket .nombre_parcial,
#informe_ticket .nombre_horas_pc,
#informe_ticket .nombre_minutos_pc,
#informe_ticket .nombre_segundos_pc,
#informe_ticket .nombre_milisegundos_pc {
    display: none;
}

#informe_ticket .hora_pc,
#informe_ticket .horas_pc,
#informe_ticket .minutos_pc,
#informe_ticket .segundos_pc,
#informe_ticket .milisegundos_pc {
    color: orange;
    letter-spacing: 3px;
    font-size: 1.5em;
    font-weight: 700;
}



/* FILTROS */
.contenedor_filtros {
    margin-top: 15px;
}

.filtros .filtros_tipos, .filtros .filtros_carreras,
.filtros .filtros_categorias, .filtros .filtros_categorias div,
.filtros .filtros_etapas, .filtros .filtros_etapas div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px;
}

.selectores {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.selectores .filtros_tipos, .selectores .filtros_carreras,
.selectores .filtros_categorias, .selectores .filtros_categorias div,
.selectores .filtros_etapas, .selectores .filtros_etapas div {
    margin: 8px;
}

.contenedor_filtros .selectores select {
    border: 0;
    border-radius: 8px;
    padding: 8px 15px;
    background-color: #ff770d !important;
    color: white !important;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.contenedor_filtros .filtros a {
    border-radius: 8px;
    padding: 8px 15px;
    margin: 5px;
    background-color: white;
    color: #ff770d;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.filtro_seleccionado {
    background-color: #ff770d !important;
    color: white !important;
    font-weight: bold;
}

.filtros_categorias, .filtros_categorias div, .filtros_etapas, .filtros_etapas div {
    display: none;
}


/* COLUMNAS */
.pos_general, .pos_sexo, .pos_categoria, .pos_etapa, .puntos, .puntos_anterior, .puntos_total, .numero, .total,
.penas, .velocidad_promedio, .sexo, .estado, .estado_carrera, .tag, .diff_ideal,
.diff_primero, .diff_anterior, .diff_regularidad,
.nacionalidad, .marca_logo {
    text-align: center;
}
.marca_logo img { height: 28px; }

.total, .diff_regularidad {
    font-weight: bold;
}

.sin_medalla, .nacionalidad_nombre, .marca_nombre, #informe_generales .sexo, #informe_categorias .sexo, #informe_etapas .sexo {
    display: none;
}

.medalla {
    font-size: x-large;
}

.estado_dns, .estado_dnf, .estado_dsq, .estado_lap, .estado_hooked, .estado_otro {
    background-color: rgba(200, 100, 100, 0.4);
}