/* ============ ============ ============ */
/* ============ ============ ============ */
/* =============== MODALS =============== */
/* ============ ============ ============ */
/* ============ ============ ============ */

.xmodal {
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  z-index: 1450;
  -webkit-transition: opacity 200ms ease-in;
  -moz-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in;
}

.xmodal.show {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.xmodal-dialog {
  height: 100%;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 550px;
}

.xmodal-dialog.medium {
  max-width: 700px;
}

.xmodal-dialog.big {
  max-width: 1150px;
}

.xmodal-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 28px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
}

.xmodal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  border-bottom: 1px solid transparent;
  text-align: center;
}

.xmodal-header h3 {
  color: #000;
}

.xmodal-header p {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin-top: 7px;
}

.xmodal-close {
  z-index: 4;
  position: absolute;
  top: 20px;
  right: 20px;
}

.xmodal-body {
  width: 100%;
  position: relative;
  overflow: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

@media(max-width: 991px) {
  .xmodal-content {
    padding: 18px;
  }
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}

/* ============ ============ ============ */
/* ============ ============ ============ */
/* ============= END MODALS ============= */
/* ============ ============ ============ */
/* ============ ============ ============ */