@keyframes trInteractive {
  10% {
    background-color: rgba(85, 98, 107, 0.6);
  }
  100% {
    background-color: none;
  }
}
@keyframes swInteractive {
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes blinkStroke {
  50% {
    stroke-width: 7px;
    stroke: var(--sw-blink-color);
  }
}
@keyframes blinkFill {
  50% {
    stroke-width: 1px;
    stroke: var(--sw-blink-color);
    fill: var(--sw-blink-color);
  }
}
@keyframes slideBlind {
  50% {
    height: 15px;
  }
  100% {
    height: 10px;
  }
}
@keyframes slideBlindNew {
  50% {
    height: 65px;
  }
  100% {
    height: 60px;
  }
}
@keyframes fadeInPrev {
  0% {
    transform: translateX(-100vw);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeInNext {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeOutPrev {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100vw);
  }
}
@keyframes fadeOutNext {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100vw);
  }
}
@keyframes runprogress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes runopacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes clickEvTargetAnimation {
  0% {
    opacity: 0.3;
  }
  10% {
    opacity: 0.5;
  }
  20% {
    opacity: 0.7;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes clickEvHandAnimation {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes clickEvTextAndButtonAnimation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blinkSlideBtn {
  50% {
    background-color: #cccccc;
  }
}
:root {
  --default-padding: unset;
  --default-margin: unset;
  --main-views-padding-left: 54px;
  --main-views-padding-right: 16px;
  --main-views-width: 100%;
  --display-mq-desktop: inline;
  --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;
  --modal-title-font-size: 24px;
  --modal-btn-font-size: 18px;
  --progress-time: 120s;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
/* equal for all main views */
#overview,
#details,
.empty-div {
  padding-left: var(--main-views-padding-left);
  padding-right: var(--main-views-padding-right);
  width: var(--main-views-width);
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: max-content auto max-content;
      grid-template-rows: max-content auto max-content;
}
#overview .main-head,
#details .main-head,
.empty-div .main-head {
  -ms-flex-align: center;
      align-items: center;
  min-height: var(--main-head-min-height);
}
#overview .main-head h1,
#details .main-head h1,
.empty-div .main-head h1 {
  margin-top: var(--main-head-h1-margin-top);
  font-size: var(--main-head-font-size);
  padding-left: 2px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
/* Table view */
#overview .main-content {
  -ms-flex-direction: column;
      flex-direction: column;
  overflow: hidden;
  padding: unset;
}
#overview .main-content .dev-table-hdr b {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#overview .main-content .dev-table-hdr,
#overview .main-content #switchTable tr {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 88px (minmax(150px, 1fr))[auto-fit];
      grid-template-columns: 88px repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 16px;
  -ms-flex-align: center;
      align-items: center;
  border-top: 1px solid #dddddd;
}
#overview .main-content .dev-table-hdr.not-reachable,
#overview .main-content #switchTable tr.not-reachable {
  opacity: 0.5;
}
#overview .main-content .dev-table-hdr.active-row,
#overview .main-content #switchTable tr.active-row {
  animation: trInteractive 0.8s;
  animation-timing-function: ease-out;
}
#overview .main-content .dev-table-hdr td,
#overview .main-content #switchTable tr td {
  padding: 8px 0;
  border: unset;
  overflow: hidden;
  text-overflow: ellipsis;
}
#overview .main-content .dev-table-hdr .item-icon,
#overview .main-content #switchTable tr .item-icon {
  margin: auto;
  display: -ms-flexbox;
  display: flex;
  -ms-transform: scale(0.9);
      transform: scale(0.9);
}
#overview .main-content .dev-table-hdr {
  padding-top: 4px;
  padding-bottom: 8px;
  border: none;
  border-bottom: 1px solid var(--border-alt);
}
#overview .bottom-bar {
  margin: 32px 0;
}
/* Details view */
#details .main-content {
  padding-top: var(--main-content-padding-top);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 150px max-content;
      grid-template-columns: 150px max-content;
  grid-gap: 34px;
  padding-left: unset;
}
#details .main-content #detailInfos {
  display: -ms-grid;
  display: grid;
  grid-auto-rows: min-content;
  grid-gap: 16px;
}
#details .main-content #detailInfos span[data-translateid] {
  opacity: 0.6;
}
#details .main-content #detailInfos > div:not(.switch-connected) {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 100px auto;
      grid-template-columns: 100px auto;
  grid-column-gap: 20px;
  grid-row-gap: 6px;
  -ms-flex-align: center;
      align-items: center;
}
#details .main-content #detailInfos .con-switch {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#details .main-content #detailInfos .con-switch span {
  -ms-flex: 1;
      flex: 1;
}
#details .main-content #detailInfos .con-switch .ic-line {
  stroke: rgba(62, 78, 82, 0.53);
  stroke-width: 2px;
}
#details .main-content .range-slider {
  background-color: lightgray;
  width: 28px;
  height: 200px;
  display: block;
  border-radius: 34px;
  position: relative;
  margin: 0 auto;
}
#details .main-content .range-slider .slider-container {
  background-color: #7e7e7e;
  position: relative;
  width: 100%;
  border-radius: 34px;
  display: block;
}
#details .main-content .range-slider .bar {
  position: absolute;
  height: 38px;
  width: 38px;
  display: block;
  left: -5px;
  opacity: 0.98;
  border-radius: 32px;
  outline: none;
  border: 4px solid #6f6c6a;
  background-color: #f8f8fe;
  box-shadow: 1px 1px 4px 0px #787878;
}
#details .main-content .range-slider .touch-info {
  position: absolute;
  height: 40px;
  width: 60px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  left: -78px;
  border-radius: 8px;
  opacity: 0;
  outline: none;
  border: 2px solid #6f6c6a;
  transition: opacity 0.25s;
}
#details .main-content .range-slider .touch-info.show-info {
  opacity: 0.98;
  transition: opacity 0.25s;
}
#details .main-content .range-slider .touch-info::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 101%;
  border-top: 10px solid;
  border-bottom: 10px solid;
  border-left: 10px solid;
  border-color: transparent transparent transparent #fafafa;
}
#details .main-content .range-slider .touch-info::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 102%;
  border-top: 12px solid;
  border-bottom: 12px solid;
  border-left: 12px solid;
  border-color: transparent transparent transparent #716e6c;
}
#details .svg-icon {
  height: 48px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  width: auto;
}
#details #deleteSwitches_btn {
  padding-right: var(--main-head-del-btn-padding-right);
  --display-mq-desktop: flex;
}
/* Empty view */
.empty-div .main-content {
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  padding-top: 20vh;
}
/* Details Switch Wizard */
#blindWizardModal .modal-header {
  position: relative;
}
#blindWizardModal .modal-content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 580px;
}
#blindWizardModal .modal-content.fade-out {
  z-index: -1;
  box-shadow: none;
}
#blindWizardModal .modal-body li {
  color: #333333;
  background-color: #dcdcdc;
  cursor: default;
  border-radius: 4px;
  margin: 8px 8px;
  padding: 8px 8px;
  min-width: 210px;
  height: 64px;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
      align-items: center;
  border: 2px solid transparent;
}
#blindWizardModal .modal-body li .item-name {
  white-space: nowrap;
}
#blindWizardModal .modal-body li .item-icon.generated-sw-svg {
  height: 38px;
  width: 38px;
}
#blindWizardModal .modal-body li .active-switch {
  background-color: #abb8c1;
}
#blindWizardModal .modal-body #switchModalList {
  margin: unset;
  padding: unset;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  width: 100%;
}
#blindWizardModal .modal-body #switchModalList .item-name {
  white-space: unset;
}
#blindWizardModal .modal-body #switchModalList .svg-icon {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  max-height: unset;
}
#blindWizardModal .modal-body #switchFuncList {
  box-shadow: inset 0px 0px 0px 1px #dcdbdb;
  z-index: 3;
  border-radius: 4px;
}
#blindWizardModal .modal-body #switchFuncList .active-func {
  background-color: #f8f8f8;
  box-shadow: inset 8px 0px 0px 0px #dddddd;
  transition: all 100ms ease-out;
}
#blindWizardModal .modal-body #switchFuncList input[type=number]::-webkit-outer-spin-button,
#blindWizardModal .modal-body #switchFuncList input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
#blindWizardModal .modal-body .interactive .sw-target {
  background-color: white;
  fill: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease-out;
  display: block;
}
#blindWizardModal .modal-body .interactive .active-target {
  fill: rgba(85, 98, 107, 0.6) !important;
  background-color: #55626b;
}
#blindWizardModal .modal-body .input-group {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: min-content auto min-content;
      grid-template-columns: min-content auto min-content;
}
#blindWizardModal .modal-body .input-group input {
  height: 100%;
  text-align: center;
}
#blindWizardModal .modal-body .input-group button {
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#blindWizardModal .modal-footer {
  position: relative;
  -ms-flex-pack: end;
      justify-content: flex-end;
}
#blindWizardModal .error-body-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
#blindWizardModal .error-body-content span {
  font-size: 22vh;
}
/* Scroll element */
.dev-scroll-cont {
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
/* shadow for .dev-scroll-cont */
.shadow-top {
  box-shadow: inset 0 4px 3px -5px rgba(0, 0, 0, 0.75);
}
.shadow-bottom {
  box-shadow: inset 0 -4px 4px -5px rgba(0, 0, 0, 0.75);
}
.shadow-top.shadow-bottom {
  box-shadow: inset 0 4px 3px -5px rgba(0, 0, 0, 0.75), inset 0 -4px 4px -5px rgba(0, 0, 0, 0.75);
}
.fade-in {
  right: unset;
  left: unset;
}
.fade-in.animate-prev {
  animation: fadeInPrev 0.15s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.fade-in.animate-next {
  animation: fadeInNext 0.15s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.fade-out {
  right: unset;
  left: unset;
}
.fade-out.animate-prev {
  animation: fadeOutPrev 0.15s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.fade-out.animate-next {
  animation: fadeOutNext 0.15s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.progress-bar-wizard {
  width: 100%;
  height: 3px;
  background-color: #e5e5e5;
  position: absolute;
  right: 0;
  top: 0;
}
.progress-bar-wizard.running {
  -ms-transform-origin: right;
      transform-origin: right;
  animation: runprogress var(--progress-time), runopacity 20s;
  animation-timing-function: linear;
}
.battery,
.bri {
  display: var(--attribute-display);
}
#details.swversion .swversion,
#details.battery .battery,
#details.state .state,
#details.bri .bri,
#details .generals {
  --attribute-display: grid;
}
.swversion,
.battery,
.state,
.bri {
  --attribute-display: none;
}
.context-menu-box {
  position: relative;
}
.context-menu-box .context-menu {
  display: none;
  list-style: none;
  position: absolute;
  margin: 0;
  padding: 0;
  right: 12px;
  border: solid 0.5px #cccccc;
  border-radius: 5px;
  background-color: white;
  z-index: 10;
  top: 24px;
}
.context-menu-box .context-menu li {
  padding: 8px 12px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: min-content min-content;
      grid-template-columns: min-content min-content;
  grid-gap: 8px;
  -ms-flex-align: center;
      align-items: center;
}
.context-menu-box .context-menu li:not(:first-child) {
  border-top: solid 1px #cccccc;
}
.context-menu-box.show-context .context-menu {
  display: inline;
}
.context-menu-box.show-context .context-menu-outer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff01;
  z-index: 1;
}
@media (max-width: 1199px) {
  :root {
    --main-content-padding-top: 64px;
  }
  .dev-table-hdr b:nth-child(5),
  #switchTable tr b:nth-child(5),
  .dev-table-hdr td:nth-child(5),
  #switchTable tr td:nth-child(5) {
    display: none !important;
  }
}
@media (max-width: 899px) {
  :root {
    --main-views-padding-left: 32px;
    --main-head-del-btn-padding-right: 12px;
    --main-content-padding-top: 0px;
  }
  .dev-table-hdr b:nth-child(3),
  #switchTable tr b:nth-child(3),
  .dev-table-hdr td:nth-child(3),
  #switchTable tr td:nth-child(3) {
    display: none !important;
  }
  #details .main-head {
    -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
  }
  #details .main-head h1 {
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
  #details .main-head #deleteSwitches_btn {
    -ms-flex-item-align: end;
        align-self: flex-end;
    margin-top: 28px;
  }
  #details .main-content {
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-grid-columns: unset;
        grid-template-columns: unset;
    -ms-grid-rows: max-content auto;
        grid-template-rows: max-content auto;
    grid-gap: 12px;
  }
  #details .main-content #detailImg {
    margin: 0 4vw 0 9vw;
  }
  #details .main-content #control {
    margin-left: 4vw;
  }
  #details .main-content #detailInfos {
    margin-left: 9vw;
    padding-top: var(--main-content-padding-top);
  }
}
@media (max-height: 420px) and (min-width: 416px) {
  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 #blindWizardModal .modal-body .div-svg svg {
    height: 27vw;
  }
  html #blindWizardModal .modal-body .product-list svg,
  html #blindWizardModal .modal-body .product-list img {
    width: auto;
    height: 24vw;
  }
}
@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;
  }
  .body-content {
    background-color: var(--bg-alt);
  }
  .body-content #deleteSwitches_btn.mq-desktop {
    --display-mq-desktop: none !important;
  }
  .body-content .dev-table-hdr b:nth-child(4),
  .body-content #switchTable tr b:nth-child(4),
  .body-content .dev-table-hdr td:nth-child(4),
  .body-content #switchTable tr td:nth-child(4) {
    display: none !important;
  }
  .body-content #overview .main-head,
  .body-content #details .main-head,
  .body-content .empty-div .main-head {
    -ms-flex-align: unset;
        align-items: unset;
  }
  .body-content #overview .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"],
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"],
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"] {
    padding-right: 20px;
    height: 18px;
  }
  .body-content #overview .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"] svg,
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"] svg,
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_BLIND_PRESSED"] svg {
    z-index: 1;
  }
  .body-content #overview .main-head h1,
  .body-content #details .main-head h1,
  .body-content .empty-div .main-head h1 {
    padding: unset;
    margin: unset;
    padding-left: 20px;
    -ms-flex-pack: start;
        justify-content: flex-start;
  }
  .body-content #overview .main-head h1 span,
  .body-content #details .main-head h1 span,
  .body-content .empty-div .main-head h1 span {
    -ms-flex: 1;
        flex: 1;
  }
  .body-content #overview #empty-info,
  .body-content #details #empty-info,
  .body-content .empty-div #empty-info {
    padding-left: 20px;
  }
  .body-content #details .main-head {
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-align: center;
        align-items: center;
  }
  .body-content #details .main-head h1 {
    -ms-flex-item-align: unset;
        -ms-grid-row-align: unset;
        align-self: unset;
  }
  .body-content #details .main-content {
    padding-bottom: 20px;
    -ms-grid-columns: unset;
        grid-template-columns: unset;
    -ms-grid-rows: max-content auto;
        grid-template-rows: max-content auto;
    grid-gap: 12px;
  }
  .body-content #details .main-content #control {
    height: 28vh;
    width: unset;
  }
  .body-content #details .main-content #control button {
    height: 8vh;
    width: 100%;
    padding: unset;
  }
  .body-content #details .main-content #detailInfos {
    overflow-y: auto;
    height: 44vh;
  }
  #blindWizardModal .modal-body {
    -ms-flex-pack: unset;
        justify-content: unset;
    padding-top: unset !important;
  }
  #blindWizardModal .modal-body .div-svg {
    margin-top: 6vh;
    width: 90vw;
  }
  #blindWizardModal .modal-body .div-svg svg {
    width: 90vw;
  }
  #blindWizardModal .modal-body .div-svg button {
    margin-top: 8vh;
  }
  #blindWizardModal .modal-body #switchModalList,
  #blindWizardModal .modal-body #switchFuncList {
    margin: 0px;
    padding: 0px;
    width: 100vw;
  }
  #blindWizardModal .modal-body #switchModalList > li,
  #blindWizardModal .modal-body #switchFuncList > li,
  #blindWizardModal .modal-body #switchModalList > a,
  #blindWizardModal .modal-body #switchFuncList > a {
    all: unset;
    width: 94vw;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e5e5;
    border-radius: unset;
    font-size: 20px;
  }
  #blindWizardModal .modal-body #switchModalList > li .item-name,
  #blindWizardModal .modal-body #switchFuncList > li .item-name,
  #blindWizardModal .modal-body #switchModalList > a .item-name,
  #blindWizardModal .modal-body #switchFuncList > a .item-name {
    -ms-flex: 1;
        flex: 1;
  }
  #blindWizardModal .modal-body .btn-next {
    margin-top: 8vh;
  }
  #blindWizardModal .modal-body .note {
    margin: 18px 0px;
  }
  #blindWizardModal .modal-dialog,
  #blindWizardModal .modal-content,
  #blindWizardModal .error-body-content {
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    height: 100%;
    width: 100%;
    margin: unset;
    min-height: unset;
  }
  #blindWizardModal .modal-title {
    -ms-flex-direction: row;
        flex-direction: row;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
  }
  #blindWizardModal .modal-title > span {
    -ms-flex: 1;
        flex: 1;
  }
  #blindWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"] {
    --display-mq-phone: flex;
    padding: 8px;
    padding-right: 20px;
  }
  #blindWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"] {
    --display-mq-phone: flex;
    padding: 8px;
    padding-left: 20px;
  }
  #blindWizardModal .product-name {
    -ms-flex-item-align: end;
        align-self: flex-end;
    font-size: var(--modal-btn-font-size);
    opacity: 0.6;
  }
  #blindWizardModal .error-body-content .mq-phone {
    --display-mq-phone: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #blindWizardModal .error-body-content div:not(.mq-phone) {
    font-size: var(--modal-btn-font-size);
  }
  #blindWizardModal .error-body-content svg {
    -ms-flex: 0.7;
        flex: 0.7;
    max-width: 80vw;
  }
  #blindWizardModal .error-body-content button {
    margin-top: 20px;
  }
  #blindWizardModal .description.bottom {
    -ms-flex-direction: column;
        flex-direction: column;
    bottom: 16vh !important;
  }
  #blindWizardModal .description.bottom p,
  #blindWizardModal .description.bottom p + p {
    max-width: unset !important;
    padding: unset !important;
  }
  #blindWizardModal .modal-footer {
    display: none;
  }
}
