#posnewsletterpopup-overlay {
    background-color: #000;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5103;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
}

#posnewsletterpopup-overlay.showed-popup {
    opacity: 0.4;
    visibility: visible;
}

#posnewsletterpopup {
    background-color: #fff;
    position: fixed;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
    z-index: 5104;

    width: 750px;
    height: 450px;

    margin: auto;

    opacity: 0;
    visibility: hidden;

    transition: transform .3s ease-out, opacity .3s ease, visibility .3s ease;

    transform: translate(-50%, -75%);
    left: 50%;
    top: 50%;

    text-align: center;

    padding: 0 !important;
    overflow: hidden;
}

#posnewsletterpopup.showed-pnp {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

#posnewsletterpopup .posnewsletter-content {
    width: 100%;
    height: 100%;
    background: #fff;
}

#posnewsletterpopup .pnp-close {
    width: 32px;
    height: 32px;
    line-height: 32px;

    top: 10px;
    right: 10px;

    position: absolute;

    background: #333;
    color: #fff;

    cursor: pointer;
    z-index: 20;

    border-radius: 50%;
}

#posnewsletterpopup .pnp-content {
    display: flex !important;
    flex-direction: row !important;

    width: 100%;
    height: 100%;

    padding: 0 !important;

    align-items: stretch;
}

#posnewsletterpopup .pnp-left {
    width: 50%;
    flex: 0 0 50%;

    padding: 45px 40px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#posnewsletterpopup .pnp-right {
    width: 50%;
    flex: 0 0 50%;

    overflow: hidden;
    position: relative;
}

#posnewsletterpopup .pnp-right img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

#posnewsletterpopup .pnp-content h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#posnewsletterpopup .pnp-newsletter-form .newsletter-input {
    width: 100%;
    height: 45px;

    display: block;

    margin: 30px auto 20px;

    border-radius: 5px;
    border: none;

    background: #ebebeb;
}

#posnewsletterpopup .pnp-newsletter-form .pos-btn-newsletter {
    width: 100%;

    line-height: 25px;
    padding: 10px 30px;

    border-radius: 5px;
    border: none;

    background: #233236;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

#posnewsletterpopup .pnp-newsletter-form .pos-btn-newsletter:hover {
    background: #333;
    color: #fff;
}

#posnewsletterpopup .pnp-close-checkbox {
    display: inline-block;
    vertical-align: middle;

    font-size: 10px;
    margin-top: 25px;
}

#posnewsletterpopup .pnp-close-checkbox .custom-checkbox label {
    vertical-align: -3px;
    font-size: 14px;
}

#posnewsletterpopup .pnp-close-checkbox .custom-checkbox input[type=checkbox] + span {
    border-color: #ddd;
}

/* Mobile */

@media screen and (max-width: 767px) {

    #posnewsletterpopup {
        width: 95vw;
        height: auto;
    }

    #posnewsletterpopup .pnp-content {
        display: block !important;
    }

    #posnewsletterpopup .pnp-left,
    #posnewsletterpopup .pnp-right {
        width: 100%;
        flex: 0 0 100%;
    }

    #posnewsletterpopup .pnp-right {
        height: 240px;
    }
}

@media screen and (max-width: 991px) {

    #posnewsletterpopup,
    #posnewsletterpopup-overlay {
        display: none;
    }
}

#posnewsletterpopup .posnewsletter-content,
#posnewsletterpopup .pnp-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
}

#posnewsletterpopup .pnp-content {
    display: flex !important;
}

#posnewsletterpopup .pnp-left,
#posnewsletterpopup .pnp-right {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
}