#qv_modal,
#qv_hubspot_modal {
  position: fixed;
  visibility: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  opacity: 0;
  text-align: center;
  transition: all 0.1s;
}
#qv_modal .qv_overlay,
#qv_hubspot_modal .qv_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}
#qv_modal .qv_wrapper,
#qv_hubspot_modal .qv_wrapper {
  display: inline-block;
  vertical-align: middle;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1400px !important;
  height: 100% !important;
  width: 90vw !important;
  overflow: hidden !important;
}
#qv_modal .qv_main,
#qv_hubspot_modal .qv_main {
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease-in-out;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  padding-right: 17px;
  /* Increase/decrease this value for cross-browser compatibility */
  box-sizing: content-box;
  /* So the width will be 100% + 17px */
  scroll-behavior: smooth;
  /* <----- THE SECRET ---- */
}
#qv_modal .qv_main #qv_close,
#qv_hubspot_modal .qv_main #qv_close {
  opacity: 0;
  fill: #005829;
  border-radius: 50%;
}
#qv_modal .qv_main #qv_close:hover,
#qv_hubspot_modal .qv_main #qv_close:hover {
  opacity: 1;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
}
#qv_modal .qv_main.show,
#qv_hubspot_modal .qv_main.show {
  background-color: none;
}
#qv_modal .qv_main.show #qv_close,
#qv_hubspot_modal .qv_main.show #qv_close {
  align-self: flex-end;
  top: 0;
  right: 0;
  margin: 1rem 0;
  min-height: 2.5rem;
  width: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  background-color: #ffff;
  fill: #005829;
}
#qv_modal .qv_main:after,
#qv_modal .qv_main:before,
#qv_hubspot_modal .qv_main:after,
#qv_hubspot_modal .qv_main:before {
  content: "";
  display: table;
  clear: both;
}

#qv_modal:before,
#qv_hubspot_modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
}

#qv_modal.open,
#qv_modal.open .qv_wrapper,
#qv_hubspot_modal.open,
#qv_hubspot_modal.open .qv_wrapper {
  visibility: visible;
  opacity: 1;
}

#qv_modal.open .qv_main,
#qv_hubspot_modal.open .qv_main {
  opacity: 1;
  height: 100%;
  overflow-y: auto;
  position: relative;
  background-color: none;
}

@media (max-width: 600px) {
  #qv_modal .qv_main.show,
#qv_hubspot_modal .qv_main.show {
    background-color: none;
  }
  #qv_modal .qv_main.show #qv_close,
#qv_hubspot_modal .qv_main.show #qv_close {
    position: fixed;
    margin: 3rem 1rem;
    min-height: 3rem;
    width: 3rem;
    z-index: 1000;
    box-shadow: 0 3px 3rem 0 rgba(0, 0, 0, 0.2);
  }
  #qv_modal .qv_main.show #qv_content,
#qv_hubspot_modal .qv_main.show #qv_content {
    margin-top: 8rem;
  }
}
#qv_hubspot_modal .qv_main.show {
  background-color: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#qv_hubspot_modal .qv_main.show #qv_close {
  position: relative;
  margin: 1rem;
}
#qv_hubspot_modal .qv_main.show #qv_content {
  margin-top: 0;
}