@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 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;
  }
}
@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;
  }
}
: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;
  --attribute-display: grid;
}
#searchThermostat {
  padding: 8px 16px;
  width: 200px;
  margin: 2px;
  margin-bottom: 20px;
  margin-left: auto;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
.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);
}
/* 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;
}
#overview .main-head h1 svg .ic-fill,
#details .main-head h1 svg .ic-fill,
.empty-div .main-head h1 svg .ic-fill {
  fill: none;
}
.context-menu-box {
  position: relative;
  z-index: 1;
}
.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 .context-menu li svg {
  width: 18px;
  height: 18px;
}
.context-menu-box .context-menu li svg #delete-icon-sm .ic-frame {
  stroke: var(--ic-line, #3e4e52);
}
.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;
}
/* 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 #thermostatTable 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 #thermostatTable tr.not-reachable {
  opacity: 0.5;
}
#overview .main-content .dev-table-hdr.active-row,
#overview .main-content #thermostatTable tr.active-row {
  animation: trInteractive 0.8s;
  animation-timing-function: ease-out;
}
#overview .main-content .dev-table-hdr td,
#overview .main-content #thermostatTable tr td {
  padding: 8px 0;
  border: unset;
  overflow: hidden;
  text-overflow: ellipsis;
}
#overview .main-content .dev-table-hdr td span.item-attr,
#overview .main-content #thermostatTable tr td span.item-attr {
  display: none;
}
#overview .main-content .dev-table-hdr .item-icon,
#overview .main-content #thermostatTable 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);
}
#details .svg-icon {
  height: 48px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  width: auto;
  margin-right: 16px;
}
#details h1 .svg-icon {
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}
#details #deleteThermostat_btn {
  padding-right: var(--main-head-del-btn-padding-right);
}
#details #detailImg {
  width: 200px;
  height: auto;
  max-height: 200px;
  margin: 0 4vw 0 2vw;
}
#details #detailInfos {
  display: -ms-grid;
  display: grid;
  grid-auto-rows: min-content;
  grid-gap: 12px;
}
#details #detailInfos span[data-translateid] {
  opacity: 0.6;
  line-break: anywhere;
}
#details #detailInfos .sw-target.active-target {
  fill: rgba(85, 98, 107, 0.6) !important;
  visibility: visible;
  animation: swInteractive 0.8s;
  animation-timing-function: ease-out;
}
#details #detailInfos .sw-extra.sw-extra-show {
  display: block;
  visibility: visible;
}
#details #detailInfos .sw-extra.sw-extra-show text {
  visibility: hidden;
}
#details #detailInfos.sw-extra-fill .sw-extra .sw-fill {
  fill: #bbbbbb;
}
#details #detailInfos .data-val i {
  padding-left: 1.5rem;
  opacity: 0.5;
  font-size: 90%;
}
#details #detailInfos .data-val img {
  height: 30px;
}
#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 .lastupdated {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 120px 175px;
      grid-template-columns: 120px 175px;
  grid-column-gap: 35px;
  grid-row-gap: 20px;
}
#details #detailInfos .lastupdated .data-val {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#details #detailInfos > div {
  display: var(--attribute-display);
  -ms-grid-columns: 120px auto;
      grid-template-columns: 120px auto;
  grid-column-gap: 35px;
  grid-row-gap: 20px;
  margin-bottom: 15px;
  -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 .select-control-switch span,
#details .select-control-switch select {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#details #devUpdate a {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
}
#details #devUpdate button {
  -ms-grid-column-span: 2;
  -ms-grid-column: 1;
      grid-column: 1 / span 2;
  max-width: 192px;
}
#details .btn {
  box-sizing: border-box;
  height: 35px;
  width: 35px;
  border-radius: 4px;
}
#details .box {
  display: inline-block;
  width: 70px;
  padding: 5px;
  margin: 5px;
  text-align: center;
}
#details #vsExtra {
  opacity: 0.5;
  font-size: 90%;
  margin-left: 5px;
}
#details #vsExtra:empty {
  display: none;
}
#detailImg {
  margin: var(--detail-img-margin);
}
/* Empty view */
.empty-div .main-content {
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  padding-top: 20vh;
}
/* Thermostat wizard view */
.modal-title {
  font-size: var(--modal-title-font-size) !important;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  /* .mq-phone[data-btn-ev="BTN_PREV_PRESSED"] {
            padding-right: 40px;
            svg { vertical-align: middle; }

            align-items: center;
        } */
}
#thermostatWizardModal .modal-header {
  position: relative;
}
#thermostatWizardModal .modal-content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 610px;
}
#thermostatWizardModal .modal-content.fade-out {
  z-index: -1;
  box-shadow: none;
}
#thermostatWizardModal .modal-body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
#thermostatWizardModal .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;
}
#thermostatWizardModal .modal-body li .item-name {
  white-space: nowrap;
}
#thermostatWizardModal .modal-body li .item-icon.generated-sw-svg {
  height: 38px;
  width: 38px;
}
#thermostatWizardModal .modal-body li .active-switch {
  background-color: #abb8c1;
}
#thermostatWizardModal .modal-body .description {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto;
      grid-template-columns: auto auto;
}
#thermostatWizardModal .modal-body #thermostatModalList {
  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%;
}
#thermostatWizardModal .modal-body #thermostatModalList .item-name {
  white-space: unset;
}
#thermostatWizardModal .modal-body #thermostatModalList .svg-icon {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  max-height: unset;
}
#thermostatWizardModal .modal-body #thermostatFuncList {
  box-shadow: inset 0px 0px 0px 1px #dcdbdb;
  z-index: 3;
  border-radius: 4px;
}
#thermostatWizardModal .modal-body #thermostatFuncList .active-func {
  background-color: #f8f8f8;
  box-shadow: inset 8px 0px 0px 0px #dddddd;
  transition: all 100ms ease-out;
}
#thermostatWizardModal .modal-body #thermostatFuncList input[type=number]::-webkit-outer-spin-button,
#thermostatWizardModal .modal-body #thermostatFuncList input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
#thermostatWizardModal .modal-body .interactive .sw-target {
  background-color: white;
  fill: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease-out;
  display: block;
}
#thermostatWizardModal .modal-body .interactive .active-target {
  fill: rgba(85, 98, 107, 0.6) !important;
  background-color: #55626b;
}
#thermostatWizardModal .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;
}
#thermostatWizardModal .modal-body .input-group input {
  height: 100%;
  text-align: center;
}
#thermostatWizardModal .modal-body .input-group button {
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#thermostatWizardModal .modal-body .input-group .btn-prev {
  text-align: right;
}
#thermostatWizardModal .modal-footer {
  width: 100%;
  height: 73px;
  position: absolute;
  bottom: 0px;
  text-align: center;
  line-height: 40px;
}
#thermostatWizardModal .modal-footer button {
  position: absolute;
  right: 20px;
  bottom: 17px;
}
#thermostatWizardModal .error-body-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}
#thermostatWizardModal .error-body-content span {
  font-size: 22vh;
}
#thermostatWizardModal .progress-bar-wizard {
  width: 100%;
  height: 3px;
  background-color: #e5e5e5;
  position: absolute;
  right: 0;
  top: 0;
}
#thermostatWizardModal .progress-bar-wizard.running {
  -ms-transform-origin: right;
      transform-origin: right;
  animation: runprogress var(--progress-time), runopacity 20s;
  animation-timing-function: linear;
}
@media (max-width: 1199px) and (orientation: landscape) {
  :root {
    --main-content-padding-top: 64px;
  }
  .dev-table-hdr b:nth-child(4),
  #thermostatTable tr b:nth-child(4),
  .dev-table-hdr b:nth-child(5),
  #thermostatTable tr b:nth-child(5),
  .dev-table-hdr td:nth-child(4),
  #thermostatTable tr td:nth-child(4),
  .dev-table-hdr td:nth-child(5),
  #thermostatTable tr td:nth-child(5) {
    display: none !important;
  }
}
@media (max-width: 1199px) and (orientation: portrait) {
  :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(4),
  #thermostatTable tr b:nth-child(4),
  .dev-table-hdr td:nth-child(4),
  #thermostatTable tr td:nth-child(4),
  .dev-table-hdr b:nth-child(5),
  #thermostatTable tr b:nth-child(5),
  .dev-table-hdr td:nth-child(5),
  #thermostatTable tr td:nth-child(5),
  .dev-table-hdr b:nth-child(6),
  #thermostatTable tr b:nth-child(6),
  .dev-table-hdr td:nth-child(6),
  #thermostatTable tr td:nth-child(6) {
    display: none !important;
  }
  .dev-table-hdr td.name-col,
  #thermostatTable tr td.name-col {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .dev-table-hdr td.name-col span.item-attr,
  #thermostatTable tr td.name-col span.item-attr {
    display: block !important;
    font-size: 10px;
  }
  #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 #deleteThermostat_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: 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 #thermostatWizardModal .modal-body .div-svg svg {
    height: 27vw;
  }
  html #thermostatWizardModal .modal-body .product-list svg,
  html #thermostatWizardModal .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;
  }
  .body-content {
    background-color: var(--bg-alt);
  }
  .body-content .dev-table-hdr b:nth-child(3),
  .body-content #thermostatTable tr b:nth-child(3),
  .body-content .dev-table-hdr td:nth-child(3),
  .body-content #thermostatTable tr td:nth-child(3),
  .body-content .dev-table-hdr b:nth-child(4),
  .body-content #thermostatTable tr b:nth-child(4),
  .body-content .dev-table-hdr td:nth-child(4),
  .body-content #thermostatTable tr td:nth-child(4),
  .body-content .dev-table-hdr b:nth-child(5),
  .body-content #thermostatTable tr b:nth-child(5),
  .body-content .dev-table-hdr td:nth-child(5),
  .body-content #thermostatTable tr td:nth-child(5),
  .body-content .dev-table-hdr b:nth-child(6),
  .body-content #thermostatTable tr b:nth-child(6),
  .body-content .dev-table-hdr td:nth-child(6),
  .body-content #thermostatTable tr td:nth-child(6) {
    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_THERMOSTAT_PRESSED"],
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_THERMOSTAT_PRESSED"],
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_THERMOSTAT_PRESSED"] {
    padding-right: 20px;
    height: 18px;
  }
  .body-content #overview .main-head div[data-btn-ev="BTN_ADD_THERMOSTAT_PRESSED"] svg,
  .body-content #details .main-head div[data-btn-ev="BTN_ADD_THERMOSTAT_PRESSED"] svg,
  .body-content .empty-div .main-head div[data-btn-ev="BTN_ADD_THERMOSTAT_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-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 .main-content {
    padding-bottom: 20px;
  }
  .body-content .main-content #detailImg {
    width: 120px !important;
    height: 120px !important;
    min-height: 120px;
    margin: 4vh auto !important;
  }
  .body-content .main-content #detailInfos {
    margin-top: 10px;
  }
  .body-content .main-content #detailInfos div {
    grid-row-gap: 12px !important;
  }
  .body-content .main-content #detailInfos .lastupdated.data-val i {
    padding-left: 0px !important;
    display: block;
    opacity: 0.5;
    font-size: 90%;
  }
  .main-head {
    -ms-flex-align: center !important;
        align-items: center !important;
    -ms-flex-direction: row !important;
        flex-direction: row !important;
  }
  #thermostatWizardModal .modal-dialog,
  #thermostatWizardModal .modal-content,
  #thermostatWizardModal .vendor-body-content,
  #thermostatWizardModal .error-body-content {
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    height: 100%;
    width: 100%;
    margin: unset;
    min-height: unset;
    max-height: unset;
  }
  #thermostatWizardModal .modal-title {
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-align: center;
        align-items: center;
  }
  #thermostatWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"],
  #thermostatWizardModal .modal-title .mq-phone[data-btn-ev="BTN_NEXT_PRESSED"] {
    --display-mq-phone: flex;
  }
  #thermostatWizardModal .modal-title .mq-phone[data-btn-ev="BTN_PREV_PRESSED"] {
    margin-right: 10px;
  }
  #thermostatWizardModal .modal-body {
    padding: 0;
  }
  #thermostatWizardModal .modal-body svg {
    width: 64vw;
    height: auto;
  }
  #thermostatWizardModal .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;
  }
  #thermostatWizardModal .modal-body .error-body-content .mq-phone {
    --display-mq-phone: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #thermostatWizardModal .modal-body .error-body-content div:not(.mq-phone) {
    font-size: var(--modal-btn-font-size);
  }
  #thermostatWizardModal .modal-body .error-body-content svg {
    -ms-flex: 0.7;
        flex: 0.7;
    max-width: 80vw;
  }
  #thermostatWizardModal .modal-body .error-body-content button {
    margin-top: 20px;
  }
  #thermostatWizardModal .modal-body .description.bottom {
    -ms-flex-direction: column;
        flex-direction: column;
    bottom: 18vh;
    display: block;
    margin: 20px;
    text-overflow: visible;
    width: 90%;
  }
  #thermostatWizardModal .modal-body .description.bottom p,
  #thermostatWizardModal .modal-body .description.bottom p + p {
    max-width: unset;
    min-width: unset;
    padding: unset;
  }
  #thermostatWizardModal .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);
  }
  #thermostatWizardModal .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;
  }
  #thermostatWizardModal .modal-body .bottom:not(.description) .mq-phone.mq-phone-success-page {
    opacity: 1;
  }
  #thermostatWizardModal .modal-body .bottom:not(.description) .mq-phone .info {
    margin-bottom: 20px;
  }
  #thermostatWizardModal .modal-body .div-svg {
    margin-top: 30px;
    margin-bottom: 30px;
    -ms-grid-columns: unset;
        grid-template-columns: unset;
  }
  #thermostatWizardModal .modal-body .animate-ready-svg {
    width: 250px;
    height: 250px;
  }
  #thermostatWizardModal .modal-body .mq-phone-success-page {
    --display-mq-phone: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
  }
  #thermostatWizardModal .modal-footer {
    display: none;
  }
}
@media (max-width: 599px) and (orientation: portrait) and (max-height: 770px) {
  .body-content .main-content #detailImg {
    display: none !important;
  }
}
@media (max-width: 599px) and (orientation: portrait) and (max-width: 390px) {
  .body-content .main-content #detailInfos {
    margin-left: 5px !important;
  }
}
