.newsletter.subscribeform {
    max-width: 580px;
}

.subscribeform .input-box {
    float:left;
    width: 100%;
    position: relative;
    
}
.subscribeform label.control--checkbox {
    display: block;
    font-size: 11px;
}
.subscribeform label.control--checkbox a {
    color: #6AB9C7;
}

.subscribeform .input-box input,
.subscribeform .input-box > label {
    height: 38px;
    text-align: center;
    font-family: "Open Sans", Garamond, serif;
}
.newsletterPopup.subscribeform .input-box label,
.newsletterPopup.subscribeform .input-box input {
    color: #fff;
    font-size: 16px;
}
.newsletterPopup.subscribeform .input-box input {
    background: #3E6C81 !important;
    border: 1px solid #FFFFFF;
}

.subscribeform .input-box input {
    border: 1px solid #035469;
}

.subscribeform .input-box > label {
    position: absolute;
   padding: 8px;
    width:100%;  
}

.subscribeform .control-group {
    clear: both;
}

.subscribeform .input-box,
.subscribeform .input-box.groups label {
    margin-bottom:10px;
}
.subscribeform .input-box > label {
    display:block;
    margin-bottom: 3px;
}

.subscribeform .input-box > label.lbl {
    margin-bottom: 10px;
}

.g-recaptcha.error > div,
#subscribeFormPopup .input-box.error input {
    border: 1px solid red;
}
#overlay {
    display:none;
    cursor:pointer;
    position:fixed;
    background:#000;
    opacity:.65;
    -webkit-opacity:.65;
    -moz-opacity:.65;
    z-index:99991;
    top:0;
    left:0;
    height:100%;
    width:100%
}

.newsletterPopup {
    
    display: none;
    z-index: 99992;
}
.close-subscribe-popup {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #fff;
    cursor:pointer;
}
.close-subscribe-popup .dashicons-no-alt:before {
    font-size: 36px;
}
#subscribeForm p {
    width:100%;
    clear:both;
    color:#f2f2f2;
}
.newsletterPopup .msg-success {
    clear: both;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0;
    padding-top: 10px;
    width: 100%;
}

.subscribeform .button-wrapper input,
.subscribeform .button-wrapper img {
    float:left;
}
.subscribeform .button-wrapper img {
     padding: 10px;
}
.newsletterPopup.subscribeform .button-wrapper  {
    position: relative;
}
.newsletterPopup.subscribeform .button-wrapper img  {
    display: block;
    position: absolute;
    top: 3px;
    right: 5px;
}
@media (max-width:384px){
    .g-recaptcha {
		transform:scale(0.96);
		-webkit-transform:scale(0.96);
		-moz-transform:scale(0.96);
		-webkit-transform-origin:0 0;
		-moz-transform-origin:0 0;
		transform-origin:0 0;
	}
    
}
@media (max-width:375px){
    .g-recaptcha {
		transform:scale(0.94);
		-webkit-transform:scale(0.94);
		-moz-transform:scale(0.94);
		-webkit-transform-origin:0 0;
		-moz-transform-origin:0 0;
		transform-origin:0 0;
	}
}
@media (max-width:360px){
    .g-recaptcha {
		transform:scale(0.90);
		-webkit-transform:scale(0.90);
		-moz-transform:scale(0.90);
		-webkit-transform-origin:0 0;
		-moz-transform-origin:0 0;
		transform-origin:0 0;
	}
}
@media (max-width:320px){
    .g-recaptcha {
		transform:scale(0.79);
		-webkit-transform:scale(0.79);
		-moz-transform:scale(0.79);
		-webkit-transform-origin:0 0;
		-moz-transform-origin:0 0;
		transform-origin:0 0;
	}
    .subscribeform .input-box.captcha {
        margin-bottom: 0;
    }
}
/*@media (min-width:0px){
    .newsletterPopup {
        position: fixed;
        left: 50%;
        margin-left: -42%;
        padding: 15px;
        top: 5%;
        width: 84%;
    }
}
@media (min-width:768px){
    .newsletterPopup {
        position: fixed;
        margin-left:-270px;
        padding: 20px;
        width: 540px;
        top: 12%;
    }
}*/


.newsletterPopup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
    right:0;
    bottom:0;
    
}
.newsletterPopup h3,
.newsletterPopup p,
.newsletterPopup .control-group {
    color: #fff;
}
.newsletterPopup p {
    margin-top: 0;
    line-height: 1.35;
}
.newsletterPopup h3 {
    font-family: "Dax Pro Wide Medium";
    font-size: 30px;
    text-align: center;
    margin: 0;
    font-weight: 400;
}
.newsletterPopup .popup-body {
    display: flex;
    height: 100%;
    align-items: center;
    margin: 0 auto;
    /*max-width: 875px;*/
    max-width: 500px;
    padding: 20px;
}

.newsletterPopup .popup-body .col-form img {
    max-width: 54px;
}
.inner-flex {
    display: -webkit-box; 
     display: -webkit-flex;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: stretch;
     -webkit-align-items: stretch;
     -ms-flex-align: stretch;
     align-items: stretch;
     -webkit-flex-wrap: wrap;
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
   
}

.inner-flex .col-img {
    width: 52.57%;
}
.inner-flex .col-form {    
    background: #035469;
    flex: 1;
    position: relative;
}

@media (min-width:0px) {
    .inner-flex .col-form {
        padding: 50px 20px 30px;
    }
    
}

@media (min-width:0px) and (max-width:767px){
    .inner-flex .col-img {
        display: none;
    }
}
@media (min-width:545px) and (max-width:767px){
    .newsletterPopup .control {
        padding-top: 5px;
    }
}
@media (min-width: 640px) {
    .inner-flex .col-form {
        padding: 60px 35px 40px;
    }
}