/* modified from https://www.w3schools.com/howto/howto_css_modals.asp */

/* The Modal (background) */
.modal {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 100; /* Sit on top */
 left: 0%;
 top: 0%;
 width: 100%; /* Partial width */
 height: 100%; /* Partial 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: 10% auto; /* 10% from the top and centered */
 padding: 20px;
 border: 1px solid #888;
 width: 80%; /* Could be more or less, depending on screen size */
 z-index: 100; /* Sit on top */
}

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

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