body {
  background-color: var(--bg-alt, green);
}
body #de-conbee-icon .ic-line.ic-frame {
  stroke-width: 1.7;
}
body .settings-nav .ic-line,
body .ic-line,
body .ic-frame {
  stroke: --ic-line;
}
body .settings-nav .ic-fill,
body .ic-fill {
  fill: --ic-fill;
}
.lg-line {
  stroke-width: 2px;
}
.lg-frame {
  stroke-width: 4px;
}
#detail-txt {
  position: relative;
}
#detail-txt p.description {
  opacity: 0.6;
  font-size: 93%;
  font-style: italic;
}
#diagnoseZigbee {
  position: fixed;
  top: 0;
  left: var(--nav-width);
  bottom: 0;
  right: 0;
  padding: 32px;
  background-color: var(--bg-alt, green);
  display: -ms-grid;
  display: grid;
  overflow: auto;
  grid-row-gap: 2rem;
  grid-template-areas: "hdr" "info" "tbl";
}
#diagnoseZigbee h1 {
  grid-area: hdr;
}
#diagnoseZigbee .info {
  grid-area: info;
}
#diagnoseZigbee table {
  grid-area: tbl;
  max-height: 65vh;
  overflow-y: scroll;
}
#diagnoseZigbee table th,
#diagnoseZigbee table td {
  padding: 0px 16px;
}
#diagnoseZigbee table tr:first-child td:not(:last-child) {
  background-color: var(--li-body);
}
#diagnoseZigbee .load-info {
  opacity: 0;
  font-weight: 600;
  color: var(--fg-special);
}
#diagnoseZigbee.loading table button {
  opacity: 0.3;
}
#diagnoseZigbee.loading .load-info {
  opacity: 1;
}
.progress {
  position: relative;
  -ms-flex: 1;
      flex: 1;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}
.progressBar {
  position: absolute;
  top: 0px;
  bottom: 0px;
  width: 0%;
  background-color: #55626b;
  box-sizing: border-box;
}
.hdr-delete-btn {
  white-space: nowrap;
  margin-right: 8px;
  margin-top: 16px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
  margin-left: auto;
}
.settings-tab {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 20vw;
  max-width: 440px;
}
.settings-tab .btn {
  margin: 12px 0px !important;
}
.settings-nav {
  position: fixed;
  bottom: 0vw;
  left: 20vw;
  max-height: 20vw;
}
.settings-nav > div {
  -ms-transform: scale(0.75);
      transform: scale(0.75);
  margin: 0px 16px;
}
.settings-nav svg {
  min-width: 48px;
  min-height: 48px;
}
.page-right,
.page-left {
  opacity: 0;
}
body.main-settings #general-tab,
body.advanced-settings #advanced-tab,
body.power-settings #power-tab {
  color: #c17e39;
  --ic-line: #c17e39;
  --ic-frame: #c17e39;
  --ic-fill: #c17e39;
}
.body-content-settings {
  position: absolute;
  overflow-x: hidden;
  overflow-y: auto;
  top: var(--hdr-height);
  left: 4vw;
  bottom: 20vw;
  right: 4vw;
}
.body-content-settings #detail-img {
  display: none;
}
.body-content-settings .main-head {
  -ms-flex-direction: column;
      flex-direction: column;
}
.body-content-settings .main-head h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 0;
}
.body-content-settings .main-head h1 span {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.body-content-settings .main-head h1 #gateway_name {
  margin-left: 10px;
}
.body-content-settings .main-head h1 #edit-btn {
  margin-left: 40px;
}
.body-content-settings .main-content-settings hr {
  border-top-color: #cccccc;
  margin-left: 0px;
}
.body-content-settings .main-content-settings .left-col {
  display: inline-block;
  min-width: 150px;
  line-height: 1.6em;
}
.body-content-settings .main-content-settings .italic {
  font-size: 15px;
  font-style: italic;
}
.body-content-settings .main-content-settings .center {
  text-align: center;
}
.body-content-settings .main-content-settings #versionInfo {
  padding-top: 8px;
  padding-bottom: 20px;
}
.body-content-settings .main-content-settings a {
  text-decoration: underline;
}
.page-details h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#gateway_image_sm svg {
  min-width: 32px;
  -ms-transform: scale(0.85);
      transform: scale(0.85);
}
h1 .item-edit svg {
  -ms-transform: scale(0.8);
      transform: scale(0.8);
}
.page-details h1 {
  margin-left: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 416px) {
  .page-details h1 {
    margin-right: auto;
  }
}
.page-details .item-edit {
  opacity: 0.8;
}
@media (max-width: 416px) {
  .settings-tab {
    transition: opacity 80ms ease-in, transform 160ms ease-in;
  }
  .page-left {
    opacity: 0;
  }
  .page-right {
    opacity: 0;
  }
  body.advanced-settings .main-head,
  body.power-settings .main-head {
    -ms-transform: translateY(-100%);
        transform: translateY(-100%);
  }
  body.advanced-settings .main-head + div,
  body.power-settings .main-head + div {
    -ms-transform: translateY(-114px);
        transform: translateY(-114px);
  }
  .main.page {
    position: absolute;
    top: 32px;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .main-head h1 {
    width: 88vw;
    max-width: 88vw;
  }
  .bottom-bar {
    left: 0;
  }
  #lights-cont {
    left: 0;
  }
  #notEmptyBtn {
    margin-left: 10vw;
  }
}
@media (min-width: 600px) {
  #gateway_image_sm svg {
    -ms-transform: unset;
        transform: unset;
  }
  h1 .item-edit svg {
    -ms-transform: unset;
        transform: unset;
  }
  .main-head {
    padding: unset;
  }
  .main-head h1 {
    margin-top: 0;
  }
  .main-head .hdr-delete-btn {
    margin-top: 3rem;
  }
  .main-content-settings {
    position: relative;
    -ms-flex: 1 0 auto;
        flex: 1 0 auto;
  }
  .main-content-settings #detail-img {
    display: unset;
  }
  .main-content-settings #detail-img svg {
    margin-top: 1.2vw;
    max-width: 200px;
  }
  .settings-tab {
    opacity: unset;
    visibility: hidden;
  }
  .body-content-settings {
    left: var(--nav-width);
    bottom: 0;
    padding-left: 4vw;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  #detail-txt {
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 4vw;
    bottom: 0;
    left: 0;
    right: 5vw;
    -ms-overflow-style: none;
  }
  #detail-txt::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }
  #detail-txt .btn {
    margin: 20px 0px;
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
  #detail-txt .btn-default {
    min-width: 220px;
  }
  #detail-txt #showUpdate_btn button {
    margin-top: 4px;
    margin-bottom: 24px;
  }
  .main.page {
    height: 100%;
    position: absolute;
    left: 280px;
    right: 0;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  body.main-settings #detail-txt {
    top: 25vw;
  }
  body.main-settings #main-settings {
    visibility: visible;
  }
  body.advanced-settings #detail-img {
    display: none;
  }
  body.advanced-settings #advanced-settings {
    visibility: visible;
  }
  body.power-settings #detail-img {
    display: none;
  }
  body.power-settings #power-settings {
    visibility: visible;
  }
  .settings-nav {
    -ms-flex-direction: column;
        flex-direction: column;
    right: 5vw;
    left: unset;
    top: 30vw;
  }
  .settings-nav > div {
    margin: 16px 0;
    min-height: 48px;
    -ms-transform: unset;
        transform: unset;
  }
  .settings-nav svg + span {
    display: none;
  }
  .body-content {
    padding-left: 0;
  }
  #groupSelect {
    position: relative;
  }
}
@media (max-height: 800px) {
  .shadow-top {
    box-shadow: inset 0px 4px 3px -5px rgba(0, 0, 0, 0.5);
  }
  .shadow-bottom {
    box-shadow: inset 0px -4px 3px -5px rgba(0, 0, 0, 0.5);
  }
  .shadow-top.shadow-bottom {
    box-shadow: inset 0px 4px 3px -5px rgba(0, 0, 0, 0.5), inset 0px -4px 4px -5px rgba(0, 0, 0, 0.5);
  }
}
body.static-nav {
  position: absolute;
  width: 100%;
}
/*#detail-img {
	width: 216px;
}

#detail-img svg {
	width: 100%;
}*/
#unlockGateway {
  margin-top: 1.5em;
}
#authAllowed {
  opacity: 0;
  display: none;
  padding: 8px 16px;
  color: white;
  background-color: cornflowerblue;
  border-radius: 4px;
  transition: opacity 100ms ease-in;
}
body.gw-unlocked #authAllowed {
  opacity: 1;
  display: unset;
}
body.gw-unlocked #unlockGateway button {
  opacity: 0.3;
}
@media (min-width: 900px) {
  .main-head h1 {
    padding-left: unset;
  }
  .settings-nav {
    -ms-flex-direction: row;
        flex-direction: row;
    right: 9vw;
    left: unset;
    top: unset;
    bottom: 4vw;
  }
  .settings-nav > div {
    margin: 0 32px;
    -ms-transform: unset;
        transform: unset;
  }
  .settings-nav svg + span {
    display: unset;
  }
  .settings-tab {
    display: none;
    padding: 24px 16px;
  }
  #detail-txt {
    background-color: #f4f4f4;
    top: 1vw;
    left: 24vw;
    right: 0;
    bottom: 13vw;
  }
  body.main-settings #main-settings {
    visibility: visible;
    display: unset;
  }
  body.advanced-settings #advanced-settings {
    visibility: visible;
    display: unset;
  }
  body.power-settings #power-settings {
    visibility: visible;
    display: unset;
  }
}
@media (min-width: 900px) and (min-height: 875px) {
  #detail-txt {
    background-color: unset;
  }
}
@media (min-width: 1200px) {
  #detail-txt {
    left: 300px;
    max-width: 538px;
    right: 0;
    bottom: 13vw;
  }
  .settings-nav {
    right: unset;
    left: 680px;
  }
}
