:root {
    --rojo: #e2001a;
    --blanco: #ffffff;
    --rosa: #f2e6e8;
    --grisbordes: #c8c8c8;
    --grisfondo: #eaeaea;
    --grisplaceholder: silver;
    --gristexto: #666666;
    --azulEnlace: #337ab7;
}

@media (max-width: 600px) {
    form {
        width: 100%;
        font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    }

    #obligatorio {
        width: 95%;
    }

    fieldset {
        padding-left: 0%;
        padding-right: 0%;
		max-width: 100%;
        overflow-x: hidden;
    }

    .titulo0 > #titular {
        font-size: 2em;
    }

    #botones {
        width: 48%;
        display: flex;
        justify-content: space-between;
    }
    
    #botones > input {
        width: 55%;
        height: 3em;
        font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
        font-size: 1em;
    }

    #progressBar {
        font-size: 0.7em;
        width: 45%;
    }

    .bloqueTitulo {
        width: 95%;
    }
    
    .bloqueTitulo > h1 {
        font-size: 1.2em;
    }

    .pregunta {
        width: 95%;
    }

    .textoPregunta > h2 {
        font-size: 1em;
    }
	.textBox {
        max-width: 100%;
    }

    img.responsive, #imagenTarjeta {
        display: block;
        max-width: 100%;
        height: auto;
    }

}
.incident-section {
    background-color: #d50000; /* Color de fondo rojo */
	padding-left: 5%;
    padding-right: 5%;
	 padding-top: 3%;
    padding-bottom: 6%;
    box-sizing: border-box;
    display: flex;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    align-items: center;
	 width: 90%;
}
 
.incident-title {
    color: white;
    font-size: 18px;

}


@media (min-width: 601px) {
    form {
        width: 100%;
        margin: auto;
        font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    }

    #obligatorio {
        width: 90%;
    }

    .titulo0 > #titular {
        font-size: 3em;
    }

    #botones {
        width: 45%;
        display: flex;
        justify-content: space-between;
    }
    
    #botones > input {
        width: 45%;
        height: 3em;
        font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
        font-size: 1em;
    }

    #progressBar {
        font-size: 1em;
        width: 45%;
    }

    .bloqueTitulo {
        width: 90%;
    }

    .bloqueTitulo > h1 {
        font-size: 1.5em;
    }

    .pregunta {
        width: 90%;
    }

    .textoPregunta > h2 {
        font-size: 1em;
    }

    .select {
        width: 40%;
    }
}

form {
    overflow: hidden;
}

fieldset {
    border: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


a[href] {
    color: var(--azulEnlace);
}

.titulo0 {
    background-color: var(--rojo);
    color: var(--blanco);
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 6%;
}

.titulo0 > h1 {
    font-weight: normal;
}

.obligatorio {
    color: var(--rojo);
}

.bloqueTitulo {
    background-color: var(--rosa);
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    margin-top: 15px;
}

.bloqueTitulo > h1 {
    font-weight: normal;
    color: var(--rojo);
}
.center-link {
    text-align: center;
}
/*PREGUNTAS*/
.borrador {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gristexto);
    cursor: pointer;
    text-decoration: underline;
    display: block;
    transition: color 0.3s ease;
}

.borrador:hover {
    color: var(--colorprincipal); /* Cambia este color por el que desees al hacer hover */
}
.pregunta {
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    color: var(--gristexto);
}

.numeral {
    background-color: var(--rojo);
    color: var(--blanco);
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.textoPregunta {
    background-color: var(--rosa);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2%;
}

.textoPregunta > h2 {
    font-weight: normal;
}

.respuesta > h2 {
    font-weight: normal;
}

.respuesta {
    padding-top: 2%;
    padding-bottom: 2%;
}

.textBox {
    height: 3em;
    width: 100%;
    border: 1px solid var(--grisbordes);
    padding-left: 0.4em;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    font-size: 1em;
}

.textBox::placeholder {
    font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    font-size: 1em;
    color: var(--grisplaceholder);
}

.textarea {
    font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    font-size: 1em;
}

#telefonos .campo-telefono {
    margin-bottom: 15px; /* Espacio entre cada campo */
}

#telefonos label {
    display: block; /* Aplica solo a los labels dentro del div 'telefonos' */
   
}

#telefonos .select,
#telefonos .textBox {
    width: 100%; /* Hace que los campos ocupen el 100% de su contenedor */
    padding: 10px; /* Espacio interno en el campo */
    border: 1px solid #ccc; /* Borde del campo */
    border-radius: 4px; /* Bordes redondeados */
    box-sizing: border-box; /* Incluye el padding y el borde en el ancho total */
}


/*PAGINACIÓN*/
.paginacion {
    width: 90%;
    display: flex;
    justify-content: space-between;   
}

#botones > input {
    width: 45%;
    height: 3em;
    font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    border-radius: 0px;
    border: 0px;
}

.anterior {
    background-color: var(--grisfondo);
    color: var(--rojo);
}

.siguiente, #enviar {
    background-color: var(--rojo);
    color: var(--blanco);
}

/* PROGRESS BAR*/
#progressBar {
    background-color: var(--rosa);
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--rojo);
}

#progressBar > label {
    font-size: 1em;
    width: 50%;
}

/*Familia Chrome*/
.progreso::-webkit-progress-bar {    
    background-color: var(--blanco);
    height: 0.5em;
    border-radius: 5px;
}

.progreso::-webkit-progress-value {    
    background: var(--rojo);
    height: 0.5em;
    border-radius: 5px;
}

/*Firefox*/
.progreso::-moz-progress-bar {    
    background-color: var(--rojo);
    height: 0.5em;
    border-radius: 5px;
}

.progreso::-moz-progress-value {    
    background: var(--blanco);
    height: 0.5em;
    border-radius: 5px;
}

/*IE :)*/
.progreso {    
    background-color: var(--grisfondo);
    color: var(--rojo);
    height: 0.5em;
    border-radius: 5px;
}

/*SELECT*/
.select {
	  height: 3em;
    border: 1px solid var(--grisbordes);
    padding-left: 0.4em;
    padding-top: 0.5em;
    padding-bottom: 0.4em;
    font-family: 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    font-size: 1em;
    color: var(--gristexto);
}

.select > option:hover {
    padding-left: 0.4em;
    padding-top: 0.5em;
    padding-bottom: 0.4em;
}