/* Basic popup styles */
.nfp-popup-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999;
    pointer-events: none;
}

.nfp-popup-inner {
    background-color: #333;
    border-color: #333;
    width: calc(100% - 60px);
    padding: 30px 30px 20px;
    position: relative;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .nfp-popup-inner {
        width: 75% !important;
    }
}

@media (min-width: 992px) {
    .nfp-popup-inner {
        width: 50% !important;
    }
}

.nfp-popup-title {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 20px;
}

.nfp-popup-content .nws_wrapper .wpcf7-email {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    background-color: transparent;
    width: 100%;
}

.nfp-popup-content .nws_wrapper .wpcf7-email,
.nfp-popup-content .nws_wrapper input[type="submit"] {
    color: #ffffff;
    font-size: 14px;
}

.nfp-popup-content .nws_wrapper input[type="submit"] {
    padding-bottom: 5px;
}

.nfp-popup-content .nws_wrapper .wpcf7-response-output {
    color: #ffffff;
    padding: 0;
    font-size: 16px;
}

.nfp-popup-content .nws_wrapper .wpcf7-form {
    position: relative;
}

.nfp-popup-content .nws_wrapper .wpcf7-submit {
    position: absolute;
    right: 0;
}

.nfp-popup-content,
.nfp-popup-title,
.nfp-popup-close {
    color: #ffffff;
}

.nfp-popup-close {
    position: absolute;
    font-size: 14px;
    padding: 0 0 5px 0;
    font-weight: 400;
    right: 30px;
    top: 25px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nfp-popup-close::after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 1px;
    background-color: #ffffff;
}

.nfp-popup-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

/* Placement modifiers */
.nfp-placement-top-right {
    align-items: flex-start;
    justify-content: flex-end;
}

.nfp-placement-top-right .nfp-popup-inner {
    margin: 30px 30px 0 0;
}

.nfp-placement-center {
    align-items: center;
    justify-content: center;
}

.nfp-placement-bottom-center {
    align-items: flex-end;
    justify-content: center;
}

.nfp-placement-bottom-center .nfp-popup-inner {
    margin: 30px;
}

.nfp-placement-bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
}

.nfp-placement-bottom-right .nfp-popup-inner {
    margin: 0 30px 30px 0;
}

@media (min-width: 62rem) {
    .nfp-placement-top-right .nfp-popup-inner {
        margin: 40px 40px 0 0;
    }

    .nfp-placement-bottom-center .nfp-popup-inner {
        margin: 40px;
    }

    .nfp-placement-bottom-right .nfp-popup-inner {
        margin: 0 40px 40px 0;
    }
}

/* Animations */
.nfp-anim-fade {
    opacity: 0;
    transform: translateY(0);
    animation: nfp-fade .35s forwards;
}

@keyframes nfp-fade {
    to {
        opacity: 1;
    }
}

.nfp-anim-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: nfp-slide .45s forwards;
}

@keyframes nfp-slide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nfp-anim-zoom {
    opacity: 0;
    transform: scale(.95);
    animation: nfp-zoom .35s forwards;
}

@keyframes nfp-zoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}