@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html,
body{
    width: 100%;
    height: 100%;
    margin: 0;
}

*{
    font-family: "Roboto", sans-serif;
}

.progreso-container {
    width: 100%;
    height: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #8a8a8a;
}

.progreso {
    width: 0% ;
    height: 100%;
    background-color: #c01b33;
}

#header-encuesta{
    display: flex;
    min-height: 10%;
    justify-content: center;
    align-items: center;
    background: #092246;
}

#cuerpo-encuesta{
    height: 85%;
}
#cuerpo-encuesta > div{
    height: 100%;
}
#cuerpo-encuesta > div > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.titulo-pagina{
    padding: 50px 0;
}
.titulo-resultados{
    padding: 30px 0;
}
.titulo-pagina > h3{
    font-weight: 300;
    font-size: 2rem;
    max-width: 500px;
    text-align: center;
}
.titulo-pagina > h2,
.titulo-resultados > h2{
    font-weight: 300;
    font-size: 1.8rem;
    max-width: 500px;
    text-align: center;
}
#formulario-usuario{
    width: 500px;
    padding: 50px 0;
}
.form-control{
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-radius: 0 !important;
}
.form-control:focus{
    box-shadow: 0 0.25rem 0.25rem 0 rgba(9,34,70,.25) !important;
}
.contenedor-avance{
    padding: 50px 0;
}
.contenedor-avance > span{
    background: #c01b33;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.form-check{
    padding: 0 !important;
}
.form-check-input{
    margin: .25em 10px 0 10px !important;
    float: none !important;
}
.form-check-input:checked{
    background-color: #092246 !important;
    border-color: #092246 !important;
}
.form-check-input:focus{
    box-shadow: 0 0 0 0.25rem rgba(9,34,70,.25) !important;
}
.pregunta{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
.pregunta-asesores{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    flex-direction: column;
}
.pregunta-asesores > p,
.pregunta-asesores > div{
    margin: 0;
    padding: 0 50px;
    width: 100%;
}
.pregunta > p{
    margin: 0;
    padding: 0 50px;
    width: 80%;
}
.pregunta > .form-check.form-switch{
    padding: 0 50px !important;
    min-width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.pregunta > select{
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#accordionPadre{
    width: 100%;
    padding: 30px 0;
}
.accordion-header h3{
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0;
}
.accordion-header h4{
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0;
}
#accordionPadre p{
    font-size: 0.8rem;
}
.accordion-button:not(.collapsed)::after{
    background-image: url("../img/flecha.svg") !important;
}

.invalid {
    animation: shake 0.5s ease;
    border-color: red !important;
    color: red !important;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

table{
    width: 700px;
}
.resultados,
.controles-informe{
    padding: 30px 0 !important;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.controles-informe > span{
    background: #c01b33;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.controles-informe .descargar{
    background: #c01b33;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
}
.controles-informe .enviar{
    background: #c01b33;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    margin-left: 10px;
}
.controles-informe > .enviar{
    margin-left: 10px;
}
.error-form{
    margin: 10px;
    font-size: 14px;
    color: red;
}

@media (max-width: 991px) {
    #formulario-usuario{
        width: 100%;
    }
    .pregunta{
        display: flex;
        justify-content: space-between;
        padding: 10px;
        flex-direction: column;
    }
    .pregunta > p{
        margin: 0;
        padding: 0 50px;
        width: 100%;
        text-align: center;
    }
    .pregunta > .form-check.form-switch{
        padding: 0 50px !important;
        min-width: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .pregunta > select{
        width: 100%;
    }
}
.accordion-button:not(.collapsed){
    background-color: #092246 !important;
    color: white !important;
}
#acordeon-gestion .accordion-button:not(.collapsed){
    background: #395884 !important;
}
.informacion-resultado > p{
    text-align: center;
}

.resultados td{
    align-content: center;
}
.resultados .res{
    display: flex;
    align-items: center;
}
.resultados img{
    height: 40px;
}
.resultados p{
    margin: 0 0 0 5px;
}