

.m3cform p {
    margin-bottom: 1em;
}

.m3cform input[type="text"], .m3cform input[type="email"], .m3cform input[type="number"], .m3cform input[type="date"], .m3cform select {
    width: 100%;
    max-width: 600px;
    padding: 0.65em 0.7em 0.65em;
    color: var(--contrast-2);
    background-color: var(--base-2);
    border: 1px solid var(--base);
	font-family: sans-serif;
}

.m3cform label {
    display: block;
    margin-bottom: 0.15em;
    font-weight: bold;
}

.m3cform input[type="submit"] {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 2px;
    padding: 1.1em 2em 0.9em;
    margin-top: 1em;
}

.m3cform span.caption {
    display: block;
    font-size: 0.75em;
    margin-top: 7px;
    line-height: 1.4;
}

.m3form_wrapper .m3f-success-msg {
    background-color: var(--accent);
    color: #fff;
    padding: 2em;
    max-width: 600px;
    font-size: 1.2em;
}



.m3cform label.error {
    font-weight: 400;
    font-size: 0.8em;
    color: red;
    background-color: yellow;
    width: fit-content;
    padding: 4px 7px;
    line-height: 1;
}



.m3f-collapsible:not(.expanded) .m3f-collapsible-wrapper {
    display: none;
}

.m3f-collapsible  {
    position: relative;
}

.collapsible-toggle  {
	cursor: pointer;
}

.m3f-collapsible:after {
    position: absolute;
    content: '+';
    right: 1em;
    top: 1.55em;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.m3f-collapsible.expanded:after {
    content: '-';
    font-size: 1.5em;
    top: 1.35em;
    right: 0.95em;
}

@media only screen and (max-width: 870px) {
.m3f-collapsible:after {
    top: 1.48em;
}
.m3f-collapsible.expanded:after {
    top: 1.7em;
    right: 1.15em;
}
}

#m3form_pre-inscripcion {
    max-width: 560px;
}

#seleccion-cant-alumnos {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    gap: 0.5em;
    background-color: var(--base);
    padding: 1em;
    margin-bottom: 1.8em;
}

#seleccion-cant-alumnos select {
    font-family: sans-serif;
	color: var(--contrast-2);
}

#m3form_pre-inscripcion section {
    margin: 2em 0;
}

#m3form_pre-inscripcion h3 {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 1px;
}

#m3form_pre-inscripcion fieldset {
    border: 1px solid var(--base);
    padding: 1em;
	margin-bottom: 2em;
}

#m3form_pre-inscripcion fieldset {
    border: 1px solid var(--base);
    padding: 1em;
}

#m3form_pre-inscripcion h4 {
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 600;
    margin: 1em 0 1em;
    background-color: var(--contrast-2);
    color: #fff;
    padding: 0.5em 0.5em 0.2em;
    line-height: 1;
    letter-spacing: 1px;
}

#m3form_pre-inscripcion label {
    display: block;
    margin-bottom: 0.15em;
    font-weight: 600;
}



.sub-fieldset {
    border-top: 1px solid var(--base);
    margin-top: 2.2em;
}



#m3f-overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 2;
    cursor: pointer;
}

#m3f-overlay div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    background: url(img/spinner.gif) no-repeat;
    background-size: 50px 50px;
    height: 50px;
    width: 50px;
}

#m3f-overlay-b {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.9);
    z-index: 2;
}