.pop {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.pop:after {
    background: #000;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: fixed;
    top: 0;
    width: 100%;
}

.pop #content {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    box-shadow: 0 0 7.71px #000000;
    box-sizing: content-box;
    float: left;
    left: 51%;
    margin-left: -265px;
    margin-top: -143px;
    padding: 20px;
    position: relative;
    text-align: center;
    top: 50%;
    width: 470px;
    z-index: 99;
}


.newsletter-popup-top-content {
    font-family: arial,helvetica,sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    float:left;
    line-height: 17px;
    text-align:center;

}

#newsletter-popup-validate-detail .input-box {
    float: left;
    margin-bottom: 20px;
    width: 100%;
}
#newsletter-popup-validate-detail .input_content {
    margin: auto;
    width: 400px;
}

#newsletter-popup-validate-detail .input-text.required-entry.validate-email {
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    box-sizing: border-box;
    float: left;
    font-family: arial;
    font-size: 16px;
    height: 36px;
    line-height: normal;
    margin-bottom: 0;
    min-height: 10px;
    min-width: 200px;
    padding: 3px 15px;
    vertical-align: top;
    width:65%;
    border:1px solid #ccc;
    color:#636363;
    background:#fff;
}



#newsletterpopup_subscribe {
    padding: 0 10px;
    border-bottom-right-radius: 2px;
    border-color: white white rgba(39, 65, 90, 0.3);
    border-style: solid;
    border-width: 0;
    box-sizing: border-box;
    font-family: arial;
    font-size: 16px;
    height: 36px;
    margin-left:-1%;
    max-width: 250px;
    min-height: 10px;
    position: relative;
    width: 33%;
    cursor:pointer;
    background: #FF9226;
    color:#000;
    border-radius: 2px;
}

.pop .newsletter-popup-bottom-content {
    float: left;
    font-family: arial,helvetica,sans-serif;
    font-size: 16px;
    line-height: 14px;
    text-align: left;
    width: 395px;
}
.pop .close {
    background: url("../images/close-button.png") no-repeat scroll 5px 7px #eaeaea;
    border-radius: 30px;
    float: right;
    font-size: 0;
    height: 27px;
    position: relative;
    right: -34px;
    text-align: right;
    text-decoration: none !important;
    top: -35px;
    width: 27px;
}
#newsletter-popup-validate-detail .loader {
    position: absolute;
    right: 15px;
    width: 35px;
    margin-top: -34px;
}
#newsletter-popup-validate-detail .validation-advice {
    float: left;
    text-align: left;

}
.newsletter_msg{
    float:left;
    width:100%;
}
.animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
.animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}


@media(max-width:599px)
{
    #newsletter-popup-validate-detail .loader
    {
        float: left;
        position: relative;
        width: 100%;
        margin: 10px 0px 0px;
    }
    .pop #content
    {
        width:390px;
        margin-left:-225px;
    }
    #newsletter-popup-validate-detail .validation-advice
    {
        float: left;

    }
    #newsletter-popup-validate-detail .input-text.required-entry.validate-email
    {

        width:208px;
    }

    #newsletter-popup-validate-detail .loader > img
    {
        margin: auto;
    }
    #newsletter-popup-validate-detail .input_content{
        width:350px;
    }
    #newsletterpopup_subscribe
    {
        margin-right:0px;

        width:38%
    }

    .pop .newsletter-popup-bottom-content {  margin-left: 0px !important;}

    .pop .newsletter-popup-bottom-content { width:100%;}


}
@media(max-width:479px)
{
    #newsletter-popup-validate-detail .loader
    {
        float: left;
        margin: 10px 0px 0px;
        position: relative;
        right: 0;
        width: 100%;
    }
    #newsletter-popup-validate-detail .loader img
    {
        margin:auto;
    }
    .pop #content
    {
        margin-left: -199px;
        width: 340px;
    }
    #newsletter-popup-validate-detail .input-text.required-entry.validate-email
    {

        width:202px;
    }
    #newsletter-popup-validate-detail .input-box
    {
        width:100%;
    }
    #newsletter-popup-validate-detail .validation-advice
    {
        float: left;
        font-family: arial;

    }
    #newsletterpopup_subscribe
    {
        margin-right:7px;
        width:38%;
    }
}

@media(max-width:419px)
{
    #newsletter-popup-validate-detail .loader
    {
        left: 0;
        position: relative;
        width: 100%;
        margin:10px 0px;
        top:0px;
        float:left;
    }

    #newsletter-popup-validate-detail .loader > img
    {
        margin: auto;
    }

    .pop #content
    {
        margin-left: -169px;
        width: 280px;
    }
    #newsletter-popup-validate-detail .input-text.required-entry.validate-email
    {

        min-width:100px;
        width: 141px;
    }
    #newsletterpopup_subscribe
    {
        margin-right:0px;
        width:47%;
    }
    #newsletter-popup-validate-detail .input-box
    {
        width:100%;
        margin:0px auto 7px;
        float:left;
    }
    #newsletter-popup-validate-detail .validation-advice
    {

        text-align: left;
        width: 279px;
    }
    .newsletter_msg
    {
        float: left;
        width: 100%;
    }
    #newsletter-popup-validate-detail .input_content
    {
        float:left;
        width:100%;
    }
}
@media(max-width:359px)
{
    #newsletter-popup-validate-detail .loader
    {
        left: 0;
        position: relative;
        width: 100%;
        margin:10px 0px;
        top:0px;
        float:left;
    }

    #newsletter-popup-validate-detail .loader > img
    {
        margin: auto;
    }

    .pop #content
    {
        margin-left: -149px;
        width: 240px;
    }
    #newsletter-popup-validate-detail .input-text.required-entry.validate-email
    {
        min-width:100px;
        width: 120px;
        padding:0 8px;
        font-size: 13px;
    }
    #newsletterpopup_subscribe
    {
        margin-right:0px;
        width:47%;
        font-size:13px;
    }
    #newsletter-popup-validate-detail .input-box
    {
        width:100%;
        margin:0px auto 7px;
        float:left;
    }
    #newsletter-popup-validate-detail .validation-advice
    {

        text-align: left;
        width: 238px;
    }
    .newsletter_msg
    {
        float: left;
        width: 100%;
    }
}

#newsletter-popup-validate-detail .disabled
{
    background-color:#ddd;
    cursor:not-allowed;
}

.newsletter-popup-top-content .sub-head { font-size: 24px; font-weight: normal; line-height: 1.15; font-family: FuturaMedium; text-transform: uppercase; letter-spacing: .8px; color: #FF9226; }
.newsletter-popup-top-content .sub-top { font-family: ProximaNovaLight, "Trebuchet MS"; }
.newsletter-popup-bottom-content span.sub-bottom { line-height: 17px; font-size: 16px; text-align: left; width: 395px; }
.subscribe_me_txt input#newsletter {
    width: 150px;
    float: left;
}

.subscribe_me_txt button.button span span {
    padding: 6px 12px 6px 6px;

}
.subscribe_me_txt button.button {margin-top:-4px; margin-left:8px}

.newsletter-popup-bottom-content span.sub-bottom { font-size: 11px;}

#newsletter-popup-validate-detail .input-box { margin-bottom: 3px;}

.pop .newsletter-popup-bottom-content {margin-left: 35px;}

/* -- TW-M2-Feb-3005 CueBlocks PopUp Custom -- */

body .pop:after {
    opacity: 0.5;
}
body .pop #content {
    left: 50%;
    width: 580px;
    height: 300px;
    padding: 30px 50px;
    box-sizing: border-box;
    margin: -150px 0 0 -290px;
}
body .pop .newsletter-popup-top-content, body .pop .newsletter-popup-bottom-content {
    width: 100%;
    color: #000;
    text-transform: none;
    font-family: verdana;
    line-height: normal;
    text-align: center;
    margin: 0 0 30px 0;
}
body .pop .newsletter-popup-bottom-content {
    margin: 30px 0 0 0;
}
body .pop .close {
    background: url('../images/close_label.gif') no-repeat;
    border-radius: 0;
    width: 17px;
    height: 17px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}
body .pop #newsletter-popup-validate-detail .input-box {
    margin: 0;
}
body .pop #newsletter-popup-validate-detail .input_content {
    width: 100%;
    position: relative;
}
body .pop #newsletter-popup-validate-detail .input-box input[type='email'] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border: 2px solid #eee;
    border-radius: 3px;
    padding: 10px 20px;
    background: #fbfbfb;
    height: 48px;
    outline: 0;
    box-shadow: none;
    float: left;
    width: 65%;
}
body .pop #newsletterpopup_subscribe {
    float: right;    
    width: 30%;
    font-weight: normal;
    height: 48px;
    background: transparent;
    border: 3px solid #000;
    border-radius: 8px;
    box-sizing: border-box;
    line-height: 44px;
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    padding: 0 15px;
    box-shadow: none;
}
body .pop #newsletterpopup_subscribe:hover {
    background: #1979c3;
    border-color: #1979c3;
    color: #fff;
}
body .pop #newsletter-popup-validate-detail .loader {
    margin: 0;
    max-width: 20px;
    height: auto;
    right: -25px;
    left: auto;
    top: 15px;
    position: absolute;
}
body .pop .newsletter_msg {
    text-align: left;
    margin: 6px 0 0 0;
}
body .pop .newsletter_msg.success {
    color: green;
}
body .pop .newsletter_msg.error {
    color: red;
}

@media(max-width: 600px) {
    body .pop #content {
        width: 90%;
        left: 5%;
        top: 200px;
        margin: 0;
        height: auto;
        padding: 15px;
    }
    body .pop .newsletter-popup-top-content {
        margin: 0 0 20px 0;
    }
    body .pop .newsletter-popup-bottom-content {
        margin: 20px 0 0 0;
    }
    body .pop #newsletter-popup-validate-detail .loader {
        right: 0;
        top: auto;
        bottom: -80px;
    }
}

@media(max-width: 568px) {
    body .pop #newsletterpopup_subscribe {
        font-size: 15px;
        padding: 0px 8px;
    }
}

@media(max-width: 375px) {
    body .pop #newsletter-popup-validate-detail .input-box input[type='email'] {
        width: 100%;
    }
    body .pop #newsletterpopup_subscribe {
        float: left;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0 0;
    }
    body .pop #newsletter-popup-validate-detail .loader {
        bottom: -32px;
    }
}
