fieldset {
    border: none;
}

fieldset {
    border: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

div#thankyouBlock.final-screen form#secondForm {
    display: none;
}

::-webkit-input-placeholder {
    /* Edge */
    color: #000;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
    opacity: 1;
}

::placeholder {
    color: #000;
    opacity: 1;
}

.mlist-wrapper {
    font-size: 0;
    font-family: 'pkmn_rbygscregular';
    margin: 4vh auto 0px;
    position: relative;
    text-align: center;
    padding: 1vw;
}

div#serverError {
    position: absolute;
    font-size: 10px;
    width: 100%;
    top: -49%;
}

.terms a.terms:hover {
    color: #000000;
    background: none;
    opacity: 1;
    text-decoration: none;
}

div#thankyouBlock>.thankyou-message {
    display: none;
}

div#thankyouBlock.final-screen>.thankyou-message {
    display: block;
    margin: 0;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 0;
}

div#thankyouBlock.final-screen {
    background: transparent;
}

.mlist-wrapper .mlist-field {
    /* max-width: 195px; */
    width: 100%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    float: left;
}

.mlist-submit {
    display: inline-block;
    vertical-align: middle;
    width: 26%;
}


/*

 .mlist-wrapper form .mlist-field {

 width: 260px;

 margin-right: 10px;

 }*/

.mlist-submit-new input.submit:hover {
    color: #000000;
    border: 1px solid #000000;
    background: transparent;
}

input.submit {
    background-color: transparent;
    border: none;
    font-size: 15px;
    color: #000;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0px;
    height: auto;
    line-height: normal;
    padding: 0;
}

input#email {
    color: #000000;
    font-size: 12.44px;
    border: none;
    padding-left: 10px;
    background-color: transparent;
    width: 100%;
    letter-spacing: 1px;
    box-sizing: border-box;
    -webkit-text-fill-color: #000000;
    border-bottom: solid 1px #000000;
    height: 50px;
    line-height: 50px;
    padding: 0;
    text-transform: capitalize;
}


/* input#email:hover {
 //color: #9e19fe;
 // -webkit-text-fill-color: #9e19fe;
 opacity: 0.7
 }

 .mfp-content input#email:hover {
 opacity: 0.7
 } */

div#thankyouBlock {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #000000;
    font-size: 25px;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

label {
    width: 100%;
    display: block;
    /* text-align: left; */
}

select {
    width: 300px;
    height: 40px;
}

.thankyou-message.embed {
    font-size: 12px;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 2px;
    padding-top: 20px;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
}

div#thankyoublock-innerwrapper .mlist-field label {
    display: block;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /*padding-left: 9px;*/
    box-sizing: border-box;
    padding-bottom: 10px;
    color: #000000;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
}

input#firstname {
    width: 100%;
    margin: 0 auto;
    padding-left: 8px;
    box-sizing: border-box;
}

.first-wrapper {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.mlist-field.postalcode,
.mlist-field.country {
    width: 100%;
    margin-right: 0;
}

.mlist-field.country {
    margin-right: 0;
}

input#postalcode {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
    height: auto;
}

select#country {
    /*background: url(http://wmgdev1.prod.acquia-sites.com/sites/default/themes/drupalgardens_v2/iamjojoofficial/images/ddArrow.jpg) no-repeat right #000;*/
    width: 100%;
    padding-left: 10px;
    background-size: 4%;
}

.mlist-field select#dobDay,
.mlist-field select#dobMonth {
    width: 47.8%;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4%;
    line-height: 20px;
    padding-left: 10px;
}

select#dobDay {
    margin-right: 0 !important;
}

.thankswelcome-msg {
    display: none;
}

div#secondary-list-values,
.second-submit {
    /* max-width: 414px; */
    margin: 0 auto;
    font-size: 0;
    width: 100%;
    box-sizing: border-box;
}

.mlist-checks {
    width: 94%;
    margin-top: 0;
    padding-top: 1px;
    display: inline-block;
    vertical-align: top;
    margin-right: 6%;
    position: relative;
    text-align: left;
    padding-left: 20px;
    padding-top: 15px;
}

.mlist-submit-new {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    padding-top: 14px;
}

label.error {
    color: #ff0000 !important;
    text-transform: none !important;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
}

.mlist-submit-new input.submit {
    max-width: 26%;
    width: 100%;
    o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
    cursor: pointer;
    margin-left: 0;
    border: none;
}

body .mlist-submit input.submit:hover {
    text-decoration: underline;
}

.secondFormCloseWrap a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    float: right;
    margin-right: 10px;
    line-height: 1;
    /*

	 top: 0px;

	 position: absolute;

	 right: 0;*/
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
}

a.terms:after {
    content: "terms";
}

.termsContent {
    display: none;
}

.terms {
    text-align: right;
    color: #000000;
    font-size: 10px;
    text-transform: capitalize;
    padding-top: 0;
    width: 100%;
    letter-spacing: 1px;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    margin: 5px 0 0 0;
}

.termsWrapper.second .terms {
    text-align: center;
}

a.terms {
    text-decoration: underline;
    font-style: normal;
}

a.terms:hover,
.secondFormCloseWrap a:hover {
    opacity: 0.7;
}

.termsContent {
    color: #000000;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.8px;
    max-width: 750px;
    padding-top: 10px;
    font-family: 'pkmn_rbygscregular';
}

.termsContent a {
    color: #ffffff;
    text-decoration: underline;
    display: inline-block;
    vertical-align: top;
}

#secondForm .termsContent a {
    color: #000;
}

.termsContent a:hover {
    text-decoration: none;
    /* opacity: 0.7; */
}

.termsWrapper.second .terms {
    padding-top: 10px;
    text-transform: uppercase;
    font-size: 9px;
}

.termsWrapper.second .termsContent {
    /* max-width: 414px; */
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    right: 6px;
    padding-left: 0;
    text-align: center;
}
.termsWrapper.second .termsContent {
    /* max-width: 414px; */
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    right: 6px;
    padding-left: 0;
    text-align: center;
    position: absolute;
    bottom: 24px;
    background: #000;
    color: #fff;
    line-height: 12px;
    font-weight: normal;
    font-size: 11px;
    left: 0px;
}
#secondForm .termsWrapper.second .termsContent a{
    color: #fff;
}
@media only all and (min-width: 768px) and (max-height: 600px){
    .termsWrapper.second .termsContent {
        /*overflow: scroll;
        padding-bottom: 30px;
        height: 70px;*/
	}
	div#thankyoublock-innerwrapper {
		padding: 0.5vw;
		margin: 0 auto;
	}
	#secondForm div#thankyoublock-innerwrapper {
		padding: 0.5vw;
		margin: 0 auto;
	}
}
label.global-list {
    font-size: 11px;
    display: inline;
    vertical-align: middle;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.5px;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    text-align: center;
}

input.global-list-checkbox {
    display: inline-block;
    vertical-align: middle;
}

a.terms:after {
    content: 'terms';
}

a.terms.showing:after {
    content: 'hide';
}

div#thankyoublock-innerwrapper .mlist-field {
    max-width: 100%;
    margin-bottom: 15px;
}

.mlist-outer-wrapper input.error,
.mlist-outer-wrapper select.error,
.mlist-outer-wrapper [type="checkbox"].error:not(:checked)+label:before {
    border: none;
    border-bottom: solid 1px #d05b06 !important;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked),
.mlist-outer-wrapper [type="checkbox"]:checked {
    display: inline;
    position: absolute;
    left: 0;
    width: 13px;
    height: 13px;
    z-index: 10;
    top: 0px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding-left: 0;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:before,
.mlist-outer-wrapper [type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 2px;
    top: 15px;
    width: 13px;
    height: 13px;
    border: 1px solid #000000;
    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";
    font-size: 10px;
    color: #000000;
    text-align: center;
    line-height: 4px;
    padding-left: 2.5px;
    font-style: normal;
    display: block;
    top: 20px;
    position: absolute;
    left: 3px;
}

div#secondary-list-values {
    margin-top: 20px;
}

.mlist-outer-wrapper input.error,
.mlist-outer-wrapper [type="checkbox"].error:not(:checked)+label:before {
    border: none;
    border-bottom: solid 1px #d05b06 !important;
}

.mlist-outer-wrapper [type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(1);
}

.mlist-outer-wrapper [type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

select::-ms-expand {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    background-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #e8d659 inset;
    -webkit-text-fill-color: #000000;
}

#signupSplash input:-webkit-autofill,
#signupSplash input:-webkit-autofill:hover,
#signupSplash input:-webkit-autofill:focus,
#signupSplash input:-webkit-autofill:active,
#signupSplash select:-webkit-autofill,
#signupSplash select:-webkit-autofill:hover,
#signupSplash select:-webkit-autofill:focus,
#signupSplash select:-webkit-autofill:active {
    background-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #e8d659 inset;
    -webkit-text-fill-color: #000000;
}

@media all and (max-width: 767px) {
    #signupSplash input:-webkit-autofill,
    #signupSplash input:-webkit-autofill:hover,
    #signupSplash input:-webkit-autofill:focus,
    #signupSplash input:-webkit-autofill:active,
    #signupSplash select:-webkit-autofill,
    #signupSplash select:-webkit-autofill:hover,
    #signupSplash select:-webkit-autofill:focus,
    #signupSplash select:-webkit-autofill:active {
        background-color: #000;
        -webkit-box-shadow: 0 0 0px 1000px #e8d659 inset;
        -webkit-text-fill-color: #000000;
    }
}


/*input:hover,select:hover{

 border:none;

 }*/

div#errorMsg,
#serverError {
    color: #d05b06;
    font-size: 15px;
}

#mailing-list select,
#mailing-list input {
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    border-radius: 0px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    box-sizing: border-box !important;
    border: none;
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
    text-transform: uppercase;
    font-size: 12.44px;
    padding: 1vh 0;
    height: auto;
    line-height: normal;
    border-radius: 0px;
}

#mailing-list input[type="text"],
#mailing-list input[type="email"],
#mailing-list input[type="textarea"],
#mailing-list select {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    /* height: 52px; */
    float: none;
    text-transform: none;
    clear: both;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    border-radius: 0px;
    background: transparent;
    color: #000000;
    font-size: 12.44px;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    line-height: normal;
    outline: none;
    /* padding: 0; */
    border: none;
    border-bottom: 1px solid #000000;
}

select {
    background: url("../images/select-arrows.svg") no-repeat 98% transparent;
    background-size: 8%;
}

.thankyou-message.embed span {
    display: inline-block;
}

label.error {
    font-size: 10px;
    color: #ff0000;
    text-align: left;
    padding: 4px 0;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    position: absolute;
}

.mlist-header,
.mailinglistheader {
    display: block;
    color: #000000;
    font-size: 18px;
    text-align: center;
    padding-bottom: 13px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    padding-top: 17px;
}

.mlist-header {
    line-height: 1.8;
    padding-bottom: 43px;
}

.mailinglistheader {
    font-size: 31.47px;
    font-family: 'pkmn_rbygscregular';
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3.2px;
    padding-top: 123px;
    padding-bottom: 0;
}

form#signupForm2 {
    max-width: 735px;
    margin: 0 auto;
}

option {
    background: #000 !important;
    color: #fff !important;
}


/* Mailing list lightbox styles */

.mfp-content input#email,
.mfp-content input.submit {
    font-size: 16px;
}

.mfp-content .mlist-submit {
    width: 44px;
}

.mfp-content .mlist-wrapper .mlist-field.email-field {
    width: calc(100% - 44px);
    max-width: none;
}

.mfp-content div#thankyouBlock {
    background: transparent;
}

.mfp-content .mlist-header {
    font-size: 16px;
    text-transform: uppercase;
    color: #000000;
}

div#mlistLightbox button.mfp-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #85bb65;
    font-size: 35px;
    opacity: 1;
}

div#mlistLightbox button.mfp-close:hover {
    opacity: 0.8;
}

div#mlistLightbox .secondFormCloseWrap a {
    font-size: 0;
}

div#mlistLightbox div#thankyoublock-innerwrapper .mlist-field label {
    font-size: 16px;
}

div#mlistLightbox input[type="text"],
div#mlistLightbox input[type="email"],
div#mlistLightbox input[type="textarea"],
select {
    font-size: 16px;
}

.thankyou-message.embed {
    font-size: 14px;
}

.termsContent,
.termsContent a {
    -webkit-text-size-adjust: none;
}

input#postalcode,
select#country,
input#firstname,
.mlist-field select#dobDay,
.mlist-field select#dobMonth {
    padding: 0px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    outline: none;
}

div#thankyouBlock {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    /* padding: 0 10px 5px 10px; */
}

.mlist-submit input.submit,
.mlist-submit-new input.submit {
    background-color: #000000;
    color: #060606;
    width: 100%;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    border: 1px solid #000;
    font-weight: 700;
}

.mlist-submit-new input.submit {
    width: 100%;
}

.mlist-wrapper .mlist-field.email-field {
    display: inline-block;
    padding-top: 0;
    width: 72%;
    vertical-align: middle;
    margin-right: 2%;
    margin-bottom: 21px;
}

.mlist-wrapper .mlist-field.email-field span {
    font-size: 15px;
    position: absolute;
    left: -50px;
    color: #000000;
    bottom: -2px;
}

.mlist-submit input.submit:hover,
.mlist-submit-new input.submit:hover {
    text-decoration: underline;
}

.termsWrapper.first a.terms {
    position: relative;
    right: 0;
    top: 0;
    text-align: right;
    width: auto;
    font-style: normal;
    padding: 0px;
    border: 0px;
    text-transform: uppercase;
    font-size: 9px;
    right: 15px;
}

form#secondForm {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    box-sizing: border-box;
    padding: 0;
    max-width: 800px;
    width: 38vw;
}

div#thankyouBlock.final-screen {
    line-height: 2.6;
}

div#thankyoublock-innerwrapper {
    padding: 15px;
    box-sizing: border-box;
    z-index: 1000;
    position: relative;
}

.termsWrapper.first .termsContent {
    padding-top: 1vh;
    font-size: 9px;
    line-height: 1.25;
    position: absolute;
    background: #000;
    color: #fff;
    padding: 0.6vw;
    font-weight: normal;
}

.em.btn {
    z-index: 1000;
    position: relative;
}

@media only screen and (max-width: 767px) {
    div#headermailingWrapper {
        position: static;
        /*width: 290px;*/
    }
    .mlist-submit {
        /* width: 45px; */
    }
    .mlist-wrapper {
        padding: 0;
    }
    input.submit {
        padding-right: 0;
    }
    .mfp-content .mlist-wrapper .mlist-field.email-field {
        width: calc(100% - 60px);
    }
    .mfp-content .mlist-submit {
        width: 60px;
    }
    .termsWrapper.first a.terms {
        right: 0;
    }
    .email-submit-wrap {
        position: relative;
    }
}

#secondForm {
    padding: 10px;
}

select {
    background: url("images/black-arrow.png") no-repeat scroll right center !important;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    #secondary-list-values select#country {
        background-size: 23%;
        background-position-x: 106%;
    }
    #secondary-list-values select {
        background-size: 24%;
    }
}

@media all and (max-width: 767px) {
    label.global-list {
        line-height: 1.5;
    }
    .mlist-wrapper {
        max-width: 80%;
    }
    form#secondForm {
        width: 80%;
        line-height: normal;
    }
    form#secondForm {
        width: 100%;
        position: relative;
        top: 0px;
        transform: none;
        left: 0px;
        margin: 0 auto;
    }
    div.overlay {
        display: none !important;
    }
    /* .emailsecondopen .footer {
        position: relative;
        left: 0px;
        top: 0px;
        margin: 5% 0px 2%;
        text-align: center;
    } */
    #mailing-list input[type="text"],
    #mailing-list input[type="email"],
    #mailing-list input[type="textarea"],
    #mailing-list select {
        font-size: 16px;
    }
}

label.error {
    position: absolute;
    top: -20px;
}
.apple-entry label.error{
    display: none !important;
}  