
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: absolute; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0px;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  /* background-color: rgb(0,0,0); */
  background-color:rgba(128,128,128,0.5);
  /* background: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: absolute;
  display: block;
  background-color:  rgba(255,255,255,1.0);
  margin: auto;
  padding: 0;
  border: 1px solid #222;
  top: 10%;
  left: 10%;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  /* -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s */
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  margin: 0pt 8px 0pt 0pt;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
	width: 100%;
  	padding: 0;
 	  background: #2F5597;
    font-size: 20px;
    height: 30px;
  	color: white;
}

.modal-body {padding: 2px 10px; width: 100%;}

.modal-footer {
  width: 100%;
  padding: 2px 10px;
  background: #206493;
  color: white;
}