.modal-view-popup {
  position: absolute;
  z-index: 1000;
  top: 0px;
  right: 0px;
}
.pos-rel {
  position: relative;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.perfect-centre {
  display: flex;
  align-items: center;
  justify-content: center;
}
.justify-content-sa {
  justify-content: space-around;
}
.justify-content-sb {
  justify-content: space-between;
}
.m-pointer {
  cursor: pointer;
}
.cell-monitor-cont {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.cell-monitor-cont::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.cell-monitor-cont::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 10px;
}
.cell-monitor-cont::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0px 0px 1px 1px #ddd;
}

.header-page-content {
  min-width: 1250px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 60px;
  padding: 0px 0px 0px 30px;
  box-shadow: 0px 0px 10px 1px #ccc;
}
.page-title {
  color: #d00;
  font-size: 18px;
  font-weight: 600;
}
.header-btn-cont {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.control-btn {
  font-size: 13px;
}

.clear-faults {
  width: 164px;
  height: 36px;
  margin: 0px 10px;
  color: #d00;
  font-size: 13px;
  font-weight: 700;
}
.clear-faults:active {
  box-shadow: 0px 0px 5px -1px #d00;
}

.clear-faults-icon {
  width: 20px;
  height: 20px;
  margin-right: 7px;
}

.details-content {
  position: fixed;
  width: calc(100% - 50px);
  height: calc(100% - 183px);
}

.header-btn {
  width: 180px;
  height: 40px;
  margin: 0px 10px;
  color: #fff;
}
.header-btn.red {
  background-color: #d00;
}
.header-btn.red:active {
  box-shadow: 0px 0px 15px -1px rgb(255, 65, 35);
}
.header-btn.cyan {
  background-color: #118899;
}
.header-btn.cyan:active {
  box-shadow: 0px 0px 15px -1px #118899;
}
.details-wrapper {
  padding: 20px;
  height: 100%;
}
.details-cont {
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 5px 1px #ccc;
}
.cell-voltage-gpio-details-cont {
  height: 100%;
  padding: 10px 30px;
}

.cell-voltage-details-bottom {
  width: 100%;
  height: calc(100% - 5px);
  overflow: auto !important;
}
.cell-voltage-details-bottom::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.cell-voltage-details-bottom::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 10px;
}
.cell-voltage-details-bottom::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0px 0px 1px 1px #ddd;
}

.info {
  height: 40px;
  padding-top: 10px;
  color: #229cc6;
}

.info-icon {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}

.cell-voltage-details-header {
  height: 60px;
  border-top: 0.6px solid #cacaca;
  border-bottom: 0.6px solid #cacaca;
  margin-bottom: 20px;
}
.cell-voltage-details {
  width: 100%;
}
table.cell-voltage-details {
  border-collapse: collapse;
}
.cell-voltage-details-header-cell {
  color: #229cc6;
  font-size: 16px;
  text-align: center;
}
.cell-voltage-details-header-cell.poll {
  min-width: 80px;
}
.cell-voltage-details-header-cell.board-address {
  min-width: 150px;
}
.cell-voltage-details-header-cell.faults {
  min-width: 140px;
}

.cell-voltage-details-body {
  border: 0.6px solid rgb(235, 235, 235);
  border-radius: 4px;
  height: 50px;
}
.thead-space {
  height: 20px;
}
.tbody-space {
  height: 10px;
}

.cell-voltage-details-body-cell {
  color: #666;
  text-align: center;
}
.cell-voltage-details-body-cell.board-address {
  letter-spacing: 1px;
}

.cell-voltage-details-gpio-config {
  text-align: center;
  text-decoration: underline;
  color: #30a2c9;
}

.gpio-config-wrap {
  display: inline-flex;
  align-items: center;
}

.expand-gpio-btn {
  width: 22px;
  height: 22px;
  margin-left: 5px;
  color: #30a2c9;
}

.expand-register-btn {
  width: 18px;
  height: 18px;
  margin-left: 5px;
  color: gray;
}
.expand-register-btn:active {
  color: black;
}
/* .inner-wrapper table tr:nth-child(2),
.inner-wrapper table tr:nth-child(4),
.inner-wrapper table tr:nth-child(6),
.inner-wrapper table tr:nth-child(7),
.inner-wrapper table tr:nth-child(10),
.inner-wrapper table tr:nth-child(11),
.inner-wrapper table tr:nth-child(13),
.inner-wrapper table tr:nth-child(24),
.inner-wrapper table tr:nth-child(25),
.inner-wrapper table tr:nth-child(26)
 {
  background:  #f1f3f3;
} */

.table-bg {
  background: #f1f3f3;
}

#faults-reg-group {
  display: flex;
  align-items: center;
}
.register-relative {
  position: relative;
}
.register {
  position: absolute;
  left: calc(100% + 20px);
  top: -50px;
  z-index: 1;
}
.fault-register {
  display: flex;
  flex-direction: column;
  padding: 20px !important;
  width: 250px;
  top: 100px;
  left: calc(100% - 420px);
  z-index: 10;
  border: 0.1px solid #d8dbdb;
  background-color: white;
  box-shadow: 0px 0px 10px 0px rgb(184, 183, 183);
}
.close-icon > iron-icon {
  --iron-icon-height: 15px;
  --iron-icon-width: 15px;
}
.close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.field-bit-pairs {
  display: flex;
  padding: 10px 15px;
  padding-bottom: 0px;
}
.fault-register-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.fault-register-bits {
  margin-right: 15px;
}
.fault-register-bits,
.fault-register-fields {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.fault-register-bits > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fault-register-fields > div {
  display: flex;
  height: 30px;
  align-items: center;
}
.fault-register-addr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  border: 2px solid #d8dbdb;
  border-radius: 4px;
}
.fault-register-name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  color: #02688c;
}
.board-faults-wrapper {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: flex-end;
  justify-content: flex-end;
}

.inner-wrapper {
  height: 100%;
}
.board-faults-cont {
  height: 100%;
  width: 100%;
  padding: 40px 40px 40px 60px;
  background-color: #fff;
  border-radius: 3px;
}

.board-faults-top {
  margin-bottom: 30px;
}
.board-faults-top-left {
  display: flex;
  margin-right: 20px;
}
.board-faults-device {
  color: #34a4ca;
  font-size: 18px;
  /* padding-left: 20px; */
}

.board-faults-title {
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  margin-left: 20px;
}

.board-faults-clear-btn {
  position: relative;
  width: 100px;
  height: 34px;
  margin-right: 20px;
  color: #fff;
  font-size: 11px;
  background-color: #d00;
  border-radius: 3px;
}
.board-faults-clear-btn:active {
  box-shadow: 0px 0px 15px -1px rgb(255, 65, 35);
}
.board-faults-clear-btn::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.board-faults-clear-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.board-faults-close-icon {
  color: #666;
}

.board-faults-summary {
  margin-bottom: 30px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.board-faults-summary-fault {
  min-width: 160px;
  padding: 15px;
  color: #34a4ca;
}

.board-faults-summary-fault .led-indicator {
  margin-left: 10px;
}

.board-faults-bottom {
  display: flex;
}

.board-faults-system,
.board-faults-bottom-middle,
.board-faults-comm2 {
  flex-grow: 1;
  height: 100%;
}

.board-faults-comm1 {
  margin-bottom: 20px;
}

.board-faults-comm2 {
  margin-left: 20px;
}

.board-faults-bottom-title {
  height: 40px;
  color: #02688c;
  background-color: #d9f1f4;
}

.board-faults-section {
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.board-fault-detail {
  width: 230px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

.fault-name {
  color: #555555;
  font-family: Roboto;
  font-size: 13px;
  line-height: 15px;
}

.faults-table-head {
  background-color: rgb(212, 229, 238);
}

.faults-table-header {
  height: 60px;
  border-radius: 4px 4px 0 0;
}

.fault-detail {
  text-align: center !important;
}
.faults-table-overlay {
  border: 0.6px solid #cacaca;
  border-radius: 4px !important;
  height: calc(100% - 80px);
  overflow: auto;
}
table.faults-table-details {
  border-collapse: collapse;
  width: 650px;
}
.faults-table-overlay::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.faults-table-overlay::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 10px;
}

.faults-table-overlay::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0px 0px 1px 1px #ddd;
}

.faults-table-header-cell {
  font-size: 13px;
  text-align: left;
  padding: 0px 20px 0px 20px;
  border: none;
  color: #1c99c4;
}

.faults-details-body {
  height: 40px;
}

.faults-details-body-cell {
  color: #666;
  text-align: left;
  padding: 0px 20px 0px 20px;
}
.fault-register {
  display: flex;
  flex-direction: column;
  padding: 10px;
  top: 100px;
  left: calc(100% - 420px); /* To make div appear even during resizing */
  z-index: 10;
  border: 0.1px solid #d8dbdb;
  background-color: white;
  box-shadow: 0px 0px 10px 0px rgb(184, 183, 183);
}
#fault-register-refresh > iron-icon {
  --iron-icon-height: 22px !important;
  --iron-icon-width: 22px !important;
}

.checkbox {
  display: inline-block;
  --paper-checkbox-checked-color: #1c99c4;
  --paper-checkbox-unchecked-color: #dadada;
  --paper-toggle-button-checked-bar-color: #1c99c4;
  opacity: 1;
}

.hide {
  visibility: hidden;
}

.upper-splitter {
  height: 20px;
  width: 0.1px;
  border-right: 0.1px dashed #979797;
}

.nav-cont {
  display: flex;
  height: 50px;
  padding-right: 20px;
  box-shadow: 0px 1px 1px 1px #ddd;
}

.nav-title {
  padding: 0px 40px;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-title:hover {
  color: #cc0000;
  border-bottom: 2px solid #cc0000;
}
.nav-title.active {
  color: #cc0000;
  border-bottom: 2px solid #cc0000;
  background-color: rgba(191, 51, 47, 0.12);
}
.cell-voltage-manage-columns-info {
  color: #aaa;
  align-self: center;
  font-size: 16px;
  display: flex;
  justify-content: flex-end;
  flex-grow: 2;
}

.custom-toggl-style
  ::shadow
  #container
  #toggleButton
  .toggle-container
  #toggleButton {
  top: -1px;
  left: 0.5px;
  height: 17px;
  width: 17px;
}
ti-widget-toggle-button
  ::shadow
  #container
  .paper-toggle-button-0[checked]:not([disabled])
  .toggle-bar.paper-toggle-button {
  opacity: 1.5;
}
.custom-toggl-style ::shadow #container #toggleButton .toggle-container {
  height: 16px;
  width: 34px;
}
ti-widget-toggle-button {
  cursor: pointer;
}
