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


*{
    font-family: "Montserrat", serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
@media only screen and (min-height: 850px) {
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: hidden;
    }
    .container {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        align-items: center;
        /*min-height: 100vh;
    position: relative;*/
        position: absolute !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0px;
    }
    .story {
        text-align: start;
        overflow: hidden;
        /*padding-top: 50.25%;
    position: relative;*/
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0px;
        height: 100%;
        padding:0px !important;
    }
}


.pagina-error{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #252525;
    padding: 32px;
    height: 100%;
    width: 100%;
    max-width: 580px;
    max-height: 720px;
    border-radius: 20px;
}

.container {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:url(../images/bg-login.png) no-repeat center top;
    background-size: cover;
}

.navigation-buttons{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.navigation-buttons form{
    width: 100%;
}
.navigation-buttons form button{
    width: 100%;
}

.panel-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
}

.div-panel-izquierda{
    /* display: none; */
    background-color: #252525;
    margin-right: 16px;
}

.div-panel-derecha{
    background-color: #ffffff;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    padding: 32px 32px;
    color: black
}

.row{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.mt{
    margin-top: 16px;
}

.div-panel-derecha .row{
    align-items: start;
}

.col{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.id-wrapper{
    font-size: 1.2em;
}

#id-apertura{
    font-size: 1.2em;
    font-weight: bold;
    color: #00A3FF;
    margin-bottom: 16px;
}

.info-aula{
    background-color: #f4f3f3;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 16px 16px 16px 32px;
    border-radius: 8px;
}

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

.align-center{
    display: flex;
    align-items: center;
    text-align: center;
}

.div-panel-izquierda .mensaje {
    background-color: #ec1d90;
    margin-block: 15px;
    position: center;
    text-align: center;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.div-panel-derecha .mensaje-recogida {
    font-size: 16px;
    border-right: 2px solid #e7e7e7;
    text-align: start;
    color: black;
    min-width: 240px;
    width: 34%;
    padding: 0px 48px 16px 48px;
}

.div-panel-derecha .divApertura {
    text-align: left;
    color: #000;
    display: flex;
    flex-direction: column;
    padding: 16px;
    width: 66%;
    padding: 16px 48px;
}

.div-panel-derecha .row.justify-center{
    padding-bottom: 16px;
}

.inputGroup{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
}

.inputGroup input,select{
    width: 100%;
    padding: 16px;
    font-size: 1em;
    border-radius: 5px;
    max-width: 124px;
    font-weight: 400;
    color: #000;
    appearance: none; /* quita estilos del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f4f3f3;
    height: 2.25em;
    border: none;
    outline: none;
    text-align: center;
}

input[type="text"], input[type="number"], input[type="email"], input[type="password"], select {
    font-family: "Montserrat", serif;
    font-size: 1em;
}

/* On overflow*/
@media only screen and (max-width: 850px) {
    .panel-container .row{
        flex-direction: column;
    }
    .div-panel-derecha .mensaje-recogida {
        width: 100%;
        border-right: 0px;
        border-bottom: 2px solid #d1d1d1;
        padding: 0 0 16px 0;
    }
    .div-panel-derecha .divApertura{
        width: 100%;
        padding: 16px 0 0 0;
    }
    .inputGroup{
        flex-direction: column;
        align-items: flex-start;
    }
    .inputGroup input,select{
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
}



.form-required::before {
    content: "* ";
    color: red;
}

.error-messages {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 16px;
    background-color: #f8d7da;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

.error-messages .error{
    color: #a83540;
}

.divApertura label {
    padding: 10px 0;
}

.div-insertar-codigo{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    padding: 32px;
    background-color: #f4f3f3;
    border-radius: 8px;
}

.saludo{
    font-size: 3rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}


.mensaje {
    padding: 15px 25px;
    /*min-height: 200px;
    width: 100%;    */
    border-style: solid;
    color: #f4f3f3;
    border-color: #f4f3f3;
    font-size: 35px;
    font-weight: bold;
}

.recogida {
    font-style:italic;
}

.sin-bordes {
    border: 0px !important;
}

.mensaje.sin-bordes {
    margin-top: 30px !important;
    font-size:50px;
}

.div-panel-derecha .btnInicio {
    background-color: #f4f3f3;
    color:#00A3FF ;
}

.divFormulario {
    margin: 20px;
    min-width: 230px;
}

.formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#formulario-volver{
    width: 100%;
    margin-top: 16px;
}


.story {
    text-align: start;
    overflow: hidden;
    padding-top: 50.25%;
    position: relative;
    width:100%;
}

.inputDigito {
    width: 35px;
    padding: 5px;
    font-size: 1em;
    border-radius: 5px;
    border: 0;
}

select {
    padding: 5px;
    font-size: 1em;
    border-radius: 5px;
    border: 0;
}

#radiosexo div {
    width: 200px;
}

/*@media screen and (orientation:portrait) {
    .story {
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }
}*/
@media only screen and (max-height: 850px) {
    .story iframe {
        border: 0;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
}
    .inputCodigo {
        min-width: 230px;
        height: 48px;
        /*margin: 5px;*/
        text-align: center;
        border-width: 2px 2px 2px 0;
        border-color: #E5E5E5;
        font-size: 1.2em;
        border-style: solid;
        border-radius: 0 5px 5px 0;
    }

    .btnInicio {
        background-color: #00A3FF;
        color: white;
        border: none;
        padding: 15px 20px;
        min-width: 290px;
        margin: 15px 5px 5px 5px;
        border-radius: 10px;
        cursor:pointer;
        font-size: 1.1em;
    }
    
    .btn {
        cursor: pointer;
        font-size: 1.2em;
        color: #f4f3f3;
        background-color: #00A3FF;
        border-radius: 2px;
        padding: 10px 20px;
        border: none;
    }

    .btn-primary {
        background-color: #00A3FF;
        color: #f4f3f3;
        width: 100%;
    }

    .btn-secondary {
        background-color: transparent;
        color: #979797;
        border: 1px solid #bebebe;
        width: 100%;
    }

    .divAviso {
        display: flex;
        align-items: center;
        padding: 0px 5px 0px 5px;
        flex-direction: column;
    }

    .div-error404 {
        text-align: center;
        width: 280px;
        line-height: 24px;
        font-size: 16px;
        color: #f4f3f3;
        margin-block: 24px;
    }

    .msgAviso {
        width: 270px;
        text-align: center;
    }

    .error404::before {
        content: "· ";
        font-size: 2em;
        font-weight: bold;
        color: #00A3FF;
    }

    .fondofad {
        height: 100%;
        background: #f2f2f2;
        margin: 0;
        padding: 0;
    }

    .div-lock {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        width: 30px;
        border-width: 2px 0px 2px 2px;
        border-style: solid;
        border-color: #E5E5E5;
        border-image: initial;
        border-style: solid;
        border-radius: 5px 0 0 5px;
        height: 48px;
    }

    .img-block {
        margin: auto;
        display: block;
    }

    .error {
        color: black;
        font-weight: bold;
    }

    .texto-previa {
        font-size: 17px;
        font-style: italic;
        text-align: left;
        margin-top: 55px;
        margin-bottom: 50px;
    }

        .texto-previa:first-letter {
            margin-left: 15px;
        }

    .font-size44 {
        font-size: 44px;
    }

    .img-front {
        width: 100%;
        max-width: 240px;
    }

    #marta-iker-foto{
        width: 100%;
        max-width: 420px;
    }

    .formularioDatos {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    .oculto {
        display: none;
    }

    .margin5446 {
        margin-top: 54px;
        margin-bottom: 46px;
    }

    .rosa {
        color: #ec1d90;
    }