.footer-mlist-wrapper {
    /* background: #000; */
    /* padding: 170px 0 110px; */
}

div.main-mlist-wrapper {
    font-family: pragmatica-extended, sans-serif;
    font-weight: 500;
    width: 22.833vw;
    /* margin: 0 auto; */
    color: #fff;
}

div#mlform {
    /* max-width: 1289px; */
    text-align: center;
    font-size: 0;
    width: 100%;
    margin: 0;
}

input,
select {
    appearance: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
}

.message {
    display: inline-block;
    vertical-align: top;
    font-size: 40px;
    font-family: pragmatica-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: left;
    max-width: 380px;
}

::-webkit-input-placeholder {
    /* Edge */
    color: #fff;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

::placeholder {
    color: #fff;
}

#secondform input:not([type="submit"])::-webkit-input-placeholder {
    /* Edge */
    color: #fff;
}

#secondform input:not([type="submit"]):-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

#secondform input:not([type="submit"])::placeholder {
    color: #fff;
}

#mlform input#email,
#mlform input#phonenumber {
    border: none;
    font-style: normal;
    height: 2.8vw;
    line-height: 2.8vw;
    box-sizing: border-box;
    background: transparent;
    border-bottom: 0.104vw solid #fff;
    width: 100%;
    color: #fff;
    font-size: 1.042vw;
    font-family: pragmatica-extended, sans-serif;
    box-sizing: border-box;
    padding: 0;
    text-transform: capitalize;
    font-weight: 500;
}

.plain-ml-wrapper .email.fieldWrap {
    /* max-width: 84%; */
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 auto;
    /* margin-right: 0; */
}

input#submit {
    padding: 0;
    color: #fff;
    background-color: #fff;
    border: none;
    font-family: pragmatica-extended, sans-serif;
    font-weight: 500;
    font-style: normal;
    height: 14px;
    /* line-height: 89px; */
    box-sizing: border-box;
    width: 100%;
    /* font-size: 30px; */
    text-transform: uppercase;
    cursor: pointer;
    background: url(../images/arrow-email-white.svg) no-repeat;
    background-size: contain;
    transition: ease all 0.5s;
}

input#submit:hover {
    opacity: 0.7;
    /* transition: ease all 0.5s; */
    /* background: url(../images/arrow-email-white.svg) no-repeat; */
    /* background-size: contain; */
}

.submit {
    max-width: 11%;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-bottom: 0;
    position: absolute;
    right: 0;
    top: 0.85vw;
}

.primary-list-values {
    display: inline-block;
}

form#mlistFormOne {
    display: inline-block;
}

form#mlistFormOne {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    max-width: 100%;
    text-align: center;
    position: relative;
}

.fadeIn a {
    text-decoration: underline !important;
}

.main-mlist-wrapper #mlform #terms .terms-message,
.main-mlist-wrapper #secondform #terms .terms-message {
    /* top: 19px; */
    bottom: initial;
    text-align: center;
    box-sizing: border-box;
    font-size: 0.625vw;
    background: #5BDDB0;
    padding: 0.325vw;
    text-transform: inherit;
    color: #fff;
    margin: 0;
    position: absolute;
    z-index: 999;
    border: 1px solid #fff;
    border-radius: 5px;
}

.main-mlist-wrapper #mlform #terms .terms-message a,
.main-mlist-wrapper #secondform #terms .terms-message a {
    color: #fff;
    transition: all 0.5s;
}

.main-mlist-wrapper #mlform #terms .terms-message a:hover,
.main-mlist-wrapper #secondform #terms .terms-message a:hover {
    color: #fff;
    /* opacity: 0.5; */
}

div#thankyou {
    color: #fff;
    text-transform: uppercase;
    /* padding-bottom: 50px; */
    text-align: left;
    font-size: 1.25vw;
}

.main-mlist-wrapper span.input-error {
    background: none;
    /* bottom: -18px; */
    font-size: 11px;
    color: red;
    position: absolute;
    left: 0;
    top: -16px;
}

.main-mlist-wrapper .plain-ml-wrapper #terms {
    position: relative;
    text-align: center;
    margin-top: 2.5vh;
}

#mlform .terms {
    padding-right: 11%;
    /* padding-top: 25px; */
    position: relative;
    margin-top: 25px;
    display: inline-block;
}

#mlform .terms,
#secondform .terms {
    color: #fff;
    text-transform: uppercase;
}

.fadeOut {
    display: none !important;
}

#secondform .welcome {
    font-size: 1.042vw;
    /* margin-bottom: 40px; */
    text-align: center;
}

div#secondform {
    max-width: 800px;
    position: relative;
    width: 90%;
    text-transform: uppercase;
    margin: 0 auto;
    text-align: right;
    /* cursor: pointer; */
    max-width: 100%;
    height: 100vh;
    width: 100%;
    padding-top: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #5BDDB0;
    overflow-y: scroll;
    z-index: 10000;
}

#secondform input:not([type="submit"]) {
    width: 100%;
    padding: 10px 0px;
    height: 2.083vw;
    line-height: 2.083vw;
    font-size: 0.833vw;
    padding: 0px 5px;
    border: none;
    background-color: transparent;
    font-family: pragmatica-extended, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
    border-bottom: 0.104vw solid #fff;
}

#lightboxMlistForm #secondform input,
#secondform select {
    height: 2.083vw;
    line-height: 2.083vw;
    font-size: 0.833vw;
    padding: 0px 5px;
    border: none;
    background-color: transparent;
    font-family: pragmatica-extended, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
    width: 100%;
    border-bottom: 0.104vw solid #fff;
}

select {
    background: url(../images/keyboard_arrow_down_white.svg) no-repeat right 0 center #fff;
    background-size: 2vw;
}

.fadeIn a {
    text-decoration: underline;
}

div#terms p {
    border: 1px solid;
}

.plain-ml-wrapper label:not(.goptin_checkbox) {
    font-size: 20px;
    text-align: left;
    padding-left: 0;
}

form#mlistFormTwo {
    text-align: left;
    max-width: 40vw;
    margin: 0 auto;
}

.main-mlist-wrapper .plain-ml-wrapper .moveUp {
    background: none;
    top: -25px;
}

#secondform .name {
    margin-top: 0px;
    margin-bottom: 0px;
}

.fieldWrap,
.country {
    margin-bottom: 20px;
}

.birthday {
    font-size: 0;
}

.birthday>div {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.birthday>div:first-child {
    margin-right: 2%;
}

#secondform label.goptin_checkbox {
    margin-top: 0;
    display: inline-block;
    width: calc(100% - 30px);
    vertical-align: middle;
    font-size: 0.625vw;
    padding-left: 5px;
}

form#mlistFormTwo input#submit {
    margin-top: 0px;
    /* height: 2.083vw; */
    /* line-height: 2.083vw; */
    font-size: 1.042vw;
    /* background: no-repeat; */
    width: 100%;
    margin: 0 auto;
    /* padding: 0.5vw 0; */
    text-align: center;
}

form#mlistFormTwo .submit {
    display: block;
    margin: 0 auto;
    /* margin-bottom: 20px; */
    max-width: 6%;
    text-align: center;
    position: relative;
    margin-bottom: 5%;
}

#secondform .birth-date-title {
    font-size: 0.833vw;
    text-align: center;
}

form#mlistFormTwo div#terms {
    margin: 8px auto 0;
    text-align: center;
}

#secondform .terms {
    color: #fff;
}

.main-mlist-wrapper .plain-ml-wrapper p.terms-message-2,
.main-mlist-wrapper .plain-ml-wrapper p.terms-message {
    top: 19px;
    bottom: initial;
    text-align: center;
    box-sizing: border-box;
    font-size: 0.625vw;
    /* background: #000; */
    padding: 5px;
    text-transform: initial;
    z-index: 99;
    position: absolute;
    margin: 0;
    /* background: #F0C7DE; */
}

div#terms a {
    color: #fff;
    transition: all 0.5s;
}

div#terms a:hover {
    opacity: 0.5;
}

#secondform input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    border: 1px solid #fff;
    cursor: pointer;
}

.main-mlist-wrapper .plain-ml-wrapper #mlistFormTwo #terms {
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.mailinglistwrapper {
    padding: 3vw 0;
    width: 25vw;
    margin: 0 auto;
    display: block;
    /* justify-content: space-between; */
    /* align-items: baseline; */
    padding-bottom: 1vw;
    text-align: left;
}

.main-mlist-wrapper .phone.fieldWrap span.input-error {
    top: -19px;
    /* bottom: -17px; */
}

.phone.fieldWrap {
    position: relative;
}
span#secondFormClose {
    position: absolute;
    right: 1.7vw;
    top: 2.7vw;
    font-size: 1.458vw;
    cursor: pointer;
    color: #ffffff;
    font-style: normal;
}

.plain-ml-wrapper #secondform .welcome {
    margin-top: 10%;
}

option {
    color: #fff;
    background: #5bddb0;
}
@media only screen and (min-width:1024px) {
    .main-mlist-wrapper #mlform #terms .terms-message,
    .main-mlist-wrapper #secondform #terms .terms-message {
        /* width: calc(100% - 13px); */
        left: 5px;
    }
}

@media only screen and (min-width:768px) and (max-width:1023px) {
    form#mlistFormOne {
        text-align: center;
    }
    div#thankyou {
        font-size: 30px;
    }
    
    /* .main-mlist-wrapper .plain-ml-wrapper #terms {
    text-align: right;
    margin: 0 auto 0 70px;
    max-width: 420px;
}
.main-mlist-wrapper #mlform #terms .terms-message, .main-mlist-wrapper #secondform #terms .terms-message{
    width: calc(392px - 10px);
    left: calc(50% - 155px);
} */
}

input#email.errored,
input#phonenumber.errored {
    border-color: red !important;
}

.main-mlist-wrapper input:-webkit-autofill,
.main-mlist-wrapper select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #5BDDB0 inset;
    -webkit-text-fill-color: #fff;
    font-size: 50px;
    font-family: pragmatica-extended, sans-serif;
    font-weight: 900;
}

input#goptin_checkbox:checked:after,
input#goptin_checkbox_2:checked:after,
input#goptin_checkbox2:checked:after {
    content: '\2713';
    color: #fff;
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    /* margin-top: 2px; */
    margin-left: -2px;
    box-sizing: border-box;
}

form#mlistFormTwo input:-webkit-autofill,
form#mlistFormTwo select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #5bddb0 inset;
    -webkit-text-fill-color: #fff;
    /* font-size: 16px; */
    /* font-family: pragmatica-extended, sans-serif; */
    /* font-weight: 900; */
}

span#secondFormClose:hover {
    /* opacity: 0.5; */
    color: #fff;
}

#mlform .terms,
#secondform .terms {
    font-style: normal;
    font-size: 0.625vw;
    text-transform: capitalize;
    font-weight: 500;
    margin-top: 0.3vw;
    padding: 0;
    text-decoration: underline;
}

.footer-mlist-wrapper .plain-ml-wrapper .email.fieldWrap {
    position: relative;
    padding-bottom: 0;
}

.footer-mlist-wrapper div#secondform {
    padding: 20px 0;
}

.footer-mlist-wrapper div#thankyou {
    /* min-height: 582px; */
    /* padding-top: 270px; */
    box-sizing: border-box;
}

@media only screen and (max-width: 1023px) and (orientation: landscape),
only screen and (max-width: 1024px) and (orientation: portrait) {
    div#thankyou {
        font-size: 13px;
    }
    #secondform .welcome {
        font-size: 4vw;
    }
    .footer-mlist-wrapper #secondform .welcome {
        margin-bottom: 0;
        margin-top: 40%;
    }
    .footer-mlist-wrapper div#secondform {
        padding: 0;
    }
    .message {
        font-size: 20px;
        margin-bottom: 15px;
    }
    div#mlform input#email,
    #mlform input#phonenumber {
        font-size: 16px;
        height: 50px;
        line-height: 50px;
        border-bottom: 0.7vw solid #fff;
    }
    form#mlistFormTwo {
        text-align: left;
        max-width: 85vw;
        margin: 0 auto;
    }
    .footer-mlist-wrapper .plain-ml-wrapper .email.fieldWrap {
        max-width: 100%;
        margin-right: 0;
        /* padding-bottom: 10px; */
    }
    .main-mlist-wrapper .phone.fieldWrap span.input-error {
        top: -7px;
    }
    .phone.fieldWrap {
        margin-bottom: 0;
    }
    input#submit {
        /* height: 46px; */
        /* line-height: 52px; */
        margin-top: 15px;
        /* margin-bottom: 20px; */
    }
    span#secondFormClose{
        font-size: 5.458vw;
    }
    #secondform input:not([type="submit"]),
    #lightboxMlistForm #secondform input,
    #secondform select {
        font-size: 16px;
        line-height: 46px;
        height: 46px;
    }
    .footer-mlist-wrapper div#thankyou {
        /* min-height: 461px; */
        /* padding-top: 230px; */
        font-size: 18px;
        padding: 25px 0;
        text-align: center;
    }
    .footer-mlist-wrapper #secondform input:not([type="submit"]),
    .footer-mlist-wrapper #secondform select {
        height: 30px;
        line-height: 30px;
        background-size: 30px;
    }
    #secondform input[type="checkbox"],
    .footer-mlist-wrapper #secondform input[type="checkbox"] {
        height: 18px;
    }
    #secondform label.goptin_checkbox {
        font-size: 9px;
    }
    form#mlistFormOne {
        display: block;
        vertical-align: top;
        width: 100%;
        /* max-width: 288px; */
        text-align: center;
        margin: 0 auto;
    }
    .main-mlist-wrapper .plain-ml-wrapper #terms {
        position: relative;
        /* text-align: right; */
        margin: 1vh auto 0;
        margin-right: 0;
        max-width: 100%;
        padding-right: 0;
        box-sizing: border-box;
    }
    .main-mlist-wrapper .plain-ml-wrapper p.terms-message-2,
    .main-mlist-wrapper .plain-ml-wrapper p.terms-message {
        font-size: 10px;
    }
    #mlform .terms {
        padding: 0;
        margin-top: 10px;
        font-size: 10px;
    }
    .main-mlist-wrapper #mlform #terms .terms-message,
    .main-mlist-wrapper #secondform #terms .terms-message {
        font-size: 10px;
        top: 25px;
    }
    .main-mlist-wrapper .plain-ml-wrapper #mlistFormTwo #terms {
        padding: 0;
    }
    div.main-mlist-wrapper {
        width: 325px;
        margin: 0 auto;
    }
    #secondform .birth-date-title {
        font-size: 16px;
        padding-bottom: 8px;
    }
    form#mlistFormTwo input#submit {
        font-size: 16px;
        /* height: 40px; */
        /* line-height: 40px; */
    }
    #mlform .terms,
    #secondform .terms {
        font-size: 10px;
    }
    .mailinglistwrapper {
        width: 325px;
        margin: 0 auto;
        display: block;
    }
}
@media only screen and (max-width: 1023px) and (orientation: landscape){
    .footer-mlist-wrapper #secondform .welcome {
        margin-bottom: 0;
        margin-top: 7%;
        font-size: 2.53vw;
    }
    span#secondFormClose {
        font-size: 3.458vw;
    }
    form#mlistFormTwo .submit {
        max-width:5%;
    }
    form#mlistFormTwo{
        margin: 0 auto 20vh;
    }
}
@media only screen and (max-width: 1024px) and (orientation: landscape){
    form#mlistFormTwo .submit{
        max-width: 6%;
    }
    .plain-ml-wrapper #secondform .welcome {
        margin-top: 20%;
    }
    span#secondFormClose{
        font-size: 3.458vw;
    }
}