/* Form y errores */
#yoemprendo-form {
    width: 100%;
    max-width: 1100px;
    margin: -8em auto 1em auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #011965;
    padding: 52px 30px 30px 30px;
    border-radius: 15px;
    border: solid 6px white;
    box-shadow: 4px 4px 13px #0000001f;
}
#yoemprendo-form label { flex:1 1 45%; flex-direction:column; }
#yoemprendo-form fieldset { flex:1 1 100%; padding:1rem; border:1px solid #ccc; }
input.ye-error, textarea.ye-error, select.ye-error { border:2px solid #e74c3c !important; }

.nivel {
    min-height: 32px;
}

.nivel-3 {
    min-height: 49px;
}

#yoemprendo-form label {
    color: var(--cian);
}
#yoemprendo-form select, #yoemprendo-form input, #yoemprendo-form textarea {
    margin: 8px 0px 10px 0px;
    border-radius: 10px;
    outline: none;
}

/* Botón y spinner */
#ye-submit-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--verde);
    color: white;
    width: 100%;
    border: outset 3px var(--verde);
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
#ye-spinner { margin-left:1rem; font-style:italic; }

#ods-fieldset legend {
    box-sizing: border-box;
    color: var(--cian);
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
    font-size: 18px;
}

#ods-fieldset label {
    display: flex;
    align-items: center;
    flex-direction: row;
}

#ods-fieldset input[type="checkbox"] {
    order: -1;
    margin: 8px 11px 6px 0px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#yoemprendo-form input[type="file"] {
    padding: 6px 6px 6px 16px;
    background-color: var(--azul);
    width: 100%;
}

.asterix-force {
    color: red;
}

/* Modal */
.ye-modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; 
            background:rgba(0,0,0,0.5); align-items:center; justify-content:center; }
.ye-modal-content { background:#fff; padding:1.5rem; border-radius:4px; text-align:center; }
.ye-modal-content button { margin-top:1rem; padding:0.5rem 1rem; }

@media only screen and (max-width: 720px) {
    #yoemprendo-form {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #yoemprendo-form input[type="file"] {
        width: 100%;
    }

    #ods-fieldset legend {
        font-size: 16px;
        line-height: 120%;
    }
}