

main{
    max-width: none;
}

/*========== Formato de Tabla ==========*/
table{
    border-spacing: 1px;
    width: 100%;
    min-width: 1000px;
    /*color: white;*/
}
table th{    
    background: rgba(248,80,50,1);
    background: linear-gradient(to bottom, rgba(248,80,50,1) 0%, rgba(241,111,92,1) 50%, rgba(246,41,12,1) 51%, rgba(240,47,23,1) 71%, rgba(231,56,39,1) 100%);       
    color: white;

    /*text-shadow: 0px 0px 5px cyan;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(65, 65, 65) 50%, rgb(70, 70, 70) 51%, rgb(0, 0, 0) 100%);
    */
}
table tr:nth-child(even){
    background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(161, 185, 216) 100%);
    /*background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(162, 187, 255) 100%);*/
    /*background: rgba(40, 40, 40, 0.8);*/
}
table tr:nth-child(odd){
    background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(251, 252, 187) 100%);
    /*background: rgba(10, 10, 10, 0.8);*/
}
table th{
    padding: 4px;
    text-align: center;
}
table td{
    padding: 2px;
    padding-right: 8px;
    text-align: right;
}

/*========== Resultado ==========*/
.cResultado table td:nth-child(1){ min-width: 20px; }
.cResultado table td:nth-child(2){ min-width: 20px; }
.cResultado table td:nth-child(3){ min-width: 110px; text-align: left; padding-left: 8px; }
.cResultado table td:nth-child(4){ min-width: 30px; }
.cResultado table td:nth-child(5){ min-width: 70px; }
.cResultado table td:nth-child(6){ min-width: 100px; }
.cResultado table td:nth-child(7){ min-width: 100px; }
.cResultado table td:nth-child(8){ min-width: 70px; }
.cResultado table td:nth-child(9){ min-width: 70px; }
.cResultado table td:nth-child(10){ min-width: 80px; }
.cResultado table td:nth-child(11){ min-width: 100px; text-align: left; padding-left: 8px; }
.cResultado table td:nth-child(12){ min-width: 70px; }
.cResultado table td:nth-child(13){ min-width: 70px; }

/*========== Vueltas piloto ==========*/
.cVueltasPiloto table{
    font-size: 12px;
    min-width: 400px;
    max-width: 600px;
    border-bottom: 2px solid rgb(100, 0, 139);
    color: black;
}
.cVueltasPiloto td{
    background: white;
    text-align: right;
}
.cVueltasPiloto table th{    
    background: rgb(50, 80, 248);
    background: linear-gradient(to bottom, rgb(117, 27, 139) 0%, rgb(250, 187, 247) 50%, rgb(178, 107, 185) 51%, rgb(142, 70, 156) 71%, rgb(138, 26, 104) 100%);   
    color: white;
}
.cVueltasPiloto .cBestLap{
    background: cyan;
}
.cVueltasPiloto .cBestLapTotal{
    background: blue;
    color: white;
}

/*========== Orden de Partida ==========*/
.cOrdenPartida table{
    min-width: 400px;
    max-width: 600px;
    border-bottom: 2px solid darkblue;
    color: black;
}
.cOrdenPartida td{
    background: white;
}
.cOrdenPartida table th{    
    background: rgb(50, 80, 248);
    background: linear-gradient(to bottom, rgb(27, 36, 139) 0%, rgb(187, 193, 250) 50%, rgb(108, 107, 185) 51%, rgb(83, 70, 156) 71%, rgb(37, 26, 138) 100%);   
    color: white;
}
.cOrdenPartida table td:nth-child(3){ /*min-width: 120px;*/ text-align: left; padding-left: 8px; }
.cOrdenPartida table td:nth-child(4){ text-align: left; padding-left: 8px; }

/*========== Estatus ==========*/
#idtxestatus{
    color: blue;
    font-size: 20px;
    text-align: center;
}

/*========== Crono ==========*/
.cDisplayCrono{
    display: flex; flex-direction: row;
    background: black;
    margin-bottom: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 5px;
    border-radius: 5px;
}
#idtxcrono{
    min-width: 110px;
    font-size: 24px;
    color: lime;
    text-align: center;
    padding: 4px;
    margin-right: 10px;
}
.cLimite{
    color: yellow;
    display: flex; flex-direction: row;
    text-align: right;
    font-size: 12px;
    padding: 2px;
}
.cLimite span{
    min-width: 85px;
}
#idtxlimite, #idtxtolerancia{
    min-width: 65px;
}

/*========== Resultados de Fase o Serie ==========*/
.cResultadoFaseSerie table{
    min-width: 400px;
    max-width: 700px;
}
.cResultadoFaseSerie .cCeldaFusion{
    text-align: left;
    font-weight: bolder;
    color: white;
    background: linear-gradient(to right, darkorange 0%, white 100%);
    padding: 5px;
}
.cResultadoFaseSerie table th{    
    background: rgb(10, 126, 6);
    background: linear-gradient(to bottom, rgb(25, 117, 16) 0%, rgb(98, 207, 104) 50%, rgb(85, 161, 69) 51%, rgb(80, 156, 70) 71%, rgb(6, 75, 4) 100%);       
    color: white;
}
.cResultadoFaseSerie table tr:nth-child(even){
    background: lightblue;
}
.cResultadoFaseSerie table tr:nth-child(odd){
    background: lightcyan;
}
.cResultadoFaseSerie table td:nth-child(3){ min-width: 120px; text-align: left; padding-left: 8px; }
.cResultadoFaseSerie table td:nth-child(4){ text-align: left; padding-left: 8px; }

.cLinkResult{
    padding: 8px;
}


/*========== Resultado absoluto ==========*/
.cResultadoAbsoluto{
    background-image: url(recursos/fondo.jpg);
    background-position: center;
    background-size: cover;
    font-family: "sport";
}
.cResultadoAbsoluto .cCuerpo{
/*    background-image: url(recursos/fondo.jpg);
    background-position: center;
    background-size: cover;
*/
}
.cResultadoAbsoluto table{
    border-spacing: 0px;
    margin-bottom: 15px;
    color: white;
    min-width: 800px;
}
.cResultadoAbsoluto .cOrdenPartida th{
    text-shadow: 0px 0px 5px cyan;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(65, 65, 65) 50%, rgb(70, 70, 70) 51%, rgb(0, 0, 0) 100%);
}
.cResultadoAbsoluto table tr:nth-child(even){
    background: rgba(125, 190, 255, 0.4);
    background: rgba(40, 40, 40, 0.8);
}
.cResultadoAbsoluto table tr:nth-child(odd){
    background: rgba(208, 237, 253, 0.4);
    background: rgba(10, 10, 10, 0.8);
}
.cResultadoAbsoluto td{
    background: none;
}
.cResultadoAbsoluto .cOrdenPartida table td:nth-child(2){ min-width: 120px; text-align: left; padding-left: 8px; }
.cResultadoAbsoluto .cOrdenPartida table td:nth-child(4){ text-align: left; padding-left: 8px; }


/*========== Check Auto ==========*/
.cCheckAuto{
    display: flex; flex-direction: row;
    max-width: calc(95% - 20px);
    padding: 10px;
    background: rgba(248, 255, 155, 0.5);
    border: 1px solid rgb(231, 229, 92);
    border-radius: 8px;
    margin: 10px;
    cursor: pointer;
    user-select: none;
    max-width: 500px;
}
.cCheckAuto input[type=checkbox] {
    margin-right: 10px;
}