/* SUCCESS */

#overlayEmail_successBackground {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 5030;
    display: none;
}

#overlayEmail_successWindow {
    width: 100%;
    max-width: 200px;
    height: 200px;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: 750px;
    z-index: 5040;
    display: none;
    background-color: #008000;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Condensed", sans-serif;
}


/* NORMAL */

#overlayEmail_background {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 5010;
    display: none;
}

#overlayEmail_window {
    width: 100%;
    max-width: 800px;
    height: 800px;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: 450px;
    z-index: 5020;
    display: none;
    font-family: "Roboto Condensed", sans-serif;
}

#overlayEmail_window .header {
    width: 100%;
    background-color: #06C;
    padding: 15px 20px;
    color: #FFF;
    font-size: 18px;
}

#overlayEmail_window .content {
    padding: 40px;
}

#overlayEmail_window .content select {
    height: 44px;
    padding: 0 15px;
}

#overlayEmail_window .content .spacer {
    width: 100%;
    height: 20px;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 20px;
}

#overlayEmail_window .content label {
    display: block;
}

#overlayEmail_window .content input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    margin: 0 0 20px 0;
}

#overlayEmail_window .content textarea {
    width: 100%;
    height: 300px;
}

#overlayEmail_window .content .submit {
    width: 160px;
    height: 46px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 0 15px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #abd8b4;
    background: #d4edd9;
    color: #1b5c2b;
    margin: 30px 0 0 0;
    float: right;
}

@media all and (max-width: 1550px) {
    #overlayEmail_successWindow {
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    #overlayEmail_window {
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}