/* modal cta */

.modal {
  overflow: hidden;
  position: relative;
}
.modal-active {
  position: fixed;
  width: 100%;
}
.modal-bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.modal-bg.active {
  opacity: 1;
}
body > .modal-bg {
  position: fixed;
}
.modal-popup {
  background: white;
  color: black;
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 800px;
  height: auto;
  width: 100%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  visibility: visible;
  opacity: 1;
  margin: auto;
  padding: 40px;
  background-color: white;
  box-shadow: 5px 7px 30px;
}
.modal-content[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  max-width: 600px;
  max-height: 700px;
  margin: auto;
  padding: 20px;
  background-color: white;
  box-shadow: 5px 7px 30px;
}
.modal-heading {
  font-size: 32px;
  font-family: Helvetica, sans-serif;
  text-align: center;
  font-weight: 900;
  color: black;
  margin: 0 0 10px;
}
.modal-text {
  font-size: 16px;
  font-family: Helvetica, sans-serif;
  line-height: 1.5;
  color: #353535;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.modal-btn {
  font-size: 24px;
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  background-color: #2b54a3;
  padding: 0.8rem 1.2rem;
  margin: auto;
  display: inline-block;
  text-align: center;
  color: white;
  width: 100%;
  border-radius: 8px;
  outline: none;
  border: none;
  transition: all 0.2s ease-in-out;
}
.modal-btn:active {
  transform: scale(0.9);
}
.modal-close {
  background: #1b1b1b;
  border-radius: 100%;
  height: 40px;
  width: 40px;
  display: flex;
  top: 10px;
  right: 10px;
  border: 2px solid white;
  outline: none;
  position: absolute;
  cursor: pointer;
}
.modal-close .modal-close-icon {
  margin: auto;
}
.modal-close .modal-close-icon g {
  stroke-width: 2;
  stroke-linecap: round;
  stroke: white;
  fill-rule: evenodd;
  fill: none;
}
.modal-cta {
  width: 100%;
  text-align: center;
  margin: 1rem auto;
}
.modal-cta-link {
  font-size: 16px;
  text-decoration: none;
}
.modal-cta-link:active,
.modal-cta-link:hover {
  text-decoration: none;
}
.modal-image {
  text-align: center;
}
.modal-image img {
  max-width: 100%;
}
.modal-inner {
  font-family: Helvetica, sans-serif;
}
.modal-inner button,
.modal-inner input[type="submit"] {
  background: #232762;
  border: none;
  border-radius: 5px;
  padding: 10px 50px;
  color: white;
  display: block;
  font-family: Helvetica, sans-serif;
  margin: 20px auto;
}
.modal-inner iframe,
.modal-inner video {
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  .modal-bg {
    display: none;
  }
  .modal-bg.modal-mobile {
    display: block;
  }
}
