:host {
  height: 100%;
  width: 100%;
}

.flex-r {
  display: flex;
  flex-direction: row;
}

.total-settings {
  height: 100%;
  overflow-x: auto;
  overflow-y: auto;
}

::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: transparent;
}
::-webkit-scrollbar {
  width: 5px;
  height: 7px;
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ccc;
}

.header-sec {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 50px;
  background-color: #ffffff;
  box-shadow: 5px 5px 40px 0 rgba(216, 216, 216, 0.5);
  color: #555555;
  margin-top: 7px;
  min-width: 1260px;
  padding: 5px 0px 7px 0px;
}

.ps-mode-text {
  align-self: center;
  padding-left: 20px;
  font-weight: 800;
  font-size: 14px;
  min-width: 200px;
}
.controls {
  width: fit-content;
  display: flex;
  align-items: center;
}

.controls > paper-button {
  font-weight: 600;
  font-size: smaller;
  margin: 10px;
}

.controls .device-setup {
  color: #555555;
}

paper-toggle-button.green {
  cursor: pointer;
  --paper-toggle-button-checked-bar-color: #329b46;
  --paper-toggle-button-checked-button-color: white;
  --paper-toggle-button-checked-ink-color: white;
  --paper-toggle-button-checked-bar: {
    opacity: 1 !important;
  }
}
paper-toggle-button.custom-toggle {
  --paper-toggle-button-unchecked-button: {
    height: 16px;
    top: 1.5px;
    left: 1px;
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  }
  --paper-toggle-button-unchecked-bar: {
    width: 33px;
    height: 19px;
    border-radius: 10.5px;
    font-weight: 500;
    background-color: #a3a3a3;
  }
  --paper-toggle-button-checked-button: {
    transform: translate(16px, 0);
  }
  --paper-toggle-button-checked-bar: {
    opacity: 1;
    width: 33px;
    height: 19px;
    border-radius: 10.5px;
  }
  margin-bottom: 7px;
  margin-right: 10px;
  padding-top: 1px;
}

paper-toggle-button ::shadow.toggle-label {
  position: relative;
  top: 3px;
  right: 3px;
  color: #555555 !important;
  font-family: Roboto;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 13px;
}

iron-icon {
  width: 17px;
  position: relative;
  bottom: 2px;
}

.device-setup iron-icon {
  top: 0px;
  right: 4px;
}

paper-toggle-button ::shadow #toggleButton {
  width: 15px;
}

.interval-text {
  height: 13px;
  width: 50px;
  color: #555555;
  font-family: Roboto;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 13px;
}

.select-interval {
  height: 31px;
  width: 122px;
  background-color: #f1f1f1;
  color: #555555;
  font-family: Roboto;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 20px;
  border: none;
  border-radius: 3px;
  font-weight: 500;
  padding: 8px 0px 8px 13px;
}

.auto-read-option {
  width: 200px;
  font-weight: 600;
  font-size: smaller;
}

.select-interval-autoread {
  padding-left: 10px;
}

.read-all-reg-btn {
  position: relative;
  left: 5px;
}

paper-button.btn {
  padding: 7px 20px 27px 20px;
  outline: none;
}

.read-all-reg-btn,
.reset {
  box-sizing: border-box;
  height: 30px;
  color: #1c99c4;
  border: 1px solid #1c99c4;
  border-radius: 20px;
  background-color: #02678c1c;
  font-size: 12px;
  font-weight: 800;
}

.shutdown {
  height: 30px;
  color: #cc0000;
  border: 1px solid #cc0000;
  border-radius: 20px;
  background-color: #cc000023;
  font-size: 12px;
  font-weight: 600;
}

.enable-highlight {
  background-color: #02678c1c;
  padding: 10px 15px 10px 15px;
}

.disable-highlight {
  background-color: #cc000023;
  padding: 10px 15px 10px 15px;
}

.output-voltage-controls {
  height: 124px;
  margin: 10px;
  box-shadow: 5px 5px 124px 0 rgba(216, 216, 216, 0.5);
  width: 95vw;
  min-width: 1250px;
  padding: 10px 10px 150px 10px;
}

.op-voltage-text,
.control-functions-text,
.status-text,
.software-enable-text {
  font-weight: 900;
  font-size: 14px;
  color: #1c99c4;
  margin: 10px 15px 15px 15px;
}

.software-enable-info-icon {
  position: relative;
  left: 5px;
  bottom: 3px;
  cursor: help;
}

.status-text {
  font-weight: 900;
  font-size: 14px;
  color: #1c99c4;
  margin: 20px 15px 15px 25px;
}

.op-controls {
  display: flex;
  justify-content: space-between;
  padding: 0px 15px 0px 15px;
  min-width: 1250px;
}

.overall-slider {
  display: flex;
  width: 700px;
  flex-direction: row;
}

.slider-control {
  position: relative;
  bottom: 5px;
}

.slider-control-ip {
  height: 65px;
  width: 715px;
  position: relative;
  bottom: 10px;
}

.slider-label {
  margin-left: 12px;
  position: relative;
  color: #999999d0;
  font-family: sans-serif;
  font-size: 12.5px;
  letter-spacing: 0;
  line-height: 14px;
  padding-bottom: 5px;
  font-weight: 200;
}

span.suffix {
  position: relative;
  color: #555555c4;
  align-self: center;
}

@media only screen and (min-width: 1350px) {
  span.suffix {
    margin-left: 5px;
  }
}

.vout-container {
  display: flex;
  position: relative;
}

.vout-range {
  display: flex;
  flex-direction: column;
  margin-right: -35px;
}

.vout-range-drop-select {
  color: #555555;
  width: 285px;
  border: none;
  background-color: #f1f1f1;
  border-radius: 3px;
  padding: 13px;
}

@media only screen and (min-width: 1400px) {
  .op-controls {
    min-width: 1220px;
  }
  .output-voltage-controls {
    min-width: 1220px;
    width: 100%;
  }
  .header-sec {
    min-width: 1230px;
  }
}

.vout-time {
  display: flex;
  flex-direction: column;
}

.vout-time-drop-select {
  color: #555555;
  width: 165px;
  background-color: #f1f1f1;
  padding: 13px;
  border: none;
}

.vout-label,
.vout-time-label {
  color: #999999d0;
  font-family: sans-serif;
  font-size: 12.5px;
  letter-spacing: 0;
  line-height: 16px;
  position: relative;
  bottom: 5px;
  font-weight: 200;
}

.error-cont {
  color: #cc1c00;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  height: 20px;
  margin: 5px 0px;
}

.err-msg {
  font-style: italic;
  padding-left: 20px;
}

.control-status-container {
  display: flex;
  flex-direction: row;
  height: calc(100% - 250px);
  min-height: 615px;
}

.control-function-container {
  width: 75%;
  border-radius: 2px;
  background-color: #ffffff;
  box-shadow: 5px 5px 40px 0 rgba(216, 216, 216, 0.5);
  margin: 1px 10px 0px 15px;
  min-width: 920px;
  padding: 10px;
}

.status-container {
  display: flex;
  flex-direction: column;
  color: #979797;
  border-radius: 2px;
  background-color: #ffffff;
  box-shadow: 5px 5px 40px 0 rgba(216, 216, 216, 0.5);
}

.control-box {
  display: flex;
  padding: 15px;
  margin: 10px;
  border: 0.5px dashed #979797;
  border-radius: 4px;
  background-color: #fbfbfb;
  position: relative;
  justify-content: space-between;
}

.control-details {
  display: flex;
  flex-direction: column;
}

.control-name {
  font-weight: 600;
  color: #636262;
  padding-bottom: 10px;
}

.control-breif {
  max-width: 290px;
  font-size: 10px;
  color: #979797;
}

.control-warn {
  font-size: 10px;
  color: #cc0000;
  padding-top: 3px;
}
.control-warn iron-icon {
  width: 13px;
}

.control-interface {
  align-self: center;
  cursor: pointer;
  font-weight: 600;
  margin-left: 1px;
}

.voltage-ramp-speed-control {
  color: #555555;
  background-color: #f1f1f1;
  padding: 10px;
  outline: none;
  position: relative;
  top: 10px;
  border: none;
  font-weight: 500;
  border-radius: 4px;
  transform: translateY(-30%);
}

.control-functions-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.software-enable-container {
  height: 78px;
  font-size: x-small;
  margin-bottom: 20px;
}

.software-enable-content > div {
  color: #555555;
}

.software-enable-content > paper-button {
  width: fit-content;
  font-size: x-small;
  position: relative;
  bottom: 8px;
}

.software-enable-content {
  position: relative;
  left: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 500px;
  padding-left: 25px;
}

.device-enable,
.device-disable {
  padding: 5px 10px 5px 10px;
  margin: 5px 0px 5px 0px;
}

.device-disable {
  color: #cc0000;
  border: 1px solid #cc0000;
  border-radius: 20px;
}

.device-enable {
  color: #1c99c4;
  border: 1px solid #1c99c4;
  border-radius: 20px;
}

.status-row {
  display: flex;
  justify-content: space-around;
  overflow: hidden;
}

.inner-status-container {
  margin: 0px 20px;
  background-color: #f7f7f7;
  min-width: 285px;
  padding: 5px;
  border-radius: 20px;
  font-weight: 500;
}

.inner-status-container > div {
  padding: 10px;
}

.status-icon {
  width: 180px;
}

@media only screen and (min-width: 1400px) {
  .status-icon {
    width: 220px;
  }
  .inner-status-container {
    width: 400px;
  }
}

.status-condition {
  display: flex;
  position: relative;
  width: 70px;
  color: #3bbb3c;
  font-size: 12px;
  top: 5px;
}

.status-condition.error {
  display: flex;
  position: relative;
  color: #cc0000;
  font-size: 12px;
  top: 5px;
}

.condition-dot {
  height: 10px;
  width: 10px;
  background-color: #3bbb3c;
  border-radius: 25px;
  align-self: center;
  position: relative;
  bottom: 5px;
}

.condition-dot.error {
  height: 10px;
  width: 10px;
  background-color: #cc0000;
  border-radius: 25px;
  align-self: center;
  position: relative;
  bottom: 5px;
}

.red-btn {
  border: 1px solid #cc1c00;
  border-radius: 4px;
  background-color: #cc1c00;
  color: white;
  height: 34px;
  width: 152px;
  cursor: pointer;
  font-family: "roboto";
}

.shutdown-img {
  height: 16px;
  width: 18px;
  margin-bottom: 1%;
  margin-right: 5px;
}

.shutdown-steps {
  height: 213px;
  width: 399px;
  border-radius: 3px;
  background-color: #ffffff;
}

.align-center {
  align-items: center;
}

.flex-c {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

::shadow .paper-checkbox #checkbox.checked {
  background-color: #329b46 !important;
  border-color: #329b46 !important;
}

.shutdown-warn {
  color: #f4b821;
  height: 35px;
  width: 35px;
}

.shutdown-steps paper-button {
  border-radius: 25px;
  font-size: 12px;
  height: 30px;
  width: 100px;
  margin-left: 25px;
  color: #fff;
  background: #c00;
  border: 1px solid #c00;
}

.enable-device-text {
  text-align: center;
}

#shutdownEvaluatePopup .shutdown-skip {
  bottom: 1px;
}

.shutdown-steps {
  margin: 10px 10px 0 10px;
}
