@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
.modal {
  display: none; 
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 5%; /* Location of the box */
  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 */
  z-index:3;
}

/* Modal Content */
.modal-content { 
  position: relative;
  background-color: #FFF;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius:12px;
  width: 100%;
  max-width:850px;
  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.5s;
  animation-name: animatetop;
  animation-duration: 0.5s
}
.modal-body { 
padding-top:50px  !important;
}
/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-80px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-80px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: black;
  float: right;
  margin-right:10px;
  margin-top:10px;
  font-size: 28px;
  font-weight: bold;
}

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



.modal-body {padding: 2px 20px; color:#000;}



@media only screen and (max-width:480px) {
	.modal {
		padding-top:40%;
	}
	.modal-content { 
	
		max-width:95%;
	}
}