.mlist-container,
.termsWrapperV3,
#thankyouBlock {
    max-width: 680px;
    margin: 0 auto;
}

div#thankyoublock-innerwrapper .thankyou-message.embed span,
label.global-list span {
    display: inline-block;
}

form {
    font-size: 0px;
}

fieldset {
    padding: 0;
    margin: 0;
    border: none;
    max-width: 29.1vw;
    margin: 0 auto;
}

.mlist-header {
    text-align: center;
    font-size: 0px;
    margin: 0px;
}

.mlist-header br {
    display: none;
}

fieldset .mlist-field {
    width: 70%;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

fieldset .mlist-submit {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin-left: 0%;
    height: 2.34375vw;
    line-height: 2.34375vw;
}

input,
select {
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 0.929167vw;
    width: 100%;
    display: block;
    text-transform: uppercase;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    letter-spacing: 2.78px;
    height: 2.34375vw;
    line-height: 2.34375vw;
    padding-left: 0.8333333333333334vw;
    background: #E4D5B4;
    border: none;
    border-bottom: 1px solid #0E314D;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    color: #0E314D;
}

input#email {
    text-align: left;
    -webkit-text-size-adjust: none;
    padding-left: 0;
    background: transparent;
    border: none;
    border-bottom: .2vw solid #0E314D;
    letter-spacing: 0.08333333333333333vw;
    color: #0E314D;
    text-transform: uppercase;
    opacity: 1;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 0.8333333333333334vw;
}

.m-required.error {
    border-color: red;
}

input#email.m-required.error {
    border-color: red;
}

input:focus,
select:focus {
    outline: none;
}

input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #0E314D;
    -webkit-text-fill-color: #0E314D;
    opacity: 1;
}

input::-moz-placeholder {
    /* Firefox 19+ */
    color: #0E314D;
    -webkit-text-fill-color: #0E314D;
    opacity: 1;
}

input:-ms-input-placeholder {
    /* IE 10+ */
    color: #0E314D;
    -webkit-text-fill-color: #0E314D;
    opacity: 1;
}

input:-moz-placeholder {
    /* Firefox 18- */
    color: #0E314D;
    -webkit-text-fill-color: #0E314D;
    opacity: 1;
}

label.error {
    font-size: 12px;
    color: #f70606;
    font-family: 'proxima-nova', sans-serif;
    position: absolute;
    left: 0;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    top: -10px;
}

input.submit {
    cursor: pointer;
    font-size: 0.833333vw;
    display: inline-block;
    line-height: 2.4vw;
    border: none;
    outline: none;
    width: 6.25vw;
    height: 2.34375vw;
    padding: 0;
    background: transparent;
    letter-spacing: 0.1vw;
    color: #0E314D;
    text-transform: uppercase;
    opacity: 1;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    position: relative;
    z-index: 999;
}

input.submit:hover {
    opacity: 0.5;
}

a.terms:after {
    content: "Terms";
    display: none;
}

a.terms:hover {
    opacity: 0.7;
}

a.terms.showing:after {
    content: "Hide";
    display: none;
}

.termsWrapperV3 {
    text-align: left;
    position: relative;
}

.termsWrapperV3.first {
    padding: .4vw 0 0 0;
    max-width: 100%;
    padding-right: 0%;
    margin: 0px auto;
    width: 100%;
}

.termsWrapperV3.second {
    padding: 4px 0 0 0;
    text-align: center;
}

a.terms {
    text-align: center;
    line-height: 0.5729166666666666vw;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1.2px;
    color: #0E314D;
    text-transform: uppercase;
    opacity: 1;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
}

a.terms:hover {
    color: #0E314D;
    border-color: transparent;
}

.termsContent {
    display: none;
    line-height: 15px;
}

.termsWrapperV3.second a.terms {
    color: #0E314D;
}

.termsWrapperV3.second a.terms:hover {
    opacity: 0.7;
}

.termsContent {
    z-index: 1;
    padding: 0.3vw;
    width: 100%;
    box-sizing: border-box;
    /* max-width: 90%; */
    /* margin-left: 20%; */
    margin: 0 auto;
    margin-bottom: 0vw;
    /* margin-right: 11%; */
    font-size: 0.7vw;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.1vw;
    color: #0E314D;
    opacity: 1;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    position: absolute;
    background: #D5C2B0;
    top: 1.3vw;
    border: 1px solid #0E314D;
    height: fit-content;
}

.termsContent a {
    color: #0E314D;
    text-decoration: underline;
}

.termsContent a,
.termsContent span {
    display: inline-block;
}

.termsContent a:hover {
    text-decoration: none;
}

div#thankyouBlock>.thankyou-message.embed {
    display: none;
}

.secondFormCloseWrap a {
    color: #0E314D;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 2.3vw;
    line-height: 1;
    text-decoration: none;
    width: 2vw;
    display: block;
    text-align: center;
    margin-right: 0;
    margin-left: auto;
}

.secondFormCloseWrap a:hover {
    opacity: 0.5;
}

div#thankyouBlock>.thankyou-message.embed {
    display: none;
    font-size: 30px;
    text-transform: uppercase;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600 !important;
    font-style: normal;
    text-align: center;
    letter-spacing: 1px;
    color: #0E314D;
    margin: 0.29vw 0;
}

div#thankyouBlock.final-screen .thankyou-message.embed {
    display: block;
}

div#thankyoublock-innerwrapper .thankyou-message.embed {
    font-size: 1.7vw;
    text-align: center;
    line-height: 2vw;
    letter-spacing: .1vw;
    text-transform: uppercase;
    color: #0E314D;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
}

.thankswelcome-msg {
    padding: 1vw 0;
    font-size: 1vw;
    line-height: 1.4;
    letter-spacing: .1vw;
    text-align: center !important;
    text-transform: uppercase;
    color: #0E314D;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
}

#thankyoublock-innerwrapper .mlist-field {
    font-size: 0;
    margin-bottom: 3px;
}

#thankyoublock-innerwrapper .mlist-field label {
    font-size: 1.5vw;
    display: block;
    width: 100%;
    padding: 0.5em 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0E314D;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
}

select {
    background: url("../images/dropdownarrow.svg") no-repeat scroll transparent 0 0;
    background-position: calc(100% - 20px);
    background-size: 20px 20px;
    background-color: #E4D5B4;
    border: none;
    border-bottom: 1px solid #0E314D;
}

select#dobMonth {
    width: 49%;
    display: inline-block;
    margin-right: 2%;
}

select#dobDay {
    width: 49%;
    display: inline-block;
}

.mlist-checks {
    position: relative;
    margin: 2vw 0 1vw;
    max-width: 100%;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked),
.mlist-outer-wrapper [type="checkbox"]:checked {
    position: absolute;
    left: 0px;
    width: 2vw;
    height: 2vw;
    z-index: 10;
    top: 0px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    -webkit-appearance: none;
    padding: 0;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:before,
.mlist-outer-wrapper [type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 1vw;
    height: 1vw;
    border: .1vw solid #0E314D;
    background: transparent;
    border-radius: 0px;
    box-sizing: border-box;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:after,
.mlist-outer-wrapper [type="checkbox"]:checked+label:after {
    content: '\2713';
    position: absolute;
    top: 0.2vw;
    line-height: 1;
    left: 0.2vw;
    font-size: 0.7vw;
    color: #0E314D;
    font-weight: 700;
    text-align: center;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

label.global-list {
    display: inline-block;
    font-size: 1vw;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Caveat Brush', cursive;
    font-weight: 600;
    font-style: normal;
    line-height: 1;
    color: #0E314D;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: left;
    margin-left: 1.5vw;
    width: 100%;
}

.mlist-submit-new {
    margin: 20px 0 0;
}

select::-ms-expand {
    display: none;
}

input:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0E314D inset;
    -webkit-text-fill-color: #0E314D;
}

option {
    background: #D5C2B0;
    color: #0E314D;
}

.secondFormCloseWrap a:hover {
    color: #0E314D;
}

/*.termsWrapperV3.first .terms {
    position: absolute;
    top: -13px;
    right: -30px;
}*/

.termsWrapperV3.first .termsContent {
    max-width: 93%;
    width: 100%;
    margin-right: 0%;
    z-index: 9;
}

.termsWrapperV3.second .termsContent {
    bottom: 1vw;
    top: auto;
    background: #D5C2B0;
    opacity: 1;
    z-index: 1100;
}

div#thankyoublock-innerwrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #E4D5B4;
    height: 100%;
    width: 100%;
    z-index: 5;
}

.secondFormCloseWrap,
div#thankyoublock-innerwrapper .thankyou-message.embed,
.thankswelcome-msg,
div#secondary-list-values,
.mlist-submit-new,
.termsWrapperV3.second {
    max-width: 75%;
    margin: 0 auto;
}

.secondFormCloseWrap,
div#thankyoublock-innerwrapper .thankyou-message.embed,
.thankswelcome-msg,
.mlist-submit-new,
.termsWrapperV3.second {
    max-width: 42%;
}

div#secondary-list-values {
    max-width: 40%;
}

.secondFormCloseWrap {
    padding-top: 2vw;
}

div#thankyoublock-innerwrapper {
    position: fixed;
    overflow: hidden;
}

.mlist-submit-new input.submit {
    color: #0E314D;
    background: transparent;
}

.fadeOut,
div#thankyouBlock.fadeOut>*,
.terms a:after {
    display: none;
}

.fadeIn,
div#thankyouBlock.fadeOut .thankyou-message.fadeIn,
div#thankyouBlock.fadeOut {
    display: block;
}

span.input-error,
.terms>a,
div.terms {
    font-size: max(10px, 0.7vw);
}

span.input-error {
    color: red;
    display: block;
    width: 100%;
    text-align: left;
}

div#thankyouBlock.fadeOut .fadeIn {
    display: block;
}

.termsWrapperV3.first,
.termsWrapperV3.second {
    position: relative;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #0E314D;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
    background: transparent;
}

.m-email.errored {
    border-bottom: 2px solid red !important;
}




@media only screen and (max-width:1023px),
only screen and (max-width:1024px) and (orientation:portrait) {
    .mailer-wrapper {
        width: 96vw;
        margin-left: 0;
        margin-top: 7vw;
    }

    fieldset {
        max-width: 80vw;
    }

    div#thankyoublock-innerwrapper {
        overflow: scroll;
    }

    .termsWrapperV3.second .termsContent {
        position: static;
    }

    input,
    select {
        font-size: 2.5vw;
        letter-spacing: .1vw;
        height: 5vw;
        line-height: 5vw;
        padding-left: 1vw;
    }

    input#email {
        border-bottom: 0.6vw solid #0E314D;
        letter-spacing: .1vw;
        font-size: 4vw;
    }

    .termsWrapperV3.first {
        max-width: 80vw;
    }

    .termsContent.fadeIn {}

    .termsContent {
        padding: 1vw;
        font-size: 2.7vw;
        top: 4vw;
        border: .2vw solid #0E314D;
    }

    input.submit {
        font-size: 3vw;
        display: inline-block;
        line-height: 5vw;
        width: 17vw;
        height: 5vw;
    }

    .join-button-form .mlist-submit:after {
        background-size: 20vw;
        height: 15vw;
        top: -5vw;
    }

    div#thankyoublock-innerwrapper .thankyou-message.embed {
        font-size: 3.7vw;
        text-align: center;
        line-height: 2vw;
        letter-spacing: .1vw;
        width: 100%;
    }

    .secondFormCloseWrap,
    div#thankyoublock-innerwrapper .thankyou-message.embed,
    .thankswelcome-msg,
    .mlist-submit-new,
    .termsWrapperV3.second {
        max-width: 80vw;
    }

    .secondFormCloseWrap a {
        font-size: 5vw;
    }

    .thankswelcome-msg {
        padding: 3vw 0;
        font-size: 2vw;
    }

    #thankyoublock-innerwrapper .mlist-field label {
        font-size: 3vw;
    }

    select {}

    label.global-list {
        font-size: 3vw;
        margin-left: 4.5vw;
    }

    div#secondary-list-values {
        max-width: 80vw;
    }

    .mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:before,
    .mlist-outer-wrapper [type="checkbox"]:checked+label:before {
        width: 3vw;
        height: 3vw;
        border: 0.4vw solid #0E314D;
    }

    .mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:after,
    .mlist-outer-wrapper [type="checkbox"]:checked+label:after {
        top: 0.5vw;
        line-height: 1;
        left: 0.5vw;
        font-size: 2.1vw;
    }
}

.mailer-wrapper .consent-placeholder {
    position: relative;
    margin: 3.5vh auto 0;
    display: block;
}

.plain-ml-wrapper label:not(.goptin_checkbox) {
    position: static;
    transform: none;
}

.mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
.mailer-wrapper .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;
}

.mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
.mailer-wrapper .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 #0E314D;
    background: transparent;
    border-radius: 0px;
    box-sizing: border-box;
}

.mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"].errored:not(:checked)+label:before {
    border-color: red;
}

.mailer-wrapper .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.88vw;
    padding-left: 2.04vw;
    vertical-align: top;
    font-weight: 400;
    position: static;
    transform: none;
    pointer-events: auto;
}

.mailer-wrapper .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: #0E314D;
    font-weight: 700;
    text-align: center;
}

.mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
    color: #0E314D;
}

.mailer-wrapper .consent-placeholder span.input-error {
    color: red;
    position: absolute;
    top: -3.25vh;
    left: 0;
    bottom: auto;
}

.mailer-wrapper .secondform .consent-placeholder {
    margin: 2vh auto;
    max-width: 40%;
}

.mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder label a,
.mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder label span {
    color: #0E314D;
}

.mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder label a {
    text-decoration: underline;
}

.mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder label a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 1024px) and (orientation:portrait) {
    .mailer-wrapper .secondform .consent-placeholder {
        width: 80%;
        max-width: 100%;
    }

    .mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
        font-size: 2vw;
        padding-left: 6vw;
    }

    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked,
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:before {
        width: 4vw;
        height: 4vw;
    }

    .mailer-wrapper .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) {
    .mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
        font-size: 1.268vw;
        padding-left: 3.54vw;
    }

    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:after {
        top: 0;
        font-size: 2vw;
    }

    .mailer-wrapper .consent-placeholder {
        position: relative;
        margin: 2vh auto;
    }

    .mailer-wrapper .consent-placeholder span.input-error {
        top: -1.5vh;
    }

    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked)+label:before,
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked+label:before,
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:not(:checked),
    .mailer-wrapper .plain-ml-wrapper .consent-placeholder input[type="checkbox"]:checked {
        width: 2.28vw;
        height: 2.28vw;
    }

}

#secondForm select:hover {
    cursor: pointer;
}

@media only screen and (max-width:767px) and (orientation:portrait){
    .mailer-wrapper .consent-placeholder {
        width: 83%;
    }
    .secondFormCloseWrap {
        padding-top: 50%;
    }
}
@media only screen and (max-width:932px) and (orientation:landscape){
    .mailer-wrapper #mlistFormOne .consent-placeholder {
        width: 83%;
        margin-top: 9vh;
    }
    
    .mailer-wrapper .plain-ml-wrapper .mlform .consent-placeholder input[type="checkbox"]+label {
        font-size: 2vw;
    }
    
    .mailer-wrapper .secondform .consent-placeholder {
        max-width: 78%;
    }
}