/* Popup Box */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 15; /* Sit on top */
    left: 0;
    top: 0;
    padding:0;
    margin:0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    border: 0px solid #00356B;
    z-index:21;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10vh auto; /* 15% from the top and centered */
    padding: 1em;
    border: 0px solid #EB5757;
    width: 800px; /* Could be more or less, depending on screen size */
    max-width:90%;
    height:auto;
    max-height:80vh;
    overflow:scroll;  
  font-family: 'Poppins', sans-serif;

}

.overlaytext {
  font-size:.6em;
  text-align:left;
}

@media (max-width: 800px) {
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 2em 1em 2em 1em;
    border: 0px solid #EB5757;
    width: 90%; /* Could be more or less, depending on screen size */
    height:auto;
    max-height:85%;
    overflow:scroll;
  }

.close {
    position:fixed;
    margin:0;
    padding:0;
    top:0px !important;
    right:25px;
  font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 3em;
    font-weight: bold;
}

}





.overlayheader {
  font-family: 'Poppins', sans-serif;
  font-size:1em;
  font-weight:700;
  text-align:center;
  color:#000;
  padding:0;
  margin:0 0 0 0;
}

.question {
  font-family: 'Poppins', sans-serif;
  font-weight:700;
  color:#000;
}

/* The Close Button */
.close {
    position:fixed;
    margin:0;
    padding:0;
    top:5px;
    right:25px;
  font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 3em;
    font-weight: bold;
}

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


