span.picPercentData {
  padding-left: 2px;
  padding-right: 2px;
}

div.picControllerTitle {
  display: table;
  width: 100%;
}

input.picServerAddress {
  width: 10rem;
}

input.picServerPort {
  width: 4rem;
}

div.picOptionLine > label {
  width: 9rem;
  display: inline-block;
}

div.picPanelMode,
div.picFreezeProtect {
  text-align: center;
  color: blue;
}

div.picVacationMode {
  text-align: center;
  color: #ff8c00;
}

div.picSpaDrain {
  text-align: center;
  color: black;
}

div.picPanelMode[data-status=""],
div.picPanelMode[data-status=auto],
div.picFreezeProtect[data-status=off],
div.picVacationMode[data-status=off],
div.picSpaDrain[data-status=off] {
  display: none;
}

div.picModel > i {
  cursor: pointer;
  padding-right: 0.2rem;
}

div.picModel > i:hover {
  cursor: pointer;
  padding-right: 0.2rem;
  color: orange;
}
div.picModel > i:focus-visible,
div.picConfigIcon:focus-visible,
div.picLockIcon:focus-visible {
  outline: 2px solid #1f6feb;
  outline-offset: 2px;
}

div.picPanelMode > label,
div.picFreezeProtect > label,
div.picVacationMode > label,
div.picSpaDrain > label {
  font-weight: bold;
  color: red;
  font-size: 1.2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

div.picControllerTitle > div {
  display: table-cell;
}

div.picControllerTitle > div:nth-child(2) {
  text-align: center;
}

div.picControllerTitle > div:nth-child(1) {
  width: 20%;
}

div.picControllerTitle > div:nth-child(4) {
  width: 20%;
  text-align: right;
}

div.picAppLogging > label,
div.picPacketLogging > label {
  min-width: 4rem;
  display: inline-block;
}

div.picBS {
  color: purple;
}

div.picFirmware {
  font-size: 0.8rem;
  display: block;
  /* vertical-align:top; */
}

div.picFirmware > div.picOptionLine > label {
  width: 4.5rem;
}

div.picFirmware > div.picOptionLine > span {
  display: inline-block;
  width: 2rem;
  text-align: right;
}

div.picModules {
  display: inline-block;
  vertical-align: top;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 0.8rem;
}

div.picModules > table > tbody > tr > td:nth-child(1) {
  width: 70px;
  text-align: left;
}

div.picModules > table > tbody > tr > td:nth-child(2) {
  width: 200px;
  text-align: left;
}

div.picModules > table {
  border-collapse: collapse;
  box-sizing: border-box;
  border-spacing: 0px;
}

div.picModules > table > tbody > tr:nth-child(1) {
  color: white;
  font-weight: bold;
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#ffaf4b, EndColorStr=#ff920a);
  background-image: -ms-linear-gradient(top, #ffaf4b, #ff920a);
  background-image: -moz-linear-gradient(top, #ffaf4b, #ff920a);
  background-image: -webkit-linear-gradient(top, #ffaf4b, #ff920a);
  background-image: linear-gradient(to bottom, #ffaf4b, #ff920a);
}

div.picModules > table > tbody > tr:nth-child(n+2) {
  width: 100%;
  top: 0;
  margin: 0px;
  background-color: white;
}

div.picModules > table > tbody > tr:nth-child(n+1) > td {
  border: solid 1px teal;
  padding-left: 4px;
  padding-right: 4px;
  border-collapse: collapse;
}

div.picModules > table > tbody > tr:nth-child(1) > td {
  border: solid 1px black;
  padding-left: 4px;
  padding-right: 4px;
  border-collapse: collapse;
}

div.picConfigIcon, div.picStartLogs {
  display: inline-block;
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: text-top;
}

div.picConfigIcon:hover, div.picStartLogs:hover {
  color: orange;
  text-shadow: 3px 3px 16px #272634;
}

div.picLockIcon {
  display: none;
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: text-top;
  color: inherit;
}

div.picLockIcon:hover {
  color: inherit;
  text-shadow: none;
}

.picAdminLocked {
  color: #9a9a9a !important;
  text-shadow: none !important;
}

div.picOptionField > label {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  overflow: hidden;
}

div.picAmbientTemp > div {
  display: inline-block;
}

div.picAmbientTemp > div:nth-child(2) {
  float: right;
}

div.picAmbientTemp label {
  color: gray;
}

div.picBodyTemp > div:nth-child(2) {
  font-size: 2em;
}

div.ct-narrative {
  width: 100%;
  overflow: hidden;
  font-size: 0.8em;
  margin-top: 1em;
  max-width: 37rem;
}

div.ct-narrative > hr {
  margin: 1px;
}

div.anslq25-ct-narrative {
  width: 100%;
  overflow: hidden;
  font-size: 0.8em;
  margin-top: 1em;
  max-width: 37rem;
}

div.anslq25-ct-narrative-warning {
  font: bold;
  color: red;
}

/* Virtual Equipment (Controller sub-tab) */
div.cfgVirtualEquipment {
  max-width: 42rem;
}

div.virtualEquipment-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9em;
}

div.virtualEquipment-narrative {
  font-size: 0.85em;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

div.virtualEquipment-form {
  padding: 0.25rem 0;
}

div.virtualEquipment-runtime {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #ccc;
}

div.virtualEquipment-hint {
  font-style: italic;
  color: #888;
  font-size: 0.85em;
}

div.virtualEquipment-runtime-grid {
  display: block;
  padding: 0.25rem 0;
}

div.virtualEquipment-runtime-row {
  display: flex;
  justify-content: flex-start;
  font-size: 0.85em;
  padding: 0.1rem 0;
}

span.virtualEquipment-runtime-label {
  display: inline-block;
  width: 10rem;
  color: #555;
}

span.virtualEquipment-runtime-value {
  font-weight: 600;
}

div.virtualEquipment-conflict-banner {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9em;
}

div.virtualEquipment-timestamp {
  font-size: 0.75em;
  color: #555;
  margin-top: 0.15rem;
}

div.sysmessage-button {
  display: inline-block;
  position: relative;
  width: 34px;
}

div.sysmessage-button > i {
  color: red;
}

div.sysmessage-badge {
  display: block;
  position: absolute;
  width: 20px;
  height: 12px;
  font-size: 7pt;
  border: solid 1px silver;
  background: yellow;
  text-align: center;
  font-weight: bold;
  top: -4px;
  left: 10px;
  border-radius: 3px;
  color: black;
}

div.sysmessage-button > div.dropdown-panel {
  position: absolute;
  color: black;
  padding: 4px;
  z-index: 500;
}
