: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);
}
#not-reachable-general {
  display: none;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--color-bg);
  color: var(--color-text);
}
body {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
}
@media (max-width: 599px) and (orientation: portrait) {
  body {
    font-size: 16px;
  }
  body .main-head {
    z-index: 1;
    color: var(--color-text);
    --ic-line: var(--color-text);
    --ic-fill: var(--color-text);
  }
  body .main-head h1 {
    font-size: 140%;
  }
}
/*-------------------------------------*/
#not-reachable-general {
  display: none;
  -ms-flex-direction: column;
      flex-direction: column;
  padding: 40px;
  padding-top: 64px;
}
#not-reachable-general #headNotReachable,
#not-reachable-general #contentNotReachable {
  width: 100%;
}
#not-reachable-general #headNotReachable {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
#not-reachable-general #headNotReachable div:nth-child(1) {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
      align-items: flex-start;
  margin: auto 0;
}
#not-reachable-general #headNotReachable div:nth-child(1) span {
  font-size: 22px;
  margin: unset;
}
#not-reachable-general #headNotReachable div:nth-child(1) svg {
  margin-right: 10px;
  padding-top: 5px;
}
#not-reachable-general #headNotReachable div:nth-child(1) svg .ic-line {
  stroke: var(--color-text);
}
@media (max-width: 599px) and (orientation: portrait) {
  #not-reachable-general #headNotReachable div:nth-child(1) {
    margin-bottom: 20px;
  }
}
#not-reachable-general #headNotReachable div:nth-child(2) {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
  -ms-flex-align: baseline;
      align-items: baseline;
}
#not-reachable-general #headNotReachable div:nth-child(2) span {
  margin: unset;
  font-size: 54px;
}
#not-reachable-general #headNotReachable div:nth-child(2) svg {
  width: 200px;
  height: auto;
  margin-right: 10px;
}
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4502,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4504 {
  stroke: #a4a9ac !important;
}
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4518,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4520,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4522,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4524,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4526,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4528,
#not-reachable-general #headNotReachable div:nth-child(2) svg #path4530 {
  fill: #a4a9ac;
  stroke: #a4a9ac;
}
#not-reachable-general #contentNotReachable {
  -ms-flex: 1;
      flex: 1;
  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;
  color: var(--color-text);
}
#not-reachable-general #contentNotReachable svg {
  margin-bottom: 20px;
  display: none;
  stroke-width: 0.5px;
  stroke: var(--color-text) !important;
}
@media (min-height: 731px) {
  #not-reachable-general #contentNotReachable svg {
    display: inline;
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  #not-reachable-general #contentNotReachable svg {
    height: 200px;
  }
}
#not-reachable-general #contentNotReachable svg .lg-line {
  stroke: var(--color-text);
  opacity: 0.5;
  stroke-width: 0.5;
}
@media (min-width: 1200px) {
  #not-reachable-general #contentNotReachable h3 {
    margin-top: 200px;
    margin-bottom: 60px;
  }
}
#not-reachable-general #contentNotReachable a {
  color: var(--color-text);
  border-bottom: solid 2px var(--color-text);
}
#not-reachable-general #contentNotReachable a:link,
#not-reachable-general #contentNotReachable a:visited,
#not-reachable-general #contentNotReachable a:hover,
#not-reachable-general #contentNotReachable a:active {
  text-decoration: none;
}
body.gw-not-reachable #not-reachable-general {
  display: -ms-flexbox;
  display: flex;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--color-element);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-text);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-alt);
}
.btn {
  background-color: var(--color-button) !important;
  color: var(--color-text);
  --ic-line: var(--color-text);
  border: none;
}
.btn:hover {
  background-color: var(--color-button-highlight) !important;
  color: var(--color-text);
}
.btn-sm {
  background-color: var(--color-button) !important;
  color: var(--color-text);
  border: none;
}
.btn-sm:hover {
  background-color: var(--color-button-highlight) !important;
}
.btn-primary {
  color: var(--color-text-selected);
  background-color: var(--color-button-selected) !important;
}
.btn-danger {
  background-color: #b71f0e !important;
  color: var(--color-text-danger);
}
select {
  background-color: var(--color-button) !important;
  color: var(--color-text);
  border: none;
  border-radius: 4px;
}
.disabled {
  color: var(--color-text) !important;
}
/*-------------------------------------*/
#settingsGwContent {
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
#settingsGwContent #gatewaySwversion,
#settingsGwContent #gatewayFirmware {
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
}
#settingsGwContent #product_lg_Svg {
  max-width: 200px;
  --lg-line: var(--color-text) !important;
  --lg-fill: var(--color-text) !important;
}
@media (max-width: 899px) {
  #settingsGwContent #product_lg_Svg.hideOnMobile {
    display: none;
  }
}
#settingsGwContent .muted {
  font-style: italic;
  color: var(--color-text-alt);
}
#settingsGwContent h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
@media (max-width: 899px) {
  #settingsGwContent h1 {
    padding-left: 18px;
    padding-top: 10px;
  }
}
#settingsGwContent h1 span:first-child {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#settingsGwContent h1 span:first-child span:first-child {
  margin-right: 10px;
}
#settingsGwContent h1 svg {
  margin-left: 10px;
  --ic-line: var(--color-text);
  --ic-fill: var(--color-text);
}
@media (max-width: 599px) and (orientation: portrait) {
  #settingsGwContent h1 {
    -ms-flex-pack: justify;
        justify-content: space-between;
    margin-left: 0px;
    margin-right: 10px;
    padding-top: 0px;
    padding-bottom: 15px;
  }
}
#settingsGwContent h1 #gwName {
  margin-left: 10px;
  color: var(--color-text);
}
#settingsGwContent h1 .context-menu-box {
  position: relative;
}
#settingsGwContent h1 .context-menu-box .context-menu {
  display: none;
  list-style: none;
  position: absolute;
  margin: 0;
  padding: 0;
  right: 12px;
  color: var(--color-text);
  border: solid 0.5px var(--color-text);
  border-radius: 5px;
  background-color: var(--color-bg);
  z-index: 10;
  top: 24px;
}
#settingsGwContent h1 .context-menu-box .context-menu li {
  font-size: 18px;
  padding: 10px 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;
}
#settingsGwContent h1 .context-menu-box .context-menu li:not(:first-child) {
  border-top: solid 1px var(--color-text);
}
#settingsGwContent h1 .context-menu-box .context-menu li svg {
  width: 18px;
  height: 18px;
}
#settingsGwContent h1 .context-menu-box .context-menu li svg #delete-icon-sm .ic-frame {
  stroke: #b71f0e;
  stroke-width: 2px;
}
#settingsGwContent h1 .context-menu-box .context-menu li span {
  padding: 5px;
}
#settingsGwContent h1 .context-menu-box.show-context .context-menu {
  display: inline;
}
#settingsGwContent h1 .context-menu-box.show-context .context-menu-outer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
#settingsGwContent .main-content-settings {
  -ms-flex: 1;
      flex: 1;
  padding-left: 54px;
  padding-right: 32px;
  padding-top: 24px;
  display: -ms-grid;
  display: grid;
  grid-gap: 20px;
  -ms-grid-columns: 300px auto;
      grid-template-columns: 300px auto;
}
#settingsGwContent .main-content-settings .main-content-image-svg {
  display: none;
}
#settingsGwContent .main-content-settings .main-content-image-svg.active {
  display: block;
}
@media (max-width: 899px) {
  #settingsGwContent .main-content-settings {
    padding-left: 0px;
    padding-right: 0px;
    grid-gap: 0px;
    padding-top: 0px;
    -ms-grid-columns: auto;
        grid-template-columns: auto;
  }
}
#settingsGwContent .main-content-settings #mainContentData {
  display: -ms-grid;
  display: grid;
  grid-gap: 20px;
  -ms-grid-rows: auto max-content;
      grid-template-rows: auto max-content;
  max-width: 580px;
}
#settingsGwContent .main-content-settings #mainContentData #topViewDiv {
  overflow-y: auto;
  padding-right: 32px;
}
@media (max-width: 1199px) and (orientation: portrait) {
  #settingsGwContent .main-content-settings #mainContentData #topViewDiv {
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
  }
}
#settingsGwContent .main-content-settings #mainContentData button,
#settingsGwContent .main-content-settings #mainContentData select {
  position: relative;
  z-index: 0;
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings {
  -ms-grid-columns: 140px auto;
      grid-template-columns: 140px auto;
  grid-row-gap: 10px;
  grid-column-gap: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings .two-columns-item {
  -ms-grid-column-span: 2;
      grid-column-end: span 2;
  margin-top: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings #gatewayProduct {
  margin-bottom: 20px;
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings button {
  min-width: 220px;
  margin-top: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings #linkChangelog {
  text-decoration: underline;
  grid-row-gap: 10px;
  margin-bottom: 10px;
  color: var(--color-text-alt);
}
#settingsGwContent .main-content-settings #mainContentData #generalSettings #linkChangelog:hover {
  opacity: 0.7;
}
#settingsGwContent .main-content-settings #mainContentData #powerSettings {
  grid-row-gap: 20px;
}
#settingsGwContent .main-content-settings #mainContentData #powerSettings button {
  width: 220px;
  margin-top: 20px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings {
  grid-row-gap: 25px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings > div:not(:last-child) {
  padding-bottom: 25px;
  border-bottom-color: #d8d5d5;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #languageArea {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #languageArea select {
  padding: 8px 16px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 20px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #dateArea {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 155px auto;
      grid-template-columns: 155px auto;
  grid-column-gap: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea {
  display: -ms-grid;
  display: grid;
  grid-gap: 15px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div1 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 155px auto;
      grid-template-columns: 155px auto;
  grid-column-gap: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div2 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto;
      grid-template-columns: auto;
  grid-column-gap: 10px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div2 button,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div2 a {
  width: 220px;
  margin-top: 15px;
  margin-bottom: 15px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div2 button.auto-update-btn,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #homebridgeArea #div2 a.auto-update-btn {
  width: 60px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #dateArea,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #connectAppArea,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #changeChannelArea {
  display: -ms-grid;
  display: grid;
  grid-gap: 2px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #dateArea button,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #connectAppArea button,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #changeChannelArea button {
  width: 220px;
  margin-top: 15px;
  margin-bottom: 15px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #dateArea button.auto-update-btn,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #connectAppArea button.auto-update-btn,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #changeChannelArea button.auto-update-btn {
  width: 60px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #changeChannelArea {
  -ms-grid-columns: 155px auto;
      grid-template-columns: 155px auto;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #lightDurationArea,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #otauArea,
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #discoveryArea {
  display: -ms-grid;
  display: grid;
  grid-gap: 12px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings #discoveryArea {
  margin-bottom: 20px;
}
#settingsGwContent .main-content-settings #mainContentData #advancedSettings .two-columns-item {
  -ms-grid-column-span: 2;
      grid-column-end: span 2;
}
#settingsGwContent .main-content-settings #mainContentData .status-child-view {
  display: none;
}
#settingsGwContent .main-content-settings #mainContentData .status-child-view.active-view {
  display: -ms-grid;
  display: grid;
}
#settingsGwContent .main-content-settings #mainContentData #authAllowed {
  display: none;
  padding: 8px 16px;
  color: var(--color-text);
  background-color: cornflowerblue;
  border-radius: 4px;
  transition: opacity 100ms ease-in;
  margin-top: 15px;
  margin-bottom: 0;
}
#settingsGwContent .main-content-settings #mainContentData #authAllowed.show {
  display: block;
}
#settingsGwContent .main-content-settings #mainContentData #authAllowed #countdownTime {
  float: right;
}
#settingsGwContent .main-content-settings #navigationDiv {
  background-color: var(--color-bg) !important;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 80px 80px 80px;
      grid-template-columns: 80px 80px 80px;
  grid-gap: 24px;
  position: absolute;
  bottom: 0px;
  width: 100%;
}
@media (min-width: 600px) and (orientation: portrait) {
  #settingsGwContent .main-content-settings #navigationDiv {
    width: 498px;
  }
}
@media (min-width: 600px) {
  #settingsGwContent .main-content-settings #navigationDiv {
    margin-bottom: 20px;
  }
}
@media (max-width: 1199px) and (orientation: portrait) {
  #settingsGwContent .main-content-settings #navigationDiv {
    -ms-flex-pack: center;
        justify-content: center;
  }
}
#settingsGwContent .main-content-settings #navigationDiv #generalTab,
#settingsGwContent .main-content-settings #navigationDiv #advancedTab,
#settingsGwContent .main-content-settings #navigationDiv #powerTab {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  color: var(--color-text);
}
#settingsGwContent .main-content-settings #navigationDiv #generalTab svg,
#settingsGwContent .main-content-settings #navigationDiv #advancedTab svg,
#settingsGwContent .main-content-settings #navigationDiv #powerTab svg {
  --ic-line: var(--color-text);
  --ic-frame: var(--color-text);
  --ic-fill: var(--color-text);
}
#settingsGwContent .main-content-settings #navigationDiv #generalTab.active-tab,
#settingsGwContent .main-content-settings #navigationDiv #advancedTab.active-tab,
#settingsGwContent .main-content-settings #navigationDiv #powerTab.active-tab {
  color: var(--color-settings-selected-menu);
}
#settingsGwContent .main-content-settings #navigationDiv #generalTab.active-tab svg,
#settingsGwContent .main-content-settings #navigationDiv #advancedTab.active-tab svg,
#settingsGwContent .main-content-settings #navigationDiv #powerTab.active-tab svg {
  --ic-line: var(--color-settings-selected-menu);
  --ic-frame: var(--color-settings-selected-menu);
  --ic-fill: var(--color-settings-selected-menu);
}
@media (max-width: 599px) and (orientation: portrait) {
  #settingsGwContent .main-content-settings #navigationDiv #generalTab,
  #settingsGwContent .main-content-settings #navigationDiv #advancedTab,
  #settingsGwContent .main-content-settings #navigationDiv #powerTab {
    -ms-transform: scale(0.75);
        transform: scale(0.75);
  }
}
#settingsGwContent #resetGatewayBtn {
  color: var(--color-danger);
}
#settingsGwContent #resetGatewayBtn svg {
  --ic-line: var(--color-danger);
}
@media (min-width: 600px) {
  #settingsGwContent #resetGatewayBtn {
    position: fixed;
    right: 0;
    top: 48px;
    padding-top: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1200px) {
  #settingsGwContent #resetGatewayBtn {
    top: 32px;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  #settingsGwContent #resetGatewayBtn {
    top: 10px;
  }
}
.lg-line {
  stroke-width: 2px;
}
.lg-frame {
  stroke-width: 4px;
}
#renameGatewayModal,
#changeZigBeeChannelModal,
#restartGwModal,
#resetGatewayModal,
#changePasswordGatewayModal,
#resetHomebridgeModal,
#shutdownGwModal,
#backupGatewayModal,
#updateModal,
#changeTimezoneModal {
  background-color: #00000085;
}
#renameGatewayModal .close,
#changeZigBeeChannelModal .close,
#restartGwModal .close,
#resetGatewayModal .close,
#changePasswordGatewayModal .close,
#resetHomebridgeModal .close,
#shutdownGwModal .close,
#backupGatewayModal .close,
#updateModal .close,
#changeTimezoneModal .close {
  opacity: 1 !important;
  color: var(--color-text);
}
#renameGatewayModal .modal-content,
#changeZigBeeChannelModal .modal-content,
#restartGwModal .modal-content,
#resetGatewayModal .modal-content,
#changePasswordGatewayModal .modal-content,
#resetHomebridgeModal .modal-content,
#shutdownGwModal .modal-content,
#backupGatewayModal .modal-content,
#updateModal .modal-content,
#changeTimezoneModal .modal-content {
  background-color: transparent;
}
#renameGatewayModal .modal-header,
#changeZigBeeChannelModal .modal-header,
#restartGwModal .modal-header,
#resetGatewayModal .modal-header,
#changePasswordGatewayModal .modal-header,
#resetHomebridgeModal .modal-header,
#shutdownGwModal .modal-header,
#backupGatewayModal .modal-header,
#updateModal .modal-header,
#changeTimezoneModal .modal-header {
  background-color: var(--color-bg);
  color: var(--color-text-alt);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 1px solid var(--color-element);
}
#renameGatewayModal .modal-title,
#changeZigBeeChannelModal .modal-title,
#restartGwModal .modal-title,
#resetGatewayModal .modal-title,
#changePasswordGatewayModal .modal-title,
#resetHomebridgeModal .modal-title,
#shutdownGwModal .modal-title,
#backupGatewayModal .modal-title,
#updateModal .modal-title,
#changeTimezoneModal .modal-title {
  -ms-flex: 1;
      flex: 1;
}
#renameGatewayModal .modal-body,
#changeZigBeeChannelModal .modal-body,
#restartGwModal .modal-body,
#resetGatewayModal .modal-body,
#changePasswordGatewayModal .modal-body,
#resetHomebridgeModal .modal-body,
#shutdownGwModal .modal-body,
#backupGatewayModal .modal-body,
#updateModal .modal-body,
#changeTimezoneModal .modal-body {
  background-color: var(--color-bg);
  color: var(--color-text);
}
#renameGatewayModal .modal-body .text-bold,
#changeZigBeeChannelModal .modal-body .text-bold,
#restartGwModal .modal-body .text-bold,
#resetGatewayModal .modal-body .text-bold,
#changePasswordGatewayModal .modal-body .text-bold,
#resetHomebridgeModal .modal-body .text-bold,
#shutdownGwModal .modal-body .text-bold,
#backupGatewayModal .modal-body .text-bold,
#updateModal .modal-body .text-bold,
#changeTimezoneModal .modal-body .text-bold {
  font-weight: bold;
}
#renameGatewayModal .modal-body .page,
#changeZigBeeChannelModal .modal-body .page,
#restartGwModal .modal-body .page,
#resetGatewayModal .modal-body .page,
#changePasswordGatewayModal .modal-body .page,
#resetHomebridgeModal .modal-body .page,
#shutdownGwModal .modal-body .page,
#backupGatewayModal .modal-body .page,
#updateModal .modal-body .page,
#changeTimezoneModal .modal-body .page {
  display: none;
}
#renameGatewayModal .modal-body .page.active-page,
#changeZigBeeChannelModal .modal-body .page.active-page,
#restartGwModal .modal-body .page.active-page,
#resetGatewayModal .modal-body .page.active-page,
#changePasswordGatewayModal .modal-body .page.active-page,
#resetHomebridgeModal .modal-body .page.active-page,
#shutdownGwModal .modal-body .page.active-page,
#backupGatewayModal .modal-body .page.active-page,
#updateModal .modal-body .page.active-page,
#changeTimezoneModal .modal-body .page.active-page {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#renameGatewayModal .modal-body .page .result,
#changeZigBeeChannelModal .modal-body .page .result,
#restartGwModal .modal-body .page .result,
#resetGatewayModal .modal-body .page .result,
#changePasswordGatewayModal .modal-body .page .result,
#resetHomebridgeModal .modal-body .page .result,
#shutdownGwModal .modal-body .page .result,
#backupGatewayModal .modal-body .page .result,
#updateModal .modal-body .page .result,
#changeTimezoneModal .modal-body .page .result {
  color: var(--color-text);
}
#renameGatewayModal .modal-body .page .muted,
#changeZigBeeChannelModal .modal-body .page .muted,
#restartGwModal .modal-body .page .muted,
#resetGatewayModal .modal-body .page .muted,
#changePasswordGatewayModal .modal-body .page .muted,
#resetHomebridgeModal .modal-body .page .muted,
#shutdownGwModal .modal-body .page .muted,
#backupGatewayModal .modal-body .page .muted,
#updateModal .modal-body .page .muted,
#changeTimezoneModal .modal-body .page .muted {
  font-style: italic;
  color: var(--color-text-alt);
}
#renameGatewayModal .modal-body .page .form-group button,
#changeZigBeeChannelModal .modal-body .page .form-group button,
#restartGwModal .modal-body .page .form-group button,
#resetGatewayModal .modal-body .page .form-group button,
#changePasswordGatewayModal .modal-body .page .form-group button,
#resetHomebridgeModal .modal-body .page .form-group button,
#shutdownGwModal .modal-body .page .form-group button,
#backupGatewayModal .modal-body .page .form-group button,
#updateModal .modal-body .page .form-group button,
#changeTimezoneModal .modal-body .page .form-group button {
  margin: 8px 0px;
}
#renameGatewayModal .modal-body .page #channelBtnDiv,
#changeZigBeeChannelModal .modal-body .page #channelBtnDiv,
#restartGwModal .modal-body .page #channelBtnDiv,
#resetGatewayModal .modal-body .page #channelBtnDiv,
#changePasswordGatewayModal .modal-body .page #channelBtnDiv,
#resetHomebridgeModal .modal-body .page #channelBtnDiv,
#shutdownGwModal .modal-body .page #channelBtnDiv,
#backupGatewayModal .modal-body .page #channelBtnDiv,
#updateModal .modal-body .page #channelBtnDiv,
#changeTimezoneModal .modal-body .page #channelBtnDiv {
  display: -ms-grid;
  display: grid;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-grid-columns: (50px)[4];
      grid-template-columns: repeat(4, 50px);
  grid-gap: 20px;
}
#renameGatewayModal .modal-body .page .gear-spinner,
#changeZigBeeChannelModal .modal-body .page .gear-spinner,
#restartGwModal .modal-body .page .gear-spinner,
#resetGatewayModal .modal-body .page .gear-spinner,
#changePasswordGatewayModal .modal-body .page .gear-spinner,
#resetHomebridgeModal .modal-body .page .gear-spinner,
#shutdownGwModal .modal-body .page .gear-spinner,
#backupGatewayModal .modal-body .page .gear-spinner,
#updateModal .modal-body .page .gear-spinner,
#changeTimezoneModal .modal-body .page .gear-spinner {
  margin: 38px;
}
#renameGatewayModal .modal-body .page svg.success,
#changeZigBeeChannelModal .modal-body .page svg.success,
#restartGwModal .modal-body .page svg.success,
#resetGatewayModal .modal-body .page svg.success,
#changePasswordGatewayModal .modal-body .page svg.success,
#resetHomebridgeModal .modal-body .page svg.success,
#shutdownGwModal .modal-body .page svg.success,
#backupGatewayModal .modal-body .page svg.success,
#updateModal .modal-body .page svg.success,
#changeTimezoneModal .modal-body .page svg.success {
  --ic-line: #5cb85c;
}
#renameGatewayModal .modal-body .page svg.danger,
#changeZigBeeChannelModal .modal-body .page svg.danger,
#restartGwModal .modal-body .page svg.danger,
#resetGatewayModal .modal-body .page svg.danger,
#changePasswordGatewayModal .modal-body .page svg.danger,
#resetHomebridgeModal .modal-body .page svg.danger,
#shutdownGwModal .modal-body .page svg.danger,
#backupGatewayModal .modal-body .page svg.danger,
#updateModal .modal-body .page svg.danger,
#changeTimezoneModal .modal-body .page svg.danger {
  --ic-line: var(--color-text);
}
#renameGatewayModal .modal-body .page input,
#changeZigBeeChannelModal .modal-body .page input,
#restartGwModal .modal-body .page input,
#resetGatewayModal .modal-body .page input,
#changePasswordGatewayModal .modal-body .page input,
#resetHomebridgeModal .modal-body .page input,
#shutdownGwModal .modal-body .page input,
#backupGatewayModal .modal-body .page input,
#updateModal .modal-body .page input,
#changeTimezoneModal .modal-body .page input {
  color: var(--color-text);
  background-color: var(--color-element);
}
#renameGatewayModal .modal-body .page input[disabled],
#changeZigBeeChannelModal .modal-body .page input[disabled],
#restartGwModal .modal-body .page input[disabled],
#resetGatewayModal .modal-body .page input[disabled],
#changePasswordGatewayModal .modal-body .page input[disabled],
#resetHomebridgeModal .modal-body .page input[disabled],
#shutdownGwModal .modal-body .page input[disabled],
#backupGatewayModal .modal-body .page input[disabled],
#updateModal .modal-body .page input[disabled],
#changeTimezoneModal .modal-body .page input[disabled] {
  cursor: initial;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
#renameGatewayModal .modal-body #selectTimezone,
#changeZigBeeChannelModal .modal-body #selectTimezone,
#restartGwModal .modal-body #selectTimezone,
#resetGatewayModal .modal-body #selectTimezone,
#changePasswordGatewayModal .modal-body #selectTimezone,
#resetHomebridgeModal .modal-body #selectTimezone,
#shutdownGwModal .modal-body #selectTimezone,
#backupGatewayModal .modal-body #selectTimezone,
#updateModal .modal-body #selectTimezone,
#changeTimezoneModal .modal-body #selectTimezone {
  width: 100%;
  padding: 10px;
}
#renameGatewayModal .modal-footer,
#changeZigBeeChannelModal .modal-footer,
#restartGwModal .modal-footer,
#resetGatewayModal .modal-footer,
#changePasswordGatewayModal .modal-footer,
#resetHomebridgeModal .modal-footer,
#shutdownGwModal .modal-footer,
#backupGatewayModal .modal-footer,
#updateModal .modal-footer,
#changeTimezoneModal .modal-footer {
  border-top: 1px solid var(--color-element);
  background-color: var(--color-bg);
  color: var(--color-text);
}
#renameGatewayModal .modal-footer .invisible,
#changeZigBeeChannelModal .modal-footer .invisible,
#restartGwModal .modal-footer .invisible,
#resetGatewayModal .modal-footer .invisible,
#changePasswordGatewayModal .modal-footer .invisible,
#resetHomebridgeModal .modal-footer .invisible,
#shutdownGwModal .modal-footer .invisible,
#backupGatewayModal .modal-footer .invisible,
#updateModal .modal-footer .invisible,
#changeTimezoneModal .modal-footer .invisible {
  visibility: hidden;
}
#renameGatewayModal .modal-footer button svg,
#changeZigBeeChannelModal .modal-footer button svg,
#restartGwModal .modal-footer button svg,
#resetGatewayModal .modal-footer button svg,
#changePasswordGatewayModal .modal-footer button svg,
#resetHomebridgeModal .modal-footer button svg,
#shutdownGwModal .modal-footer button svg,
#backupGatewayModal .modal-footer button svg,
#updateModal .modal-footer button svg,
#changeTimezoneModal .modal-footer button svg {
  --ic-line: var(--color-button);
  margin-right: 5px;
  vertical-align: text-bottom;
}
#renameGatewayModal #oldPwInfo,
#changeZigBeeChannelModal #oldPwInfo,
#restartGwModal #oldPwInfo,
#resetGatewayModal #oldPwInfo,
#changePasswordGatewayModal #oldPwInfo,
#resetHomebridgeModal #oldPwInfo,
#shutdownGwModal #oldPwInfo,
#backupGatewayModal #oldPwInfo,
#updateModal #oldPwInfo,
#changeTimezoneModal #oldPwInfo,
#renameGatewayModal #changePwError,
#changeZigBeeChannelModal #changePwError,
#restartGwModal #changePwError,
#resetGatewayModal #changePwError,
#changePasswordGatewayModal #changePwError,
#resetHomebridgeModal #changePwError,
#shutdownGwModal #changePwError,
#backupGatewayModal #changePwError,
#updateModal #changePwError,
#changeTimezoneModal #changePwError {
  visibility: visible;
}
#changeZigBeeChannelModal .page[data-page="page3"],
#changeZigBeeChannelModal .page[data-page="page3Error"],
#changeZigBeeChannelModal .page[data-page="page3Success"] {
  -ms-flex-align: center;
      align-items: center;
}
#changePasswordGatewayModal .page[data-page="pageSuccess"],
#changePasswordGatewayModal .page[data-page="pageError"] {
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
}
.gear-spinner {
  -ms-transform: scale(1.6);
      transform: scale(1.6);
  --ic-line: var(--color-text);
}
.gear-spinner > use {
  animation: rotate 4s linear infinite;
  -ms-transform-origin: 24px 24px;
      transform-origin: 24px 24px;
}
#diagnoseZigbee {
  position: fixed;
  inset: 0 0 0 var(--nav-width);
  padding: clamp(20px, 5vw, 48px);
  background: var(--color-bg);
  color: var(--color-text);
  grid-template-areas: "hdr" "info" "tbl";
  grid-row-gap: 2.5rem;
  overflow: auto;
  min-height: 100vh;
}
#diagnoseZigbee h1 {
  font-size: 12;
}
#diagnoseZigbee d .info {
  grid-area: info;
  font-size: 1.08rem;
  margin-bottom: 1em;
  color: var(--color-text-alt);
  background: var(--color-element);
  border-radius: 10px;
  padding: 1em 1.5em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
#diagnoseZigbee table {
  grid-area: tbl;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  background: var(--color-element);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
#diagnoseZigbee table th,
#diagnoseZigbee table td {
  padding: 1.1em 1.6em;
  text-align: left;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--color-element-alt);
  color: var(--color-text);
}
#diagnoseZigbee table th {
  background: var(--color-bg);
  font-weight: 600;
  color: var(--color-settings-selected-menu);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03);
}
#diagnoseZigbee table tr {
  transition: background 0.18s;
}
#diagnoseZigbee table tr:hover td {
  background: var(--color-hover, #f5f5f5);
}
#diagnoseZigbee table tr:first-child td:not(:last-child) {
  background: var(--color-element-alt);
}
#diagnoseZigbee table tr:last-child td {
  border-bottom: none;
}
#diagnoseZigbee .load-info {
  opacity: 0;
  font-weight: 600;
  color: var(--color-settings-selected-menu);
  transition: opacity 0.3s;
  margin-top: 1.2em;
  text-align: center;
}
#diagnoseZigbee.loading table button {
  opacity: 0.3;
  pointer-events: none;
}
#diagnoseZigbee.loading .load-info {
  opacity: 1;
}
@media (max-width: 900px) {
  #diagnoseZigbee {
    padding: clamp(10px, 3vw, 24px);
  }
  #diagnoseZigbee table th,
  #diagnoseZigbee table td {
    padding: 0.7em 0.9em;
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  #diagnoseZigbee {
    position: absolute;
    inset: 0;
    padding: 8px 1vw;
    grid-row-gap: 1.2rem;
  }
  #diagnoseZigbee h1 {
    font-size: 1.25rem;
  }
  #diagnoseZigbee .info {
    font-size: 0.97rem;
    padding: 0.7em 1em;
  }
  #diagnoseZigbee table {
    font-size: 0.93rem;
    border-radius: 8px;
  }
}
#diagnoseSettings.loading #diagnoseZigbee table button {
  opacity: 0.3;
  pointer-events: none;
}
#diagnoseSettings.loading #diagnoseZigbee .load-info {
  opacity: 1;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 899px) {
  #mainContentImage {
    display: none;
  }
  .shadow-top {
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.3);
  }
  .shadow-bottom {
    box-shadow: 0px -2px 6px 0px rgba(0, 0, 0, 0.3);
  }
  .shadow-top.shadow-bottom {
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.3), 0px -2px 6px 0px rgba(0, 0, 0, 0.3);
  }
}
@media (min-width: 900px) {
  #mainContentImage {
    display: unset;
  }
}
