
body {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #383838;
  background-color: #e4e7e8;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-image: url(../images/background/qda.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

hr {
  color: lightgray;
}

.qdslogo-img {
  width: 125px;
}

.app-header .navbar-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-grow: 4;
}

@media (max-width: 767.98px) {
  .app-header .navbar-menu {
    border-top: 1px solid var(--bs-app-header-mobile-divider-bg);
    padding: 0 20px;
  }
}

.app-header .navbar-menu .navbar-item {
  position: relative;
}

  .app-header .navbar-menu .navbar-item .navbar-link {
    display: block;
    text-decoration: none;
    line-height: 20px;
    padding: 15px;
    border: none;
    color: var(--bs-app-header-color);
  }

    .app-header .navbar-menu .navbar-item .navbar-link i {
      position: relative;
      font-size: 16px;
    }

    .app-header .navbar-menu .navbar-item .navbar-link:focus,
    .app-header .navbar-menu .navbar-item .navbar-link:hover {
      opacity: 0.75;
    }

    .app-header .navbar-menu .navbar-item .navbar-link.icon i,
    .app-header .navbar-menu .navbar-item .navbar-link.icon ion-icon {
      font-size: 20px;
      height: 24px;
      margin: -2px 0;
      display: block;
    }

@media (max-width: 767.98px) {
  .app-header .navbar-menu .navbar-item:last-child .navbar-link {
    padding-right: 0;
  }
}

.app-header .navbar-menu .navbar-item.active > a {
  background: #e4e7e8;
  opacity: 1;
}

.app-header .navbar-menu .navbar-item.dropdown .dropdown-menu {
  margin: 0;
  top: -2px !important;
}

.app-header .navbar-menu .navbar-item.dropdown.dropdown-lg {
  position: static;
}

  .app-header .navbar-menu .navbar-item.dropdown.dropdown-lg .dropdown-menu {
    left: 20px !important;
    right: 20px !important;
    padding: 20px;
    transform: none !important;
  }

@media (min-width: 768px) {
  .app-header .navbar-menu .navbar-item.dropdown.dropdown-lg .dropdown-menu {
    top: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .app-header .navbar-menu .navbar-item.dropdown.dropdown-lg .dropdown-menu {
    overflow: scroll;
    top: 101px !important;
    max-height: calc(100vh - 101px);
    max-height: calc(100dvh - 101px);
  }
}

.app-header .navbar-menu .navbar-item.dropdown.dropdown-lg .dropdown-menu.dropdown-menu-lg .nav > li > a {
  padding: 0;
  background: 0 0;
  line-height: 24px;
  font-size: 13px;
}

.app-header .navbar-menu .navbar-item.show > a,
.app-header .navbar-menu .navbar-item.show > a:focus,
.app-header .navbar-menu .navbar-item.show > a:hover {
  background: 0 0;
  color: var(--bs-app-header-color);
  opacity: 1;
}

.app-header .navbar-menu .navbar-divider {
  height: 34px;
  background: var(--bs-app-header-divider-bg);
  width: 1px;
}

.app-header .navbar-menu.navbar-end {
  margin-left: auto;
}

.app-header {
  border-bottom: 1px solid var(--bs-component-border-color);
}

@media (min-width: 768px) {
  .app-with-top-menu.app-header-fixed {
    padding-top: 40px !important;
  }
}

.widget-list .widget-list-item .widget-list-title {
  font-size: 0.85rem;
}

.col-form-label {
  font-size: 0.85rem;
}

.loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(255,255,255,0.7);
  align-items: center;
  justify-content: center;
}

.login.login-v1 {
  height: 75vh !important;
  min-height: 75vh !important;
}

.validation-summary-errors {
  color: #dc3545 !important;
}

.field-validation-error {
  color: #dc3545;
  font-weight: bold;
}

.qds-alert {
  position: fixed;
  top: 5px;
  right: 2%;
  width: 25%;
  z-index: 9999;
}

.qds-alert .alert {
  margin-bottom: 0.25rem;
}

.swal2-html-container {
    font-size: 16px;
  }

.required {
  color: #cc3300;
  font-size: 28px;
  line-height: 40px;
  padding-left: 8px;
}

.message-error,
.field-validation-error,
.username-not-available-status,
.password-error {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #d51f28;
  margin-top: 5px;
  white-space: normal;
}

.field-validation-valid,
.username-available-status {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #207d4c;
}

.form-check {
  padding-left: 2px !important;
}

.hr-text {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.5;
  margin: 30px 0;
}

.hr-text:before,
.hr-text:after {
  content: '';
  flex: 1;
  border-bottom: 1px solid lightgray;
}

.hr-text:not(:empty)::before {
  margin-right: .5em;
}

.hr-text:not(:empty)::after {
  margin-left: .5em;
}

.panel.panel-gray {
  border: 1px solid lightgray;
}

.panel.panel-gray > .panel-heading {
  background: #919191;
  color: #FFFFFF;
}

.ajax-loader {
  margin-top: 8px;
  margin-left: 15px;
  background-image: url(../images/ajax-loader.gif);
  background-repeat: no-repeat;
  background-color: #ffffff;
  height: 16px;
}

.login.login-v1 .login-container .login-body .login-content .form-control {
  border-color: transparent;
  background: #fff;
  color: #595959;
}

.form-control {
  height: 30px !important;
  font-size: 14px !important;
  border-radius: 4px;
}

.btn-change {
  height: 30px;
  padding-top: 5px;
}

.table-field {
  font-size: 14px;
}

.table-value {
  font-size: 14px;
  font-weight: 600;
}

/*Upload picture block*/
.upload-picture-block {
  display: table-row;
  width: 100%;
}

.upload-picture-block .picture-container {
  display: table-cell;
  vertical-align: top;
}

/* Upload inputs */
.file-upload-container {
  width: 400px;
}

.filepond--file-wrapper, .filepond--panel.filepond--item-panel {
  animation: unset !important;
}

.filepond--root {
  margin-bottom: 0!important;
}

.form-text-row {
  padding-top: 6px;
  min-height: 1.5em;
}


/*********** NOTIFICATIONS & POPUPS  ***********/
.bar-notification-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 100%;
  line-height: 16px;
  color: #fff;
  opacity: 0.95;
}

.bar-notification.success-notification {
  background-color: #4bb07a;
  font-size: 14px;
}

.bar-notification.error-notification {
  background-color: #d51f28;
  font-size: 14px;
  font-weight: 700;
}

.bar-notification.warning-notification {
  background-color: #f39c12;
  font-size: 14px;
}

.bar-notification {
  position: relative;
  display: none;
  padding: 15px 50px 15px 30px;
}

.bar-notification .content {
  margin: 0 10px 0 0;
}

.bar-notification .content a {
  color: #fff;
  text-decoration: underline;
}

.bar-notification .close {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  margin: 10px;
  background: #fff url('../images/close.png') center no-repeat;
  cursor: pointer;
}

.popup-notification {
  border-radius: 5px;
  padding: 3px;
  margin: 5px 0;
}

.popup-notification.success {
  border: 2px rgba( 75,176,122,.5) solid;
}

.popup-notification.error {
  border: 2px rgba( 228,68,76,.5) solid;
}

.popup-notification.warning {
  border: 2px rgba( 243,156,18,.5) solid;
}

/*********** SYNCFUSION ***********/

.e-datepicker.e-popup {
  font-size: 10px;
}

/* qds-multiselect: group header items shown in a light blue font */
.e-ddl.e-popup .e-list-group-item {
  color: #7ec8e3;
  margin-left: 10px;
  font-weight: 700;
}

.e-calendar .e-content td.e-week-number {
  background-color: #FBFBFB;
}

.e-calendar .e-content td.e-disabled span.e-day, .e-calendar .e-content td.e-disabled:hover span.e-day, .e-calendar .e-content td.e-disabled:focus span.e-day {
  color: #b2b2b2;
  cursor: not-allowed;
  text-decoration: line-through;
}

.e-float-input, .e-float-input.e-control-wrapper {
  margin-top: 0 !important;
}

.e-grid {
  border-radius: 5px;
}

  .e-grid .e-headercell {
    color: #ffffff;
    background-color: #def4fe;
    color: #383838;
  }

  .e-grid .e-gridpager {
    padding-top: 20px;
  }

    .e-grid .e-gridpager .e-currentitem {
      background-color: #ba0c2f;
      border-color: #ba0c2f;
      color: #fff;
    }

.e-pager .e-currentitem.e-numericitem.e-focused {
  background-color: #ba0c2f !important;
}

.e-grid .e-gridpager .e-parentmsgbar {
  margin-right: 15px;
}

.e-grid .e-row {
  background-color: #f4f4f4;
}

  .e-grid .e-row.e-altrow {
    background-color: #ffffff;
  }

.modal-header .close,
.modal-header .mailbox-attachment-close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}

button.close,
button.mailbox-attachment-close {
  padding: 0;
  background-color: transparent;
  border: 0;
  font-size: 20px;
  font-weight: 800;
}

input[readonly] {
  background-color: #f8f9fa !important;
}

/*Upload picture block*/
.upload-picture-block {
  display: table-row;
  width: 100%;
}

  .upload-picture-block .qq-upload-success {
    word-break: break-all;
  }

  .upload-picture-block .picture-container {
    display: table-cell;
    vertical-align: top;
  }

  .upload-picture-block .upload-button-container {
    display: table-cell;
    /*padding-left: 25px;*/
    vertical-align: middle;
  }
/*fix for inline-block buttons*/
.content-header .float-right > .btn, .content-header .float-right > .btn-group {
  float: left;
  margin-left: 3px;
  position: inherit;
}

/*Upload picture block*/
.upload-picture-block {
  display: table-row;
  width: 100%;
}

  .upload-picture-block .picture-container {
    display: table-cell;
    vertical-align: top;
  }

/* Upload inputs */
.file-upload-container {
  width: 400px;
}

.filepond--file-wrapper, .filepond--panel.filepond--item-panel {
  animation: unset !important;
}

/*fix for inline-block buttons*/
.content-header .float-right > .btn, .content-header .float-right > .btn-group {
  float: left;
  margin-left: 3px;
  position: inherit;
}

.e-grid td.e-selectionbackground {
  background-color: #00b7ea;
}


/*********** COMING SOON PAGE ***********/

.coming-soon-page {
  margin: 0 auto;
  text-align: center;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coming-soon-page .coming-soon-code {
  color: var(--bs-component-color, #6c757d);
  font-size: 200px;
  line-height: 1;
  text-shadow: 10px 10px 0 rgba(var(--bs-component-color-rgb, 108, 117, 125), .2);
  padding: 1.875rem;
}

@media (max-width: 767.98px) {
  .coming-soon-page .coming-soon-code {
    font-size: 160px;
  }
}

@media (max-width: 575.98px) {
  .coming-soon-page .coming-soon-code {
    font-size: 120px;
  }
}

.coming-soon-page .coming-soon-content {
  padding: 1.875rem;
}

.coming-soon-page .coming-soon-message {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: .5px;
  margin-bottom: .46875rem;
}

.coming-soon-page .coming-soon-desc {
  font-size: .875rem;
  letter-spacing: .5px;
  margin-bottom: 1.5rem;
}

/* Machine BF2 accordion header — match the panel-heading style (bg-cyan-700 text-white)
   Bootstrap's .accordion-button sets its own background/color (and a different expanded state),
   so override both collapsed and expanded (:not(.collapsed)) states, the focus ring, the font
   size (same as .panel-title), and recolor the collapse chevron so it stays visible on cyan. */
.accordion-button.machine-bf2-accordion-header,
.accordion-button.machine-bf2-accordion-header:not(.collapsed) {
    background-color: rgba(54, 120, 150, 1) !important;
    color: #fff !important;
    /* match .panel-heading height: same padding, font-size and line-height as the panel title */
    padding: .75rem .9375rem;
    font-size: .75rem;
    line-height: 1.35;
    box-shadow: none;
}

.accordion-button.machine-bf2-accordion-header:focus {
    box-shadow: none;
}

/* Recolor the expand/collapse chevron to white so it's visible on the cyan background */
.accordion-button.machine-bf2-accordion-header::after,
.accordion-button.machine-bf2-accordion-header:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Space between accordion headers on the Machine BF2 settings accordion.
   Adds a gap above every accordion header except the first one. */
#machineBf2Accordion .accordion-header {
    margin-top: 1rem;
}

#machineBf2Accordion .accordion-header:first-of-type,
#machineBf2Accordion .accordion-item:first-child .accordion-header:first-of-type {
    margin-top: 0;
}
