/* display scenes button as disabled */
.no-scenes .symbol-nav svg:nth-child(3),
.no-scenes .symbol-nav label:nth-child(4) {
  opacity: 0.3;
}
.all-off-dot-menu {
  -webkit-filter: invert(98%) sepia(3%) saturate(3758%) hue-rotate(179deg) brightness(108%) contrast(92%);
          filter: invert(98%) sepia(3%) saturate(3758%) hue-rotate(179deg) brightness(108%) contrast(92%);
}
.main.no-scenes #main-group .list-group a:nth-child(1) > * {
  opacity: 0.3;
}
@media (max-width: 1199px) {
  #linkToGroupSensors {
    display: none;
  }
}
#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;
}
.topic-col h3 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
}
.nav-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row-reverse;
      flex-direction: row-reverse;
  -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: 95%;
    -ms-flex-direction: row;
        flex-direction: row;
  }
  .topic-col {
    min-height: 104px;
  }
}
#allOffModal .info {
  margin-bottom: -13px;
}
#allOffMenuGroup {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  background-color: #848180;
  border-radius: 20px;
  width: 90px;
}
#allOffMenuGroup #allOffBtn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  height: 35px;
}
#allOffMenuGroup #allOffEditBtn {
  -ms-flex-align: center;
      align-items: center;
  display: -ms-flexbox;
  display: flex;
  border-right: solid 1px;
  border-right-color: #adaaa9;
  border-radius: 0px;
  width: 38px;
}
.controlls .selectall {
  background-color: white;
  border: 1px solid #737373;
}
.controlls .devicetype button {
  margin: 1px 0px;
}
.controlls .devicetype button:not(.btn-default):hover {
  background-color: white;
}
#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;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: auto;
      flex: auto;
  -ms-flex-direction: column;
      flex-direction: column;
  padding-bottom: 16px;
  transition: opacity 100ms ease-out;
}
.main .h-group-control {
  display: none;
}
.main .h-light-control {
  display: inherit;
}
.main.no-group {
  opacity: 0;
}
@media (max-width: 599px) {
  .main {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }
}
@media (max-width: 599px) {
  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: 599px) {
  .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;
}
#main-group .betabadge {
  border-radius: 17px;
  color: white;
  padding: 0px 7px;
  margin-right: 10px;
  background-color: #cdcdcd;
}
.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;
}
.select-icon {
  opacity: 0.2;
}
.selected .select-icon {
  opacity: 1;
}
.toggled-off {
  scale: 0;
}
.toggled-on {
  scale: 0.5;
}
#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: 599px) {
  #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: 599px) {
  .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: 599px) {
  .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;
  }
}
@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 .perc-set {
  font-size: 14px;
  position: relative;
  left: -1px;
}
@media (max-width: 599px) {
  .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;
  }
}
