/***************************************************************************************************

	Rally Live Timing Web App CSS File
	Made by Stelliox Studio
	www.stelliox.com

****************************************************************************************************/

@font-face{ font-family: "Orbitron-Bold"; src: url(../fonts/orbitron-bold.otf); }
@font-face{ font-family: "Orbitron-Medium"; src: url(../fonts/orbitron-medium.otf); }
@font-face{ font-family: "Roboto-Regular"; src: url(../fonts/Roboto-Regular.ttf); }
@font-face{ font-family: "Roboto-Bold"; src: url(../fonts/Roboto-Bold.ttf); }
@font-face{ font-family: "Roboto-CondReg"; src: url(../fonts/RobotoCondensed-Regular.ttf); }


html, body{
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
	cursor: default;
}

a, a:hover, a:active, a:focus{
	text-decoration: none;
	outline: none;
}

.page-center{
	position: relative;
	display: table;
    width: 100%;
    height: 100%;
    background-color: #122121;
}
.page-center-in{
	display: table-cell;
    vertical-align: middle;
    padding: 15px 0;
}
.content-box{
	width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
h1.title{
	font-family: "Roboto-Bold";
	font-size: 60px;	
    text-align: center;
	color: #EF3C06;
	margin-bottom: 30px;
}
h1.title small{
	font-family: "Roboto-Bold";
	font-size: 53px;
	color: #D4DDDD;
	margin-left: -15px;
}
.form-box{
	position: relative;
	padding: 36px 28px;
	border: 3px solid #A1AAAA;
	border-radius: 10px;
	color: #fff;	
}
.form-box.w_margin{
	margin-bottom: 130px;
}
#login.form-box{
	margin: 0 60px;
}
.form-box label{
	font-family: "Roboto-Bold";
	text-transform: uppercase;
	font-size: 30px;
	margin-bottom: 0;
    line-height: 71px;
}
.form-box .form-row:not(:last-child){
	margin-bottom: 25px;
}
.form-control{
	font-size: 30px;
	padding: 17px 15px;
	border-radius: 5px;
}
.form-box .form-text{
	font-family: "Roboto-Regular";
	font-size: 20px;
	color: #808080;
	text-transform: uppercase;
	display: inline-block;
	float: right;
}
.form-box .form-text.type-1{
	margin-top: 20px;
}
.form-box .form-text.type-2{
	padding-left: 220px;
    margin-bottom: -67px;
    margin-top: 7px;
}
.form-button{
	position: absolute;
    right: 0;
    bottom: -110px;
    font-family: "Roboto-Bold";
    font-size: 30px;
    background-color: transparent;
    text-transform: uppercase;
    border: 3px solid #4d4d4d;
    border-radius: 5px;
    padding: 18px 25px 18px 95px;
    cursor: pointer;
    color: #fff;
    line-height: 1.2;
    -webkit-transition: all 0.25s ease-in;
       -moz-transition: all 0.25s ease-in;
        -ms-transition: all 0.25s ease-in;
         -o-transition: all 0.25s ease-in;
            transition: all 0.25s ease-in;
}
.form-button .icon{
	position: absolute;
	top: 11px;
    left: 6px;
}
.form-button:hover{
	background-color: #f35727;
	border-color: #f35727;
	-webkit-transition: all 0.25s ease-in;
       -moz-transition: all 0.25s ease-in;
        -ms-transition: all 0.25s ease-in;
         -o-transition: all 0.25s ease-in;
            transition: all 0.25s ease-in;
}
a.form-button:hover{
	color: #fff;
}
.form-button.back{
	right: 260px;
}
.form-button.type_2{
	position: relative;
	bottom: 0;
	float: right;
	font-size: 15px;
	padding: 11px 20px 11px 40px;
	color: #A1AAAA;
}
.form-button.type_2 .icon{
	width: 30px;
    height: 30px;
    top: 5px;
}
.form-button.type_2:hover{
	background-color: transparent;
}
.form-button.type_3{
	position: relative;
    color: #000;
    font-size: 14px;
    padding: 10px 10px 10px 58px;
	top: 0;
	display: inline-block;
    margin-bottom: 50px;
}
.form-button.type_3 .icon{
	width: 24px;
	height: 20px;
	top: 7px;
}
.form-button.type_3:hover{
	background-color: transparent;
	color: #000;
}
.form-button.type_3._w{
	float: right;
	margin-top: 20px;
	color: #fff;
}
.form-button.type_3._w .icon{
	height: 29px;
    top: 6px;
}

.n_m{
	text-align: center;
}
.n_m p{
	font-family: "Roboto-Regular";
	font-size: 28px;
	color: #fff;	
}
.n_m p._s{
	font-size: 14px;
}
.n_m .form-button.type_3._w{
	float: none;
}

.custom-select{
	font-family: "Roboto-Bold";
    font-size: 30px;
    text-transform: uppercase;
    height: auto;
    background-color: transparent;
    color: #fff;
    border: 3px solid #4d4d4d;
    padding: 4px 40px 4px 25px;
}
.custom-select:focus{
	background-color: #fff;
	border-color: #fff;
	color: #000;
}
.custom-select.on_white{
	font-size: 13px;
	color: #1B1F32;
	padding: 4px 20px 4px 5px;
	margin-right: 20px;
	min-width: 25%;
}
.custom-select.on_white:focus{
	border-color: #4d4d4d;
}


.custom-button {
	font-family: "Roboto-Bold";
    font-size: 30px;
    text-transform: uppercase;
    height: auto;
    background-color: transparent;
    color: #fff;
    border: 3px solid #4d4d4d;
    padding: 4px 40px 4px 25px;
}
.custom-button:focus {
	background-color: #fff;
	border-color: #fff;
	color: #000;
}
.custom-button.on_white {
	font-size: 12px;
	color: #000;
	padding: 4px 30px 4px 20px;
	margin-left: 15px;
}
.custom-button.on_white:focus {
	border-color: #4d4d4d;
}

.btn-active {
	background-color: #F00;
}

.fl_text{
	font-family: "Roboto-Bold";
	font-size: 13px;
	text-transform: uppercase;
	margin-right: 10px;
}
.tm{
	margin-top: -5px;
    margin-bottom: 5px;
	min-width: 50%;
}
.inf_text{
	font-family: "Roboto-Bold";
    font-size: 35px;
    margin-left: 10px;
    margin-top: 10px;
    float: left;
    line-height: 1;
    color: #EF3C06;
}
.form-times .divider{
	margin-top: 10px;
	border-top: 1px solid #f35727;
	border-bottom: 1px solid #f35727;
	padding: 5px 0;
	display: flex;
	flex-wrap: wrap;
}
.form-times .divider_2{
	border-bottom: 1px solid #f35727;
	padding: 0 0 20px;
}
.form-times ._t{
	display: block;
	font-family: "Roboto-Bold";
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	margin-bottom: 5px;
}
.form-times .form-group{
	padding: 15px;
	border: 3px solid #4d4d4d;
	border-radius: 10px;
}
.form-times .form-control.text-center{
	font-family: "Roboto-Bold";
    font-size: 40px;
    padding: 5px 10px;
}
.form-times .form-control.m_width{
    width: 110px;
}
.form-times ._tp .col:not(:last-child){
	position: relative;
	margin-right: 7px;
}
.form-times ._tp .col:not(:last-child):after{
	content: ":";
	position: absolute;
	top: 4px;
    right: -9px;
	font-family: "Roboto-Bold";
	font-size: 40px;
	color: #808080;
}
.form-times ._tp .col:nth-child(3):after{
	content: ",";
}
.form-times .time_label{
	font-family: "Roboto-Regular";
	font-size: 18px;
	text-transform: uppercase;
	text-align: center;
	color: #808080;
	display: block;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 0.5;
}
.form-times .time_label.b{
	color: #000;
}
.form-times .custom-select{
	float: left;
}
.form-times ._pen ._t{
	text-align: left;
}
.form-times ._pen .text-center{
	text-align: left !important;
}
.max-width-min{
	max-width: 200px;
	display: inline-block;
}
p.type{
	font-family: "Roboto-Bold";
	font-size: 30px;
	text-align: right;	
	text-transform: uppercase;
	color: #4d4d4d;
	margin: 8px 60px 0;
}

main{
	position: relative;
	height: 100%;
	background-color: #122121;
	padding: 20px 0;
	overflow: auto;
}
main.no-height{
	height: auto;
}
.main-box{
	width: 100%;
	margin: 0 auto;
}
.width_min{	
    max-width: 460px;    
}
.width_med{	
    max-width: 700px;    
}
.width_lg{	
    max-width: 1100px;    
}
.main-box .content{
	margin-top: 25px;
}
.main-box .content.m_margin{
	margin-top: 10px;
}
.white-box{
	width: 100%;
	padding: 5px 0;
}
.white-box .content{
	width: 100%;
	margin: 0 auto;
}
.white-box .divider{
	border-bottom: 1px solid #FC2800;
	padding-bottom: 5px;
}
.text_warning{
	font-family: "Roboto-Regular";
	font-size: 12px;
	color: #ff0000;
}

h1.title_logged{
	font-family: "Roboto-Bold";
	font-size: 38px;
	color: #EF3C06;
	border-bottom: 1px solid #EF3C06;
	padding-bottom: 10px;
}
h1.title_logged small{
	font-family: "Roboto-Bold";
    font-size: 22px;
    color: #808080;
    margin-left: -6px;
}
h2.sub_t{
	position: relative;
	font-family: "Roboto-Bold";
	font-size: 42px;
	color: #808080;
	margin-bottom: 20px;
}
h2.sub_t.float-right{
	font-size: 25px;
	margin-bottom: 0;
	margin-top: 5px;
}
h2.sub_t.white{
	font-size: 40px;
	color: #fff;
	padding-left: 100px;
	padding-top: 3px;
	margin-bottom: 0;
}
h2.sub_t.white .icon{
	position: absolute;
	top: 0;
	left: 0;
}
h4.msub_t{
	font-family: "Roboto-Bold";
	font-size: 20px;
	text-transform: uppercase;
	color: #808080;
	margin: 10px 0;
}
.navigation ul{
	margin-bottom: 0;
}
.navigation li{
	margin-top: 10px;
}
.navigation a,
.navigation button{
	font-family: "Roboto-Bold";
	font-size: 25px;
	text-transform: uppercase;
	position: relative;
	display: block;
	border: 3px solid #4d4d4d;
	border-radius: 5px;
	color: #fff;
	padding: 14px 25px 14px 90px;
	background-color: transparent;
	-webkit-transition: all 0.25s ease-in;
       -moz-transition: all 0.25s ease-in;
        -ms-transition: all 0.25s ease-in;
         -o-transition: all 0.25s ease-in;
            transition: all 0.25s ease-in;
}
.navigation a:hover,
.navigation button.uk-hover{
	background-color: #EF3C06;
	border-color: #EF3C06;
	-webkit-transition: all 0.25s ease-in;
       -moz-transition: all 0.25s ease-in;
        -ms-transition: all 0.25s ease-in;
         -o-transition: all 0.25s ease-in;
            transition: all 0.25s ease-in;
}
.navigation a .icon,
.navigation button .icon{
	position: absolute;
	top: 50%;
	left: 15px;
	margin-top: -20px;
}
.b_table{
	border: 3px solid #4d4d4d;
    border-radius: 10px;
    padding: 5px 8px 15px;
}
.b_table .table{
	margin-bottom: 0;
}
.b_table .table thead th,
.b_table .table td, 
.b_table .table th{
	font-family: "Roboto-Regular";
	text-transform: uppercase;
	border: none;
}
.b_table .table td:first-child,
.b_table .table th:first-child{
	text-align: center;
}
.b_table .table td:not(:first-child),
.b_table .table th:not(:first-child){
	text-align: right;
}
.b_table .table thead th{
	color: #808080;
	font-size: 16px;
}
.b_table .table tbody tr td{
	font-size: 25px;
	background-color: #808080;
	color: #000; 
	line-height: 1;
}
.b_table .table tbody tr:nth-of-type(even) td{
	background-color: #999999;
}
.b_table .table tbody tr:hover td{
	background-color: #5e5e5e;
	cursor: pointer;
}
.b_table .table thead tr th,
.b_table .table tbody tr td{
	border-left: 2px solid #000;
}

.lv_table{
	margin-top: 20px;
}
.lv_table thead tr th,
.lv_table tbody tr td{
	text-align: center;
	padding: 5px;
	line-height: 1;
	vertical-align: middle;
}
.lv_table thead tr th{
	background-color: #1B1F32;
	font-family: Roboto-CondReg;
	font-size: 13px;
	text-transform: uppercase;
	color: #fff;
}
.lv_table tbody tr td{
	font-family: Roboto-CondReg;
	font-size: 13px;
}
.lv_table tbody tr td:first-child{
	color: #000;
	font-size: 13px;
}
.lv_table tbody tr td:nth-child(3),
.lv_table tbody tr td:nth-child(4),
.lv_table tbody tr td:nth-child(5),
.lv_table tbody tr td:nth-child(6),
.lv_table tbody tr td:nth-child(7){
	font-size: 13px;
	font-family: Roboto-CondReg;
}

.lv_table_2 tbody tr td:nth-child(8),
.lv_table_2 tbody tr td:nth-child(9),
.lv_table_2 tbody tr td:nth-child(10),
.lv_table_2 tbody tr td:nth-child(11),
.lv_table_2 tbody tr td:nth-child(12){
	font-size: 14px;
	font-family: Roboto-CondReg;
}

.lv_table tbody tr td:last-child{
	min-width: 80px;
	font-size: 14px;
}
.lv_table tbody tr td .icon{
	display: none;
	width: 16px;
	height: 16px;
}
.lv_table.no_width{
	width: auto;
}
.sep{
	width: 100%;
	padding-top: 5px;
}
.sep table{
	margin-bottom: 20px;
}
.sep table thead{
	display: none;
}
.sep table tbody th,
.sep table tbody td{
	font-family: "Roboto-CondReg";
	font-size: 14px;
	text-transform: uppercase;
}
.sep table tbody td,
.sep table tbody th:last-child{
	padding-left: 15px;
}

.td-time {
	font-size: 14px !important;
}

.td-time {
	font-size: 14px !important;
}

.td-diff {
	font-size: 14px;
}

.i-1{
	background: url(../img/icon01.png);
}
.i-2{
	background: url(../img/icon02.png);
}
.i-3{
	background: url(../img/icon03.png);
}
.i-4{
	background: url(../img/icon04.png);
}
.i-5{
	background: url(../img/icon05.png);
}
.i-6{
	background: url(../img/icon06.png);
}
.i-7{
	background: url(../img/icon07.png);
}
.i-8{
	background: url(../img/icon08.png);
}
.i-9{
	background: url(../img/icon09.png);
}
.i-10{
	background: url(../img/icon10.png);
}
.i-11{
	background: url(../img/icon11.png);
}
.i-12{
	background: url(../img/icon12.png);
}
.icon{
	display: block;
	width: 40px;
    height: 40px;
	background-size: cover;
	background-position: center;
	opacity: 0.7;
}
.table-responsive{
	width: 100%;
}

.modal{
	background-color: rgba(0,0,0,0.5);
}
.modal .time_label{
	font-family: "Roboto-CondReg";
	display: block;
	text-transform: uppercase;
	text-align: center;
}

#tableEditable tbody tr td.edited{
	background-color: #ff0000;
}

/* LOGO DE INICIO */
/* Estilos base (Móviles / Pantallas pequeñas) */
.logo-crono-main {
    display: block;      /* Asegura que ocupe su propio renglón */
    margin: 0 auto 15px; /* Centra horizontalmente y da espacio abajo */
    height: auto;        /* Mantiene la proporción */
    transition: width 0.3s ease; /* Animación suave al cambiar de tamaño */
}

/* Tablet (Pantallas mayores a 768px) */
@media (min-width: 768px) {
    .logo-crono-main {
        margin-bottom: 20px;
    }
}

/* Escritorio (Pantallas mayores a 1200px) */
@media (min-width: 1200px) {
    .logo-crono-main {
        max-width: 100%;    /* Tamaño máximo para monitores grandes */
        margin-bottom: 25px;
    }
}

/* ============================================================
   PUNTOS DE RUPTURA CONSOLIDADOS (Sin Redundancias)
   ============================================================ */

/* 1. LAPTOP & DESKTOP PEQUEÑO (Hasta 1199px) */
@media screen and (max-width: 1199px) {
    .main-box.width_lg { padding: 0 15px; }
    .white-box .content { padding: 0 30px; }
    .inf_text { font-size: 35px; margin-top: 10px; }
    .form-times .form-control.text-center { padding: 5px 0; }
}

/* 2. TABLET HORIZONTAL / MEDIUM (Hasta 949px) */
@media screen and (max-width: 949px) {
    #form-times .col-2,
    #form-times .col-10,
    .form-times .col-2,
    .form-times .col-10 {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .form-times ._pen ._t,
    .form-times ._pen .text-center { text-align: center !important; }
}

/* 3. TABLET (Hasta 822px) */
@media screen and (max-width: 822px) {
    #form-times.form-times .form-control.text-center { font-size: 30px; }
    #form-times.form-times ._tp .col:not(:last-child):after { top: -8px; }
}

/* 4. TABLET PEQUEÑA (Hasta 768px) */
@media screen and (max-width: 768px) {
    .main-box { padding: 0 15px; }
    h1.title { font-size: 40px; }
    h1.title small { font-size: 35px; }
    .form-times .form-control.m_width { width: 100% !important; }
    .form-box .form-text { font-size: 18px; }
    .form-box .form-text.type-2 { margin-bottom: -76px; }
}

/* 5. MÓVIL (Hasta 686px) */
@media screen and (max-width: 686px) {
    .form-box .form-text { display: block; position: absolute; margin-top: 75px; float: none; }
    .form-box .form-text.type-1 { margin-top: 75px; }
    .form-box .form-text.type-2 { padding-left: 0; margin-top: 75px; margin-bottom: 0; }
    .max-width-min { max-width: none; }
    .form-box label { font-size: 23px; }
	.navigation button { font-size: 20px; }
}

/* 6. MÓVIL SMARTPHONE (Hasta 645px) */
@media screen and (max-width: 645px) {
    h1.title_logged.st_2 { text-align: center; position: relative; top: -45px; padding-bottom: 15px; }
    h2.sub_t.float-right { float: none !important; position: relative; text-align: center; top: 40px; }
    .main-box .content.m_margin { margin-top: -25px; }
    .form-times .form-control.m_width { margin-top: 0px; } /* Consolidado de 670px */
}

/* 7. MÓVIL VERTICAL / SMALL (Hasta 576px) */
@media screen and (max-width: 576px) {
    #form-times .col-6,
    .form-times .col-6 {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    h1.title small { display: block; font-size: 35px; }
    h2.sub_t { font-size: 30px; }
	h1.title_logged {font-size: 30px; }
    
    .form-button.back { right: 0; bottom: -235px; margin-bottom: 35px; } /* De 588px */
    
    #login.form-box { margin: 0; padding-bottom: 55px; }
    .form-control { padding: 5px 5px; font-size: 25px; }
    
    .form-box { padding-bottom: 70px; }
    .form-box .col-3, .form-box .col-9 { max-width: 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; }
    .form-box .form-row:not(:last-child) { margin-bottom: 0; }
    .form-box label { line-height: 2; }
    
    p.type { margin: 8px 0 0; }
    .navigation a { font-size: 20px; }
    .navigation a .icon { width: 30px; height: 30px; top: 50%; left: 20px; margin-top: -17px; }

    .main-box .content.m_margin.white { text-align: center; }
    .form-times .col-8, .form-times .col-4 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 50%; }
    .form-times .custom-select { width: 100%; margin-bottom: 15px; font-size: 25px; padding: 10px 20px; }
    .form-times .inf_text { display: none; }
	.form-times .form-control.text-center{ font-size: 28px; }
	.form-times ._t { font-size: 18px; }
    
    .white-box .col-7, .white-box .col-5 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    .invisible { display: none; }
    .text_warning { text-align: center; margin-bottom: 20px; }
    
    .white-box .divider { padding-bottom: 20px; }
    .white-box .form-inline { float: none !important; max-width: 395px; width: 100%; margin: 0 auto; display: block; }
    .white-box .form-inline label { margin-bottom: 0; margin-top: 5px; }
    .white-box .form-inline select { margin-top: -6px; }
	.white-box .content { padding: 0 5px; }
    
    h2.sub_t.white { font-size: 25px; padding-top: 1px; padding-left: 65px; display: inline-block; }
    h2.sub_t.white .icon { width: 54px; height: 30px; }
}

/* 8. AJUSTES FINALES PARA PANTALLAS MUY PEQUEÑAS */
@media screen and (max-width: 471px) {
    .white-box .form-inline label { margin-bottom: 5px; margin-top: 5px; }
    .white-box .form-inline select { width: 100%; }
}

@media screen and (max-width: 343px) {
    .form-times .form-control.m_width { margin-top: 25px; }
}