.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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 */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

.modal h2, .modal p{
  font-family: 'Roboto', 'Source Sans Pro', sans-serif;
  font-weight: 300;

}

.modal h3{
  font-family: 'Roboto', 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 1.1rem; 
  color: #A6192E; 
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  background-color: #fefefe;
  width: 80%;
  margin-right: 10%;
  margin-left: 10%;
  min-height: 30vh;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}

.hp-3col{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.hp-3col a{
  width: 29%;
  min-width: 256px;
  padding-right: 40px;
}
  

  
  /* The Close Button */
  .close {
    color: #A6192E;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding-right:2vw;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 8vh 10vw;
    padding-bottom: 1vh;
    background-color: white;
    color: #A6192E;
  }
  
  .modal-body {
      padding: 0vh 10vw;
    }
  
  
  /* Add Animation */
  @-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
  }
  
  @keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
  }
  
  @-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }
  
  @keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }

  @media(max-width:1600px){
    .modal-content{
      width: 100%;
      margin-right: 0;
      margin-left: 0;
  }
    .modal-body, .modal-header{
        padding-left:2.5vw;
        padding-right:2.5vw;
    }

    .modal-header{
      padding-top:2.5vh;
    }
    .hp-3col a{
      width: 29%;
      min-width: 150px;
      padding-right: 25px;
    }
  }
    
   
  @media(max-width:768px){
      .modal-content{
          width: 100%;
          margin-right: 0;
          margin-left: 0;
          min-height:50vh;
      }
      .modal-header{
          font-size: 0.7em;
      }
  
      .hp-3col a{
        width: 95vw;
        min-width: 256px;
        padding-right: 40px;
      }

      .modal h4{
        margin: 0;
      }

      .modal p{
        margin: 0;
        margin-bottom: 15px;
      }
  }