/* The Modal (background) */
.modal {
    position: fixed; /* Stay in place */
    z-index: 500; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    margin-top: 100px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

.modal-content h2{
    margin-bottom: 20px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 15px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-form{
    max-width: 520px;
    margin: 0 auto;
}

.modal-body {
    padding: 30px;
    border-bottom: 1px solid #eeeeee;
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid #eeeeee;
}

.modal-footer {
    padding: 30px;
    border-bottom: 1px solid #eeeeee;
}

@media only screen and (max-width: 800px) {
    .modal-content {
        width: 100%;
    }
}

@media only screen and (min-width: 40.063em){
    .modal-content {
        width: 40%;
    }
}
