﻿/* Modal (background) */
.modal {
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* 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: 0 auto;
    top: 25%;
    padding: 30px 30px 30px 30px;
    border: 1px solid #888;
    width: 75%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative; 
    border-radius: 4px;       
}

/* Modal Close Button */
.close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-title{
    text-align: center;
    padding: 2px 0 6px 0;
    color: #1a5178;
    font-weight: bold;
    font-size: 20px;
}

@media (min-width: 650px) {

}

@media (max-width: 650px) {
    .modal-content {
        top: 20%;       
    }
}