.modal-close {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid dark_color;
  color: dark_color;
  padding: 0;
  color: black;
  opacity: 0.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg {
  width: 12px;
  height: 12px;
}
.modal-close:hover {
  opacity: 1;
  color: white;
}
.modal-close:hover svg line {
  stroke: white;
}
.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 48px;
  border-radius: 10px;
  z-index: 101;
  visibility: hidden;
  transition: 0.3s;
  animation: modal-out 0.2s ease-out 0s;
  opacity: 0;
  max-height: 94vh;
  overflow: auto;
  width: 600px;
  max-width: 94vw;
}
.modal-bg {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  animation: modal-bg-out 0.3s ease-out 0s;
}
.modal.open .modal-container {
  opacity: 1;
  visibility: visible;
  animation: modal-in 0.2s ease-in 0s;
}
.modal.open .modal-bg {
  opacity: 0.7;
  visibility: visible;
  animation: modal-bg-in 0.3s ease-in 0s;
}
.modal-hero-banner {
  flex: 320px;
}
@media screen and (max-width: 767px) {
  .modal-hero-banner {
    display: none;
  }
}
.modal-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-hero-body {
  flex: 600px;
  padding: 48px 60px;
  overflow: auto;
}
.modal-hero-body::-webkit-scrollbar {
  border-radius: 3px;
  height: 6px;
  width: 6px;
}
.modal-hero-body::-webkit-scrollbar-track {
  border-radius: 3px;
}
.modal-hero-body::-webkit-scrollbar-track-piece {
  background-color: transparent;
}
.modal-hero-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}
.modal-hero-body::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.2);
}
.modal-hero-body::-webkit-scrollbar-corner {
  background-color: transparent;
}
.modal-hero-body .hs_cos_wrapper_type_inline_rich_text h2 {
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.modal-hero-body .hs_cos_wrapper_type_inline_rich_text h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
}
.modal-hero-body .hs_cos_wrapper_type_inline_rich_text p {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}
.modal-hero-body .hs-form .hs-form-field {
  margin-bottom: 14px;
}
.modal-hero-body .hs-form .hs-form-field label:not(.hs-error-msg) {
  color: inherit;
}
.modal-hero-body .hs-form .hs-form-field legend {
  color: inherit;
}
.modal-hero-body .hs-form .hs-form-field .hs-input {
  outline: none;
}
.modal-hero-body .hs-form .hs-form-field .hs-error-msgs > li {
  margin: 0;
}
.modal-hero-body .hs-form .hs-form-field .hs-error-msgs > li .hs-error-msg {
  margin: 0;
  font-size: 11px;
}
.modal-hero-body .hs_submit {
  width: 100%;
}
.modal-hero-body .hs_submit .hs-button {
  height: 54px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 400;
}
.modal-hero .modal-container {
  width: 900px;
  padding: 0;
  display: flex;
  overflow: hidden;
}

@keyframes modal-bg-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.7;
  }
}
@keyframes modal-bg-out {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
  }
}
@keyframes modal-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes modal-out {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
}
@keyframes modal-down {
  0% {
    transform: translate(0%, -100%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
@keyframes modal-up {
  0% {
    transform: translate(0%, 0%);
  }
  100% {
    transform: translate(0%, -100%);
  }
}
