/* ---------------------------------
-----  dimension variables --------
---------------------------------- */
/* ------  standard elements padding & margin  ------- */
/* spacing */
.ux-sidebar__inner {
  background-color: #fff;
  bottom: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: var(--ux-sidebar-max-width);
  position: fixed;
  right: -100%;
  top: 0;
  transition: right 0.3s ease-in-out;
  width: var(--ux-sidebar-width);
  z-index: 9999;
}
.ux-sidebar__inner--align-header {
  top: var(--ux-sidebar-align-header);
}
.ux-sidebar__inner--align-footer {
  bottom: var(--ux-sidebar-align-footer);
}
.ux-sidebar__inner--align-left {
  left: -100%;
  transition: left 0.3s ease-in-out;
}
.ux-sidebar__inner--no-transition {
  transition: none;
}
.ux-sidebar__backdrop {
  background-color: rgba(0, 0, 0, 0.7);
  bottom: 0;
  display: block;
  height: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.2s ease-in-out;
}
.ux-sidebar__backdrop--no-transition {
  transition: none;
}
.ux-sidebar__head {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  justify-content: flex-end;
  padding: 15px 15px 0 0;
}
.ux-sidebar__close {
  appearance: none;
  background: transparent;
  border: 0 none transparent;
  cursor: pointer;
  height: 40px;
  margin: 0;
  outline: none;
  padding: 0;
  width: 40px;
}
.ux-sidebar__slot {
  align-items: stretch;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  max-height: calc(100% - 55px);
  width: 100%;
}

.ux-sidebar--open .ux-sidebar__inner {
  right: 0;
}
.ux-sidebar--open .ux-sidebar__inner--align-left {
  left: 0;
}
.ux-sidebar--open .ux-sidebar__backdrop {
  height: auto;
  opacity: 1;
}
.ux-sidebar--open .ux-date-range-picker .ux-date-picker {
  flex: 1 1 auto;
  width: 100%;
}
.ux-sidebar--open .ux-date-range-picker__container {
  align-items: stretch;
  flex-direction: column;
  justify-content: stretch;
}
.ux-sidebar--open .ux-date-picker .ux-date-picker__container {
  left: 0;
  right: 0;
  width: auto;
}