body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
  * Sidebar
  */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

[data-bs-theme=light] .sidebar {
  background-color: var(--bs-light);
}

[data-bs-theme=dark] .sidebar {
  background-color: var(--bs-dark-subtle);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

[data-bs-theme=dark] .sidebar .nav-link {
  color: var(--bs-text-dark-emphasis);
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.sidebar.compact-sidebar {
  width: 48px;
}

.sidebar.compact-sidebar .nav-link {
  font-size: 0;
}

.collapse-menu-link,
.expand-menu-link {
  position: fixed;
  bottom: 16px;
  left: 16px;
  color: #727272;
}

.collapse-menu-link:hover,
.expand-menu-link:hover {
  color: #333;
}


main.compact-sidebar {
  width: 100%;
  padding-left: 72px !important;
}

/*
  * Navbar
  */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}



html,
body {
  min-height: 100%;
}

body.login {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.condensed-form .form-floating:not(:first-child) > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.condensed-form .form-floating:not(:last-child) > :first-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-form .form-floating:not(:last-child) {
  margin-bottom: -1px;
}

.form-floating:focus-within {
  z-index: 2;
}

.condensed-field-top-left {
  margin-bottom: -1px;
  margin-right: -1px;
}

.condensed-field-top-left > :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-field-single-left {
  margin-right: -1px;
}

.condensed-field-single-left > :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.condensed-field-single-right > :first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-field-top-right {
  margin-bottom: -1px;
}

.condensed-field-top-right > :first-child {
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-field-top {
  margin-bottom: -1px;
}

.condensed-field-top > :first-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-field-bottom > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.condensed-field {
  margin-bottom: -1px;
}

.condensed-field-center {
  margin-bottom: -1px;
  margin-right: -1px;
}

.condensed-field-single-center {
  margin-right: -1px;
}

.condensed-field-left {
  margin-bottom: -1px;
  margin-right: -1px;
}

.condensed-field > :first-child,
.condensed-field-left > :first-child,
.condensed-field-center > :first-child,
.condensed-field-single-center > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-field-bottom-left {
  margin-right: -1px;
}

.condensed-field-bottom-left > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.condensed-field-bottom-right > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.condensed-button-bottom {
  margin-top: -1px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  color: #212629;
  background-color: #e9ecef;
  border-color: #ced4d8;
}

.condensed-button-bottom:hover,
.condensed-button-bottom:focus,
.condensed-button-bottom:active {
  color: #212629;
  background-color: #ced4d8;
  border-color: #ced4d8;
}

.condensed-button-bottom:focus {
  z-index: 2;
}






.option-rows .option-row .col .form-floating {
  margin-bottom: -1px;
}

.option-rows .option-row .col .form-floating > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.option-rows .option-row .col-4 .col:first-child .form-floating {
  margin-right: -1px;
}

.option-rows .option-row:first-of-type > .row:first-child .col .form-floating > :first-child {
  border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
}

.option-rows .option-row:first-of-type .col-4 .col:first-child .form-floating > :first-child {
  border-top-right-radius: 0;
}

.option-rows .option-row:first-of-type .col-4 .col:last-child .form-floating > :first-child {
  border-top-left-radius: 0;
}

.option-rows .option-row:nth-last-child(2) .col-4 .col:first-child .form-floating > :first-child {
  border-bottom-left-radius: .25rem;
}

.option-rows .option-row:nth-last-child(2) .col-4 .col:last-child .form-floating > :first-child {
  border-bottom-right-radius: .25rem;
}

.option-rows .option-button-row:first-of-type .condensed-button-bottom {
  border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
}

#options-manufacturer .option-row .col-4 .col:first-child .form-floating > :first-child {
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

#options-manufacturer .option-row .col-4 .col:last-child .form-floating > :first-child {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

#options-hvt .option-row .col-4 .col:first-child .form-floating > :first-child {
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

#options-hvt .option-row .col-4 .col:last-child .form-floating > :first-child {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}








.position-rows .position-row .col .form-floating {
  margin-bottom: -1px;
}

.position-rows .position-row .col .form-floating > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.position-rows .position-row .col-4 .col:first-child .form-floating {
  margin-right: -1px;
}

.position-rows .position-row .col-2 .form-floating input {
  border-left: none;
}

.position-rows .position-row:first-of-type > .row:first-child .col .form-floating > :first-child {
  border-top-right-radius: 0;
  border-top-left-radius: .25rem;
}

.position-rows .position-row:first-of-type > .row:first-child .col-2 .form-floating > :first-child {
  border-top-right-radius: .25rem;
  border-top-left-radius: 0;
}

.position-rows .position-row:first-of-type .col-4 .col:first-child .form-floating > :first-child {
  border-top-right-radius: 0;
}

.position-rows .position-row:first-of-type .col-4 .col:last-child .form-floating > :first-child {
  border-top-right-radius: .25rem;
  border-top-left-radius: 0;
}

.position-rows .position-row:nth-last-of-type(2) .col-4 .col:first-child .form-floating > :first-child {
  border-bottom-left-radius: .25rem;
}

.position-rows .position-row:nth-last-of-type(2) .col-4 .col:last-child .form-floating > :first-child {
  border-bottom-right-radius: .25rem;
}

.position-rows .position-button-row:first-of-type .condensed-button-bottom {
  border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
}









p.form-control {
  margin-bottom: 0;
}

.floating-field-placeholder {
  height: 58px;
}

.floating-field-placeholder.condensed-field {
  margin-bottom: -1px;
}

.form-floating.number-field input {
  text-align: right;
}

.form-floating.number-field > label {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.form-floating.number-field>.form-control:focus~label,
.form-floating.number-field>.form-control:not(:placeholder-shown)~label,
.form-floating.number-field>.form-select~label {
  transform: scale(.85) translateY(-.5rem) translateX(-.15rem);
}

.form-heading {
  font-weight: 500;
  margin-left: 0.8rem;
  font-size: 1.125rem;
  margin-bottom: 0.66rem;
}

.delete-option,
.delete-position,
.close-customer-search {
  position: absolute;
  top: 0;
  right: 0;
  height: 58px;
  width: 58px;
  line-height: 58px;
  text-align: center;
}

.delete-option:focus,
.delete-position:focus,
.close-customer-search:focus {
  outline: none;
}

.option-row > .row:first-child > .col input {
  padding-right: 3.6rem;
}




.delete-prices {
  position: absolute;
  right: 1.5rem;
}


#supplementary_text-wrapper {
  display: none;
}

#supplementary_text {
  height: 300px;
}

.customer-search {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x)/ 2);
  padding-left: calc(var(--bs-gutter-x)/ 2);
  background: white;
  z-index: 2;
}

.customer-search-results {
  border: 1px solid #ced4da;
  border-bottom-left-radius: .25rem;
  border-bottom-right-radius: .25rem;
  height: 24.5em;
}

.customer-search-result {
  color: #6c757d;
  border-bottom: 1px solid #ced4da;
  padding: .5rem .75rem;
  cursor: pointer;
  transition: color .15s ease-in-out,background-color .15s ease-in-out;
}

.customer-search-result:hover {
  color: #fff;
  background-color: #6c757d;
}

.customer-search-result:nth-child(9) {
  border-bottom-left-radius: .25rem;
  border-bottom-right-radius: .25rem;
}



td.actions {
  white-space: nowrap;
  vertical-align: middle;
}

.hidden {
  display: none;
}

select.form-select:disabled,
select.form-select:disabled > option {
  opacity: 1;
  color: #212529;
}

.order-date {
  text-align: right;
  font-weight: 500;
}

.switch-wrapper {
  margin-left: 1.125em;
}

.is-invalid {
  z-index: 1;
}

.pdf-buttons a {
  margin: 0 4px 8px 0;
}

#search-order-form {
  position: relative;
}

.order-search-submit {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  background-color: white;
  text-align: center;
  vertical-align: baseline;
  border-radius: 3px;
  z-index: 2;
}

.option-fields-wrapper {
  margin-top: 32px;
  margin-bottom: 18px;
}

.table th {
  white-space: nowrap;
}

/* sticky table header */

:root {
  --navbar-offset: 0px;
  --sidebar-offset: 0px;
  --header-offset: 0px;
  --footer-offset: 0px;
  --pills-offset: 0px;
}



.container-fluid {
  margin-top: var(--navbar-offset);
}

.table-sticky {
  position: relative;
  overflow: unset;
  margin-top: calc(var(--header-offset) + var(--pills-offset));
  margin-bottom: var(--footer-offset);
}

.table-sticky .table th {
  position: sticky;
  top: calc(var(--navbar-offset) + var(--header-offset) + var(--pills-offset));
  z-index: 2;
}


/* sticky table columns */

.sticky-column {
  position: sticky;
  left: var(--sidebar-offset);
  z-index: 1;
}

.table-sticky .table th.sticky-column {
  z-index: 3;
}

.compact-sidebar .title-wrapper {
  position: sticky;
  left: calc(var(--sidebar-offset) + 1rem);
}

/* compensate for sticky table layout changes */

.header-fixed {
  position: fixed;
  z-index: 4;
  top: var(--navbar-offset);
  left: var(--sidebar-offset);
  width: calc(100vw - var(--sidebar-offset));
}

.footer-fixed {
  position: fixed;
  z-index: 4;
  bottom: 0;
  left: var(--sidebar-offset);
  width: calc(100vw - var(--sidebar-offset));
}

.filter-pills {
  position: fixed;
  z-index: 4;
  top: calc(var(--navbar-offset) + var(--header-offset) + 0.75rem);
}








/* excel-bootstrap-table-filter-bundle */

.dropdown-filter-dropdown {
  position:relative;
  display:inline-block;
}

.dropdown-filter-icon {
  margin-left:5px;
  line-height:1.3;
}


.dropdown-filter-icon:hover {
  cursor:pointer;
}

.checkbox-container {
  max-height: 400px;
  overflow-y: scroll;
}
.dropdown-filter-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding-bottom:5px;
  padding-top:5px;
  padding-right:5px;
  padding-left:5px;
  border-radius: .2rem;
}

.dropdown-filter-content div {
  margin-top:5px;
  margin-left:5px;
  margin-right:5px;
  margin-bottom:5px;
}

.dropdown-filter-content div.dropdown-filter-search {
  margin-bottom:10px;
  margin-top:10px;
}


.dropdown-filter-content div.dropdown-filter-sort {
  padding-top:5px;
  padding-bottom:5px;
}

.dropdown-filter-content div.dropdown-filter-sort:hover {
  background-color:#e1e5e7;
  cursor:pointer;
}

.dropdown-filter-content div.dropdown-filter-sort span {
  margin-right:5px;
  margin-left:5px;
  margin-top:5px;
  margin-bottom:5px;
  color:#000000;
}

.arrow-down {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin-right:5px;
  margin-left:5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  position: relative;
  top: -2px;
}

.actions .dropdown-filter-dropdown {
  display: none;
}

table.searchfilter th {
  white-space: nowrap;
}

.audit-log-value-table {
  width: 100%;
}

.audit-log-value-table td {
  width: 33.3%;
}

.timestamp-wrapper {
  height: 1em;
  text-align: right;
  margin-right: 0.5rem;
  position: relative;
  top: -7px;
}

.dropdown-menu input[type="checkbox"] {
  margin-left: 5px;
}


/* vehicle image section */

.vehicle-image-section .image-wrapper {
  padding: .25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  max-width: 100%;
  height: auto;
  position: relative;
}

.vehicle-image-section .image-wrapper .image {
  padding-bottom: 100%;
  position: relative;
}

.vehicle-image-section .image-wrapper .image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-image-section .row.images {
  --bs-gutter-y: 1.5rem;
}

.vehicle-image-section .delete {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 1;
}

.vehicle-image-section .delete label {
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  cursor: pointer;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 24px;
}

.vehicle-image-section .delete label span {
  font-size: 1.5rem;
}

.vehicle-image-section .delete input {
  display: none;
}

.vehicle-image-section .delete input:checked + label {
  background: #dc3545;
  color: white;
  border-color: white;
}

.vehicle-image-section .primary {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 1;
}

.vehicle-image-section .primary label {
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  cursor: pointer;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 24px;
}

.vehicle-image-section .primary label span {
  font-size: 1.5rem;
}

.vehicle-image-section .primary input {
  display: none;
}

.vehicle-image-section .primary input:checked + label {
  background: #0d6efd;
  color: white;
  border-color: white;
}

textarea.text-box {
  min-height: 160px;
}

.advertisement-vehicle-name {
  font-weight: bold;
  font-size: 1.5rem;
}

.advertisement-vehicle-images {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.advertisement-vehicle-images img {
  max-width: 50%;
  height: auto;
}

.advertisement-vehicle-images img.main-image {
  max-width: 100%;
}

.table>:not(caption)>*>* {
  vertical-align: middle;
} 

span.archived,
span.deleted {
  color: #6c757d;
}

span.contract-received {
  color: #198754;
}

[x-cloak] { display: none !important; }
