.mailingList {
    max-width: 525px;
    margin: 0 auto;
    font-family: Arial, sans-serif;;
}

#TourPage .tourMailingList {
    font-family: Arial, sans-serif;;
}

.termsWrapper.first a.terms {
    font-size: 8px;
    text-decoration: underline;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-transform: lowercase;
    margin-left: 0;
}

.termsWrapper.first a.terms:hover,
.termsContent a:hover {
    text-decoration: none;
}

#alec-mlist {
    max-width: 525px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

form {
    font-size: 0;
}

form#TourForm {
    position: relative;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
    display: inline-block;
    vertical-align: top;
    width: 280px;
    position: relative;
}

.termsWrapper a.terms:after {
    content: "Terms";
}

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

.termsContent {
    display: none;
    font-size: 10px;
    line-height: 1.2;
    -webkit-text-size-adjust: none;
    padding: 5px;
    letter-spacing: 1px;
    position: absolute;
    background: transparent;
    z-index: 99;
    font-family: Arial, sans-serif;;
}

.second .termsContent {
    position: relative;
}

.termsContent a {
    display: inline-block;
    text-decoration: underline;
    color: #fff;
}

.m-required.error {
    border-color: #ff0000;
}

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

.mlist-field.email-field label.error {
    font-size: 10px;
    color: #ff0000;
    display: inline-block;
    position: absolute;
    letter-spacing: 0px;
    text-align: left;
    width: 100%;
    left: 0;
    padding-top: 5px;
    line-height: 1.25;
    z-index: 99;
}

div#serverError {
    font-size: 8px;
    color: #ff0000;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    position: absolute;
    display: block;
    top: 40px;
    max-width: 180px;
    padding-top: 5px;
    line-height: 1.25;
}

input,
select {
    border-width: 0;
    font-family: Arial, sans-serif;;
    color: #ffffff;
    padding: 0;
    padding-left: 15px;
    -webkit-border-radius: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-size: 11px;
    width: 100%;
    letter-spacing: 1px;
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    height: 40px;
    line-height: 40px;
    -webkit-text-fill-color: #ffffff;
    border: 1px solid #fff;
    font-weight: 600;
}

select {
    background: url(../images/down-arrow.svg?gf) no-repeat right 10px center;
}

option {
    background: #ffffff;
    color: #000;
}

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

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

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

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

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

input#email.error {
    border: 1px solid red !important;
}

.mlist-wrapper {
    font-size: 0;
    position: relative;
    max-width: 312px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.panel .mlist-header1 {
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.3;
    padding-bottom: 15px;
}

.mlist-header {
    font-size: 14px;
    padding: 0;
    line-height: 1;
    width: 100%;
    display: block;
    letter-spacing: 1.5px;
    padding-bottom: 20px;
}

.mlist-header1 {
    font-size: 16px;
    line-height: 1.1;
    padding: 10px 0 25px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.mlist-field.email-field {
    display: inline-block;
    width: calc(100% - 104px);
    vertical-align: bottom;
    position: relative;
}

.mlist-submit {
    display: inline-block;
    width: 100px;
    vertical-align: bottom;
    border-radius: 5px;
    margin-left: 4px;
}

input.submit {
    border: none;
    padding: 0;
    height: 40px;
    line-height: 40px;
    background: #fff;
    text-transform: lowercase;
    outline: none;
    box-sizing: border-box;
    color: #000;
    -webkit-text-fill-color: #000;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.panelOne #thankyoublock input.submit {
    background: #fff;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.panelOne #thankyoublock input.submit:hover {
    background: rgba(255, 255, 255, 0.8);
}

.panelOne input.submit {
    background: #FFFFFF;
}

.panelOne input.submit:hover {
    background: #FFFFFF;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
}

input.submit:hover {
    opacity: 0.5;
}

.mlist-submit span.button,
.mlist-submit-new span.button {
    max-width: 100px;
    margin: 0 auto;
    /*margin-left: 5px;*/
    height: 40px;
    line-height: 40px;
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0;
    text-align: center;
    border-radius: 0;
}


.mlist-submit-new span.button {
    margin-top: 25px;
}

div#thankyouBlock.final-screen {
    position: relative;
    background: none;
}

.termsWrapper {
    padding: 15px 0 0 0;
    position: relative;
}

.termsWrapper.first,
.termsWrapper.second {
    width: 280px;
    padding: 0;
    margin: 0 auto;
    text-align: right;
    position: relative;
    font-size: 10px;
}

.termsWrapper.first .terms {
    width: 100px;
    margin-left: 180px;
    text-align: center;
    padding-top: 5px;
}

.termsWrapper.first .termsContent {
    text-align: center;
    color: #fff;
    background: #000;
}

.secondFormCloseWrap {
    text-align: right;
    padding: 20px 0 5px;
    padding-right: 5px;
}

.secondFormCloseWrap a {
    font-size: 25px;
    color: #fff;
    font-weight: 700;
    width: 25px;
    display: block;
    text-align: center;
    height: 27px;
    margin-left: auto;
    text-decoration: none;
}

.secondFormCloseWrap a:hover {
    color: #998CB1;
}

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

div#thankyouBlock.final-screen>.thankyou-message.embed {
    display: block;
    font-size: 18px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

.front div#thankyouBlock.final-screen>.thankyou-message.embed {
    color: #fff;
}

#thankyoublock-innerwrapper .thankyou-message.embed {
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    line-height: 22px;
}

.thankswelcome-msg {
    font-size: 12px;
    line-height: 18px;
    padding: 10px 0;
    text-align: left;
}

div#errorLabelContainer2 {
    color: #ff0000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

#thankyoublock-innerwrapper .mlist-field label.error {
    font-size: 12px;
    color: #ff0000;
    letter-spacing: 0.4px;
}

#thankyoublock-innerwrapper .mlist-field label {
    font-size: 14px;
    display: block;
    margin: 10px 0 0;
    text-align: left;
}

#thankyoublock-innerwrapper .mlist-field select,
#thankyoublock-innerwrapper .mlist-field input {
    padding: 0;
    font-size: 15px;
    font-family: Arial, sans-serif;;
    padding-left: 20px;
}

.termsWrapper.second {
    text-align: center;
    width: 100%;
    padding-top: 5px;
    letter-spacing: 1px;
}

.termsWrapper.second .terms a.terms {
    color: #fff;
    text-transform: lowercase;
}

.termsWrapper.second .terms a.terms:hover {
    text-decoration: none;
}

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

select#dobMonth {
    margin-right: 2%;
}

label.global-list {
    font-size: 10px;
    margin-left: 23px;
    vertical-align: middle;
    line-height: 20px;
    width: calc(100% - 23px);
    display: inline-block;
    font-family: Arial, sans-serif;;
    text-align: left;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked),
.mlist-outer-wrapper [type="checkbox"]:checked {
    position: absolute;
    left: 0px;
    width: 16px;
    height: 16px;
    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: 16px;
    height: 16px;
    border: 1px solid #fff;
    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: -1px;
    font-weight: 700;
    left: 3px;
    font-size: 12px;
    color: #fff;
    transition: 0.2s delay;
}

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

.mlist-checks {
    position: relative;
    margin: 15px 0;
}

#MailingListPage .mailingListWrapper {
    padding-bottom: 45px;
}

#MailingListPage fieldset {
    width: 90%;
    max-width: 400px;
}

#MailingListPage .welcomeMsg {
    padding: 40px 0;
    line-height: 1.4;
    font-size: 19px;
}

#MailingListPage .mlist-field {
    padding-bottom: 19px;
}

#MailingListPage .mlist-field label {
    font-size: 14px;
    display: block;
    padding-bottom: 13px;
    text-align: left;
    line-height: 1;
}

#MailingListPage .mlist-field label.error {
    color: #ff0000;
    padding: 20px 0 0;
}

#MailingListPage .mlist-checks {
    margin: 0 0 17px;
}

#MailingListPage .termsWrapper.first {
    text-align: center;
    width: 100%;
}

#MailingListPage .termsWrapper.first .terms {
    width: 100%;
    margin: 0;
}

#MailingListPage #thankyouBlock>.thankyou-message.embed {
    display: block;
    font-size: 25px;
    padding-top: 45px;
    letter-spacing: 6px;
}

#MailingListPage .topWrapper {
    min-height: calc(100vh - 97px);
    box-sizing: border-box;
}


#thankyouBlock,
.front .termsWrapper.first,
.front .termsWrapper.first .terms {
    color: #fff;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .mlist-header {
        font-size: 14px;
    }
    form#TourForm {
        position: relative;
        width: 95%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 767px) {
    div#thankyouBlock {
        justify-content: start;
        margin-top: 20px;
    }
    .termsWrapper.second {
        margin-bottom: 35px;
    }
    #sbrina-mlist {
        width: 90%;
        max-width: 300px;
    }
    .header-mlist.mlist-outer-wrapper.embedded-inline-list.country-detect.lightbox.lightboxActive {
        max-height: 100%;
        overflow-y: scroll;
    }
    .mlist-header {
        font-size: 24px;
        padding: 0;
        width: 100%;
        text-align: center;
        margin-right: 0;
        padding-top: 15px;
    }
    #TourPage .mlist-header {
        font-size: 14px;
        letter-spacing: 1px;
    }
    fieldset {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 280px;
    }
    input#email {
        /*text-align: center;*/
        padding-left: 5px;
    }
    .mlist-field.email-field {
        margin-right: 0;
    }
    .mlist-submit {
        margin-top: 10px;
    }
    .mlist-field.email-field label.error {
        padding-top: 5px;
    }
    /* br.mobbr {
        display: block;
    } */
    label.global-list {
        font-size: 9px;
    }
    #thankyoublock-innerwrapper .termsContent {
        margin-bottom: 30px;
    }
    #thankyouBlock {
        /*margin-bottom: 50px; 	*/
    }
    #MailingListPage .welcomeMsg {
        padding-top: 120px;
    }
    #thankyoublock-innerwrapper .mlist-field select,
    #thankyoublock-innerwrapper .mlist-field input,
    input,
    select {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1024px) {
    #thankyoublock-innerwrapper .thankyou-message.embed {
        padding-top: 70px 0 0;
    }
    #thankyouBlock {
        overflow-y: scroll;
        overflow-x: hidden;
        padding-top: 0;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 4;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        z-index: 9999;
        height: auto;
    }
}

#thankyouBlock {
    height: auto;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
}

div#thankyoublock-innerwrapper {
    padding-top: 40px;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

.secondFormCloseWrap a {
    font-size: 21px;
    text-decoration: none;
    box-sizing: border-box;
    float: right;
    position: relative;
    top: -20px;
    margin-bottom: 0px;
    right: 0px;
    display: block;
    color: #fff;
    text-transform: uppercase;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0px 0px 0px 1000px #000000 inset;
    background: #000000 !important;
    -webkit-text-fill-color: #FFFFFF;
}