.modal,
.modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  height: var(--screen-h, 100vh);
  width: 100vw;
  z-index: 100;
}

.modal {
  visibility: hidden;
  transition: all 0.4s;
  opacity: 0;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  background: rgba(40, 40, 40, 0.2);
}

.modal,
.modal-body,
.modal-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-content {
  overflow: auto;
  flex-grow: 1;
  max-width: 100%;
  padding: 32px;
}

.modal-body {
  z-index: 101;
  margin: auto;
  max-height: calc(var(--screen-h, 90vh) - 1rem);
  overflow: hidden;
  width: 100%;
  background: #fff;
  position: relative;
}

.modal-body,
.modal-body.default {
  max-width: 608px;
}

.modal-header {
  text-transform: capitalize;
}

.modal-footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.x-icon {
  height: 24px;
  width: 24px;
  flex: 0 0 24px;
  background-image: url("../img/x.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.modal-content::-webkit-scrollbar {
  width: 2px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #888;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.modal-numbered-list ol {
  list-style-type: decimal;
  padding-left: 22px;
}

@media screen and (max-width: 991px) {
  .modal-numbered-list ol {
    padding-left: 16px;
  }
}
.modal-numbered-list ol li {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 24px;
}

@media screen and (max-width: 991px) {
  .modal-numbered-list ol li {
    margin-bottom: 12px;
    font-size: 14px;
  }
}
.modal-numbered-list ol li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .modal-actions,
  .modal-content .form-submit {
    margin-top: 20px;
  }
  .modal-content {
    padding: 10px;
  }
  .modal-body {
    padding: 20px;
  }
}
@media screen and (max-width: 991px) {
  .modal-title h6,
  .modal-title p {
    font-size: 24px;
  }
}
.modal-title p:last-child {
  margin-right: 0;
}

.modal-title p.active {
  border-bottom: 1px solid #fff;
  color: #fff;
}

.modal-subtitle {
  margin-bottom: 40px;
}

.modal-subtitle p {
  font-size: 16px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.8);
}

/*# sourceMappingURL=modal.css.map */
