.reveal-modal-bg { 
  position: fixed; 
  height: 100%;
  width: 100%;
  background: #000;
  background: rgba(31,37,49,.95);
  z-index: 100;
  display: none;
  top: 0;
  left: 0; 
}
.reveal-modal {
  visibility: hidden;
  top: 0px !important;
  left: 0px;
  right: 0px;
  bottom: 0px !important;
  margin-left: auto;
  margin: auto;
  width: 564px;
  background: #fff;
  position: fixed;
  height: auto;
  z-index: 10001;
  padding: 20px;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
  box-shadow: 0 0 10px rgba(0,0,0,.4); 
  max-height: 90%;
  overflow: scroll;
  text-align: left;
}
.reveal-modal .close-reveal-modal {
  font-size: 22px;
  line-height: .5;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #cccccc;  
  cursor: pointer;
  text-decoration:none;
  fill: var(--primary-color);
} 
.reveal-modal a {
  transition: all 0s ease-in-out;
}
.reveal-modal .hs-button.primary, .reveal-modal input[type="submit"], .reveal-modal input[type="button"]  {
  transition: all 0s ease-in-out!important;
}
.fancybox__content>.carousel__button.is-close { 
  top: 0 !important;
  color: #D8D8D8 !important;
  box-shadow: none !important;
}
.modalContainer::after{
  content: '';
  background: blue;
  width: 100%;
  height: 100%;
  position: absolute;
  width: 90%;
  z-index: -1;
  left: -20px;
  top: -20px;
  border-radius: 10px;
}
.modalContainer
{

  background: transparent;
  padding: 0px !important;
  width: 500px;

}
.modalContainer .form--container
{
  background: white;
  padding: 35px;
}
.modalContainer .form--container .hs-button.primary
{
  width: 100%;
}

@media only screen and (max-width: 780px) {
  .reveal-modal {
    top: 100px;  
    width: 98%;
    padding: 20px 20px;
  }
}
@media only screen and (max-width: 540px) {
  .reveal-modal {
    top: 100px;  
    width: 100%;
    padding: 20px 20px;
  }
}