.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background: rgba(87, 87, 87, 0.3);
  animation: fadeEffect 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-overlay.out {
  animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100%;
  height: 100%;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  /* @media (max-width: 1399px) {

    &-content {
      padding: 64px 50px;
    }

    &-header {
      font-size: 32px;
    }

    &-body {
      font-size: 14px;

      h4 {
        margin-top: 20px;
        font-size: 20px;
      }

      p {
        margin: 8px 0;
      }
    }
  } */
}
.modal-container {
  position: relative;
  margin: 0 auto;
  padding: 0.9375rem;
  width: 100%;
  max-width: 40.625rem;
  min-height: calc(100% - 1.875rem);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.modal-container.medium {
  max-width: 56.25rem;
}
.modal-content {
  position: relative;
  padding: 3.125rem 4.375rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  color: #575757;
  background-color: #ffffff;
  background-clip: padding-box;
  border-radius: 1.75rem;
  outline: 0;
}
.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal-close .icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #575757;
}
.modal-close:hover {
  color: #71AD56;
}
.modal-header {
  margin-bottom: 1.5rem;
  font-family: Raleway, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
}
.modal-body > *:first-child {
  margin-top: 0 !important;
}
.modal-body p {
  margin: 0.625rem 0;
}
.modal-body > :first-child {
  margin-top: 0;
}
.modal-body > :last-child {
  margin-bottom: 0;
}
.modal-body h2 {
  margin: 1.5rem 0;
  font-size: 3rem;
}
.modal-body h4 {
  margin-top: 1.75rem;
}
.modal-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.modal-body ul li + li {
  margin-top: 6px;
}
.modal-footer {
  margin-top: 2.1875rem;
  display: flex;
}
.modal.out {
  animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal.show {
  display: block;
}
@media (max-width: 999px) {
  .modal-content {
    padding: 50px 40px;
  }
  .modal-header {
    font-size: 28px;
  }
  .modal-body {
    font-size: 13px;
  }
  .modal-body h4 {
    margin-top: 12px;
    font-size: 18px;
  }
  .modal-body p {
    margin: 6px 0;
  }
}
@media (max-width: 767px) {
  .modal-container {
    padding-left: 0;
    padding-right: 0;
  }
  .modal-content {
    padding: 48px 24px;
  }
  .modal-header {
    font-size: 22px;
  }
  .modal-body {
    font-size: 12px;
  }
  .modal-body h4 {
    margin-top: 14px;
    font-size: 16px;
  }
  .modal-body p {
    margin: 8px 0;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/*# sourceMappingURL=modal.css.map */
