body.modal {
    overflow: auto;
    min-height: 900px;
}

body.modal * {
    overflow: visible !important;
}

body.modal section {
    display: none !important;
}

.fadeout {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    display: none;
}

.modal-overlay {
    width: 80vw;
    height: auto;
    left: 8vw;
    top: 8vh;
    padding: 2vh 2vw;
    background: white;
    position: fixed;
    z-index: 999999;
    color: black;
    text-transform: none !important;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    display: none;
}
    .modal-overlay h1 {
        font-size: 2em;
        margin: 1em 0;
    }
    #newsletterWindow iframe {
        width: 770px;
        max-width: 100%;
        height: 740px;
        border: 0;
        display: block;
        margin: 0 auto;
    }
    #newsletterWindow a {
        color: #000;
    }
    #newsletterWindow a#dismiss, #newsletterSuccess a {
        padding: 30px 40px;
        position: absolute;
        right: 0;
        top: 0;
    }
    #newsletterWindow a#never {
        font-size: 12px;
    }

#newsletterSuccess {
    display:none;
}

img.newsletter-header {
    margin: 20px;
}

@media (max-width: 992px) {
    .modal-overlay {
        top: 0;
        left: 0;
        width: 100vw;
        padding: 0;
    }
        #newsletterWindow iframe {
            max-width: 100vw;
            height: 85%;
        }
        #newsletterWindow a#dismiss {
            padding: 20px;
        }
        #newsletterWindow a#never {
            font-size: 14px;
            width: 100vw;
            left: 0;
            bottom: 60px;
        }
    .form-control {
        width: 92%;
    }
}

@media (min-width: 1200px) {
    .modal-overlay {
        width: 60vw;
        left: 18vw;
    }
}

input[type="hidden"], input[type="hidden "], input[type=" hidden"], input[type=" hidden "], .hidden {
    display: none !important;
}