@charset "UTF-8";

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 50px;
	width: 100%; /* Full width */
	height: calc(100% - 50px); /* 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 */
	padding-top: 20px;
	font-family: Arial, Helvetica, sans-serif;
}

/* The Close Button */
.modal .close {
	color: gray;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

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

 /* Modal Header */
.modal .modal-header {
	padding: 2px 16px;
	background-color: #e6e6e6;
	color: inherit;
}

/* Modal Body */
.modal .modal-body {
	padding: 12px 16px;
	color: inherit;
}

/* Modal Footer */
.modal .modal-footer {
	padding: 12px 16px;
	background-color: #e6e6e6;
	color: inherit;
}

/* Modal Content */
.modal .modal-content {
	position: relative;
	background-color: #eeeeee;
	color: gray;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	border-radius: 1px;
	width: 80%;
	max-width: 450px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	animation-name: animatetop;
	animation-duration: 0.4s;
}

/* Add Animation */
@keyframes animatetop {
	from { top: -300px; opacity: 0; }
	to { top: 0px; opacity: 1; }
}
