@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-desktop-flex: 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;
  --modal-title-font-size: 24px;
  --modal-btn-font-size: 18px;
  --progress-time: 120s;
  --attribute-display: grid;
  --blind-height: 100%;
  --ikea-blind-length-reset: 100%;
  --detail-img-margin: 0 4vw 0 2vw;
}
#searchSensor {
  padding: 8px 16px;
  width: 200px;
  margin: 2px;
  margin-bottom: 20px;
  margin-left: auto;
}
.placeholder {
  opacity: 0.4;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
.mq-desktop.hdr-delete-btn {
  display: var(--display-mq-desktop-flex) !important;
}
img {
  visibility: hidden;
}
svg {
  position: relative;
}
svg.item-icon {
  -ms-transform: scale(0.9);
      transform: scale(0.9);
  margin: auto;
}
svg.detect-icon {
  --ic-fill: transparent;
  width: 24px;
  height: 24px;
}
svg.detect-icon:not(.magnet) {
  opacity: 0.5;
}
svg.detect-icon:not(.magnet).detected {
  opacity: 1;
}
svg.detect-icon.magnet .sn-line:nth-child(2) {
  transform-box: fill-box;
  -ms-transform: translate(371px, -28px) rotate(-17deg);
      transform: translate(371px, -28px) rotate(-17deg);
  transition: cubic-bezier(0.28, 0.11, 1, 0) 85ms;
  -ms-transform-origin: 28.6% 79.6%;
      transform-origin: 28.6% 79.6%;
}
svg.detect-icon.magnet.detected .sn-line:nth-child(2) {
  transform-box: fill-box;
  -ms-transform: translate(371px, -32px) rotate(0deg);
      transform: translate(371px, -32px) rotate(0deg);
  transition: cubic-bezier(0.94, 0.01, 1, 0.1) 120ms;
  -ms-transform-origin: 28.6% 79.6%;
      transform-origin: 28.6% 79.6%;
}
svg .sw-target,
svg .sw-corner {
  opacity: 0.001;
}
svg .sw-target[data-btn],
svg .sw-corner[data-btn] {
  display: block;
}
svg .sw-wizzard text {
  display: none;
}
svg .stoff-band {
  fill-opacity: 0.9 !important;
  stroke-opacity: 0.9 !important;
}
svg .gear-led {
  display: none;
}
svg.gear-start .led-start {
  display: inline;
}
svg.gear-reset .led-reset {
  display: inline;
}
svg.gear-fail .led-fail {
  display: inline;
}
svg.gear-zigbee .led-zigbee {
  display: inline;
}
svg.gear-height-top .led-height-top {
  display: inline;
}
svg.gear-height-bottom .led-height-bottom {
  display: inline;
}
.main-head,
.main-head > h1,
.main-content {
  padding: var(--default-padding);
}
/* 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);
}
/* Svg wizard pages viewbox */
.view-box {
  display: none;
}
.view-box-show .view-box {
  display: inline;
}
/* 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;
}
#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 b .sort-target {
  fill: transparent;
}
#overview .main-content .dev-table-hdr b .sort-icon {
  height: 24px;
  width: auto;
  margin-left: 10px;
}
#overview .main-content .dev-table-hdr b .sort-icon.sort-asc .sort-target-asc {
  fill: #55626b;
}
#overview .main-content .dev-table-hdr b .sort-icon.sort-desc .sort-target-desc {
  fill: #55626b;
}
#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;
}
#overview .main-content .dev-table-hdr:not(:first-child),
#overview .main-content #switchTable tr:not(:first-child) {
  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 {
  padding-top: 4px;
  padding-bottom: 8px;
  border: none;
  border-bottom: 1px solid var(--border-alt);
}
#overview .main-content #tableArrowTop {
  opacity: 0;
  position: absolute;
  right: 4px;
  top: 4px;
  float: right;
  -ms-transform: rotate(90deg);
      transform: rotate(90deg);
  transition: opacity 0.6s;
}
#overview .main-content #tableArrowTop.active-sw {
  opacity: 1;
  transition: opacity 0.2s;
}
#overview .main-content #tableArrowBottom {
  opacity: 0;
  position: absolute;
  right: 4px;
  bottom: 4px;
  float: right;
  -ms-transform: rotate(270deg);
      transform: rotate(270deg);
}
#overview .main-content #tableArrowBottom.active-sw {
  opacity: 1;
  transition: opacity 0.2s;
}
#overview .bottom-bar {
  margin: 32px 0;
}
/* 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 view */
#details .main-content {
  padding-top: var(--main-content-padding-top);
}
#details .svg-icon {
  height: 48px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  width: auto;
  margin-right: 16px;
}
#details #deleteSwitches_btn {
  padding-right: var(--main-head-del-btn-padding-right);
}
#details #detailImg {
  width: 200px;
  height: auto;
  max-height: 200px;
  /* .sw-extra-hide {
            display: none;
        } */
}
#details #detailImg #phTargets {
  display: inline;
}
#details #detailImg .sw-target.active-target {
  fill: rgba(85, 98, 107, 0.6) !important;
  visibility: visible;
  animation: swInteractive 0.8s;
  animation-timing-function: ease-out;
}
#details #detailImg .sw-extra.sw-extra-show {
  display: block;
  visibility: visible;
}
#details #detailImg .sw-extra.sw-extra-show text {
  visibility: hidden;
}
#details #detailImg.sw-extra-fill .sw-extra .sw-fill {
  fill: #bbbbbb;
}
#details #detailInfos {
  display: -ms-grid;
  display: grid;
  grid-auto-rows: min-content;
  grid-gap: 16px;
}
#details #detailInfos span[data-translateid] {
  opacity: 0.6;
}
#details #detailInfos .data-val i {
  opacity: 0.5;
  font-size: 90%;
}
#details #detailInfos .data-val.alarm {
  display: -ms-grid;
  display: grid;
  -ms-flex-align: center;
      align-items: center;
  grid-gap: 5px;
  -ms-grid-columns: max-content max-content;
      grid-template-columns: max-content max-content;
}
#details #detailInfos > div {
  display: var(--attribute-display);
  -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 #detailInfos > div .version-ok {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#details #detailInfos > div.sensor-states,
#details #detailInfos > div.sensor-generals {
  -ms-grid-columns: 120px auto;
      grid-template-columns: 120px auto;
}
#details #detailInfos .select-control-switch span,
#details #detailInfos .select-control-switch select {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#details #detailInfos #devUpdate a {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#details #detailInfos #devUpdate button {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
  max-width: 192px;
}
#details #detailInfos #vsExtra {
  opacity: 0.5;
  font-size: 90%;
  margin-left: 5px;
}
#details #detailInfos #vsExtra:empty {
  display: none;
}
#details #detailImg {
  margin: var(--detail-img-margin);
}
#details #phModuleMode,
#details #lightingSwitchMode {
  --attribute-display: none;
}
#details.devicemode #phModuleMode {
  --attribute-display: grid;
  -ms-grid-columns: 100px auto;
      grid-template-columns: 100px auto;
  grid-gap: 12px 20px;
}
#details.devicemode #phModuleMode button {
  -ms-grid-column: 2;
      grid-column: 2;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
#details.l-switch-mode #lightingSwitchMode {
  --attribute-display: grid;
  -ms-grid-columns: 100px auto;
      grid-template-columns: 100px auto;
  grid-gap: 12px 20px;
}
#details.l-switch-mode #lightingSwitchMode button {
  -ms-grid-column: 2;
      grid-column: 2;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
#phConfigModal .modal-body {
  display: -ms-grid;
  display: grid;
  grid-gap: 12px;
  padding-left: 64px;
}
#phConfigModal .modal-body .ph-module-num-btn,
#phConfigModal .modal-body .ph-module-mode {
  cursor: pointer;
}
#phConfigModal .modal-body h4 {
  font-size: 19px;
}
#phConfigModal .modal-body .ph-svg-box {
  display: -ms-grid;
  display: grid;
  -ms-flex-align: start;
      align-items: flex-start;
  grid-gap: 12px;
}
#phConfigModal .modal-body .ph-svg-box > span {
  margin: 0 16px 0 8px;
}
#phConfigModal .modal-body .ph-svg-box svg {
  min-width: unset;
  margin: unset;
  width: 38px;
  height: 38px;
}
#phConfigModal .modal-body .ph-svg-box svg [data-btn] {
  display: none;
}
#phConfigModal .modal-body .ph-svg-box div {
  display: -ms-grid;
  display: grid;
  grid-gap: 4px;
  -ms-grid-columns: (max-content)[3];
      grid-template-columns: repeat(3, max-content);
}
#phConfigModal .modal-body .ph-svg-box div > span {
  min-width: unset;
}
#phConfigModal .modal-body .ph-svg-box div > span:nth-child(2) {
  margin-left: 8px;
}
#phConfigModal .modal-body .ph-svg-box div .ph-text {
  margin-left: 12px;
}
#phConfigModal .modal-body small {
  padding-left: 26px;
  font-size: 80%;
  color: #8a8787;
  margin: 0px;
  padding-bottom: 0px;
}
#phConfigModal .modal-body small#rockerInfo {
  margin-top: 38px;
  padding-left: unset;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: max-content auto;
      grid-template-columns: max-content auto;
  -ms-flex-align: start;
      align-items: start;
  grid-gap: 8px;
}
#phConfigModal .modal-body span {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  position: relative;
}
#phConfigModal .modal-body span label {
  font-weight: unset;
  margin-left: 4px;
  margin-bottom: unset;
  cursor: pointer;
}
#phConfigModal .modal-body span input {
  margin: 0;
  opacity: 0;
  cursor: pointer;
  min-width: unset !important;
  margin-right: 8px;
}
#phConfigModal .modal-body span input:checked ~ .checkmark {
  box-shadow: inset 0 0 0 2px #f5f5f5;
  background-color: #78787b;
}
#phConfigModal .modal-body span .checkmark {
  position: absolute;
  height: 13px;
  width: 13px;
  background-color: #f5f5f5;
  border: 0.5px solid #78787b;
  border-radius: 50px;
  /*z-index: -1;*/
}
/* Switch wizard view */
#switchWizardModal svg .sw-extra {
  display: none;
}
#switchWizardModal .modal-title {
  font-size: var(--modal-title-font-size) !important;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"] {
  padding-right: 40px;
  -ms-flex-align: center;
      align-items: center;
}
#switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"] svg {
  vertical-align: middle;
}
#switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"] {
  -ms-flex-align: center;
      align-items: center;
  padding-left: 40px;
  margin-left: auto;
}
#switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"] svg {
  -ms-transform: rotate(180deg);
      transform: rotate(180deg);
  vertical-align: middle;
}
#switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"].disabled {
  opacity: 0.65;
}
#switchWizardModal .modal-content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 580px;
}
#switchWizardModal .modal-content.fade-out {
  z-index: -1;
  box-shadow: none;
}
#switchWizardModal .modal-header {
  position: relative;
}
#switchWizardModal .modal-body #phModuleMode {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: max-content max-content;
      grid-template-columns: max-content max-content;
  grid-column-gap: unset;
  grid-row-gap: 38px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
#switchWizardModal .modal-body #phModuleMode .ph-module-num-btn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
      justify-content: flex-start;
}
#switchWizardModal .modal-body #phModuleMode .ph-module-num-btn .item-icon {
  margin: unset;
  margin-right: 12px;
  height: 48px;
}
#switchWizardModal .modal-body #phModuleMode small {
  padding-left: 26px;
  font-size: 80%;
  color: #8a8787;
  margin: 0px;
  padding-bottom: 0px;
}
#switchWizardModal .modal-body #phModuleMode > div:nth-child(1) {
  margin-left: 40px;
}
#switchWizardModal .modal-body #phModuleMode .number-buttons {
  margin-top: 12.5px;
}
#switchWizardModal .modal-body #phModuleMode #rockerInfo {
  margin-top: 30px;
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
  text-align: center;
}
#switchWizardModal .modal-body #phModuleMode #phWizInfo {
  z-index: 100;
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
  text-align: center;
}
#switchWizardModal .modal-body #phModuleMode span:not(.ph-svg-box) {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  position: relative;
}
#switchWizardModal .modal-body #phModuleMode span:not(.ph-svg-box) label {
  font-weight: unset;
  margin-left: 4px;
  margin-bottom: unset;
  cursor: pointer;
}
#switchWizardModal .modal-body #phModuleMode span:not(.ph-svg-box) input {
  margin: 0;
  opacity: 0;
  cursor: pointer;
  min-width: unset !important;
  margin-right: 8px;
}
#switchWizardModal .modal-body #phModuleMode span:not(.ph-svg-box) input:checked ~ .checkmark {
  box-shadow: inset 0 0 0 2px #f5f5f5;
  background-color: #78787b;
}
#switchWizardModal .modal-body #phModuleMode span:not(.ph-svg-box) .checkmark {
  position: absolute;
  height: 13px;
  width: 13px;
  background-color: #f5f5f5;
  border: 0.5px solid #78787b;
  border-radius: 50px;
  z-index: 0;
}
#switchWizardModal .modal-body .div-svg {
  overflow: hidden;
  -ms-flex: 1;
      flex: 1;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#switchWizardModal .modal-body .div-svg svg {
  margin: 0 auto;
}
#switchWizardModal .modal-body .div-svg svg .animate-target {
  opacity: 1;
}
#switchWizardModal .modal-body .description.bottom {
  bottom: 0;
  padding-bottom: 8px;
}
#switchWizardModal .modal-body .change-mode {
  margin: auto;
  grid-column-gap: 20px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
}
#switchWizardModal .modal-body .page-install-inputs {
  width: 90%;
  margin: auto;
}
#switchWizardModal .modal-body .page-install-inputs .mask-input {
  position: absolute;
  letter-spacing: 0.1em;
}
#switchWizardModal .modal-body .page-install-inputs #macInput {
  background-color: #ffffff9c;
}
#switchWizardModal .modal-body .page-install-inputs #macInput:focus {
  padding: 6px 11px;
}
#switchWizardModal .modal-body .page-install-inputs #maskForMacInput {
  display: block;
  width: 100%;
  height: 39px;
  padding: 6px 12px;
  font-size: 17px;
  line-height: 1.52857143;
  color: #333;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
#switchWizardModal .modal-body .page-install-inputs #box {
  height: auto;
  margin-top: 15px;
}
#switchWizardModal .modal-body .page-install-inputs #box #detailsText {
  border: unset;
  padding: 0;
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  height: 0px;
  transition: all 0.2s linear;
}
#switchWizardModal .modal-body .page-install-inputs #box #detailsText span {
  padding: 4px 8px;
}
#switchWizardModal .modal-body .page-install-inputs #box #detailsText.open {
  border: 1px solid #cccccc;
  height: 20vh;
  transition: all 0.2s linear;
}
#switchWizardModal .modal-body .page-install-inputs #box #detailsBtn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
      justify-content: flex-start;
  -ms-flex-align: center;
      align-items: center;
}
#switchWizardModal .modal-body .sel-product svg {
  --ic-line: #c17e39;
}
#switchWizardModal .modal-body .sel-product svg .sw-button {
  stroke: #c17e39;
}
#switchWizardModal .modal-body .sel-product span {
  color: #c17e39;
}
#switchWizardModal .modal-body .led-active {
  stroke: #14fa01;
}
#switchWizardModal .modal-body .led-active-red {
  stroke: red;
}
#switchWizardModal .modal-footer {
  position: relative;
  -ms-flex-pack: end;
      justify-content: flex-end;
}
#switchWizardModal .error-body-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
#switchWizardModal .vendor-body-content {
  display: -ms-grid;
  display: grid;
  width: 100%;
  height: 100%;
  -ms-grid-rows: max-content max-content;
      grid-template-rows: max-content max-content;
}
#switchWizardModal .vendor-body-content h3 {
  text-align: center;
}
#switchWizardModal .vendor-body-content .btn {
  font-size: var(--modal-btn-font-size);
  border: none;
  border-radius: unset;
  text-align: left;
  width: 100%;
  background-color: transparent;
  padding: 6px;
}
#switchWizardModal .vendors {
  margin-top: 24px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(240px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-column-gap: 6px;
  grid-row-gap: 6px;
}
#switchWizardModal .vendors button {
  min-width: 100px;
}
#switchWizardModal .product-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(210px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-gap: 10px;
  height: 100%;
  width: 100%;
}
#switchWizardModal .product-list .product {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  width: 100%;
}
#switchWizardModal .product-list .product p {
  margin-top: 12.5px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#switchWizardModal .product-list .product p svg {
  width: 30px;
  height: auto;
  margin-bottom: unset;
}
#switchWizardModal .product-list .product p a {
  font-size: var(--modal-btn-font-size);
}
/* animation elements - animation.less */
.sw-led {
  --sw-blink-color: lightgray;
  display: inline;
  opacity: 1;
  fill: var(--sw-blink-color);
  stroke: var(--sw-blink-color);
}
.xiaomi-blink-led .sw-led,
.xiaomi-flash-led .sw-led {
  --sw-blink-color: #09b4f3;
}
.icasa-blink-led .sw-led,
.icasa-flash-led .sw-led,
.jugi-blink-led .sw-led,
.phil-blink-led .sw-led,
.de-blink-led .sw-led {
  --sw-blink-color: #00fd00;
}
.smartthings-blink-led .sw-led,
.de-blink-led-reset .sw-led,
.ikea-blink-led .sw-led {
  --sw-blink-color: orangered;
}
.lutron-blink-led .sw-led {
  --sw-blink-color: #f1f4f6;
}
.xiaomi-blink-led .sw-led,
.jugi-blink-led .sw-led,
.icasa-blink-led .sw-led {
  fill: lightgray;
  stroke: lightgray;
  animation: blinkStroke 0.8s;
  animation-iteration-count: 15;
  animation-delay: 3s;
}
.lutron-blink-led .sw-led,
.de-blink-led .sw-led,
.phil-blink-led .sw-led,
.de-blink-led-reset .sw-led,
.ikea-blink-led .sw-led,
.smartthings-blink-led .sw-led,
.xiaomi-flash-led .sw-led {
  fill: lightgray;
  stroke: lightgray;
  animation: blinkFill 0.8s;
  animation-iteration-count: 15;
  animation-delay: 3s;
}
.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;
}
.animate-ready-svg .animate-target {
  opacity: 0.3;
}
.animate-ready-svg .sw-wizzard {
  opacity: 1;
}
.modal-body.start-animation .animate-ready-svg .animate-target {
  animation: clickEvTargetAnimation 1s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.modal-body.start-animation .animate-ready-svg .sw-wizzard {
  animation: clickEvHandAnimation 1s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.modal-body.start-animation .bottom .mq-phone {
  animation: clickEvTextAndButtonAnimation 1s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.modal-body.start-animation .bottom p {
  animation: clickEvHandAnimation 1s infinite 0s linear forwards;
  animation-iteration-count: 1;
}
.battery,
.bri {
  display: var(--attribute-display);
}
#details.swversion .swversion,
#details.battery .battery,
#details.state .state,
#details.bri .bri,
#details.select-control-switch .select-control-switch,
#details.ikea-change-max-length .ikea-change-max-length,
#details .generals {
  --attribute-display: grid;
}
.swversion,
.battery,
.state,
.select-control-switch,
.ikea-change-max-length,
.bri {
  --attribute-display: none;
}
.up-down-btn-div {
  position: absolute;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  left: 50%;
  margin-left: -60px;
  top: 50%;
}
.up-down-btn-div button {
  width: 120px;
  margin-bottom: 10px;
}
.up-down-btn-div button.active-slide-btn {
  animation: blinkSlideBtn 1s linear infinite;
}
.ikea-blind-up .stoff-band,
.ikea-blind-length-change .stoff-band {
  height: 10px;
}
.ikea-blind-down .stoff-band {
  height: 60px;
}
.ikea-blind-slide-up-down .stoff-band {
  height: 10px;
  animation: slideBlind 0.8s;
  animation-iteration-count: 1;
  animation-delay: 5s;
}
.ikea-blind-slide-up-down-new .stoff-band {
  height: 60px;
  animation: slideBlindNew 0.8s;
  animation-iteration-count: 1;
  animation-delay: 5s;
}
.ikea-blind-length-reset .stoff-band {
  height: var(--ikea-blind-length-reset);
  transition: height 8s linear;
}
.error-smile {
  font-size: 60px;
}
.btn-android {
  display: none;
}
body.android-webview .btn-android {
  display: inline-block;
}
.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: 54px;
    --detail-img-margin: 0 4vw 0 9vw;
  }
  .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;
  }
  #details .main-content #detailImg {
    margin: 0 4vw 0 9vw;
  }
  #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 #switchWizardModal .modal-body .div-svg svg {
    height: 27vw;
  }
  html #switchWizardModal .modal-body .product-list svg,
  html #switchWizardModal .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-desktop-flex: 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;
    --detail-img-margin: 0 auto;
  }
  #delete-icon-sm .ic-frame,
  #dot-menu .ic-frame {
    stroke: #3e4e52;
    stroke-width: 1.4px;
  }
  .body-content {
    background-color: var(--bg-alt);
  }
  .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_SWITCH_PRESSED"],
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_SWITCH_PRESSED"],
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_SWITCH_PRESSED"] {
    padding-right: 20px;
    height: 18px;
  }
  .body-content #overview .main-head div[data-btn-ev="BTN_ADD_SWITCH_PRESSED"] svg,
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_SWITCH_PRESSED"] svg,
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_SWITCH_PRESSED"] svg {
    z-index: 1;
  }
  .body-content #overview .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 .empty-div .main-head h1 span {
    -ms-flex: 1;
        flex: 1;
  }
  .body-content #overview #empty-info,
  .body-content .empty-div #empty-info {
    padding-left: 20px;
  }
  .body-content #details {
    grid-gap: 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 {
    margin-left: unset;
  }
  .body-content #details .main-head h1 span {
    -ms-flex: 1;
        flex: 1;
  }
  .body-content #details .main-content {
    padding-bottom: 20px;
    overflow-y: auto;
    -ms-flex: 1;
        flex: 1;
  }
  .body-content #details .main-content #detailImg {
    width: 120px;
    height: auto;
    min-height: 120px;
  }
  .body-content #details .main-content #detailInfos {
    margin-top: 40px;
    -ms-flex: 1;
        flex: 1;
  }
  #renameSensorModal,
  #deleteSwitchModal {
    margin-top: 23vh;
  }
  #switchWizardModal .modal-dialog,
  #phConfigModal .modal-dialog,
  #switchWizardModal .modal-content,
  #phConfigModal .modal-content,
  #switchWizardModal .vendor-body-content,
  #phConfigModal .vendor-body-content,
  #switchWizardModal .error-body-content,
  #phConfigModal .error-body-content {
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    height: 100%;
    width: 100%;
    margin: unset;
    min-height: unset;
  }
  #phConfigModal .modal-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #phConfigModal .modal-content .modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
  }
  #phConfigModal .modal-content .modal-header div.mq-phone {
    height: 20px;
    margin-right: 20px;
  }
  #phConfigModal .modal-content .modal-body {
    padding-left: 20px;
    -ms-flex: 1;
        flex: 1;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: (max-content)[3];
        grid-template-rows: repeat(3, max-content);
    grid-gap: 20px;
  }
  #phConfigModal .modal-content .modal-body button {
    justify-self: center;
  }
  #phConfigModal .modal-content .modal-footer {
    display: none;
  }
  #switchWizardModal .modal-title {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: min-content auto;
        grid-template-columns: min-content auto;
  }
  #switchWizardModal .modal-title .vendor {
    -ms-grid-column: 2;
        grid-column: 2;
  }
  #switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"],
  #switchWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"] {
    --display-mq-phone: flex;
  }
  #switchWizardModal .modal-title .mq-phone[data-translateid="switch_wiz_fail"] {
    -ms-grid-column-span: 2;
    -ms-grid-column: 1;
        grid-column: 1 / span 2;
  }
  #switchWizardModal .modal-title .mq-phone.step-bar {
    --display-mq-phone: grid;
  }
  #switchWizardModal .modal-title .step-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 4px;
    grid-gap: 4px;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  #switchWizardModal .modal-title .step-bar div {
    background-color: #55626b;
    opacity: 0.3;
  }
  #switchWizardModal .modal-title .step-bar div.step-set {
    opacity: unset;
  }
  #switchWizardModal .modal-body {
    padding: 0;
  }
  #switchWizardModal .modal-body .body-phone-head {
    -ms-flex-item-align: end;
        align-self: flex-end;
    font-size: var(--modal-btn-font-size);
    padding: 8px 24px;
    opacity: 0.6;
  }
  #switchWizardModal .modal-body #phModuleMode {
    -ms-flex: 1;
        flex: 1;
    padding: 0 18px;
    -ms-grid-rows: (max-content)[4];
        grid-template-rows: repeat(4, max-content);
    -ms-grid-columns: unset;
        grid-template-columns: unset;
    grid-row-gap: 8px;
  }
  #switchWizardModal .modal-body #phModuleMode #rockerInfo,
  #switchWizardModal .modal-body #phModuleMode #phWizInfo {
    text-align: left;
    -ms-grid-column: unset;
        grid-column: unset;
  }
  #switchWizardModal .modal-body #phModuleMode > div {
    margin-left: unset !important;
  }
  #switchWizardModal .modal-body #phModuleMode > small {
    padding-left: unset !important;
  }
  #switchWizardModal .modal-body .vendors {
    margin: 0px;
    grid-gap: 0px;
  }
  #switchWizardModal .modal-body .vendors > li {
    padding: 8px 16px;
    border-bottom: 1px solid #e5e5e5;
  }
  #switchWizardModal .modal-body .vendors > li .btn {
    all: unset;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
        justify-content: space-between;
    -ms-flex-align: center;
        align-items: center;
  }
  #switchWizardModal .modal-body .vendors > li svg {
    -ms-transform: scale(0.7);
        transform: scale(0.7);
    fill: #b7b7b7;
    width: 16px;
    -ms-flex-align: center;
        align-items: center;
  }
  #switchWizardModal .modal-body .product-list {
    height: calc(100% - 40px);
    grid-gap: 18px;
  }
  #switchWizardModal .modal-body .product-list .product a {
    font-size: var(--modal-btn-font-size);
  }
  #switchWizardModal .modal-body .product-list svg,
  #switchWizardModal .modal-body .product-list img {
    width: auto;
    height: 24vh;
  }
  #switchWizardModal .modal-body .error-body-content .mq-phone {
    --display-mq-phone: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #switchWizardModal .modal-body .error-body-content div:not(.mq-phone) {
    font-size: var(--modal-btn-font-size);
  }
  #switchWizardModal .modal-body .error-body-content svg {
    -ms-flex: 0.7;
        flex: 0.7;
    max-width: 80vw;
  }
  #switchWizardModal .modal-body .error-body-content button {
    margin-top: 20px;
  }
  #switchWizardModal .modal-body .description.bottom {
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: start;
        justify-content: flex-start;
    padding-bottom: 15vh;
    height: 50vh;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, #ffffff 20%);
  }
  #switchWizardModal .modal-body .description.bottom p,
  #switchWizardModal .modal-body .description.bottom p + p {
    max-width: unset;
    min-width: unset;
    padding: unset;
  }
  #switchWizardModal .modal-body .description.bottom button {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    margin-top: auto;
  }
  #switchWizardModal .modal-body .bottom:not(.description) {
    width: 100%;
    -ms-flex: 1;
        flex: 1;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
    font-size: var(--modal-btn-font-size);
  }
  #switchWizardModal .modal-body .bottom:not(.description) .mq-phone {
    --display-mq-phone: flex;
    position: absolute;
    top: 0;
    opacity: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #switchWizardModal .modal-body .bottom:not(.description) .mq-phone.mq-phone-success-page {
    opacity: 1;
  }
  #switchWizardModal .modal-body .bottom:not(.description) .mq-phone .info {
    margin-bottom: 20px;
  }
  #switchWizardModal .modal-body .div-svg {
    -ms-flex-align: start;
        align-items: flex-start;
    position: relative;
    width: 80vw;
  }
  #switchWizardModal .modal-body .div-svg svg {
    height: auto;
    /**&:not(:only-child) {
                    width: 60vw;
                }*/
  }
  #switchWizardModal .modal-body .animate-ready-svg {
    width: 250px;
    height: 250px;
  }
  #switchWizardModal .modal-body .mq-phone-success-page button {
    float: right;
  }
  #switchWizardModal .modal-footer {
    display: none;
  }
}
