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