.open-popup{
  overflow:hidden;
}
.open-popup .popup{
  overflow-y: scroll;
}
.popup {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999999;
  overflow-y: auto;
  -ms-overflow-style: none;
}
.popup::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  
}
.popup-inner span.sub-heading {
  display: block;
  text-align: center;
  color: #212020;
  text-transform: uppercase;
  margin: 0 0 30px;
  font-size:16px;
  line-height:20px;
  font-weight:500;
}
.popup-inner h2 {
  display: block;
  margin: 0 0 50px;
  font-size: 42px;
  text-align: center;
  padding: 0 102px;
  line-height: 50px;
}
.popup-inner .legal-consent-container p{
  text-align: left;
}
.popup-inner p {
  text-align: center;
}
.spacer{
  height:50px;
}
.popup-inner-inner {
  display: flex;
  align-content: center;
  width: 100%;
  flex-wrap:wrap;
  justify-content: center;
  margin:100px 0;
}
.popup-inner {
  max-width: 1200px; 
  width: 90%;
  padding: 90px 50px;
  border-radius: 40px;
  background: #FFF9f3;
  position:relative;
}
.popup-inner .hs-richtext {
  padding: 0 0 0 5px;
}
.popup-close {
  width: 30px;
  height: 30px;
  padding-top: 4px;
  display: inline-block;
  position: absolute;
  top: 50px;
  right: 50px;
  transition: ease 0.25s all;
  -webkit transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  border-radius: 1000px;
  font-family: Arial, sans-serif;
  font-size: 30px;
  text-align: center;
  line-height: 100%;
  color: #000;
}
.popup-close:before {
  width: 19px;
  height: 4px;
  background: #000;
  position: absolute;
  content: '';
  top: 15px;
  right: 8px;
}
@media(max-width:767px){
  .popup{
    padding:0 15px 150px;
  }
  .popup-inner{
    width:100%;
    padding: 50px 30px;
    border-radius:10px;
  }
  .popup-inner h2 {
    display: block;
    margin: 0 0 40px;
    font-size: 25px;
    text-align: left;
    padding: 0;
    line-height: 28px;
    max-width:299px;
  }
  .popup-inner span.sub-heading{
    font-size:14px;
    line-height:16px;
    text-align: left;
    font-weight:500;
    max-width:299px;
  }
  .popup-inner form .hs-form-field label{
    font-size:14px;
    line-height:18px;
  }
  .popup-close{
    top:30px;
    right:30px;
  }
  .popup-inner form .hs-form-booleancheckbox-display>span,
  .popup-inner form p{
    font-size:14px !important;
    line-height:18px !important;
  }
  .popup-inner form.hs-form fieldset .hs-form-field label:not(.hs-error-msg){
    font-size: 14px !important;
    line-height: 20px !important;
  }
  .popup-inner form fieldset.form-columns-2 .hs-form-field {
  padding: 0 0 !important;
}
  .popup-inner-inner{
    height:auto;
  }
}