

.m3form {
    display: flex;
    flex-direction: column;
    gap: 1.47em;
    max-width: 534px;
}

.m3form input, .m3form textarea {
    color: #fff;
    background-color: transparent;
}

.m3form *::placeholder {
    color: #fff;
}

.m3form input[type="text"], .m3form input[type="email"], .m3form input[type="number"], .m3form textarea {
    width: 100%;
    padding: 0 0 0.5em;
    border-color: #fff;
    outline: none;
    color: #fff !important;
    border: none;
    border-bottom: 1px solid #fff;
}

p.select-wrapper {
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid #fff;
}

p.select-wrapper span {
    display: block;
    margin-left: -5px;
}

.m3form select {
    padding: 0 0 0.35em;
    border: none;
    width: 100%;
    color: #fff;
    background-color: transparent;
    font-weight: 300;
}

.m3form select.has-value {
    font-weight: 400;
}

.m3form select {
    outline: none;
}

.m3form select option {
    color: #000;
}

.m3form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4em;
}

.m3form ::placeholder {
    font-weight: 300;
}

.m3form button[type="submit"] {
    position: relative;
    padding: 0.53em 3.62em;
    line-height: 1.1;
    font-family: var(--wp--preset--font-family--dm-mono);
    font-size: var(--wp--preset--font-size--medium);
    color: var(--wp--preset--color--accent);
    background-color: var(--wp--preset--color--base);
    border-radius: 2em;
    font-weight: 500;
    margin-top: 1em;
}

.m3form button[type="submit"]:after {
    position: absolute;
    content: '';
    top: 0;
    right: -2.48em;
    height: 2.17em;
    width: 2.17em;
    border: 3px solid #fff;
    border-radius: 2em;
    background-image: url(../css/img/arrow-w.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: 50%;
}



#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;
}

.m3f-success-msg {
    background-color: var(--wp--preset--color--accent);
    color: #fff;
    font-weight: 500;
    font-size: 1.2em;
    padding: 1em 1.5em !important;
	max-width: 520px;
}




.fs-hidden {
    display: none;
}

.form-switch {
    margin-top: 0;
}



form[name="Newsletter"] {
    display: flex;
    gap: 10px;
    align-items: center;
	max-width: 600px;
    margin: auto;
}

form[name="Newsletter"] > * {
    display: flex;
}

form[name="Newsletter"] p {
    margin: 0;
}

form[name="Newsletter"] input {
    padding: 1.1em !important;
    margin: 0 !important;
    height: 3em;
    line-height: 1;
}

form[name="Newsletter"] input[type="submit"] {
    height: 3.25em;
    border-radius: 0.4em;
}

div#form-Newsletter .m3f-success-msg {
    margin: auto;
    text-align: center;
    background-color: var(--wp--preset--color--contrast);
    border-radius: 10px;
    font-size: 1.5em;
    line-height: 1.4;
}