:root {
  --color-bg-light: #e8f0f7;
  --color-element-light: white;
  --color-element-alt-light: #ffffff;
  --color-element-highlight-light: #bfc5da;
  --color-light-on-light: #efd18f;
  --color-button-light: #a7b8c1;
  --color-active-btn-light: #ededed;
  --color-button-selected-light: #55626b;
  --color-button-highlight-light: #b0b0b0;
  --color-text-light: #3e4e52;
  --color-text-selected-light: #eeeeee;
  --color-text-disabled-light: #acacac;
  --color-text-alt-light: #969696;
  --color-text-danger-light: #eeeeee;
  --color-text-highlight-light: #e6bc63;
  --color-danger-light: #d85656;
  --color-header-light: #55626b;
  --color-header-text-light: #f5f5f5;
  --color-footer-light: white;
  --color-navbar-bg-light: #2f3e49;
  --color-navbar-bg-highlight-light: #3a4f60;
  --color-navbar-button-light: #3e4c57;
  --color-navbar-text-light: #e8f0f7;
  --color-dashboard-button-light: #d2d9e0;
  --color-dashboard-button-highlight-light: #b0b0b0;
  --color-settings-selected-menu-light: #c17e39;
  --color-time-slice-light: #b3c4cd;
  --color-time-slice-hover-light: #d4dde5;
  --color-text-table-details-light: #3e4e52;
  --color-device-box-header-light: #baa48d;
  --color-device-box-body-light: #f4f5f4;
  --color-device-toggle-light: white;
  --color-button-top-light: #55626b;
  --color-button-top-highlight-light: #a7b8c1;
  --color-bg-dark: #6f6969;
  --color-element-dark: #848180;
  --color-element-alt-dark: white;
  --color-element-highlight-dark: #b9b6b5;
  --color-light-on-dark: #f5e2b8;
  --color-button-dark: #848180;
  --color-active-btn-dark: #72706f;
  --color-button-selected-dark: #b9b6b5;
  --color-button-highlight-dark: #b9b6b5;
  --color-text-dark: #e1e1e1;
  --color-text-selected-dark: #292929;
  --color-text-disabled-dark: #bababa;
  --color-text-alt-dark: #292929;
  --color-text-danger-dark: #e1e1e1;
  --color-text-highlight-dark: #e6bc63;
  --color-danger-dark: #d85656;
  --color-header-dark: #55626b;
  --color-header-text-dark: #f5f5f5;
  --color-footer-dark: #9f9a98;
  --color-navbar-bg-dark: #4d4d4d;
  --color-navbar-bg-highlight-dark: #5b5b5b;
  --color-navbar-button-dark: #848180;
  --color-navbar-text-dark: #e8f0f7;
  --color-dashboard-button-dark: #7a7675;
  --color-dashboard-button-highlight-dark: #928f8f;
  --color-settings-selected-menu-dark: #b28352;
  --color-time-slice-dark: #9f9a98;
  --color-time-slice-hover-dark: #848180;
  --color-text-table-details-dark: #e1e1e1;
  --color-device-box-header-dark: #baa48d;
  --color-device-box-body-dark: #4d4d4d;
  --color-device-toggle-dark: #848180;
  --color-button-top-dark: #6f6969;
  --color-button-top-highlight-dark: #b9b6b5;
  --color-bg-slate: #0b1120;
  --color-element-slate: #1e293a;
  --color-element-alt-slate: #334155;
  --color-element-highlight-slate: #1fa6e7;
  --color-light-on-slate: #f5e2b8;
  --color-button-slate: #1e293a;
  --color-active-btn-slate: #1fa6e7;
  --color-button-selected-slate: #1fa6e7;
  --color-button-highlight-slate: #1fa6e7;
  --color-text-slate: #c7d1dd;
  --color-text-selected-slate: #c7d1dd;
  --color-text-disabled-slate: #acacac;
  --color-text-alt-slate: #1fa6e7;
  --color-text-danger-slate: #c7d1dd;
  --color-text-highlight-slate: #1fa6e7;
  --color-danger-slate: #d85656;
  --color-header-slate: #1fa6e7;
  --color-header-text-slate: #f5f5f5;
  --color-footer-slate: #334155;
  --color-navbar-bg-slate: #1e293a;
  --color-navbar-bg-highlight-slate: #293953;
  --color-navbar-button-slate: #1fa6e7;
  --color-navbar-text-slate: #c7d1dd;
  --color-dashboard-button-slate: #1fa6e7;
  --color-dashboard-button-highlight-slate: #334155;
  --color-settings-selected-menu-slate: #1fa6e7;
  --color-time-slice-slate: #334155;
  --color-time-slice-hover-slate: #1e293a;
  --color-text-table-details-slate: #1fa6e7;
  --color-device-box-header-slate: #1fa6e7;
  --color-device-box-body-slate: #1e293a;
  --color-device-toggle-slate: #0b1120;
  --color-button-top-slate: #1fa6e7;
  --color-button-top-highlight-slate: #334155;
  --color-bg-contrast: #000000;
  --color-element-contrast: #ffffff;
  --color-element-alt-contrast: #ffffff;
  --color-element-highlight-contrast: #00ff00;
  --color-light-on-contrast: #f5e2b8;
  --color-button-contrast: #00ff00;
  --color-active-btn-contrast: #00ff00;
  --color-button-selected-contrast: #00ff00;
  --color-button-highlight-contrast: #00ff00;
  --color-text-contrast: #000000;
  --color-text-selected-contrast: #ffffff;
  --color-text-disabled-contrast: #3e4e52;
  --color-text-alt-contrast: #000000;
  --color-text-danger-contrast: #ff0000;
  --color-text-highlight-contrast: #00ff00;
  --color-danger-contrast: #b92121;
  --color-header-contrast: #ffffff;
  --color-header-text-contrast: #000000;
  --color-footer-contrast: #000000;
  --color-dashboard-button-contrast: #00ff00;
  --color-dashboard-button-highlight-contrast: #00ffff;
  --color-settings-selected-menu-contrast: #00ff00;
  --color-navbar-bg-contrast: #000000;
  --color-navbar-bg-highlight-contrast: #000000;
  --color-navbar-button-contrast: #1fa6e7;
  --color-navbar-text-contrast: #c7d1dd;
  --color-time-slice-contrast: #334155;
  --color-time-slice-hover-contrast: #1e293a;
  --color-text-table-details-contrast: #1fa6e7;
  --color-button-top-contrast: #1fa6e7;
  --color-button-top-highlight-contrast: #0b1120;
  --color-bg: var(--color-bg-light);
  --color-element: var(--color-element-light);
  --color-element-alt: var(--color-element-alt-light);
  --color-element-highlight: var(--color-element-highlight-light);
  --color-light-on: var(--color-light-on-light);
  --color-button: var(--color-button-light);
  --color-active-btn: var(--color-active-btn-light);
  --color-button-selected: var(--color-button-selected-light);
  --color-button-highlight: var(--color-button-highlight-light);
  --color-text: var(--color-text-light);
  --color-text-selected: var(--color-text-selected-light);
  --color-text-disabled: var(--color-text-disabled-light);
  --color-text-alt: var(--color-text-alt-light);
  --color-text-danger: var(--color-text-danger-light);
  --color-text-highlight: var(--color-text-highlight-light);
  --color-danger: var(--color-danger-light);
  --color-header: var(--color-header-light);
  --color-header-text: var(--color-header-text-contrast);
  --color-footer: var(--color-footer-light);
  --color-dashboard-button: var(--color-dashboard-button-light);
  --color-dashboard-button-highlight: var(--color-dashboard-button-highlight-light);
  --color-settings-selected-menu: var(--color-settings-selected-menu-light);
  --color-navbar-bg: var(--color-navbar-bg-light);
  --color-navbar-bg-highlight: var(--color-navbar-bg-highlight-light);
  --color-navbar-button: var(--color-navbar-button-light);
  --color-navbar-text: var(--color-navbar-text-light);
  --color-time-slice: var(--color-time-slice-light);
  --color-time-slice-hover: var(--color-time-slice-hover-light);
  --color-device-box-header: var(--color-device-box-header);
  --color-device-box-body: var(--color-device-box-body);
  --color-device-toggle: var(--color-device-toggle-light);
}
.body-content {
  position: relative;
  -ms-flex-direction: column;
      flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
  --ic-line: var(--color-text);
  --ic-frame: var(--color-text);
  --li-line: var(--color-text);
  --li-frame: var(--color-text);
  --li-state-line: var(--color-text);
}
.li-off {
  --li-state-line: var(--color-text);
  --ic-state-line: var(--color-text);
}
.main-content {
  overflow-x: hidden;
  overflow-y: auto;
}
#lights-cont {
  transition: transform 100ms ease-out 300ms;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex: 1;
      flex: 1;
  background-color: var(--color-bg);
  padding: 24px 32px;
  position: absolute;
  bottom: 0;
  left: 280px;
  right: 0;
}
.empty #lights-cont {
  margin-bottom: 40px;
}
.search-active #searchDiv,
.search-active #lights-cont {
  opacity: 1;
  transition: all 100ms ease-out 100ms;
}
.bottom-bar {
  background-color: var(--color-bg);
}
.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.5);
}
.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.5);
}
.main-head h1 {
  color: var(--color-text);
}
.openDetail {
  color: var(--color-text);
}
.btn {
  background-color: var(--color-button) !important;
  color: var(--color-text);
  border: none;
  border-radius: 4px !important;
}
.btn:focus {
  color: var(--color-text);
}
.btn:hover {
  background-color: var(--color-button-highlight) !important;
  color: var(--color-text);
}
.btn-danger {
  background-color: #b71f0e !important;
  color: var(--color-text-danger);
}
#searchDiv {
  width: 100%;
  height: 60px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-direction: column;
      flex-direction: column;
  opacity: 0;
  transition: opacity 100ms ease-out;
}
#searchDiv svg {
  --ic-line: var(--color-danger);
}
#lightTable tr:hover {
  background-color: var(--color-element) !important;
}
.context-menu li {
  color: var(--color-text);
  background-color: var(--color-button);
}
#details-content {
  color: var(--color-text-alt);
}
#listGroupsFromLight {
  color: var(--color-text-alt);
}
#deleteLights_btn {
  color: var(--color-danger);
}
#deleteLights_btn svg {
  --ic-line: var(--color-danger);
}
.main-head {
  --li-line: var(--color-text);
  --li-state-line: var(--color-text);
}
select {
  background-color: var(--color-element);
  border-radius: 8px;
}
.modal-content {
  background-color: var(--color-bg);
  color: var(--color-text);
}
.modal-content .close {
  color: var(--color-text);
}
.modal-content .modal-header {
  color: var(--color-text-alt);
  border-bottom: 1px solid var(--color-element) !important;
}
.modal-content .modal-body input {
  color: var(--color-text);
  background-color: var(--color-element);
}
.modal-content .modal-footer {
  border-top: 1px solid var(--color-element);
  background-color: var(--color-bg);
}
@media (max-width: 599px) and (orientation: portrait) {
  #main-table-sensor .dev-table-hdr > b:nth-child(5) {
    opacity: 0;
  }
  #main-table-sensor #sensorTable tr td:nth-child(2) div + div {
    opacity: 0.72;
    font-size: 85%;
  }
}
#sensorTable td:nth-child(5) > svg {
  margin-right: 8px;
}
#main-table-sensor,
#main-table-switch,
#main-table-light {
  position: absolute;
  top: 0;
  bottom: 64px;
  height: unset;
  padding-bottom: unset;
}
@media (min-width: 600px) {
  #main-table-sensor,
  #main-table-switch,
  #main-table-light {
    bottom: 104px;
  }
}
#devicesSwitchContainer,
#devicesLightsContainer,
#devicesSensorsContainer {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
#mainDetailsSwitch .group-selectors {
  margin-top: 2em;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#mainDetailsSwitch .group-selectors li {
  display: list-item;
}
#mainDetailsSwitch .group-selectors div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  margin: 18px 0px;
}
#mainDetailsSwitch .group-selectors select {
  background: transparent;
  /*
			-webkit-appearance: none;
			*/
  min-width: 14em;
  max-width: 20em;
  padding: 5px;
  line-height: 1.3;
  border-radius: 2px;
  height: 2.2em;
  margin-left: 1em;
}
#mainDetailsSwitch .swedit-mode {
  display: none;
  -ms-grid-columns: 60px 220px;
      grid-template-columns: 60px 220px;
  grid-column-gap: 16px;
  grid-row-gap: 8px;
  margin-top: 5rem;
  grid-template-areas: "icon description" "button button" "info info";
  --ic-fill: var(--bg-alt);
  --li-state: none;
}
#mainDetailsSwitch .swedit-mode svg {
  grid-area: icon;
  min-width: 48px;
  max-width: 100%;
}
#mainDetailsSwitch .swedit-mode .description {
  grid-area: description;
  margin: 17px 0;
  justify-self: start;
}
#mainDetailsSwitch .swedit-mode .description a {
  min-width: unset;
  color: #1097e6;
  text-decoration: underline;
}
#mainDetailsSwitch .swedit-mode button {
  display: none;
  grid-area: button;
  margin-top: 40px;
  margin-bottom: 8px;
  justify-self: start;
}
#mainDetailsSwitch .swedit-mode .info {
  display: none;
  grid-area: info;
  font-size: 0.9em;
  opacity: 0.7;
}
#mainDetailsSwitch .swedit-mode .info * {
  min-width: unset;
}
#mainDetailsSwitch.base-functions .swedit-mode button,
#mainDetailsSwitch.base-functions .swedit-mode .info {
  display: unset;
}
#mainDetailsSwitch.swedit .swedit-mode {
  display: -ms-grid;
  display: grid;
}
#mainDetailsSwitch #phModuleMode {
  display: none;
}
#mainDetailsSwitch.phmodule #phModuleMode {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  grid-gap: 4px;
}
#mainDetailsSwitch.phmodule #phModuleMode h4 {
  font-size: 19px;
}
#mainDetailsSwitch.phmodule #phModuleMode h4.number-buttons {
  margin-top: 32px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box {
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  grid-gap: 12px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box > span {
  margin: 0 16px 0 8px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box svg {
  min-width: unset;
  margin: unset;
  width: 38px;
  height: 38px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box svg [data-btn] {
  display: none;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  grid-gap: 4px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box div > span {
  min-width: unset;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box div > span:nth-child(2) {
  margin-left: 8px;
}
#mainDetailsSwitch.phmodule #phModuleMode .ph-svg-box div .ph-text {
  margin-left: 12px;
}
#mainDetailsSwitch.phmodule #phModuleMode small {
  padding-left: 26px;
  font-size: 80%;
  color: #8a8787;
  margin: 0px;
  padding-bottom: 0px;
}
#mainDetailsSwitch.phmodule #phModuleMode small#rockerInfo {
  margin-top: 38px;
  padding-left: unset;
}
#mainDetailsSwitch.phmodule #phModuleMode span {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  position: relative;
}
#mainDetailsSwitch.phmodule #phModuleMode span label {
  font-weight: unset;
  margin-left: 4px;
  margin-bottom: unset;
  cursor: pointer;
}
#mainDetailsSwitch.phmodule #phModuleMode span input {
  margin: 0;
  opacity: 0;
  cursor: pointer;
  min-width: unset !important;
  margin-right: 8px;
}
#mainDetailsSwitch.phmodule #phModuleMode span input:checked ~ .checkmark {
  box-shadow: inset 0 0 0 2px #f5f5f5;
  background-color: #78787b;
}
#mainDetailsSwitch.phmodule #phModuleMode span .checkmark {
  position: absolute;
  height: 13px;
  width: 13px;
  background-color: #f5f5f5;
  border: 0.5px solid #78787b;
  border-radius: 50px;
  z-index: -1;
}
.dev-table-hdr {
  display: -ms-flexbox;
  display: flex;
  max-width: 846px;
  padding-top: 4px;
  padding-bottom: 8px;
}
@media (max-width: 1199px) {
  .dev-table-hdr {
    border-bottom: 1px solid var(--border-alt);
  }
}
.dev-table-hdr b:nth-child(3) {
  min-width: 11em;
  max-width: 13em;
}
.dev-table-hdr b:nth-child(1) {
  padding: 0px 16px;
  min-width: 65px;
  max-width: 65px;
}
@media (orientation: portrait) {
  .dev-table-hdr b:nth-child(2) {
    min-width: 11em;
    max-width: 11em;
  }
}
body.empty .dev-table-hdr {
  visibility: hidden;
}
.dev-table thead {
  background-color: var(--bg-alt, red);
  border-bottom: 1px solid var(--border-alt, blue);
  z-index: 2;
}
.dev-table tbody {
  position: absolute;
  margin-top: 4px;
}
.dev-table .sw-led {
  fill: rgba(0, 0, 0, 0.9);
  stroke: rgba(0, 0, 0, 0.9);
}
.dev-table img {
  max-height: 48px;
}
.dev-table th {
  text-align: left;
  border: none;
}
.dev-table td {
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: default;
}
.dev-table td:not(:first-child) {
  cursor: default;
}
.dev-table td:first-child {
  cursor: pointer;
}
@media (orientation: portrait) {
  .dev-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dev-table tr th:nth-child(2),
  .dev-table tr td:nth-child(2) {
    min-width: 11em;
    max-width: 11em;
  }
}
.dev-table th:nth-child(1),
.dev-table td:nth-child(1) {
  padding: 0px;
  min-width: 65px;
  max-width: 65px;
}
.dev-table th:nth-child(1) svg,
.dev-table td:nth-child(1) svg {
  -ms-transform: scale(0.9);
      transform: scale(0.9);
}
.dev-table tr:first-child td {
  border: unset;
}
.dev-table tr td:last-child {
  max-width: unset;
}
#detail-img {
  --li-line: var(--color-text);
}
#detail-img svg {
  max-width: 200px;
  max-height: 200px;
}
/*muss noch in less-datei*/
#detail-img + div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  padding-top: 1em;
}
h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.item-icon {
  margin-top: 8px;
  margin-left: 12px;
}
.page-details {
  /*muss noch in less-datei*/
  /*muss noch in less-datei*/
}
.page-details .main-head {
  position: relative;
}
.page-details h1 .generated-sw-svg {
  margin-top: unset;
}
@media (max-width: 599px) and (orientation: portrait) {
  .page-details h1 {
    margin-top: 72px;
  }
}
.page-details .main-content {
  -ms-flex-direction: column;
      flex-direction: column;
}
.page-details .main-content .version-ok {
  font-size: 15px;
  font-style: italic;
  margin: 8px 0;
}
.page-details .main-content .version {
  margin-top: 0.5em;
}
.page-details .main-content > div > div :first-child {
  display: inline-block;
  min-width: 37vw;
}
@media (min-width: 417px) {
  .page-details .main-content > div > div :first-child {
    min-width: 140px;
  }
}
.page-details .main-content > div > div {
  padding-bottom: 6px;
}
.page-details #sensorValues > div {
  padding-bottom: 6px;
}
.page-details #sensorValues > div .updated {
  font-size: 0.9em;
  opacity: 0.7;
  font-style: italic;
}
.page-details h1 > svg:first-child {
  min-width: 48px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  margin-left: -8px;
  margin-right: 4px;
}
.page-details h1 svg + span {
  margin-left: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 4px;
  white-space: nowrap;
}
@media (max-width: 430px) and (orientation: landscape) {
  .main.page {
    -ms-transform: translateY(-150%);
        transform: translateY(-150%);
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  .btn-add-device {
    display: none;
  }
  #main-table-sensor,
  #main-table-switch {
    bottom: 32px;
  }
  .hdr-delete-btn {
    top: 8px;
  }
  .main.page {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .main-head {
    margin: 0 16px 0 24px;
    min-height: unset;
  }
  .main-head h1 {
    font-size: 110%;
    width: 88vw;
    max-width: 88vw;
  }
  .main-content {
    margin: 0 16px 0 24px;
    padding: 0;
  }
  .bottom-bar {
    left: 0;
    padding: 8px 0px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
  }
  #lights-cont {
    left: 0;
    padding: 8px 32px;
  }
  #searchDiv {
    font-size: 82%;
  }
}
@media (max-width: 899px) {
  .body-content {
    padding-left: 0;
  }
  .main-head {
    -ms-flex: 0 1 auto;
        flex: 0 1 auto;
  }
  #devicesLightsContainer .dev-table th {
    padding-left: 1.5em;
  }
  .main-head {
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .main-head #resetGateway_btn {
    margin-right: 0;
  }
  .hdr-delete-btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
        justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 16px;
  }
  #groupSelect {
    position: relative;
  }
}
@media (min-width: 600px) {
  .main-head h1 {
    margin-top: 32px;
  }
  #detail-img {
    display: unset;
  }
  #detail-img + div {
    margin-left: 8vw;
  }
  .main-head {
    margin: 0 0;
    margin-right: 16px;
    padding-left: 56px;
  }
  .main.page {
    height: 100%;
    position: absolute;
    left: var(--nav-width);
    right: 0;
  }
  .main-content {
    margin-right: 16px;
  }
}
@media (max-width: 899px) {
  #detail-img {
    margin-bottom: 64px;
    margin-top: 32px;
    margin-left: 12vw;
    margin-right: auto;
    height: 140px;
  }
  #detail-img + div {
    padding-top: 32px;
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  #bodySwitches .bottom-bar,
  #bodySensors .bottom-bar {
    display: none;
  }
  #mainDetailsLight .main-head h1 {
    padding: unset;
  }
  #mainDetailsLight .main-head h1 span {
    -ms-flex: 1;
        flex: 1;
    padding-top: unset;
    font-size: 110%;
  }
  #mainDetailsLight .main-content > div:nth-child(2) {
    margin-left: 9vw;
  }
  #detail-img {
    margin: 20px auto;
    height: unset;
  }
  #detail-img svg {
    -ms-transform: unset;
        transform: unset;
    margin-top: unset !important;
    display: block;
    width: 120px;
    height: auto;
    min-height: 120px;
  }
}
@media (min-width: 900px) {
  .main-head h1 {
    padding-left: unset;
    margin-top: 32px;
  }
  .page-details .main-content {
    margin-left: 0px;
    -ms-flex-direction: row;
        flex-direction: row;
  }
  .page-details #detail-img {
    margin: 64px 2vw;
    height: 140px;
  }
  .page-details #detail-img + div {
    padding-top: 72px;
    margin-left: 32px;
  }
}
.dev-table-hdr {
  border-bottom: 1px solid var(--border-alt);
  max-width: unset;
}
.dev-table-hdr,
#lightTable tr,
#sensorTable 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;
}
.dev-table-hdr:not(:first-child),
#lightTable tr:not(:first-child),
#sensorTable tr:not(:first-child) {
  border-top: 1px solid #dddddd;
}
.dev-table-hdr.not-reachable > *,
#lightTable tr.not-reachable > *,
#sensorTable tr.not-reachable > * {
  opacity: 0.5;
  color: var(--color-text);
}
.dev-table-hdr td,
#lightTable tr td,
#sensorTable tr td {
  padding: 8px 0;
  border: unset;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lightTable,
#sensorTable {
  width: 100%;
}
#lightTable .item-icon:not(.daylight-icon),
#sensorTable .item-icon:not(.daylight-icon) {
  margin: auto;
  display: -ms-flexbox;
  display: flex;
}
