.content-wrapper {
  background: #fefefe;
}

.page-wrapper {
  margin-top: 0.5rem;
}

.callout {
  padding: 0.7rem;
}

.callout > .badge {
  float: right;
}

.badgeleft {
  float: none !important;
}

.head-title span {
  font-size: 1.2em;
  text-align: center;
}

footer a.active {
  color: var(--primary);
}

footer a {
  color: grey;
}

.select-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.select-container label {
  width: 100%;
  opacity: 0.5;
  margin-top: 0.5rem;
  font-weight: 400 !important;
}

.select-container select {
  width: 100%;
}

.hide {
  display: none;
}

.thumb {
  margin: 1rem;
  align-items: center;
  display: flex;
  gap: 1rem;
}
.thumb img {
  max-width: 300px;
  max-height: 200px;
}

.btn-add-new {
  color: #fff;
  position: fixed;
  z-index: 100002;
  background: #007bff;
  width: 50px;
  height: 50px;
  font-size: 3em;
  font-weight: 300;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 60px;
  right: 20px;
  box-shadow: 0 0 8px #202020;
  padding-bottom: 10px;
  cursor: pointer;
}

.dot {
  color: grey;
  font-size: 0.5em;
}

.delete_file_btn {
  display: none;
}

.salary-content {
  margin-bottom: 3rem;
}

.salary-content .tr_ > td {
  border: 1px solid grey;
  margin: 0px;
  padding: 3px;
}

.salary-content .text_info {
  font-size: 12px;
  max-width: 200px !important;
  overflow: auto;
  display: block;
}

form .error-div {
  text-align: center;
  color: red;
  font-weight: bold;
}

.hidden {
  display: none !important;
}

.total-gross {
  display: block;
  width: 100%;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  height: 40px;
}

.btn-back {
  margin-right: 20px;
  opacity: 0.7;
  cursor: pointer;
}

[role="button"] {
  cursor: pointer;
}

.input-group.vehicles input {
  margin-right: 10px;
}

.text-state,
.span-date {
  opacity: 0.7;
}

.weight-error {
  color: red;
}
.weight-success {
  color: green;
}

.load-actions-container {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.loading {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-link {
  margin-right: 20px;
  float: left;
  text-align: center;
}

.centered-div {
  text-align: center;
}

select[multiple] {
  width: 100%;
}

.top-menu {
  display: flex;
  gap: 1rem;
}
.top-menu .menu {
  font-size: 1rem;
  text-transform: uppercase;
  color: grey;
  opacity: 0.7;
  padding: 0.3rem;
  height: 3rem;
  font-weight: 600;
}

.top-menu .menu.active,
.top-menu .menu:hover,
.top-menu .menu:focus-visible {
  opacity: 1;
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.top-menu .menu .counter {
  color: #000;
  background-color: #ddd;
  border-radius: 5px;
  opacity: 0.7;
  height: 1.5rem;
  margin-top: -0.7rem;
  font-size: 12px;
  padding: 0.2rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.top-menu .menu-loads {
  display: flex;
}

button[disabled] {
  opacity: 0.7 !important;
  background: var(--light) !important;
  border: 1px solid var(--light) !important;
}

.fade.show {
  opacity: 1;
}
.alert-dismissible {
  padding-right: 4rem;
}
.alert-content .alert {
  position: fixed;
  bottom: 41px;
  min-width: 300px;
  z-index: 1111;
  max-width: 500px;
  width: calc(100% - 20px);
  right: 10px;
}

.alert {
  padding: 0.75rem 1.25rem;
  padding-right: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 0.25rem;
  text-transform: capitalize;
  word-wrap: break-word;
}
.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
  background-color: transparent;
  border: 0;
  --webkit-appearance: none;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.btn-close:hover,
.btn-close:focus-visible {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.text-vin {
  opacity: 0.5;
}
.card-footer {
  display: flex;
  background: transparent;
  padding-top: 0;
}

.card-footer .btn,
.btn.w-100 {
  width: 100%;
}

.card-footer .btn-delete {
  margin-right: 1rem;
}

.card-body {
  padding-bottom: 0;
}

.login-card-body {
  padding-bottom: 1rem !important;
}

.select2-selection__choice {
  background: var(--primary) !important;
}

.wrapper nav {
  border: 0px;
  padding: 10px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 111;
}

@media screen and (min-width: 700px) {
  .wrapper nav {
    width: 500px !important;
    top: 0 !important;
    left: 50% !important;
    margin-left: -250px !important;
  }
  .content-wrapper,
  .layout-footer-fixed .wrapper .main-footer {
    width: 500px !important;
    margin: 0 auto !important;
  }

  .btn-add-new {
    left: calc(50% + 420px) !important;
    margin-left: -250px !important;
    bottom: 120px !important;
  }
}

@media screen and (max-width: 420px) {
  .top-menu .menu {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 400px) {
  .top-menu {
    gap: 0.2rem;
  }
}

.modal-backdrop {
  opacity: 0.5 !important;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 600 !important;
}

.flex-item {
  display: flex;
  justify-content: space-between;
}

.text-small {
  font-size: 0.8rem;
  color: grey;
}
.text-medium {
  font-size: 0.9rem;
  font-weight: 600;
}
.text-large {
  font-size: 1.2rem;
  font-weight: 600;
}
.text-bold {
  font-weight: 600;
}
.load-view.text-address {
  font-size: 15px;
}
.vehicle-list {
  margin-top: 1rem;
}

.vehicle-list .vehicle-item img {
  max-width: 100px;
  max-height: 100px;
}

.text-capitalize {
  text-transform: capitalize;
}
.text-upper-case {
  text-transform: uppercase;
}

.slideshow-container * {
  box-sizing: border-box;
}

.slideshow-img-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.slideshow-img {
  display: none;
  width: 470px;
  height: 350px;
}

.slideshow-img img {
  width: 100%;
}

.slideshow-img img,
.crop-position {
  object-position: 0px 15px;
}

.slideshow-img .numbertext {
  font-size: 12px;
  padding: 2px 5px 2px 5px;
  border-radius: 5px;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  background: #000;
  color: #f2f2f2;
}

.slideshow-container .prev,
.slideshow-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.slideshow-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slideshow-img-container .prev:hover,
.slideshow-img-container .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-thumb-container {
  text-align: center;
  max-width: 500px;
  min-width: 100%;
  height: 110px;
  overflow-x: scroll;
  display: flex;
  gap: 0.2rem;
}

.slideshow-thumb {
  cursor: pointer;
  height: 85px;
  width: 125px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 7%;
  transition: background-color 0.6s ease;
  border: 2px solid transparent;
}

.slideshow-thumb img {
  width: 120px;
  height: 80px;
  border-radius: 7%;
  object-position: 0px 3px;
}

.slideshow-thumb.thumb-active,
.slideshow-thumb:hover {
  border: 2px solid blue;
}

.badge-warning {
  background: rgb(220, 145, 6) !important;
  color: #fff !important;
}
.callout .badge-success {
  color: green;
  background-color: hwb(147 78% 7%);
  font-weight: 600;
}

.state-text {
  border-radius: 50%;
  width: 0.5rem;
  height: 0.5rem;
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.state-text.state-pickup {
  background: rgb(220, 145, 6);
}
.state-text.state-delivery {
  background: green;
}

.bol-link {
  color: var(--primary);
  font-weight: 600;
}

@media screen and (max-width: 1000px) {
  @media (orientation: landscape) {
    body::before {
      content: "Please rotate your device";
      display: block;
      text-align: center;
      font-size: 24px;
      padding-top: 50vh;
    }
    body > * {
      display: none;
    }
  }
}
