/*---------------------------------
-----  dimension variables --------
----------------------------------*/
/*------  standard elements padding & margin  -------*/
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
.ux-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  pointer-events: auto;
  position: fixed;
  z-index: 4000;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}
.ux-modal.ux-modal--sticky-bottom {
  justify-content: flex-end;
}
.ux-modal.ux-modal--sticky-top {
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .ux-modal {
    align-items: stretch;
  }
}
@media (min-width: 1024px) {
  .ux-modal {
    padding: 15px;
  }
}
.ux-modal--closed {
  display: none;
}
.ux-modal__backdrop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.ux-modal--opening .ux-modal__backdrop {
  opacity: 0;
}
.ux-modal--opened .ux-modal__backdrop {
  opacity: 1;
  transition: opacity 250ms ease-out;
}
.ux-modal--closing .ux-modal__backdrop {
  opacity: 0;
  transition: opacity 250ms ease-out;
}
.ux-modal--closed .ux-modal__backdrop {
  opacity: 0;
}
.ux-modal__outer {
  display: flex;
  position: relative;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}
@media (min-width: 768px) {
  .ux-modal__outer {
    width: 83.3333%;
  }
}
@media (min-width: 1024px) {
  .ux-modal__outer {
    width: 66.6666%;
    max-width: 960px;
  }
}
.ux-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: #fff;
  width: 100%;
  max-height: 100%;
}
.ux-modal--opening .ux-modal__inner {
  transform: scale(0.95);
  opacity: 0;
}
.ux-modal--opened .ux-modal__inner {
  transform: none;
  opacity: 1;
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}
.ux-modal--closing .ux-modal__inner {
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}
.ux-modal--closed .ux-modal__inner {
  transform: scale(0.95);
}
.ux-modal__head {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  height: 40px;
}
.ux-modal__slot {
  flex: 1 1 auto;
  display: flex;
  width: 100%;
  max-height: calc(100% - 40px);
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}
.ux-modal__close {
  appearance: none;
  background: transparent;
  border: 0 none transparent;
  padding: 0;
  margin: 0;
  outline: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.ux-modal__multi {
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #eaedf2;
}
.ux-modal__multi .ux-steps {
  max-width: 500px;
  margin: 0 auto;
}