/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 25px;
    width: 50%;
    max-width: 600px;
    min-width: 300px;
    height: 420px;
    font-size: 14px;
    color: black;
    text-align: center;
    z-index: 5;
    position: fixed;
    display: none;
}

.thank-you .wrapper {
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
}

.modal-content h2 {
    padding: 0 30px;
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 32px;
    color: #444;
}

.modal-content .demo-field {
    border-radius: 25px;
    padding: 6px 25px;
    -webkit-border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid rgb(220, 220, 220);
    width: 75%;
}

.modal-content .demo-form-col {
    margin-top: 5px;
    padding: 5px;
}

.modal-content .demo {
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
}

.modal-content .submit {
    margin-top: 10px;
}

.modal-content .button {
    font-size: 20px;
    min-height: 30px;
}

 /*The Close Button*/
.modal-content .close {
    color: black;
    float: right;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 2;
}

.modal-content .close:hover.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content .error-message{
    color: red;
    font-weight: bold;
}

.noscroll { overflow: hidden; }

@media only screen and (max-width: 769px) {
    .modal-content h2 {
        font-size: 30px;
        padding: 0 10px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .modal-content .demo-field {
        width: 100%;
        height: 40px;
    }
    .modal-content .button {
        width: 100%;
    }
}