:root {
  --color-primary: #F89728;
  /* --color-secondary: #F7931D; */
  --color-secondary: #6F7072;
  --color-white: #FFFFFF;
  --color-gray: gray;
  --color-no-defects: #4EBA6F;
  --color-with-defects: #FEC65F;
  --color-important-defects: #D96557;
  --color-rectified-defects: #467FC1;
  --color-non-reporting: #D0D2D3;
  --color-blue: #1c4377;
  --color-green: #28a745;
  --color-red: #dc3545;
}

.bg-no-defects {
  background-color: var(--color-no-defects);
}

.bg-with-defects {
  background-color: var(--color-with-defects);
}

.bg-important-defects {
  background-color: var(--color-important-defects);
}

.bg-rectified-defects {
  background-color: var(--color-rectified-defects);
}

.bg-non-reporting {
  background-color: var(--color-non-reporting);
}

html {
  font-size: 1rem;
}

@include media-breakpoint-up(sm) {
  html {
    font-size: 1.2rem;
  }
}

@include media-breakpoint-up(md) {
  html {
    font-size: 1.4rem;
  }
}

@include media-breakpoint-up(lg) {
  html {
    font-size: 1.6rem;
  }
}

body {
  font-size: 13px;
}

a {
  cursor: pointer;
}

.hide {
  display: none;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-bold {
  font-weight: bold !important;
}

.text-error {
  color: #EF0506;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.text-center {
  text-align: center !important;
}

.text-small {
  font-size: 11px;
}

.text-gray {
  color: var(--color-gray);
}

.border-primay {
  border-color: var(--color-primary);
}

.icon {
  width: 20px;
}

.dashboard-box-wrapper {
  height: 205px;
  display: block;
  overflow-x: scroll;
  background-color: #FFFFFF;
  width: unset;
  clear: left;
  overflow-y: hidden;
}

.dashboard-box-container {
  overflow: hidden;
  width: 1620px;
  /* margin: auto; */
}

.dashboard-box {
  border: 4px solid var(--color-primary);
  border-radius: 5px;
  display: inline-block;
  width: 300px;
}

.dashboard-box-long {
  width: 350px;
}

.dashboard-box-header {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 800;
  padding: 5px;
  font-size: 13px;
  display: table;
  width: 100%;
}

.dashboard-box-body {
  height: 150px;
  display: table;
  width: 100%;
}

.dashboard-box-body-col {
  display: table-cell;
  /* width: 33.33%; */
  margin: 0px;
  padding: 0px;
}

.dashboard-box-body-col-title {
  background-color: var(--color-gray);
  text-align: center;
  color: #FFFFFF;
}

.dashboard-box-body-col-content {
  overflow-y: overlay;
  height: 130px;
}

.dashboard-box-header-left {
  display: table-cell;
}

.dashboard-box-header-right {
  display: table-cell;
  text-align: right;
}

.dashboard-box-select {
  width: 75px;
  font-size: 11px;
  line-height: 11px;
  height: 25px !important;
  padding: 0px 5px;
  border-radius: 10px;
  display: inline-block;
}

.content-body {
  border: 2px solid var(--color-primary);
}

.user-select {
  width: 200px;
}

.ui-widget-content {
  padding: 0px;
}

.ui-draggable .ui-dialog-titlebar {
  background-color: var(--color-primary);
  color: #FFF;
}

.gird-buttons-right-container {
  padding-top: 7px;
}

#user-search {}

/*JQUERY-UI-------------------------*/

.dialog {
  display: none;
}

.ui-dialog {
  border: none;
  border-radius: 10px;
}

.ui-dialog .ui-dialog-content {
  padding: 0px;
}

.ui-dialog .ui-dialog-titlebar.ui-widget-header {
  background: var(--color-primary);
  border-radius: 0px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #FFF;
  font-size: 15px;
}

.ui-dialog-titlebar-close {
  display: none;
}

.ui-dialog[aria-describedby="group-list"] .ui-dialog-titlebar-close,
.ui-dialog[aria-describedby="driver-regions-list"] .ui-dialog-titlebar-close {
  display: block;
  background: url(/img/icons/single-state/close-white.svg) center center no-repeat;
  background-size: 10px 10px;
}

.ui-dialog .ui-dialog-titlebar-close {
  right: 10px;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-size: 11px;
}

.ui-widget {
  font-family: unset;
}

.ui-tabs {
  border: none;
  width: 100%;
}

.ui-tabs-nav {
  background: var(--color-gray);
  padding: 0px;
  border: none;
  border-radius: 0px;
}

.ui-tabs .ui-tabs-nav li {
  border: none;
  outline: none !important;
}

.ui-tabs .ui-tabs-nav li a,
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
  padding: 5px;
  border: none;
  outline: none;
  background: var(--color-primary);
  color: #FFF;
  border-radius: 0px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-size: 14px;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  height: 35px;
  font-size: 11px;
  line-height: 11px;
}

/*JQUERY-UI-END------------------------*/

.under-line {
  border-bottom: 1px solid var(--color-gray);
  font-weight: bold;
}

.loading-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(117, 117, 117, 0.3);
  top: 0px;
  left: 0px;
  text-align: center;
  display: none;
}

/*Loading spinner*/

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: var(--color-primary);
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.disabled-link {
  pointer-events: none;
}

.device-status {
  width: 100px;
  height: 100px;
  border-style: solid;
  border-width: 18px;
  border-radius: 100px;
  margin: auto;
  margin-top: 10px;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  line-height: 68px;
  color: var(--color-gray);
}

.device-status-total {
  border-color: var(--color-primary);
}

.device-status-online {
  border-color: var(--color-secondary);
}

.device-status-offline {
  border-color: var(--color-gray);
}

#subuser-edit {
  padding: 15px;
}

.user-edit-ext-logo {
  width: 100%;
  margin: auto;
}

#user-edit-logo-show,
#user-settings-logo-show {
  width: 225px;
  height: 113px;
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-primary);
  float: right;
  display: flex;
  align-items: center;
}

#user-edit-logo-img,
#user-settings-logo-img {
  width: 100%;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="checkbox"][disabled]:checked,
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
  cursor: not-allowed;
  background-color: -internal-light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3)) !important;
  color: -internal-light-dark(rgb(84, 84, 84), rgb(170, 170, 170));
  border-color: rgba(118, 118, 118, 0.3);
}

.border-bottom {
  border-bottom: 2px solid var(--color-primary) !important;
}

.spinner {
  display: inline-block;
  font-size: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes load5 {

  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #a7a7a7, 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.5), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.7);
  }

  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.7), 1.8em -1.8em 0 0em #a7a7a7, 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.5);
  }

  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.5), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.7), 2.5em 0em 0 0em #a7a7a7, 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.5), 2.5em 0em 0 0em rgba(167, 167, 167, 0.7), 1.75em 1.75em 0 0em #a7a7a7, 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.5), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.7), 0em 2.5em 0 0em #a7a7a7, -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.5), 0em 2.5em 0 0em rgba(167, 167, 167, 0.7), -1.8em 1.8em 0 0em #a7a7a7, -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.5), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.7), -2.6em 0em 0 0em #a7a7a7, -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.5), -2.6em 0em 0 0em rgba(167, 167, 167, 0.7), -1.8em -1.8em 0 0em #a7a7a7;
  }
}

@keyframes load5 {

  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #a7a7a7, 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.5), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.7);
  }

  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.7), 1.8em -1.8em 0 0em #a7a7a7, 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.5);
  }

  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.5), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.7), 2.5em 0em 0 0em #a7a7a7, 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.5), 2.5em 0em 0 0em rgba(167, 167, 167, 0.7), 1.75em 1.75em 0 0em #a7a7a7, 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.5), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.7), 0em 2.5em 0 0em #a7a7a7, -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.2), -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.5), 0em 2.5em 0 0em rgba(167, 167, 167, 0.7), -1.8em 1.8em 0 0em #a7a7a7, -2.6em 0em 0 0em rgba(167, 167, 167, 0.2), -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.5), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.7), -2.6em 0em 0 0em #a7a7a7, -1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2);
  }

  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(167, 167, 167, 0.2), 1.8em -1.8em 0 0em rgba(167, 167, 167, 0.2), 2.5em 0em 0 0em rgba(167, 167, 167, 0.2), 1.75em 1.75em 0 0em rgba(167, 167, 167, 0.2), 0em 2.5em 0 0em rgba(167, 167, 167, 0.2), -1.8em 1.8em 0 0em rgba(167, 167, 167, 0.5), -2.6em 0em 0 0em rgba(167, 167, 167, 0.7), -1.8em -1.8em 0 0em #a7a7a7;
  }
}

#content-container-version {
  overflow-y: scroll;
}

[data-toggle="collapse"].collapsed:after {
  font-family: 'FontAwesome';
  content: "\f0d9";
  font-weight: 900;
  display: inline-block;
  right: 0px;
  position: absolute;
}

[data-toggle="collapse"]:after {
  font-family: 'FontAwesome';
  content: "\f0d7";
  font-weight: 900;
  display: inline-block;
  right: 0px;
  position: absolute;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  /* -webkit-box-shadow: inset 0 0 6px var(--color-gray);  */
  border-radius: 10px;
  /* background-color: var(--color-gray); */
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /* -webkit-box-shadow: inset 0 0 6px var(--color-gray);  */
  background-color: var(--color-gray);
}

.notes-block {
  border-radius: 10px;
  border: 2px gray solid;
  padding: 5px 20px;
}

.ui-dialog .ui-dialog-titlebar-close {
  display: block;
  background-image: url(/img/icons/single-state/close-orange.png);
  width: 30px;
  height: 30px;
  background-size: 100%;
  top: 17px;
}

#text-area-editor-text {
  width: 100%;
  margin-top: 10px;
  height: 500px;
  resize: none;
}

.h-30px {
  height: 30px !important;
}

.form-select .ms-choice {
  border: 1px solid var(--color-gray);
  height: 28px;
  line-height: 28px;
  border-radius: 5px;
}

.ms-parent .ms-choice {
  border: 1px solid var(--color-gray);
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
}

.info-button img {
  width: 25px;
  height: 25px;
}

.currency-symbol {
  position: absolute;
  left: 5px;
  top: 5px;
}

.form-control-input.currency-input {
  padding-left: 20px;
}

.ms-drop ul>li.multiple,
.ms-drop ul>li.ms-select-all {
  width: 100% !important;
  text-align: left;
}

#branch-select-ids {
  height: 10px;
}

.top-bar .ms-parent {
  vertical-align: top;
  margin-top: 5px;
  color: #FFFFFF;
}

.top-bar .ms-parent .ms-choice {
  color: #FFFFFF;
}

.top-bar .ms-choice:hover {
  background-color: var(--color-gray);
}