.twainJs__body {
  background-color: rgb(247, 247, 247);
}

.twainJs__options__section {
  margin-bottom: 10px;
}

.twainJs__main-color__button {
  background: linear-gradient(180deg, rgba(92, 148, 212, 1) 0%, rgba(63, 116, 176, 1) 100%);
  border: none;
  min-width: 150px;
}

.twainJs__main-color__button:hover:enabled {
  background: linear-gradient(180deg, #3c69b0 0%, #1e4075 100%);
  cursor: pointer;
  border: none;
}

.twainJs__main-color__button:active,
.twainJs__main-color__button:focus,
.twainJs__main-color__button:visited,
.twainJs__main-color__button:focus-visible {
  background: linear-gradient(180deg, #3c69b0 0%, #1e4075 100%) !important;
  border: none;
  box-shadow: none !important;
}

input[type="range"]::-moz-range-thumb {
  background: #1f73b7;
}

input[type="range"]::-ms-thumb {
  background: #1f73b7;
}

input[type="range"]::-webkit-slider-thumb {
  background: #1f73b7;
}

.twainJs__status__progress {
  height: 2px;
}

.twainJs__scan__bottom-btns {
  color: #1f73b7;
  border: none;
  box-shadow: none !important;
}

.twainJs__scan__bottom-btns:hover:enabled {
  cursor: pointer;
  color: #1f73b7;
}

.twainJs__scan__bottom-btns:hover:disabled {
  color: #1f73b7;
}

.twainJs__status__scroll {
  height: 220px;
  overflow: scroll;
  overflow-x: hidden;
}

.twainJs__number-input {
  width: 60px;
}

.twainJs__scan__container img {
  max-height: 650px;
  max-width: 100%;
}

.twainJs__options__buttons {
  width: 140px;
}

.twainJs__options__select {
  max-width: 100%;
}

.twainJs--fluid {
  width: 100%;
}

.twainJs__options__buttons--margin {
  margin-bottom: 15px;
}

.twainJs__scan--height {
  height: 100%;
}

.twainJs__scan__bottom-nav {
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
  background-color: #ededed;
}

.twainJs__status__progress--width {
  width: 35%;
}

.form-check-input {
  accent-color: #1f73b7;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #1f73b7;
  border-color: #17568a;
}

.custom-control-inline {
  margin-right: 0.9rem;
}

.twainJs__content {
  max-width: 500px;
  overflow-x: auto;
  white-space: nowrap;
  max-height: 687px;
}

.twainJs__content p {
  max-height: 120px;
  overflow: auto;
}

.twainJs__scan__devider {
  border-left: 1px solid #cbcbcb;
}

.twainJs__tooltip {
  position: relative;
  display: inline-block;
}

.twainJs__tooltip .twainJs__tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #1f73b7;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -100px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
}

.twainJs__tooltip .twainJs__tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1f73b7 transparent transparent transparent;
}

.twainJs__tooltip:hover .twainJs__tooltiptext {
  visibility: visible;
}

.twainJs_logTWEvent {
  color: #1f73b7;
}

.twainJs_logTWSentMsg {
  color: rgb(21, 167, 21);
}

.twainJs_logTWReceivedMsg {
  color: rgb(193, 24, 209);
}

.toast.alert-danger,
.alert-danger .toast-header,
.alert-danger .toast-body {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.toast.alert-info,
.alert-info .toast-header,
.alert-info .toast-body {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.twainJs_toastContainer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9999;
}

.twainJs__badge {
  width: 25px;
  background-color: #4e85c3;
}

.twainJs__badge:hover {
  cursor: pointer;
}

.twainJs__settings-info {
  background-color: #f6f6f6;
}

.twTwainJs__status-text {
  font-size: 14px;
}

.twTwainJs__status-log-box {
  /* border: 1px solid #bfbfbf; */
  border-radius: 10px;
  padding: 5px;
  overflow-y: scroll;
  height: 125px;
  background-color: #f4f4f4;
}
