:root {
  --default-padding: unset;
  --default-margin: unset;
  --main-views-padding-left: 54px;
  --main-views-padding-right: 16px;
  --main-views-width: 100%;
  --display-mq-desktop: flex;
  --display-mq-phone: none;
  --main-head-font-size: 155%;
  --main-head-min-height: 113px;
  --main-head-h1-margin-top: 32px;
  --main-head-del-btn-padding-right: 32px;
  --main-content-padding-top: 72px;
  --attribute-display: grid;
}
.placeholder {
  opacity: 0.4;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
#overview,
#empty,
#settings {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
#overview .hdr-toggle-row,
#empty .hdr-toggle-row,
#settings .hdr-toggle-row {
  -ms-transform: translateY(0);
      transform: translateY(0);
}
#overview h1,
#empty h1,
#settings h1 {
  -ms-flex-pack: start;
      justify-content: flex-start;
}
#overview h1 span,
#empty h1 span,
#settings h1 span {
  display: -ms-flexbox;
  display: flex;
}
#sceneList > li:nth-last-child(1) {
  margin-bottom: 64px !important;
}
#navigation .topic-col {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: 134px;
}
#navigation .topic-col .nav-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: start;
      justify-content: flex-start;
  width: 100%;
  -ms-flex-align: center;
      align-items: center;
  cursor: pointer;
}
#navigation .topic-col .nav-head #backToGroupBtn {
  min-width: 60px;
  margin-left: 10px;
  margin-right: 10px;
}
#navigation .topic-col .nav-head #ofGroupName {
  margin-right: 10px;
}
#navigation .topic-col .nav-head .nav-head-svg svg {
  --ic-line: #efefee;
  --sw-line: #efefee;
  --li-state-line: #efefee;
  --sw-state-line: #efefee;
  --li-fill: none;
  --li-state: none;
  --li-body: none;
}
#navigation .topic-col #addScene {
  width: 75%;
  background-color: #848180;
  color: white;
  margin-bottom: 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
#navigation .topic-col #addScene:hover {
  background-color: #b9b6b5;
}
#navigation .topic-col #addScene svg {
  --ic-line: #efefee;
}
#navigation #sceneList {
  transition: transform 120ms ease-out 400ms;
  -ms-transform: translateY(-130px);
      transform: translateY(-130px);
}
#navigation #sceneList li.active-item {
  color: #333;
  background-color: #e8f0f7;
}
#navigation #changedBox {
  opacity: 0;
  color: white;
  background-color: hsl(15, 2%, 51%);
  margin: 8px 0;
  padding: 16px 8px;
  transition: opacity 0.4s ease-out 600ms;
}
#navigation #changedBox:first-child {
  margin-left: 9px;
}
#navigation #changedBox.box-out {
  transition: opacity 0.25s ease-in 50ms;
}
#navigation #changedBox .btn {
  background-color: #706c6a;
  margin: 4px 8px;
}
#navigation #changedBox .btn:hover {
  color: white;
  background-color: #b9b6b5;
}
.g-spinner,
.save-ok {
  opacity: 0;
  transition: opacity 400ms ease-in;
  position: absolute;
}
.g-spinner {
  animation: spin 4s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
.g-spinner.op-true,
.save-ok.op-true {
  opacity: 1;
  transition: opacity 500ms ease-out;
}
.no-click {
  pointer-events: none;
}
body.scene-changed #navigation #changedBox {
  opacity: 1;
}
body.scene-changed #navigation #sceneList {
  -ms-transform: translateY(0);
      transform: translateY(0);
}
#sceneList.up-anim {
  transition: transform 120ms ease-in 300ms;
}
.slider-main {
  position: absolute;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  min-height: 82%;
  top: 140px;
  right: 32px;
  bottom: 8px;
  left: 741px;
}
.slider-main .slider-cage #switchColorModeBtn {
  z-index: 1;
}
#group-scene-time {
  opacity: 1;
  z-index: 3;
  transition: opacity 150ms ease-in-out;
}
#group-scene-time .list-group-main {
  background: none;
  height: 95px;
  margin: 32px 16px;
}
#group-scene-time .schedule_group_controls {
  padding-bottom: 15px;
}
#lightsListmainLamp {
  -ms-transform: none;
      transform: none;
}
#lightsListmainLamp .empty-info {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
.inputRange {
  -webkit-appearance: none;
  border-radius: 5px;
  width: 100%;
  height: 12px;
  background: #d3d3d3;
  outline: none;
  box-shadow: inset 0 1px 3px grey;
}
.inputRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 50px;
  border: 4px solid #6f6c6a;
  width: 40px;
  height: 40px;
  background: #f8f8fe;
  cursor: pointer;
  box-shadow: 0 0 5px grey;
}
.inputRange::-moz-range-thumb {
  border-radius: 50px;
  border: 4px solid #6f6c6a;
  width: 40px;
  height: 40px;
  background: #f8f8fe;
  cursor: pointer;
  box-shadow: 0 0 5px grey;
}
.symbol-nav {
  transition: opacity 500ms ease-in-out;
}
.empty .symbol-nav {
  opacity: 0;
}
.empty .slider-main {
  opacity: 0;
}
.empty .main-head {
  visibility: hidden;
}
.empty .hdr-toggle-row {
  opacity: 0;
}
.symbol-nav {
  position: fixed;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-align: baseline;
      align-items: baseline;
  -ms-flex-direction: row;
      flex-direction: row;
  left: 370px;
  bottom: 16px;
  width: 248px;
  height: calc(48px + 12px + 18px);
}
@media (max-height: 372px) {
  .symbol-nav {
    display: none;
  }
}
.symbol-nav svg {
  margin: 0;
}
.symbol-nav svg.active {
  --ic-line: #c17e39;
}
.symbol-nav .symbol-nav-label {
  position: absolute;
  bottom: 0;
  width: 50%;
  text-align: center;
  font-weight: normal;
  margin-bottom: 0;
}
@media (max-width: 1199px) {
  :root {
    --main-content-padding-top: 64px;
  }
  .slider-main {
    top: 138px;
    left: 720px;
    bottom: 4px;
  }
  .symbol-nav {
    -ms-flex-direction: row;
        flex-direction: row;
    bottom: 16px;
    width: 31%;
    height: calc(48px + 12px + 18px);
    left: 289px;
  }
  .symbol-nav .symbol-nav-label {
    position: absolute;
    bottom: 0;
    width: 50%;
    text-align: center;
    font-weight: normal;
    margin-bottom: 0;
  }
}
@media (max-width: 899px) and (min-width: 600px) {
  :root {
    --main-views-padding-left: 32px;
    --main-head-del-btn-padding-right: 12px;
    --main-content-padding-top: 54px;
  }
  #overview h1 span,
  #empty h1 span,
  #settings h1 span {
    margin-left: 20px;
  }
  #overview .main #deleteScene_btn span,
  #empty .main #deleteScene_btn span,
  #settings .main #deleteScene_btn span {
    display: none;
  }
  #overview .main .main-content .hdr-toggle-row,
  #empty .main .main-content .hdr-toggle-row,
  #settings .main .main-content .hdr-toggle-row {
    padding: 0px 10px;
  }
  #overview .main .main-content .main-list,
  #empty .main .main-content .main-list,
  #settings .main .main-content .main-list {
    height: 450px;
    width: 300px;
  }
  .symbol-nav {
    position: fixed;
    width: 100px;
    height: 320px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    left: 650px;
    top: 196px;
    -ms-flex-align: center;
        align-items: center;
  }
  .symbol-nav label {
    position: initial !important;
    width: 100% !important;
    margin-top: -40px;
  }
  .slider-main {
    z-index: 1;
    position: absolute;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    top: 620px;
    min-height: 45%;
    left: 300px;
  }
  .slider-main .slider-cage {
    position: absolute;
    -ms-flex-direction: column;
        flex-direction: column;
    top: 32px;
    left: 32px;
  }
  .slider-main .slider-cage #switchColorModeBtn {
    bottom: 220px;
    left: 155px;
  }
  .slider-main .sl-slider {
    width: 410%;
    height: 90px;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    margin-left: 0px;
  }
  .slider-main .sl-slider .sl-label {
    display: none;
  }
  .slider-main .sl-slider svg {
    margin-right: 30px;
  }
  .slider-main .sl-slider .bar {
    border-radius: 20px;
    height: 18px;
  }
  .slider-main .sl-slider .bar .handle {
    top: -16px;
    left: 0px;
    width: 48px;
    height: 48px;
  }
}
@media (max-height: 486px) and (min-width: 486px) and (orientation: landscape) {
  html {
    -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
    -ms-transform-origin: left top;
        transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
  html .sidenav {
    -ms-transform: translate(-100%) !important;
        transform: translate(-100%) !important;
  }
  html .body-content {
    padding-left: unset !important;
  }
  html .body-content #navigation {
    width: 100%;
    z-index: 1;
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  :root {
    --main-views-padding-left: 24px;
    --display-mq-desktop: none;
    --display-mq-phone: inline;
    --main-head-font-size: 110%;
    --main-head-min-height: unset;
    --main-head-h1-margin-top: 25px;
    --main-content-padding-top: 0px;
    --modal-title-font-size: 20px;
    --modal-btn-font-size: 16px;
  }
  :root .main .main-content .symbol-nav {
    display: none;
  }
  :root .slider-main {
    min-height: 45%;
    left: 32px;
    right: 32px;
    bottom: 8px;
  }
  :root .slider-main .slider-cage {
    padding-top: 0;
    padding-bottom: 0px;
  }
  :root .slider-main .slider-cage .sl-slider .bar .handle {
    width: 40px;
    height: 40px;
    left: -13px;
  }
  :root .slider-main .slider-cage .sl-slider .sl-label {
    visibility: hidden;
    margin-top: 0;
    margin-bottom: 24px;
  }
  :root .slider-main #switchColorModeBtn {
    left: 100px;
    -ms-transform: scale(0.9);
        transform: scale(0.9);
  }
  :root .body-content #navigation .topic-col {
    min-height: 100px;
    margin-top: 15px;
  }
  :root .body-content #navigation .topic-col #addSchedulePhoneBtn {
    right: 20px;
    position: absolute;
    top: 56px;
  }
  :root .body-content #navigation .topic-col .nav-head-svg:first-child {
    margin-left: 20px;
    margin-right: 0px;
  }
  :root .body-content #navigation .topic-col .nav-head-svg:nth-child(2) {
    margin-left: 10px;
    margin-right: 10px;
  }
  :root .body-content #navigation .topic-col #backToGroupBtn {
    -ms-flex-align: center;
        align-items: center;
    display: -ms-flexbox;
    display: flex;
    margin-left: 0px;
    margin-right: 0px;
  }
  :root .body-content #navigation #changedBox p {
    margin-left: 10px;
  }
  :root .body-content #navigation #changedBox span {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
  }
  :root .body-content #navigation #sceneList {
    min-height: 300px;
  }
  :root .body-content #navigation #sceneList li.active-item {
    background-color: rgba(232, 240, 247, 0);
    --ic-line: #f9f9f9;
    color: #f9f9f9;
  }
  :root .body-content #overview,
  :root .body-content #settings {
    -ms-transform: translateX(-100%);
        transform: translateX(-100%);
  }
  :root .body-content #overview .main,
  :root .body-content #settings .main {
    width: 410px;
  }
  :root .body-content #overview .main .main-head h1,
  :root .body-content #settings .main .main-head h1 {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  :root .body-content #overview .main .main-head h1,
  :root .body-content #settings .main .main-head h1 {
    -ms-flex-pack: justify;
        justify-content: space-between;
  }
  :root .body-content #overview .main .main-head h1 .context-menu-outer,
  :root .body-content #settings .main .main-head h1 .context-menu-outer {
    z-index: 10;
  }
  :root .body-content #overview .main .main-head h1 .context-menu-icon,
  :root .body-content #settings .main .main-head h1 .context-menu-icon {
    margin-right: 15px;
  }
  :root .body-content #overview .main .main-head h1 span,
  :root .body-content #settings .main .main-head h1 span {
    display: -ms-flexbox;
    display: flex;
  }
  :root .body-content #overview .main .main-head h1 span svg,
  :root .body-content #settings .main .main-head h1 span svg {
    margin-left: 35px;
    margin-right: 10px;
  }
  :root .body-content #overview .main .main-content,
  :root .body-content #settings .main .main-content {
    padding-left: 18px;
  }
  :root .body-content #overview .main .main-content .hdr-toggle-row,
  :root .body-content #settings .main .main-content .hdr-toggle-row {
    display: none;
  }
  :root .body-content #overview .main .main-content .symbol-nav,
  :root .body-content #settings .main .main-content .symbol-nav {
    display: -ms-flexbox;
    display: flex;
    left: 0px;
    -ms-flex-align: baseline;
        align-items: baseline;
    width: 100%;
  }
  :root .body-content #overview .main .main-content #allLightsBtn.mq-phone,
  :root .body-content #settings .main .main-content #allLightsBtn.mq-phone {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
  }
  :root .body-content #overview .main .main-content #allLightsBtn.mq-phone svg,
  :root .body-content #settings .main .main-content #allLightsBtn.mq-phone svg {
    margin-left: 8px;
    -ms-transform: scale(0.7);
        transform: scale(0.7);
  }
  :root .body-content #overview .main .main-content #allLightsBtn.mq-phone svg .ic-line,
  :root .body-content #settings .main .main-content #allLightsBtn.mq-phone svg .ic-line {
    fill: var(--ic-line, #3e4e52);
  }
}
@media (max-width: 599px) and (orientation: portrait) and (max-width: 320px) {
  :root .body-content #navigation .topic-col #ofGroupName {
    max-width: 183px;
  }
}
@media (max-width: 599px) and (orientation: portrait) and (min-width: 486px) {
  :root .body-content #overview .main,
  :root .body-content #settings .main {
    width: 486px;
  }
}
