/* display scenes button as disabled */
.no-scenes .symbol-nav svg:nth-child(3),
.no-scenes .symbol-nav label:nth-child(4) {
  opacity: 0.3;
}
.main.no-scenes #main-group .list-group a:nth-child(1) > * {
  opacity: 0.3;
}
#allLightsBtn.mq-phone {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#allLightsBtn.mq-phone svg {
  margin-left: 8px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}
#allLightsBtn.mq-phone svg .ic-line {
  fill: var(--ic-line, #3e4e52);
}
.empty .main-head > h1,
.empty .slider-cage {
  opacity: 0;
}
.head-nav {
  padding-top: 16px;
  padding-left: 16px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  color: #333;
}
.head-nav svg {
  margin-right: 16px;
}
@media (min-width: 600px) {
  .head-nav {
    display: none;
  }
}
.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;
}
.nav-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: justify;
      justify-content: space-between;
  width: 90%;
  -ms-flex-align: center;
      align-items: center;
  cursor: pointer;
}
@media (max-width: 599px) {
  #navigation.animated,
  .main.animated,
  .main-list.animated {
    transition: transform 160ms ease-out;
  }
  .nav-head {
    min-height: 64px;
    width: 100%;
  }
  .topic-col {
    min-height: 104px;
  }
}
#allOffBtn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  /*--ic-line: #efefee;
    --sw-line: #efefee;
    --li-state-line: #efefee;
    --sw-state-line: #efefee;
    --ic-fill: #efefee;

    --li-fill: none;
    --li-state: none;
    --li-body: none;
    */
}
#allOffBtn svg {
  margin-right: 8px;
  margin-bottom: 2px;
}
#addGroup,
#addGroup1 {
  background-color: #848180;
  color: white;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  white-space: break-space;
}
#addGroup {
  width: 75%;
  margin-bottom: 10px;
  display: none;
  white-space: break-space;
}
#addGroup1 {
  margin-left: 8px;
  padding: 4px 8px;
}
@media (min-width: 600px) {
  #addGroup {
    display: -ms-flexbox;
    display: flex;
  }
  #addGroup1 {
    display: none;
  }
}
#addGroup:hover,
#addGroup1:hover {
  background-color: #b9b6b5;
}
.body-content {
  position: relative;
}
.main {
  position: fixed;
  top: var(--hdr-height);
  left: var(--nav-width);
  bottom: 0;
  right: 0;
}
@media (max-width: 416px) {
  .main {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }
}
@media (max-width: 416px) {
  body.item-selected .main {
    -ms-transform: translateX(0);
        transform: translateX(0);
  }
}
.main-head h1 {
  font-size: 22px;
}
.main-head h1 .item-name {
  min-width: 0;
  white-space: nowrap;
  max-width: 80vw;
  overflow: hidden;
  word-break: break-all;
}
@media (max-width: 416px) {
  .main-head {
    padding-right: 0;
  }
  .main-head h1 {
    -ms-flex-item-align: stretch;
        -ms-grid-row-align: stretch;
        align-self: stretch;
  }
  .main-head h1 .item-name {
    -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    word-break: break-all;
  }
  .main-head h1 .item-edit {
    margin-left: auto;
  }
}
@media (max-width: 899px) {
  .main-head {
    min-height: 1em;
  }
}
.main-head h1 {
  margin: 0;
  max-width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.main-head h1 > svg:first-child {
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}
.main-head h1 .item-name {
  margin-left: 8px;
  margin-right: 8px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  word-break: break-all;
}
.main-head h1 .item-name svg {
  -ms-transform: scale(0.6);
      transform: scale(0.6);
}
@media (min-width: 600px) {
  .main-head h1 {
    font-size: 24px;
    max-width: 80%;
    padding-left: 32px;
  }
  .main-head h1 .item-name svg {
    -ms-transform: scale(0.8);
        transform: scale(0.8);
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .main-head h1 {
    margin: 8px 0px;
  }
}
@media (min-width: 900px) {
  .main-head h1 {
    padding-left: 54px;
    padding-right: 15px;
  }
}
@media (max-width: 899px) {
  .main-head .hdr-delete-btn {
    position: absolute;
    right: 32px;
    top: 20px;
  }
  .main-head .hdr-delete-btn span {
    display: none;
  }
}
#groupList .item-name i {
  margin-left: 1em;
  opacity: 0.4;
  font-style: normal;
}
#groupList li:last-child {
  margin-bottom: 64px;
}
/* hide sensor control and schedules for switches */
.sw-control #main-group a:nth-child(3),
.sw-control #main-group a:nth-child(4) {
  display: none;
}
.main.no-lights #main-group .list-group a:not(:nth-child(2)) > * {
  opacity: 0.3;
}
.main.no-switches #main-group .list-group a:nth-child(4) > * {
  opacity: 0.3;
}
#main-group .badge {
  min-height: 24px;
  min-width: 24px;
  border-radius: 12px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  float: unset;
  padding: 4px 0;
}
#main-group .badge span {
  margin: 0px 6px;
  margin-top: auto;
  padding: 0px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: end;
      align-self: flex-end;
}
.shadow-top {
  /*box-shadow: inset 0 4px 8px -4px #b1b1b1;*/
  box-shadow: inset 0 5px 3px -4px rgba(0, 0, 0, 0.5);
}
.shadow-bottom {
  box-shadow: inset 0 -4px 8px -4px #b1b1b1;
}
.shadow-top.shadow-bottom {
  box-shadow: inset 0 5px 3px -4px rgba(0, 0, 0, 0.5), inset 0 -4px 8px -4px #b1b1b1;
}
.main-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: auto;
      flex: auto;
  margin-right: 0;
  padding-left: 0px;
  position: relative;
}
@media (min-width: 900px) {
  .main-content {
    padding-left: 54px;
  }
}
#sceneListMain .no-lights {
  opacity: 0.3;
}
#main-switch {
  display: none;
  left: 400px;
}
#main-switch #switch {
  -ms-flex: 1;
      flex: 1;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  max-width: 316px;
}
@media (min-width: 900px) {
  #main-switch {
    display: inherit;
  }
}
@media (min-width: 1200px) {
  #main-switch {
    left: 432px;
  }
}
#main-switch.main-list {
  background: none;
}
#main-group .li-state {
  fill: none;
}
.empty-info {
  right: 0;
  left: 0;
}
#main-lamp.empty .topic-row > * {
  visibility: hidden;
}
#main-lamp.empty .list-group-main {
  background: none;
}
#main-scene.empty .list-group-main {
  background: none;
}
.main-list {
  top: 0px;
  left: 5%;
  width: var(--main-list-width);
  bottom: calc(48px + 0px);
  margin-bottom: 0px;
}
.main-list.page-left {
  -ms-transform: translateX(-110%);
      transform: translateX(-110%);
}
@media (max-width: 599px) {
  .main-list .hdr-toggle-row {
    display: none;
  }
}
.main-list .list-group-item {
  padding: 4px 15px;
}
.main-list .list-group-item .item-icon {
  -ms-transform: scale(0.8);
      transform: scale(0.8);
}
@media (min-width: 600px) and (max-width: 899px) {
  .main-list {
    top: 16px;
    left: 32px;
    right: 124px;
    height: calc(400px - 16px);
    margin-bottom: 0px;
  }
}
@media (min-width: 600px) {
  .main-list {
    left: 32px;
  }
}
@media (min-width: 900px) {
  .main-list {
    bottom: 100px;
  }
}
@media (min-width: 1200px) {
  .main-list {
    left: 48px;
  }
  .main-list .list-group-item {
    padding: 8px 15px;
  }
  .main-list .list-group-item .item-icon {
    -ms-transform: scale(1);
        transform: scale(1);
  }
}
@media (max-width: 416px) {
  #main-group.main-list .list-group-main a.smart-phone-disabled {
    display: none;
    pointer-events: none;
    color: #afafaf;
    --ic-line: #afafaf;
    --ic-fill: #afafaf;
    background-color: rgb(244 245 244);
  }
}
.symbol-nav {
  position: fixed;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-align: baseline;
      align-items: baseline;
  z-index: 3;
}
.symbol-nav .go-there-arrow {
  display: none;
  opacity: 0;
  --ic-fill: var(--bg-alt);
  position: absolute;
  top: -40px;
  right: 10%;
  -ms-transform: rotate(-90deg) translateY(0);
      transform: rotate(-90deg) translateY(0);
  display: unset;
}
@media (min-width: 900px) {
  .symbol-nav .go-there-arrow {
    transition: transform 200ms ease-out, opacity 200ms ease-out;
  }
}
@media (max-width: 899px) {
  .symbol-nav .go-there-arrow {
    top: unset;
    bottom: 20%;
    right: 88%;
    -ms-transform: rotate(180deg) translateX(16px);
        transform: rotate(180deg) translateX(16px);
  }
}
@media (min-width: 900px) {
  .symbol-nav .go-there-arrow {
    -ms-transform: rotate(270deg) translateX(16px);
        transform: rotate(270deg) translateX(16px);
  }
}
@media (min-width: 1200px) {
  .symbol-nav .go-there-arrow {
    right: 9.5%;
  }
}
.symbol-nav.settings-hint .go-there-arrow {
  opacity: 1;
}
@media (max-width: 416px) {
  .symbol-nav.settings-hint .go-there-arrow {
    top: -40px;
    right: 10%;
    -ms-transform: rotate(-90deg) translateY(0);
        transform: rotate(-90deg) translateY(0);
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .symbol-nav.settings-hint .go-there-arrow {
    top: unset;
    bottom: 20%;
    right: 88%;
    -ms-transform: rotate(180deg) translateX(0px);
        transform: rotate(180deg) translateX(0px);
  }
}
@media (min-width: 900px) {
  .symbol-nav.settings-hint .go-there-arrow {
    -ms-transform: rotate(270deg) translateX(0px);
        transform: rotate(270deg) translateX(0px);
  }
}
@media (min-width: 1200px) {
  .symbol-nav.settings-hint .go-there-arrow {
    right: 9.5%;
  }
}
.symbol-nav .small-screen-info {
  display: none;
}
@media (max-width: 416px) {
  .symbol-nav {
    bottom: 8px;
    width: 80%;
    left: 10%;
  }
  .symbol-nav svg {
    -ms-transform: scale(0.65);
        transform: scale(0.65);
  }
  .symbol-nav label {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .symbol-nav {
    width: 100px;
    height: 320px;
    -ms-flex-direction: column;
        flex-direction: column;
    right: 12px;
    top: 196px;
    -ms-flex-align: center;
        align-items: center;
  }
  .symbol-nav label {
    visibility: hidden;
  }
}
.symbol-nav label {
  font-weight: normal;
}
@media (min-width: 900px) {
  .symbol-nav {
    left: 28vw;
    bottom: 16px;
    width: 31%;
    height: calc(48px + 12px + 18px);
  }
  .symbol-nav label {
    position: absolute;
    bottom: 0;
    width: 32%;
    text-align: center;
    margin-bottom: 0;
  }
  .symbol-nav label:nth-child(4) {
    left: 35%;
  }
}
@media (min-width: 1200px) {
  .symbol-nav {
    left: 340px;
    width: 332px;
  }
}
.symbol-nav * {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.sh-switch #main-switch {
  opacity: 1;
  z-index: 3;
  transition: opacity 100ms ease-in-out;
}
.sh-edit #main-group {
  opacity: 1;
  z-index: 3;
  transition: opacity 100ms ease-in-out;
}
.slider-main {
  position: absolute;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  top: 4px;
  left: 7%;
  bottom: 0;
  right: 8px;
}
.slider-main .perc-set {
  font-size: 14px;
  position: relative;
  left: -1px;
}
@media (max-width: 416px) {
  .slider-main .slider-cage {
    padding-bottom: 96px;
  }
  .slider-main .sl-slider svg {
    -ms-transform: scale(0.7);
        transform: scale(0.7);
  }
  .slider-main .sl-slider .sl-label {
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 20px;
  }
  .slider-main .sl-slider .bar .handle {
    width: 40px;
    height: 40px;
    left: -13px;
  }
  .slider-main #switchColorModeBtn {
    left: 30%;
  }
  .slider-main #switchColorModeBtn svg {
    -ms-transform: scale(0.7);
        transform: scale(0.7);
    font-size: 14px;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .slider-main {
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 400px;
    -ms-flex-align: center;
        align-items: center;
  }
  .slider-main .pe-label {
    display: none;
  }
  .slider-main .slider-cage {
    position: absolute;
    top: 32px;
    bottom: 0px;
    left: 32px;
    right: 32px;
    padding-top: 0;
    padding-bottom: 0px;
    max-height: 400px;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .slider-main .sl-label {
    display: none;
    margin-top: 0;
    margin-bottom: 24px;
  }
  .slider-main .sl-slider {
    width: 100%;
    height: 90px;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .slider-main .sl-slider .bar {
    -ms-flex: inherit;
        flex: inherit;
    margin-left: 0;
    width: 75%;
    height: 16px;
  }
  .slider-main .sl-slider .bar .handle {
    top: -16px;
    left: 0;
    width: 48px;
    height: 48px;
  }
  .slider-main .sl-slider + .sl-slider {
    margin-left: inherit;
  }
  .slider-main #switchColorModeBtn {
    left: 140px;
    right: 0;
  }
}
@media (min-width: 900px) {
  .slider-main {
    top: 0;
    left: 52%;
    bottom: 4px;
  }
}
@media (min-width: 1200px) {
  .slider-main {
    left: 464px;
  }
}
