: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;
}
.li-off {
  --li-state-line: var(--color-text) !important;
}
.placeholder {
  opacity: 0.4;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
.body-content {
  background-color: var(--color-bg);
}
#empty .main-content {
  top: 13%;
  height: 87%;
}
#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;
  color: var(--color-text);
}
#overview h1 svg,
#empty h1 svg,
#settings h1 svg {
  --ic-line: var(--color-text);
  --ic-fill: var(--color-text);
  --sw-line: var(--color-text);
  --li-state-line: var(--color-text);
  --sw-state-line: var(--color-text);
}
#sceneList > li:nth-last-child(1) {
  margin-bottom: 64px !important;
}
#navigation {
  background-color: var(--color-navbar-bg) !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: white;
  --sw-line: white;
  --li-state-line: white;
  --sw-state-line: white;
  --li-fill: none;
  --li-state: none;
  --li-body: none;
}
#navigation .topic-col #add-scene-btn {
  width: 75%;
  background-color: var(--color-button-top) !important;
  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 #add-scene-btn:hover {
  background-color: var(--color-button-top-highlight) !important;
}
#navigation .topic-col #add-scene-btn svg {
  --ic-line: white;
}
#navigation .topic-col #add-scene-btn span {
  margin-left: 10px;
}
#navigation #sceneList {
  transition: transform 120ms ease-out 400ms;
}
#navigation #sceneList li.active-item {
  color: white;
  background-color: var(--color-navbar-button);
}
#navigation #sceneList li.active-item svg {
  --ic-line: white;
  --sw-line: white;
  --li-state-line: white;
  --sw-state-line: white;
}
#navigation #changedBox {
  z-index: -10;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  color: var(--color-text);
  opacity: 0;
  background-color: var(--color-bg);
  transition: opacity 0.4s ease-out 100ms;
}
#navigation #changedBox p {
  text-align: center;
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#navigation #changedBox span {
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
.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;
  z-index: 1;
  margin: 8px 8px;
  border-radius: 5px;
  padding: 16px 8px;
}
body.scene-changed #navigation #sceneList {
  -ms-transform: translateY(0);
      transform: translateY(0);
}
.btn {
  background-color: var(--color-button) !important;
  color: var(--color-text);
  border: none;
  border-radius: 4px !important;
}
.btn:focus {
  color: var(--color-text);
}
.btn:hover {
  background-color: var(--color-button-highlight) !important;
  color: var(--color-text);
}
.btn-danger {
  background-color: #b71f0e !important;
  color: var(--color-text-danger);
}
.modal-content {
  background-color: var(--color-bg);
  color: var(--color-text);
}
.modal-content .close {
  color: var(--color-text);
}
.modal-content .modal-header {
  color: var(--color-text-alt);
  border-bottom: 1px solid var(--color-element) !important;
}
.modal-content .modal-body input {
  color: var(--color-text);
  background-color: var(--color-element);
}
.modal-content .modal-footer {
  border-top: 1px solid var(--color-element);
  background-color: var(--color-bg);
}
#sceneList.up-anim {
  transition: transform 120ms ease-in 300ms;
}
#group-scene-lamp {
  background-color: var(--color-device-box-body);
  opacity: 1;
}
.hdr-toggle-row {
  color: var(--color-text) !important;
}
.hdr-toggle-row svg {
  --ic-line: var(--color-text);
  --sw-line: var(--color-text);
  --li-state-line: var(--color-text);
  --sw-state-line: var(--color-text);
}
.hdr-toggle-row label:before {
  background-color: var(--color-device-toggle) !important;
}
.hdr-toggle-row label:after {
  background-color: var(--color-element-highlight) !important;
}
.schedule_group_controls {
  color: var(--color-text);
}
#group-scene-time {
  background-color: var(--color-device-box-body);
}
.topic-row {
  background-color: var(--color-device-box-header) !important;
}
.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;
  color: var(--color-text);
}
.slider-main svg {
  --ic-line: var(--color-text);
  --sw-line: var(--color-text);
  --li-state-line: var(--color-text);
  --sw-state-line: var(--color-text);
}
.slider-main .slider-cage #switchColorModeBtn {
  z-index: 1;
}
.slider-main .slider-cage #switchColorModeBtn label {
  color: var(--color-text);
}
#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;
  background-color: var(--color-device-box-body) !important;
}
#group-scene-time .schedule_group_controls {
  padding-bottom: 15px;
}
.list-group {
  background-color: var(--color-text-alt) !important;
}
#lightsListmainLamp {
  -ms-transform: none;
      transform: none;
}
#lightsListmainLamp .list-group-item {
  background-color: var(--color-element);
}
#lightsListmainLamp .list-group-item .item-name {
  color: var(--color-text);
}
#lightsListmainLamp .list-group-item svg {
  --ic-line: var(--color-text);
  --ic-fill: var(--color-text);
  --sw-line: var(--color-text);
}
#lightsListmainLamp .list-group-item:nth-child(1) {
  border-top: 1px solid white;
}
#lightsListmainLamp .empty-info {
  color: var(--color-text);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
.selectLight {
  background-color: var(--color-text-alt) !important;
}
.li-not-reachable svg {
  opacity: 0.65;
}
.li-not-reachable .item-name {
  opacity: 0.65;
}
#deleteScene_btn svg {
  --ic-line: var(--color-danger);
}
#deleteScene_btn span {
  color: var(--color-danger);
}
.text-danger {
  color: var(--color-danger);
}
.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);
  color: var(--color-text);
}
@media (max-height: 372px) {
  .symbol-nav {
    display: none;
  }
}
.symbol-nav svg {
  margin: 0;
  --ic-line: var(--color-text);
  --li-state-line: var(--color-text);
}
.symbol-nav svg.active {
  --ic-line: var(--color-settings-selected-menu);
  --li-state-line: var(--color-settings-selected-menu);
}
.symbol-nav .symbol-nav-label {
  position: absolute;
  bottom: 0;
  width: 50%;
  text-align: center;
  font-weight: normal;
  margin-bottom: 0;
}
.symbol-nav .active + label {
  color: var(--color-settings-selected-menu) !important;
}
@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 #overview .main,
  :root .body-content #settings .main {
    width: 100%;
  }
  :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 .context-menu li,
  :root .body-content #settings .main .main-head h1 .context-menu li {
    color: var(--color-text);
    background-color: var(--color-button);
    --ic-line: var(--color-text);
    --ic-frame: var(--color-text);
  }
  :root .body-content #overview .main .main-head h1 .context-menu li svg,
  :root .body-content #settings .main .main-head h1 .context-menu li svg {
    z-index: 1;
  }
  :root .body-content #overview .main .main-head h1 .context-menu li:first-child,
  :root .body-content #settings .main .main-head h1 .context-menu li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  :root .body-content #overview .main .main-head h1 .context-menu li:last-child,
  :root .body-content #settings .main .main-head h1 .context-menu li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  :root .body-content #overview .main .main-head h1 .context-menu li:last-child svg,
  :root .body-content #settings .main .main-head h1 .context-menu li:last-child svg,
  :root .body-content #overview .main .main-head h1 .context-menu li:last-child path,
  :root .body-content #settings .main .main-head h1 .context-menu li:last-child path {
    stroke: var(--color-danger) !important;
  }
  :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;
    z-index: 0;
  }
  :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%;
    bottom: -20px;
  }
  :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);
  }
  :root .body-content #empty #group-scene-lamp {
    display: none;
  }
}
@media (max-width: 599px) and (orientation: portrait) and (max-width: 320px) {
  :root .body-content #navigation .topic-col #ofGroupName {
    max-width: 183px;
  }
}
