.modal {
  display: none;
  position: fixed;
  z-index: 999999; /*this is to make is so the modal is the only thing shown when activated */
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}


.modal-content {
  margin: 10% auto;
  width: 80%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}


.modal-header h2,
.modal-footer h3 {
  margin: 0;
  font-size: 20em;
}

.modal-header {
  background: #094d87;
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.modal-header h3{
  color: #ffffff;
  margin: 8px 0;
}

.modal-body {
  padding: 10px 20px;
  background: #fff;
}


.schedule-close, .form-close{
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
}

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

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#form-content {
  min-width:300px;
  width: 40%;
}

/* ------------------------ Form Stlying ---- */



#form-body {
  display:block;
  background-color:white;
}
 
  
#form-body .field label {
  margin-top:10px;
  margin-bottom:4px;
  background-color:transparent; 
  font-family: Arial, Verdana, Helvetica;
  font-size: 17px;
  font-weight: 200;
}

.hs_message .hs-input,
#form-body .field input , #form-body .field textarea {
  margin-bottom:10px;
  padding:5px;
  background-color:white;
  width: 96%;
}

#form-body .field textarea {
  min-width: 200px;
  min-height: 50px;
  width: 96%;
}

#form-body .hs-button a {
  background-color: var(--lynchBlue);
  padding 15px !important;
  text-align: center;
  margin: 5px auto !important;
}
 
#form-body .hs-button {
  display:flex;
  justify-content: center;
  align-content:center;
  text-decoration:none;
  padding: 10px 20px;
  background-color: #094d87;;
  border: none;
  cursor: pointer;
  margin:10px auto;
  color:white;
  font-family: Arial, Verdana, Helvetica;
  font-size: 17px;
  font-weight: 200;
  text-align:center;
}

#form-body .hs-button:hover {
  background-color: black;
}

#form-body .hs-button:active {
  transform: scaleY(1.2);
}
 
/*== Mobile == */
@media only screen and (max-width: 440px) { 
  .modal-content {
  margin: 10% auto;
  width: 98%;
}
  .modal-body {
  padding:5px 0px 0px 0px;
}
}