/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  padding-top: 100px; /* 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.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  position: relative;
  background-color: #FFF;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  line-height: 1.4em;
  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;
  overflow: auto;
  max-height: calc(95vh - 150px);
}

@media screen and (max-width: 650px) {
	.modal {
	  padding-top: 50px; /* Location of the box */
	}
	.modal-content {
		height: calc(95vh - 100px);
		overflow: auto;
	}
}

/* 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}
}

.modal-content h1 {
	color: #666;
	margin: 0;
	padding: 0;
}
.modal-content p {
	padding: 0;
	margin: 0 0 15px 0;
}

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

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.close2 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.menu_usera a, .menu_usera a:link {
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
	font-weight: 400;
	display: block;
	width: 100%;
	padding: 10px 0;
	margin: 10px 0 0 0;
	color: #666;
	border-bottom: 1px dashed #CCC;
}