/* #ems-newsletter-popup-bg {
    position: fixed; 
    z-index: 99999; 
    top:0; left:0; 
    width:100vw; 
    height:100vh;
    background: rgba(0,0,0,0.65); 
    display:none; 
    justify-content:center; 
    align-items:center;
}
#ems-newsletter-popup {
    background: #FFD600;
    max-width: 900px;
    width: 95vw;
    margin: 0 auto;
    padding: 50px 140px 50px 100px;
    position: relative;
    font-family: 'Montserrat', Arial, sans-serif;
    top:25%;
    height: 540px;
} */
 #ems-newsletter-popup-bg {
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.65);
}

#ems-newsletter-popup {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #FFD600;
    max-width: 900px;
    width: 95vw;
    padding: 50px 140px 50px 100px;
    font-family: 'Montserrat', Arial, sans-serif;
    height: 540px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
#ems-newsletter-popup-close {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 120px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transform: rotate(0deg);
    font-weight: 100;
    font-family: 'Open Sans';
}
.ems-popup-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 0;
    color: #000;
}
.ems-popup-subtitle {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #000;
}
.ems-popup-desc {
    margin-bottom: 1.5em;
    font-size: 1.07rem;
}
#ems-newsletter-popup-form {
    display: flex; gap: 10px; 
    margin-bottom: 0;
    flex-direction: column;
}
.ems-popup-input{
    padding: 12px;
    font-size: 1.1em;
    border: none;
    height: 60px;
}

 .ems-popup-btn {
    background: #2F2F2F;
    color: #fff;
    border: none;
    padding: 0 32px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s;
    width: 255px;
    height: 60px;
}
.ems-popup-btn:hover { 
    background: #111;
}
.ems-popup-actions {
    margin-bottom: 1.1em;
    display: flex;
    justify-content: space-between;
        margin-top: 10px;
        align-items: center;
}
.ems-popup-no-thanks {
    font-size: 36px; 
    color: #000000; 
    cursor:pointer; 
    font-weight: 400;
}
.ems-popup-policy {
    font-size: 14px;
    color: #000;
    margin-top: 1em;
}
div#ems-newsletter-popup-content {
    width: 95%;
}
div#ems-newsletter-popup img {
    position: absolute;
    right: 0;
    bottom: 0;
        height: 35%;
}
.ems-popup-code-wrap {
    background: #fff;
    color: #222;
    padding: 18px 10px;
    text-align: center;
    margin: 24px 0 12px 0;
    border-radius: 10px;
    font-size: 2.2em;
    font-family: monospace;
    cursor: pointer;
    position: relative;
}
.ems-popup-code-copied {
    color: green;
    position:absolute;
    right: 12px;
    top: 8px;
    font-size: 0.6em;
    font-family: inherit;
    background: #e8ffe8;
    padding: 2px 9px;
    border-radius: 10px;
    display: inline-block;
}
.ems-popup-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececec;
    color: #222;
    padding: 10px 14px;
    text-align: center;
    margin: 24px 0 12px 0;
    border-radius: 8px;
    border: 2px dashed #232323;
    font-size: 1.6em;
    font-family: monospace;
    cursor: pointer;
    position: relative;
    min-width: 180px;
    gap: 10px;
}
.ems-popup-code {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.1em;
    user-select: all;
    cursor: pointer;
}
.ems-popup-copy-icon {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 6px;
    padding: 2px 0 0 0;
}
.ems-popup-copy-icon svg {
    display: inline-block;
    width: 22px; height: 22px;
    vertical-align: middle;
    transition: opacity .2s;
}
.ems-popup-code-copied {
    color: #18a615;
    margin-left: 10px;
    font-size: .75em;
    background: #e7ffe7;
    border-radius: 5px;
    padding: 2px 10px;
    display: inline-block;
}


@media(max-width: 768px) {
    #ems-newsletter-popup {
    padding: 40px 25px 40px 25px;
}
.ems-popup-title {
    font-size: 5vw;
}
.ems-popup-subtitle {
    font-size: 9vw;
}
.ems-popup-no-thanks {
    font-size: 5vw;
}
.ems-popup-btn {
    padding: 0 20px;
    font-size: 16px;
    width: 190px;
    height: 50px;
}
div#ems-newsletter-popup img{
    height: 20%;
}
#ems-newsletter-popup-close {
        font-size: 15vw;
        width: 8vw;
        height: 8vw;
        right: 5vw;
    }
div#ems-newsletter-popup-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ems-popup-desc {
    font-size: calc(1vw + 10px);
}
}
@media(max-width: 400px) {
span.ems-popup-no-thanks{
    display: none;
}
}