.fadeOut {
    display: none;
}

.fadeIn {
    display: block;
}

.malingListWrap {
    background: #fff;
    padding: 1vw;
    position: relative;
}

form#mlistFormOne {
    font-size: 0;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
}

input,
select {
    display: block;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: 0;
    border: 0;
    border-radius: 0;
    padding-left: 0.5vw;
    -webkit-appearance: none;
    -moz-appearance: none;
}

form#mlistFormOne {
    position: relative;
}

form#mlistFormOne>div {
    display: inline-block;
    vertical-align: middle;
}

.email.fieldWrap {
    width: 11.125vw;
}

div.submit {
    width: 3.854vw;
}

input#email {
    height: 1.406vw;
    line-height: 1.406vw;
    background: transparent;
    border-bottom: 0.063vw solid #000000;
    font-size: 0.677vw;
    text-transform: uppercase;
    -webkit-text-fill-color: #000000;
    letter-spacing: 0.068vw;
    padding: 0;
}

input#submit {
    background: transparent;
    border: 0.063vw solid #000000;
    height: 1.406vw;
    line-height: 1.406vw;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.075vw;
    font-size: 0.625vw;
    padding: 0;
    cursor: pointer;
}

.malingListWrap {
    width: 15.052083333333334vw;
    position: relative;
}

span.input-error {
    position: absolute;
    top: -1vw;
    color: #ff3333;
    font-size: 0.715vw;
    width: 100%;
    text-align: left;
    left: 0;
}

input#email.errored {
    border-color: red;
}

div#terms {
    text-align: right;
    margin-top: 0.104vw;
}

div#terms>a {
    font-size: 0.521vw;
    letter-spacing: 0.052vw;
    text-transform: uppercase;
    text-decoration: underline;
}

p.terms-message {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    padding-top: 0.73206vw;
}

p.terms-message,
p.terms-message a,
p.terms-message-2,
p.terms-message-2 a {
    font-size: 0.60527vw;
    line-height: 0.729vw;
}

p.terms-message a,
p.terms-message-2 a {
    text-decoration: underline;
}

p.terms-message,
div#terms>a,
p.terms-message a,
p.terms-message-2,
p.terms-message-2 a,
input,
select,
span,
p,
a,
div,
label {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #ffffff;
    margin: 0;
}

p.terms-message,
div#terms>a,
p.terms-message a,
p.terms-message-2,
p.terms-message-2 a,
input,
select,
label {
    color: #000;
}

div#secondform {
    position: relative;
    padding-top: 1vw;
    text-align: left;
}

.birthday {
    font-size: 0;
}

span#secondFormClose {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2vw;
    cursor: pointer;
    line-height: 0;
    color: #000;
}

.welcome p {
    font-size: 0.8333vw;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    margin: 1vw 0;
    color: #000;
}

.welcome span {
    color: #000;
}

label {
    display: block;
    font-size: 0.833vw;
    text-transform: uppercase;
    margin-bottom: 0.5vw;
}

form#mlistFormTwo>div {
    margin-bottom: 1vw;
}

input#submit:hover,
span#secondFormClose:hover,
p.terms-message a:hover,
p.terms-message-2 a:hover,
div#terms>a:hover {
    opacity: 0.7;
}

form#mlistFormTwo input,
form#mlistFormTwo select {
    width: 100%;
    background: transparent;
    border: 0.063vw solid #000000;
    height: 2vw;
    line-height: 2vw;
    color: #000000;
    text-transform: uppercase;
}

form#mlistFormTwo select {
    background: url("../images/downarrow_save_black.svg") no-repeat scroll right 10px center;
    background-size: 1vw;
    padding-right: 2vw;
    cursor: pointer;
}

.birthday>div {
    display: inline-block;
    width: 100%;
}

.dobMonth.fieldWrap {
    /* margin-right: 2%; */
}

form#mlistFormTwo>div {
    margin: 0 0 1vw;
}

.globaloptin {
    text-align: left;
    position: relative;
}

option {
    background: #fff;
}

/* checkbox css starts */
input#global_mktg_consent {
    opacity: 0;
    position: absolute;
}

input#goptin_checkbox {
    width: 1.5vw;
    height: 1.5vw;
    margin: 0;
    position: absolute;
    display: inline-block;
    opacity: 0;
    vertical-align: top;
}

label.goptin_checkbox {
    display: inline-block;
    padding-left: calc(0.9375vw + 1.5vw);
    vertical-align: top;
    margin: 0;
    font-size: 0.75vw;
    cursor: pointer;
    width: 85%;
}

.globaloptin label::before {
    content: "";
    display: inline-block;
    width: 1.5vw;
    height: 1.5vw;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid;
}

.globaloptin label::after {
    content: "\2713";
    display: flex;
    position: absolute;
    width: 1.5vw;
    height: 1.5vw;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    font-size: 1vw;
}

.globaloptin input[type="checkbox"]+label::after {
    content: none;
}

.globaloptin input[type="checkbox"]:checked+label::after {
    content: "\2713";
}

[type="checkbox"],
[type="radio"] {
    display: inline;
}

/* checkbox css ends */

form#mlistFormTwo div.submit {
    width: 100%;
    margin: 0;
}

form#mlistFormTwo>div#terms {
    text-align: center;
}

div#thankyou {
    width: 100%;
    text-align: center;
    font-size: 1.5vw;
    text-transform: uppercase;
    color: #000;
}

div.birthday {
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 2%;
}

label.birthday {
    grid-column: 1 / span 2;
}

div#firstMlistForm input:-webkit-autofill,
div#firstMlistForm input:-webkit-autofill:hover,
div#firstMlistForm input:-webkit-autofill:focus,
div#firstMlistForm textarea:-webkit-autofill,
div#firstMlistForm textarea:-webkit-autofill:hover,
div#firstMlistForm textarea:-webkit-autofill:focus,
div#firstMlistForm select:-webkit-autofill,
div#firstMlistForm select:-webkit-autofill:hover,
div#firstMlistForm select:-webkit-autofill:focus {
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

@media only screen and (max-width: 1023px) and (orientation: landscape),
only screen and (max-width: 1024px) and (orientation: portrait) {
    .malingListWrap {
        width: 100%;
        margin-left: 0;
    }

    .email.fieldWrap {
        width: 50.5vw;
    }

    div.submit {
        width: 18.974vw;
    }

    input#email {
        height: 6.923vw;
        line-height: 6.923vw;
        border-bottom: 0.308vw solid #000000;
        letter-spacing: 0.333vw;
    }

    input#email,
    form#mlistFormTwo input {
        font-size: 16px;
    }

    input#submit {
        border: 0.308vw solid #000000;
        height: 6.923vw;
        line-height: 6.923vw;
        letter-spacing: 0.369vw;
        font-size: 3.077vw;
        padding: 0;
    }

    div#terms {
        text-align: right;
        margin-top: 0;
    }

    div#terms>a {
        font-size: 2.564vw;
        letter-spacing: 0.256vw;
    }

    p.terms-message,
    p.terms-message a,
    p.terms-message-2,
    p.terms-message-2 a {
        font-size: 3.5vw;
        line-height: 4.729vw;
    }

    p.terms-message {
        padding-top: 2vw;
    }

    span.input-error {
        top: -5vw;
        left: 0;
        font-size: 2vw;
    }

    span#secondFormClose {
        font-size: 6vw;
        margin-top: 2vw;
    }

    .welcome p {
        font-size: 4vw;
        line-height: 1;
        margin: 3vw 0;
    }

    div#secondform {
        padding-top: 3vw;
        padding: 3vw;
    }

    form#mlistFormTwo>div {
        margin: 0 0 3vw;
    }

    label,
    label.birthday {
        font-size: 4vw;
        margin-bottom: 2.5vw;
        text-align: left;
    }

    form#mlistFormTwo input,
    form#mlistFormTwo select {
        border: 0.308vw solid #000000;
        height: 8vw;
        line-height: 4vw;
        padding-left: 3vw;
        font-size: max(16px, 4vw);
    }

    form#mlistFormTwo input#submit {
        padding: 0;
    }

    form#mlistFormTwo select {
        background-size: 3vw;
        font-size: 3.5vw;
    }

    label.goptin_checkbox {
        padding-left: calc(6.5375vw + 0.5vw);
        font-size: 3.5vw;
        width: 88%;
    }

    .globaloptin label::before {
        width: 4vw;
        height: 4vw;
    }

    .globaloptin label::after {
        width: 4vw;
        height: 4vw;
        top: 0;
        left: 0.25vw;
        font-size: 3vw;
    }

    div#thankyou {
        font-size: 5vw;
        margin-top: 0;
    }
}

.mlistNav .consent-placeholder {
    position: relative;
    margin: 2.5vh auto 0;
    display: block;
}

.plain-ml-wrapper label:not(.goptin_checkbox) {
    position: static;
    transform: none;
}

.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked {
    position: absolute;
    left: 0px;
    width: 1.28vw;
    height: 1.28vw;
    z-index: 10;
    top: 0px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    -webkit-appearance: none;
    padding: 0;
}

.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: auto;
    width: 1.28vw;
    height: 1.28vw;
    border: 2px solid #000;
    background: transparent;
    border-radius: 0px;
    box-sizing: border-box;
}

.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"].errored:not(:checked)+label:before {
    border-color: red;
}

.mlistNav .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
    display: inline-block;
    box-sizing: border-box;
    line-height: 1;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68vw;
    padding-left: 2.04vw;
    vertical-align: top;
    font-weight: 400;
    position: static;
    transform: none;
    pointer-events: auto;
}

.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
    content: "\2713";
    position: absolute;
    top: 0.58vh;
    line-height: 1;
    left: 0.25vw;
    font-size: 1vw;
    color: #000;
    font-weight: 700;
    text-align: center;
}

.mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
    color: #000;
}

.mlistNav .consent-placeholder span.input-error {
    color: red;
    position: absolute;
    top: -2.25vh;
    left: 0;
    bottom: auto;
}

.mlistNav .secondform .consent-placeholder {
    margin: 2vh auto;
}

.mlistNav .plain-ml-wrapper .mlform .consent-placeholder label a,
.mlistNav .plain-ml-wrapper .mlform .consent-placeholder label span {
    color: #000;
}

.mlistNav .plain-ml-wrapper .mlform .consent-placeholder label a {
    text-decoration: underline;
}

.mlistNav .plain-ml-wrapper .mlform .consent-placeholder label a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
    .mlistNav .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
        font-size: 2vw;
        padding-left: 6vw;
    }

    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked,
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:before {
        width: 4vw;
        height: 4vw;
    }

    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
        top: 0.2vh;
        left: 0.5vw;
        font-size: 3.15vw;
    }
}

@media only screen and (max-height: 1366px) and (min-width: 1024px) and (orientation: portrait) {
    .mlistNav .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
        font-size: 1.268vw;
        padding-left: 3.54vw;
    }

    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
        top: 0;
        font-size: 2vw;
    }

    .mlistNav .consent-placeholder {
        position: relative;
        margin: 2vh auto;
    }

    .mlistNav .consent-placeholder span.input-error {
        top: -1.5vh;
    }

    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:before,
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
    .mlistNav .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked {
        width: 2.28vw;
        height: 2.28vw;
    }
    span.input-error {
        top: -3vw;
        left: 0;
        font-size: 1.25vw;
    }
}