.s-site-logo-img {
  /*content: url(../../Serenity.Assets/logo/white-128.png);*/
  content: url('../images/abc-logo.png');
  cursor: pointer;
}

.s-sidebar-header-link {
  color: black !important;
}

.s-site-connect-img {
  background-color: white;
  align-content: center;
  height: 45px;
  margin-left: 10px;
  padding: 0px 10px;
  cursor: pointer;
}

  .s-site-connect-img img {
    width: 140px;
  }

.s-site-fleet-img {
  background-color: white;
  align-content: center;
  height: 45px;
  padding: 0px 10px;
  cursor: pointer;
}

  .s-site-fleet-img img {
    max-width: 260px;
  }

.s-form-title-logo {
  background-color: white !important;
  width: 140px !important;
  height: 140px !important;
  border-radius: unset !important;
}

.s-sidebar {
  width: 230px !important;
}

.s-sidebar-pane {
  width: 220px !important;
}

.s-sidebar-header-logo {
  width: 45px !important;
  height: 45px !important;
}

.s-main .content-header {
  margin-top: 40px;
}

/* The header is fixed (48px) and overlays the page. Serenity sizes full-height pages
   (grid list pages) as section.content { height: calc(100vh - 48px) }, which assumes the
   content starts below the header; without this offset the grid ends 48px above the
   bottom of the window and its title sits under the header. */
html.full-height-page .s-main {
  padding-top: 48px;
}

.s-LoginPanel {
  padding-top: 50px;
}

#s-SignUpPage .s-full-page {
  display: flex;
}

.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}

.s-PermissionCheckEditor {
  min-height: 450px;
}

#PanelDiv .s-container-tight img {
  margin-left: 100px;
}

#PanelDiv .s-container-tight h2 {
  color: white !important;
}

.card-header-with-btn {
  display: flex;
  justify-content: space-between;
  padding: 3px 10px
}

.form-input-readonly {
  border: none !important;
  margin-top: -5px;
  font-weight: 700;
  pointer-events: none;
  margin-top: -7px;
}

.form-report-input-readonly {
  border: none !important;
  pointer-events: none;
}


.form-input-no-border {
  border: none !important;
  color: black !important;
  margin-top: -5px;
  font-weight: 700;
  pointer-events: none;
  opacity: unset !important;
  margin-top: -7px;
}


.card-sm {
  margin-bottom: var(--bs-gutter-x);
}

.card-footer {
  display: flex;
  justify-content: space-between;
}

.unit-note-date {
  font-weight: bold;
  margin-top: 5px;
}

.ImageUpload .s-MultipleFileUploadEditor,
#unit-repair-detail .s-MultipleFileUploadEditor {
  border: none;
}

  .ImageUpload .s-MultipleFileUploadEditor ul,
  #unit-repair-detail .s-MultipleImageUploadEditor ul {
    min-height: unset;
    padding: unset;
  }

#UnitReparationGrid, #InspectionReportGrid {
  min-height: 500px;
  border: none;
  padding: 0px;
}

.s-UnitReparationGroupGrid {
  margin-top: 40px;
  max-width: 1400px;
  position: absolute;
  z-index: 9999;
}

.child-row {
  background-color: #f9f9f9;
  height: 100px;
}

.child-grid {
  margin-left: 20px;
  padding: 10px;
  border-left: 3px solid #ccc;
  background: #fff;
}

.date-link,
.open-repair-date-link,
.closed-repair-date-link,
.report-link,
.unit-link,
.alert-link {
  color: #007eff;
  cursor: pointer;
  font-weight: bold;
}

  .date-link:hover,
  .open-repair-date-link:hover,
  .closed-repair-date-link:hover,
  .report-link:hover,
  .alert-link:hover {
    text-decoration: underline;
  }

.row-child {
  background-color: #ffe9a5 !important;
}

.row-parent .date-link {
  font-weight: bold;
}

.row-child .date-link {
  pointer-events: none;
  cursor: none;
  color: black;
}

.slick-headerrow-column {
  border-bottom: none !important;
}

.row-has-linked .delete-row {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  pointer-events: none !important
}

  .row-has-linked .delete-row i {
    color: gray !important;
  }

.row-has-linked .btn-delete-haslink {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

  .row-has-linked .btn-delete-haslink i {
    color: gray !important;
  }

.s-UnitListDialog .panel-footer {
  display: none;
}

.s-UnitListDialog .field .caption {
  max-width: 75px;
  line-height: 15px !important;
  font-size: 12.2px;
}

.s-UnitListDialog .field input, .s-UnitListDialog .field .select2-chosen {
  font-size: 12.2px;
}

.btn-export-alert-due {
  font-size: 12px;
}

  .btn-export-alert-due:hover {
    color: black !important;
  }

.s-UnitListDialog .panel-titlebar {
  margin-bottom: 0em !important;
}

.s-UnitListDialog .tool-group {
  font-size: 12.2px;
}

.s-UnitListDialog .panel-titlebar {
  font-size: 1.3em;
}

#inspection-report-detail .s-Panel {
  margin-top: unset;
}

.report-has-issues .panel-titlebar {
  font-size: 1.08em;
}

.report-has-issues .tool-group,
.report-has-issues .field label {
  margin-top: -8px;
}

.report-has-issues .driver-signature-div label {
  margin-top: unset;
}

.s-UnitListDialog .inline-action {
  text-decoration: none !important;
}

.s-UnitListDialog .card-body-form {
  max-height: 510px !important;
  height: 510px !important;
  overflow: auto;
  padding: 10px;
}

.s-UnitListDialog .card-body-note {
  max-height: 400px !important;
  overflow: auto;
  padding: 10px;
}

.card-body-status {
  max-height: 130px;
  overflow: auto;
  padding: 10px;
}

.status-view {
  max-height: 70px !important;
}

.status-view-no-reason {
  max-height: 40px !important;
  height: 40px !important;
}

.slick-row .editable .editor-text {
  width: 100%;
}

.unit-status-desc {
  display: flex;
  justify-content: space-between;
}

.tbl-repair-service .form-select {
  padding: unset;
}

.field-error, .form-select.error {
  border: 1px solid red;
}

.slick-viewport .form-select,
.s-UnitReparationDialog .form-select,
#unit-repair-detail .form-select {
  height: 30px !important;
}

  .slick-viewport .form-select .select2-choice,
  .s-UnitReparationDialog .form-select .select2-choice,
  #unit-repair-detail .form-select .select2-choice {
    height: 22px !important;
    margin-top: -4px !important;
  }

.unit-maintenance .nav {
  border-bottom: none;
  margin-bottom: 10px;
  margin-left: 10px;
}

  .unit-maintenance .nav > li > a {
    border-radius: 4px 4px 0 0;
    padding: 8px 10px !important;
    font-size: 12px;
    text-decoration: none;
    color: black;
  }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  color: #007eff;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  font-weight: bold;
}

.s-UnitListDialog {
  display: block !important;
}

.card-title {
  margin-bottom: 0px;
}

.unit-body-type-name {
  text-transform: uppercase;
}

#unitNoteList .card {
  margin-bottom: 10px;
}

#btn-add-repair-note {
  padding-top: 0px;
}

#unitNoteList .card-footer {
  border: none !important;
  background-color: white !important;
  padding-top: 0px;
  font-size: 11px;
}

.card-body-note-item {
  padding-bottom: 0px;
}

.unit-note-thumbnail-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0px;
}

  .unit-note-thumbnail-list li {
    margin: 10px;
    border: 1px solid var(--s-card-border);
  }

  .unit-note-thumbnail-list img {
    width: 50px;
    height: 50px;
    object-fit: cover;
  }

.unit-repair-note-div img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.btn-disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  pointer-events: none !important
}

.text-disabled {
  color: darkgray;
}

.form-check-input, .chkIsRep, .report-cb {
  border-color: #6a6a6a !important;
}

.div-hide {
  display: none !important;
}

.div-show {
  display: block !important;
}

.div-block {
  display: block !important;
}
/* inspection report */
.s-InspectionReportDialog {
  border: unset;
  padding: 0px;
}

  .s-InspectionReportDialog .panel-titlebar-close {
    color: black;
  }

  .s-InspectionReportDialog .panel-titlebar {
    color: black;
  }

    .s-InspectionReportDialog .panel-titlebar .panel-titlebar-text {
      min-width: 200px;
    }

  .s-InspectionReportDialog .s-Toolbar {
    justify-content: flex-end;
    width: 100%;
  }

    .s-InspectionReportDialog .s-Toolbar .tool-button {
      font-weight: bold;
      font-size: 11.5px;
      margin-left: 4px;
    }

.save-inspection-report {
    border: 1px solid #454242 !important;
    border-radius: 4px;
    background-color: #0d6efd;
    color: white;
}

.apply-changes-inspection-report {
  border: 1px solid #454242 !important;
  border-radius: 4px;
  background-color: #198754;
  color: white;
}

.cancel-inspection-report {
  border: 1px solid #454242 !important;
  border-radius: 4px;
  background-color: #dc3545;
  color: white;
}

.edit-mode-inspection-report {
  background-color: #0d6efd;
  border-radius: 4px;
  border: 1px solid #454242 !important;
}

.delete-inspection-report {
  background-color: #dc3545;
  border-radius: 4px;
  border: 1px solid #454242 !important;
}

#report-detail-div .card-header {
  background-color: white;
  border-bottom: unset;
}

.checklist-table {
  font-family: sans-serif;
  font-size: 14px;
}

.checklist-header {
  text-align: left;
  padding-left: 50px;
  font-weight: bold;
}

.checklist-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.checklist-label {
  margin-left: 10px;
  font-weight: bold;
  font-size: 12px;
}

.checklist-checkboxes {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.checklist-titles {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 12px;
}

.title-text {
  transform-origin: center center;
  display: inline-block;
  white-space: nowrap;
  width: 70px;
}

.tire-graphic {
  width: 160px;
  height: auto;
  content: url('../images/tire-check-graphic.png');
}

.orange-label {
  color: orange;
  font-weight: bold;
  font-size: 18px;
  margin-top: 5px;
}

.checkbox-group label {
  display: block;
  margin: 4px 0;
}

.tire-list input {
  width: 100%;
  margin-bottom: 4px;
  height: 20px;
  font-size: 11px;
}

.amount-entry {
  display: flex;
  align-items: center;
}

  .amount-entry label {
    flex: 1;
  }

  .amount-entry input {
    height: 20px;
    margin-bottom: 4px;
    font-size: 11px;
  }

.amount-other input {
  height: 25px;
}

.amount-section input {
  height: 20px;
  margin-bottom: 4px;
  font-size: 11px;
}

.driver-signature-div, .mechanic-signature-div {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

  .driver-signature-div label {
    width: 70%;
  }

.DriverSignatureId, .MechanicSignatureId, .MechanicCompletedOn {
  margin-top: -5px;
  min-width: 180px;
}
/* 3 states switch button */
.three-state-switch {
  display: flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
  font-size: 10px;
  width: 60px;
  border: 1px solid lightgray;
}

.switch-btn {
  flex: 1;
  text-align: center;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s;
  user-select: none;
}

.switch-btn-empty.active {
  border: 1px solid lightgray;
  border-radius: 4px;
  height: 12px;
  margin-left: 1px;
}

.switch-btn-fail.active {
  background-color: red;
  color: white !important;
  height: 13px;
  margin-left: 1px;
  border-radius: 4px;
}

.switch-btn-pass.active {
  background-color: green;
  color: white !important;
  height: 13px;
  border-radius: 4px;
}

.switch-btn-nan.active {
  background-color: darkgoldenrod;
  color: white !important;
  height: 14px;
  margin-right: 1px;
  border-radius: 4px;
}

.btnCenter {
  background-color: #aaa !important;
}

.switch-btn.disabled {
  background-color: #aaa !important;
  cursor: not-allowed;
}

.switch-btn.red {
  background-color: red;
}

.switch-btn.green {
  background-color: green;
}

.switch-btn.active-icon {
  background-color: #4caf50;
}

/* Alerts */
.alert-form-container {
  font-size: 11.5px;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-form-icon {
  margin-right: 8px;
  font-size: 12px;
}

.card-body-alert {
  max-height: 500px !important;
  overflow: auto;
  padding: 10px;
  font-size: 12px;
}

#alertList .card {
  margin-bottom: 10px;
}

.custom-switch-label {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 12px;
}

  .custom-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
  }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

  .slider::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 0px;
    bottom: 0px;
    top: 1px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }

input:checked + .slider {
  background-color: #0d6efd;
}

  input:checked + .slider::before {
    transform: translateX(20px);
  }

.slider::after {
  content: "Off";
  color: black;
  position: absolute;
  top: -2px;
  right: 3px;
  font-size: 11px;
  font-family: sans-serif;
}

input:checked + .slider::after {
  content: "On";
  color: white;
  left: 3px;
  right: auto;
  top: -2px;
}

.btn-complete-alert {
  font-size: 12px;
  height: 25px;
  padding: 0px 10px 2px 10px;
}

#s-DashboardPage .card-title {
  font-size: 12px;
}

#s-DashboardPage input {
  color: black !important;
  font-size: 11px;
}

#s-DashboardPage .card-header button {
  font-size: 11px;
}

.RemarkNoteImageUpload .s-Toolbar {
  justify-content: unset;
  margin-top: unset;
  margin-right: unset;
}

.RemarkNoteImageUpload .s-MultipleFileUploadEditor {
  border: none;
  margin-top: -10px;
}

.RemarkNoteImageUpload .file-items {
  min-height: unset;
}

.RemarkNoteImageUpload .file-item a {
  pointer-events: auto !important;
}

#status-select {
  height: 24px;
  padding: 0px 5px;
}

@media (min-width: 1300px) and (max-width: 1700px) {
  .s-ForgotPasswordPanel .s-container-tight {
    max-width: 40% !important;
  }
}

@media (min-width: 1700px) {
  .s-ForgotPasswordPanel .s-container-tight {
    max-width: 30% !important;
  }
}

@media (min-width: 761px) and (max-width: 1300px) {
  .s-ForgotPasswordPanel .s-container-tight {
    max-width: 60% !important;
  }

  .s-full-page {
    background-size: 65%;
  }
}

@media (max-width: 365px) {
  .s-site-connect-img, .s-site-fleet-img {
    display: none;
  }
}

@media (max-width: 400px) {
  .s-full-page {
    background-size: 80%;
  }

  .s-site-connect-img img {
    width: 45px !important;
  }

  .s-site-fleet-img img {
    width: 90px !important;
  }
}

@media (min-width: 400px) and (max-width: 500px) {
  .s-site-connect-img img {
    width: 60px !important;
  }

  .s-site-fleet-img img {
    width: 100px !important;
  }
}

@media (min-width: 500px) and (max-width: 760px) {
  .s-site-connect-img img {
    width: 100px !important;
  }

  .s-site-fleet-img img {
    width: 160px !important;
  }
}

@media (max-width: 760px) {
  .s-full-page {
    background-size: 80%;
  }
}

@media (max-width: 1400px) {
  #s-DashboardPage .card, #s-DashboardPage .s-DataGrid {
    font-size: 11.5px !important;
  }

  #s-DashboardPage h6 {
    font-size: 11.8px !important;
  }

  .btn-export-open-repair {
    font-size: 11px;
    width: 83px;
    height: 26px;
    padding: 2px;
  }

  #s-DashboardPage .s-DateEditor {
    height: 26px;
    width: 80px;
  }

  /*  .card-header-repair-open-in-progress .card-title {
      margin-top: 0px !important;
  }*/
}

@media (min-width: 991px) and (max-width: 1400px) {
  /*  .s-UnitListDialog .col-md-3, .s-UnitListDialog .col-md-4 {
    width: 50% !important;
  }*/

  .s-UnitListDialog .field .caption {
    max-width: 65px;
    font-size: 11.5px;
  }

  .s-UnitListDialog .field input, .s-UnitListDialog .field .select2-chosen {
    font-size: 11.5px;
  }
}

@media (min-width: 1401px) and (max-width: 1999px) {
  /* .s-UnitListDialog .col-md-3 {
    width: 33.33% !important;
  }*/

  /*  .UnitNumber .caption,
  .BodyId .caption,
  .Perm .caption,
  .Plate .caption,
  .OwnerId .caption,
  .Tons .caption,
  .Model .caption,
  .BodyTypeId .caption,
  ._2290 .caption,
  .Year .caption,
  .InsuredId .caption,
  .Color .caption,
  .Vin .caption,
  .ImageUpload .caption {
    width: 60px;
  }*/

  /*.StatusReason .caption {
      width: 105px !important;
  }*/

  .s-UnitListDialog .unit-info-form .card-body, .s-UnitListDialog .unit-note .card-body-note {
    /*max-height: 750px !important;
    height: 750px !important;*/
  }
}

@media (min-width: 1200px) {
  .s-sidebar-toggler {
    visibility: visible !important;
    width: 35px !important;
  }

  .s-main {
    padding-left: 230px !important;
  }

  .s-sidebar-expanded .s-sidebar {
    transform: translateX(-230px);
  }

  .s-sidebar-expanded .s-main {
    transform: translateX(-220px);
    width: 110% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .s-sidebar-expanded .s-main {
    width: 116% !important;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .s-sidebar-expanded .s-main {
    width: 113% !important;
  }
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .s-sidebar-expanded .s-main {
    width: 112% !important;
  }

  .s-UnitListDialog .field .caption {
    max-width: 70px !important;
  }
}

@media (min-width: 1700px) and (max-width: 1900px) {
  .s-sidebar-expanded .s-main {
    width: 111% !important;
  }
}

@media (min-width: 1900px) {
  .s-UnitListDialog .field .caption {
    max-width: 100px !important;
  }
}

@media (max-width: 440px) {
  #s-DashboardPage .s-DataGrid,
  .s-DataGrid, #s-DashboardPage .card-title,
  #s-DashboardPage input,
  #s-DashboardPage .quick-filter-label,
  .s-sidebar-link-text {
    font-size: 12px !important;
  }

  section.content-header > h1 {
    font-size: 15px;
  }

  #s-DashboardPage .quick-filter-label {
    width: 30px;
  }

  #s-DashboardPage .card-header button {
    font-size: 9.5px;
    width: 66px;
  }

  #s-DashboardPage .s-DateEditor {
    width: 85px;
  }

  #totalOutOfServiceRows,
  #reportRowsOfTotal,
  #totalAlertRows,
  #reportInProgressTotalRows,
  #totalOpenRepairRows,
  #totalClosedRepairRows {
    font-size: 10px;
  }

  .report-search .s-QuickSearchBar input {
    margin-top: 8px;
    font-size: 10px !important;
    width: 170px !important;
  }

  .card-header-repair-open-in-progress {
    display: block !important;
  }

  .open-repair-filter {
    margin-top: 5px;
  }

  .s-InspectionReportDialog .s-Toolbar {
    display: block;
  }

  .s-InspectionReportDialog .tool-group {
    display: flex;
    margin-top: 25px;
  }

  .mechanic-signature-div {
    display: block !important;
  }

  .checklist-table {
    margin-left: -10px;
  }

  .fluid-amount {
    max-width: 260px;
    margin-left: 10px;
  }

  .milestone-div {
    display: block !important;
  }

  #milestone, #milestoneTypeId {
    max-width: 250px !important;
  }

  #milestoneTypeId {
    margin: 7px 0px;
  }
}

.chkIsRep, .report-cb {
  font-size: 16px !important;
}

@media (min-width: 760px) and (max-width: 1400px) {
  #s-DashboardPage .s-DataGrid, .s-DataGrid, #s-DashboardPage .card-title {
    font-size: 14.7px !important;
  }

  .s-sidebar-link-text {
    font-size: 15px !important;
  }

  #totalOutOfServiceRows,
  #reportRowsOfTotal,
  #totalAlertRows,
  #reportInProgressTotalRows,
  #totalOpenRepairRows,
  #totalClosedRepairRows {
    font-size: 13px;
  }

  .card-header-repair-open-in-progress .card-title {
    margin-top: 4px !important;
  }

  .s-UnitListDialog i.fa-pencil, .s-UnitListDialog i.fa-trash {
    font-size: 20px !important;
  }

  .form-check-input, .chkIsRep, .report-cb {
    font-size: 18px !important;
  }

  .three-state-switch {
    width: 160px;
    font-size: 13px;
    height: 28px;
  }

  .switch-btn-pass.active, .switch-btn-nan.active, .switch-btn-fail.active, .switch-btn {
    height: 20px !important;
    padding: 0px 5px !important;
  }

  .switch-btn-empty.active {
    height: 18px !important;
    padding: 0px 5px !important;
  }

  .card-report-note, .card-mechanic {
    padding: 15px !important;
  }

  .title-text {
    width: 170px;
  }

  .col-md-2 {
    width: 33% !important;
  }

  .milestone-div {
    display: block !important;
  }

  #milestone, #milestoneTypeId {
    max-width: 197px !important;
  }

  #milestoneTypeId {
    margin: 7px 0px;
  }

  #recurringCheck {
    margin: 0px 10px 0px -15px;
  }

  #report-detail-div .col-md-6 {
    width: 98%;
    margin-left: 10px;
  }

  .card-tires-fuild label, .tire-list input, .amount-section input {
    height: 25px !important;
    font-size: 13px;
  }

  .field input, .field .select2-chosen {
    font-size: 12.7px !important;
  }

  .card-tires-fuild label {
    font-size: 14px;
  }

  .amount-section {
    width: 45% !important;
  }

  .checklist-row {
    margin-bottom: 10px;
  }

  .checklist-label {
    font-size: 13px;
  }
}
