.modal-open #webheayPopupnewsletter.modal{
    overflow-y: auto;   
}
.webheayPopupnewsletter-i{margin:70px auto;position:relative;}
.webheayPopupnewsletter-i .close{
    color: #2f2f60;
    font-size: 16px;
    font-weight: normal;
    height: 35px;
    opacity: 1;
    background-color: transparent;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 10px;
    width: 35px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 9;
}
.webheayPopupnewsletter-i .close i{
    font-weight: 700;
}
.webheayPopupnewsletter-i .close:hover{
    color: #232323;
}
.whpopupnewsletter{
    position:relative;
    width: 100%;
    background-position: right;
    background-repeat: no-repeat;
}
#newsletter_block_popup{
    padding: 102px 30px;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
#newsletter_block_popup .block_content .webheayContent .promo-panel-text {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
    padding: 0 20px 8px;
    font-weight: 600;
    text-transform: uppercase;
    color: #232323;
}
#newsletter_block_popup .block_content .webheayContent .promo-panel-text .sale-off {
    color: #232323;
    margin: 0 6px;
}

#newsletter_block_popup .block_content .webheayContent h3{
    line-height:1;
    font-weight:500;
    margin-bottom:15px;
}
#newsletter_block_popup .block_content .webheayContent p{
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    color: #6f6f6f;
}
#newsletter_block_popup .block_content .htAlert {  font-size:14px;}

#newsletter_block_popup .newsletter_block_popup-bottom .subscribe-bottom {
    display: inline-block;
    line-height: 25px;
    margin-right: 5px;
}
#newsletter_block_popup .newsletter_block_popup-bottom .webheay_newsletter_dont_show_again {
    color: #232323;
    font-size: 14px;
    font-style: italic;
    line-height: 25px;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    display: block;    
}
/*custom-checkbox*/
.hidden{
    display: none;
}
.check-fancy input[type=checkbox] + label:before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    border: 0.1em solid #e5e5e5;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-right: 8px;
    vertical-align: middle;
    color: #232323;
    transition: .2s;
    line-height: 18px;
}
.check-fancy input[type=checkbox] + label:active:before {
  transform: scale(0);
}
.check-fancy input[type=checkbox]:checked + label:before {
  border-color: #232323;
  color: #fff;
}
.check-fancy input[type=radio] + label:before{
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border:2px solid transparent;
    content: '';
}
.check-fancy label{
  cursor: pointer;
  font-weight: normal;
}
#newsletter_block_popup .block_content .inputNew:focus{
    outline: none;
}
/*newsletter-popup*/
#webheayPopupnewsletter{
    text-align: center;
}
.whpopupnewsletter-img {
    background-repeat: no-repeat;
    height: 52px;
    width: 122px;
    margin: auto;
    margin-bottom: 50px;
}
.whpopupnewsletter-bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#webheayPopupnewsletter > div{
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 90%;
    margin: 40px auto 0;
    background: #fff;
}
#newsletter_block_popup .block_content .newsletter_title h3{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 26px;
    text-transform: inherit;
    color: #2f2f60;
    font-family: 'Marcellus', sans-serif;
}
#newsletter_block_popup .block_content .webheayContent {
    width: 55%;
    margin: auto;
    margin-bottom: 50px;
}
#newsletter_block_popup .form-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 60%;
    margin: auto;
}
#newsletter_block_popup .block_content .inputNew {
    background-color: transparent;
    margin-bottom: 20px;
    border-radius: 0;
    min-height: 50px;
    border: none;
    padding: 5px 15px;
    text-align: center;
    width: 100%;
    border: 2px solid #2f2f60;
}

#newsletter_block_popup .btn-primary {
    background-color: #2f2f60;
    padding: 14px 40px;
    width: 100%;
}
#newsletter_block_popup .btn-primary:hover{
    background: #232323;
}
@media screen and (min-width: 992px){
    #webheayPopupnewsletter > div {
        position: absolute;
        right: 0px;
        bottom: 0;
    }
}
@media screen and (max-width: 1599px){
    #newsletter_block_popup {
        padding: 60px 30px;
    }
}
@media (max-width: 1199px) and (min-width: 768px){
    #webheayPopupnewsletter > div{
        width: 570px;
    }
}
@media screen and (max-width: 1199px){
    #newsletter_block_popup .newsletter_block_popup-bottom .webheay_newsletter_dont_show_again{
        text-align: center;
    }
    #newsletter_block_popup .block_content .webheayContent{
        font-size: 14px;
        width: 100%;
        margin-bottom: 40px;
    }
    #newsletter_block_popup .block_content .newsletter_title h3 {
        font-size: 24px;
    }
    #newsletter_block_popup .form-wrap {
        width: 100%;
    }
    #webheayPopupnewsletter .webheayPopupnewsletter-i {
        max-width: 400px !important;
    }
    #newsletter_block_popup .block_content .webheayContent p {
        font-size: 14px;
    }
}
@media screen and (max-width: 767px){
    #authentication #main{
        padding: 0;
        margin-bottom: 30px
    }
    .whpopupnewsletter{
        background-color: #fff;
        padding: 0;
        min-height: 350px;
        height: auto !important;
        background-size: cover;
    }
    #newsletter_block_popup .block_content {
        padding-top: 0px;
    }
    body .webheayPopupnewsletter-i .close {
        top: 0;
        right: 0px;
        height: 30px;
        width: 30px;
    }
    .webheayPopupnewsletter-i .close i {
        line-height: 30px;
    }
    #newsletter_block_popup .newsletter_block_popup-bottom .webheay_newsletter_dont_show_again {
        font-size: 12px;
    }
    #newsletter_block_popup .block_content .inputNew{
        min-height: 40px;
    }
    #newsletter_block_popup .btn-primary{
        padding: 12px 15px;
    }
}
@media only screen and (max-width : 543px){
    #newsletter_block_popup .block_content .webheayContent {
        margin-bottom: 20px;
    }
    .whpopupnewsletter-img {
        margin-bottom: 30px;
    }
}
@media only screen and (max-width : 375px){
    #newsletter_block_popup {
        padding: 50px 20px;
    }
}
}