/* The Modal (background) */
.mycustommodal {
   display: none; /* Hidden by default */
   width: auto;
   height: auto;
   position: absolute;
   left: 52%;
   top: 45%; 
   margin-left: -10%;
   margin-top: -10%;
   overflow: hidden;
   z-index: 3;
}
/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10px 10px; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  color: black;
  width: 80%; /* Could be more or less, depending on screen size */
  z-index: 3;
}
.modal-content p {
	text-align: center;
}
.modal-content img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
}
.modal-content a {
	color: 	#FD7B03;
}
.modal-content button {
	margin-left: 25%;
    margin-right:auto;
	background: #FD7B03;
	color: white;
	font-size: 18px;
	border: 1px black solid;
	border-radius: 1px;
	display: flex;
	justify-content: center;
	left: 35%;
	display: inline;
}
@media only screen and (max-width: 1024px) {
  /* For mobile phones: */
  .modal-content {
  	display: none;
	width: 360px;
	z-index:500;
  }
  .mycustommodal {
   width: 360px;
   height: auto;
   position: absolute;
   left: 25%;
   top: 20%; 
   z-index:500;
}
  

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .modal-content {
  	display: none;
	z-index:500;
  }
  .mycustommodal {
   width: auto;
   height: auto;
   position: absolute;
   left: 20%;
   top: 15%; 
   z-index:500;
}
  
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 12px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  cursor: pointer;
}

