:root {
  --header-background-color: #f0f0f0;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    overflow: hidden;
}

header {
    background-color: var(--header-background-color);
    height: 70px;
    padding: 0px 10px;
}

.header-left {
    display: flex;
    align-items: center;
    /*gap: 10px*/
    margin-left: -10px;
    margin-top: -10px;
}

.header-left > * {
    margin-left: 10px;
    margin-top: 10px;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*gap: 10px*/
    margin-left: -10px;
    margin-top: -10px;
}

.header-right > * {
    margin-left: 10px;
    margin-top: 10px;
}

.main {
    height: calc(100% - 70px);
    overflow-y: auto;
    padding-bottom: 10px;
}

.main-full {
    height: 100%;
}

h1 {
  text-align: center;
}

header {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-container {
  display: flex;
  flex-direction: column;
  /*gap: 15px;*/
  margin-left: -15px;
  margin-top: -15px;
}

.header-right > * {
    margin-left: 15px;
    margin-top: 15px;
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    /* gap: 15px; */
    font-size: 20px;
    margin-top: 15px;
    min-width: 500px;
    margin-left: -15px;
    margin-top: -15px;
}

.items-container > * {
    margin-left: 15px;
    margin-top: 15px;
}

.items-container label {
    font-weight: 400;
}

.items-container .switch-checkbox, .lamp-box {
    width: 33%;
}

.items-container.status-container {
    justify-content: center;
    max-width: 1030px;
    flex-wrap: wrap;
    margin-top: 0px;
}

.items-container.status-container .col{
    width: 500px;
}

.lamp {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
}

.lamp-md {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 15px;
}

.lamp-sm {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 15px;
}

.lamp-green {
  background: green;
  background: radial-gradient(#b4e391, #61c419);
}

.lamp-red {
  background: red;
  background: radial-gradient(#fcb8b8, #f78383);
}

.lamp-yellow {
  background: yellow;
  background: radial-gradient(#f79621, #f9c667);
}

.lamp-gray {
  background: yellow;
  background: radial-gradient(#e2e2e2, #c1c1c1);
}

.status-message {
  text-transform: capitalize;
}

.error-message-container {
  color: red;
}

.reason {
    font-size: 16px;
}

.test-mode-message {
    font-size: 20px;
}

.test-mode-message-red {
    color: red;
}

.firmware-message {
    font-size: 13px;
}

.firmware-title {
    font-weight: bold;
}

.test-items-container {
    display: flex;
    justify-content: space-between;
    width: 500px;
}

.test-items-container-row {
    width: 100%;
}

.submain-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* gap: 30px; */
    flex-wrap: wrap;
    /* margin-top: 15px; */
    margin-left: -30px;
    margin-top: -15px;
}

.submain-container > * {
    margin-left: 30px;
    margin-top: 30px;
}

.btn:focus, .btn:active:focus, .btn.btn-checked:focus, .btn.btn-unchecked:focus {
    outline: none;
}

input.form-control-lg {
    height: 46px;
    font-size: 16px;
}


.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  display: none;
}

.select-selected {
  background-color: white;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 20px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #555 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #555 transparent;
  top: 14px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #555;
  padding: 8px 30px 8px 16px;
  border: 1px solid transparent;
  border-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Disable selection */
body {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

body.zoom-150 {
    font-size: 21px;
}

.zoom-150 header {
    height: 105px;
    padding: 0px 15px;
}

.zoom-150 .logo img {
    width: 180px;
}

.zoom-150 .main {
    height: calc(100% - 105px);
}

.zoom-150 h1 {
    font-size: 54px;
}

.zoom-150 h2 {
    font-size: 45px;
}

.zoom-150 h3 {
    font-size: 36px;
}

.zoom-150 .panel-title {
    font-size: 24px;
}

.zoom-150 .btn-group>.btn, .zoom-150 .btn {
    font-size: 21px;
}

.zoom-150 .btn-group-lg>.btn, .zoom-150 .btn-lg {
    font-size: 27px;
    padding: 15px 24px;
}

.zoom-150 .firmware-message {
    font-size: 20px;
}

.zoom-150 .items-container {
    font-size: 30px;
}

.zoom-150 input.form-control-lg {
    height: 68px;
    font-size: 24px;
}

.zoom-150 .items-container {
    min-width: 750px;
}

.zoom-150 .reason {
    font-size: 24px;
}

.zoom-150 .items-container.status-container {
    max-width: 1545px;
}

.zoom-150 .items-container.status-container .col {
    width: 750px;
}

.zoom-150 .xdsoft_datetimepicker {
    transform: scale(2.5);
    transform-origin: left top;
}

.zoom-150 .form-control {
    height: 51px;
    font-size: 21px;
}

.zoom-150 textarea.form-control {
    height: auto;
}

.zoom-150 .select-items div, .zoom-150 .select-selected {
    padding: 12px 36px 11px 16px;
}

.zoom-150 .select-selected:after {
    top: 27px;
    right: 15px;
 }

 .zoom-150 .select-selected.select-arrow-active:after {
    top: 21px;
 }

.zoom-150 .test-items-container {
    width: 750px;
}

html ::-webkit-scrollbar {
    width: 30px;
    background-color: white;
}

html ::-webkit-scrollbar-thumb {
    background-color: lightgray;
    border-radius: 2px;
}

.button-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.operation-container {
    min-width: 850px;
}