.navbar-dark .navbar-nav .nav-link {
  font-size: 0.9rem;
}

.navbar-dark .navbar-nav .nav-link.active {
  border-bottom: 0.5px solid #fff
}

.navbar-dark .navbar-nav .nav-link img {
  width: 20px;
}
.dropdown-menu {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}
.dropdown-menu>li:hover>.dropdown-submenu {
  display: block;
}
.user-menu .dropdown-menu.show {
  left: unset;
  right: 0px
}

.table-title {
  padding-bottom: 15px;
  background: #7a0003;
  color: #fff;
  padding: 16px 30px;
  border-radius: 3px 3px 0 0;
}

.table-title h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.table-title .btn-group {
  float: right;
}

.table-title .btn {
  color: #fff;
  float: right;
  font-size: 13px;
  border: none;
  min-width: 50px;
  border-radius: 2px;
  border: none;
  outline: none !important;
  margin-left: 10px;
}

.table-title .btn i {
  float: left;
  font-size: 19px;
  margin-right: 5px;
}

.table-title .btn span {
  float: left;
  margin-top: 2px;
}

tr:nth-child(even) {
  background: #f3f3f3;
}

.select2-container--default .select2-search--inline .select2-search__field {
  width: 100% !important;
}

.message_container {
  position: relative;
}

.message_container span.position-absolute {
  top: -22px;
  right: -20px;
}

/* Modal styles */
.modal .modal-dialog {
  max-width: 800px;
}

.modal .modal-header,
.modal .modal-body,
.modal .modal-footer {
  padding: 20px 30px;
}

.modal .modal-content {
  border-radius: 3px;
  font-size: 14px;
}

.modal .modal-footer {
  background: #ecf0f1;
  border-radius: 0 0 3px 3px;
}

.modal .modal-title {
  display: inline-block;
}

.modal .form-control {
  border-radius: 2px;
  box-shadow: none;
  border-color: #dddddd;
}

.modal textarea.form-control {
  resize: vertical;
}

.btn-group-sm>.btn,
.btn-sm {
  line-height: 1.2rem !important;
}

.modal .btn {
  border-radius: 2px;
  min-width: 100px;
}

.modal form label {
  font-weight: normal;
}

.show_detail_final_sell,
.show_detail {
  cursor: pointer;
}

tr.details_container {
  transform: all 0.4s;
  visibility: collapse;
  max-height: 0;
  display: none;
}

tr.details_container--open {
  max-height: 900px;
  visibility: visible;
  display: contents;
}

.label-filters {
  color: #000;
}

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .vehicles .container-xxl {
    max-width: 1620px;
  }
}

.select2-container--default .select2-search--inline .select2-search__field {
  width: 100% !important;
}

#filters_vehicle .form-group {
  margin-bottom: 1rem;
  border: 1px sold;
  background: #fafafa;
  padding: 3px 8px 8px 8px;
  border: 1px dotted #000;
}

.nav-item.nav-btn i {
  margin-right: 5px;
  color: #fff;
}

.nav-item .dropdown-item i {
  margin: 0;
  color: #000;
  padding-right: 5px;
}

.upload-file {
  float: left;
  width: 100%;
}

.upload-file .upload-wrapper {
  float: left;
  width: 100%;
}

.upload-file .upload-wrapper label {
  float: left;
  width: 100%;
  background: #fff;
  position: relative;
  border: 1px solid #ced4da;
  z-index: 999;
  cursor: pointer;
  padding: 15px;
}

.upload-file .upload-wrapper label a {
  color: #fff;
}

.upload-file .upload-wrapper label>input[type="file"] {
  display: none;
}

.upload-file .upload-wrapper label p {
  line-height: 20px;
}

.upload-file .upload-wrapper label p a {
  font-size: 22px;
  font-weight: 700;
  color: #c72227;
  cursor: pointer;
}

#image-gallery .thumb-Images li {
  border: 1px solid #ced4da;
  float: left;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  display: flex;
  padding: 10px 10px;
  margin-bottom: 10px;
  position: relative;
}

#image-gallery .thumb-Images li .file-info {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  width: 70%;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 30px;
}

#image-gallery .thumb-Images li .img-wrap {
  margin-right: 10px;
}

#image-gallery .thumb-Images li .img-wrap img.thumb {
  height: 30px;
  width: 30px;
  border-radius: 30px;
  margin-left: 5px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

#image-gallery .thumb-Images li .img-wrap .close {
  position: absolute;
  right: 12px;
  color: red;
}

#image-gallery .thumb-Images li .img-wrap .close i {
  font-size: 20px;
}

.remove-me {
  margin: 31px 0px 16px;
}

#vehicle_details .card {
  width: 100%;
}

#vehicle_details .card li {
  background: #fafafa;
}

.navbar-dark .navbar-nav .nav-link {
  margin: 0 3px;
  border-bottom: 0.5px solid #5d666f;
}

.highlight {
  background-color: #e5f8e5 !important;
}

.main_sortby {
  display: flex;
  align-items: center;
  justify-content: end;
}

.selected {
  background-color: #4e5153 !important;
  border: 1px solid #ffffff !important;
  pointer-events: none;
}

.main_sortby select {
  margin-left: 10px;
  max-width: 250px;
}

.main_sortby span.sort {
  font-size: 14px;
  line-height: 14px;
}

.active_notification,
.rezervation_notification_c {
  position: fixed;
  right: 100px;
  top: 100px;
  z-index: 999;
  display: none;
}

.rezervation_notification,
.rezervation_alert {
  position: fixed;
  top: 27px;
  z-index: 9999;
  right: 104px;
  max-width: 250px;
  display: none;
  border: 2px solid black;
}

tr.accepted {
  background: rgba(33, 136, 56, 0.1);
}

tr.cancel {
  background: rgba(200, 35, 51, 0.1);
}


@media only screen and (max-width: 768px) {
  .vehicles_rezervation table.table {
    font-size: 11px;
  }

  .table td,
  .table th {
    padding: 0.4rem;
  }
}

.container-xxl.mb-5.sell_reports {
  max-width: 99%;
}

.container-xxl.mb-5.sell_reports .table {
  font-size: 15px;
}

.dealernet_file_submit {
  margin-right: auto;
  display: none;
  font-weight: 900;
}

.img_click {
  cursor: pointer;
}

.dealernet_download {
  width: 18%;
}

.test_drive .select2-container--default .select2-selection--single {
  height: calc(1.5em + 0.75rem + 2px);
}

.test_drive .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 37px;
}

.test_drive .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

#signatureparent {
  color: darkblue;
  background-color: darkgrey;
  /*max-width:600px;*/
  padding: 20px;
}

/*This is the div within which the signature canvas is fitted*/
#signature {
  border: 2px dotted black;
  background-color: lightgrey;
}

/* Drawing the 'gripper' for touch-enabled devices */
html.touch #content {
  float: left;
  width: 92%;
}

html.touch #scrollgrabber {
  float: right;
  width: 4%;
  margin-right: 2%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAAAAACh79lDAAAAAXNSR0IArs4c6QAAABJJREFUCB1jmMmQxjCT4T/DfwAPLgOXlrt3IwAAAABJRU5ErkJggg==)
}

html.borderradius #scrollgrabber {
  border-radius: 1em;
}

input.invalid {
  border-color: #dc3545;
}

.vehicles_scroll {
  height: 600px;
  overflow-x: auto;
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 0.5
}

.form-control::-moz-placeholder {
  color: #6c757d;
  opacity: 0.5
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 0.5
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 0.5
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.5
}

.max_height {
  max-height: 300px;
  font-size: 13px;
  overflow: auto;
}

.testdrive_submenu ul li .nav-link small {
  color: #000;
  font-size: 0.95em;
}

.testdrive_submenu ul li .nav-link.active {
  background: #F2771A;
}

table.tab-content>.active {
  display: contents;
}

table.tab-content .nav.nav-tabs {
  border-bottom: 0;
}

.table thead th.th-tabs {
  padding-bottom: 0;
}

.table tr.no_border_bot td {
  border-bottom: 0;
}

.table tr.no_border_top td {
  border-top: 0;
  padding-top: 0px;
}



@media screen and (max-width: 768px) {



  ._container-xl_cereri {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

}

@media only screen and (max-width: 850px) {


  ul.main_sortby li {
    width: 100%;
    padding-top: 7px;
  }

  ul.main_sortby li button,
  ul.main_sortby li a {
    width: 100%;
  }

  ul.main_sortby {
    justify-content: center !important;
  }

  /*text-mobile aligns center on mobile displays and does nothing on desktop */
  .text-mobile {
    text-align: center !important;
  }

  /* Force table to not be like tables anymore */
  #no-more-tables table,
  .no-more-tables,
  #no-more-tables thead,
  .no-more-tables thead,
  #no-more-tables tbody,
  .no-more-tables tbody,
  #no-more-tables th,
  .no-more-tables th,
  #no-more-tables td,
  .no-more-tables td,
  #no-more-tables tr,
  .no-more-tables tr {
    display: block;
  }

  #no-more-tables table>:not(:first-child),
  .no-more-tables>:not(:first-child) {
    border-top: none;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr,
  .no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #no-more-tables tr,
  .no-more-tables tr {
    border: 1px solid #ccc;
  }

  #no-more-tables td,
  .no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 40%;
    white-space: normal;
    text-align: left;
    letter-spacing: -0.8px;
    width: 100% !important;
  }

  #no-more-tables td.details_opened,
  .no-more-tables td.details_opened,
  #no-more-tables .no_resp td,
  .no-more-tables .no_resp td {
    padding-left: 10px;
  }

  #no-more-tables td:before,
  .no-more-tables td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 36%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  /*
	Label the data
	*/
  #no-more-tables td:before,
  .no-more-tables td:before {
    content: attr(data-title);
  }

  #no-more-tables tbody.tab-pane,
  .no-more-tables tbody.tab-pane {
    display: none;
  }

  #no-more-tables tbody.tab-pane.active,
  .no-more-tables tbody.tab-pane.active {
    display: block;
  }

  .responsive_table_hide {
    display: none !important;
  }

}

body .accordion-button::after {
  margin-right: auto;
  margin-left: unset;
}

.left_filter_li {
  display: block;
}

.dt-scroll-body::-webkit-scrollbar,
#example2Right::-webkit-scrollbar,
#example2Left::-webkit-scrollbar,
.custom_scroll ul::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dt-scroll-body::-webkit-scrollbar-track,
#example2Right::-webkit-scrollbar-track,
#example2Left::-webkit-scrollbar-track,
.custom_scroll ul::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}

.dt-scroll-body::-webkit-scrollbar-thumb,
#example2Right::-webkit-scrollbar-thumb,
#example2Left::-webkit-scrollbar-thumb,
.custom_scroll ul::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.dt-scroll-body::-webkit-scrollbar-thumb:hover,
#example2Right::-webkit-scrollbar-thumb:hover,
#example2Left::-webkit-scrollbar-thumb:hover,
.custom_scroll ul::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.dt-scroll-body::-webkit-scrollbar-thumb:active,
#example2Right::-webkit-scrollbar-thumb:active,
#example2Left::-webkit-scrollbar-thumb:active,
.custom_scroll ul::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, .9);
}

.right-column.opacity table,
.left-column.opacity {
  opacity: .2;
}

.right-column.opacity:after {
  content: 'Loading, please wait...';
  display: block;
  left: 50%;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hide_all_filters {
  cursor: pointer;
}

section#filters {
  transition: all 0.5s;
  max-height: 9999px;
  margin-bottom: 50px;
}

section#filters.hide {
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0px;
}

.arrow_down_filters {
  transition: all 0.5s;
}

.arrow_down_filters.rotate {
  transform: rotate(180deg);
}

.arrow_down_filters.rotate-90 {
  transform: rotate(90deg);
}

.custom_scroll,
.custom_scroll ul {
  background: #fff;
}

.custom_scroll.super,
.custom_scroll.super ul {
  background-color: #f6f690;
}

.cart_mini_container {
  position: relative;
  margin-bottom: -12px;

}

.cart_mini_container.fixed {
  position: fixed;
  z-index: 999;
  top: 30px;
}

.cart_mini_container.fixed .fa-cart-shopping {
  color: #7a0003;
}

.cart_mini_container .fa-cart-shopping {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.cart_mini_container .cart_item {
  position: absolute;
  top: -7px;
  right: -5px;
  background: #C72227;
}

.cart_mini_container .cart_preview {
  display: none;
  position: absolute;
  width: 350px;
  background-color: #f3f3f3;
  right: 0;
  top: 34px;
  z-index: 999;
  color: #212529;
  padding: 18px 5px;
}

.cart_mini_container .cart_preview.active {
  display: block;
}

.cart_mini_container .cart_preview ul {
  list-style-type: none;
  margin: 0;
  padding: 3px;
  max-height: 400px;
  overflow-y: auto;

}

.checkout .quantity_selector {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 79px;
}

/* Chrome, Safari, Edge, Opera */
.checkout input.quantity[type="number"]::-webkit-outer-spin-button,
.checkout input.quantity[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.checkout input.quantity[type="number"] {
  -moz-appearance: textfield;
}

.checkout .quantity_selector input {
  border: 1px solid #343a40;
  border-radius: 0;
  text-align: center;
}

.checkout .quantity_selector button {
  background: #fff;
  border-radius: 0;
  height: 31px;
  width: 26px;
  text-align: center;
  border: 1px solid #343a40;
  color: #212529;
  font-size: 14px;
  margin: 0;
  min-width: unset;
}

.delete_from_cart_tranzit,
.delete_from_order,
.checkout .fa-trash-o,
.copy_series {
  cursor: pointer;
}

.page-wrapper button .cart-item {
  position: absolute;
  height: 24px;
  width: 24px;
  top: -10px;
  right: -10px;
}

.page-wrapper button .cart-item:before {
  content: "1";
  display: block;
  line-height: 24px;
  height: 24px;
  width: 24px;
  font-size: 12px;
  font-weight: 600;
  background: #2bd156;
  color: white;
  border-radius: 20px;
  text-align: center;
}

.page-wrapper button.sendtocart .cart-item {
  display: block;
  animation: xAxis 1s forwards cubic-bezier(1, 0.44, 0.84, 0.165);
}

.page-wrapper button.sendtocart .cart-item:before {
  animation: yAxis 1s alternate forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart_mini_container.shake i.fa-cart-shopping {
  animation: shakeCart 0.4s ease-in-out forwards;
}

@keyframes xAxis {
  100% {
    transform: translateX(calc(50vw - 105px));
  }
}

@keyframes yAxis {
  100% {
    transform: translateY(calc(-50vh + 75px));
  }
}

@keyframes shakeCart {
  25% {
    transform: translateX(6px);
  }

  50% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
  }

}

.replace_vim {
  display: none;
  max-height: 200px;
  overflow: auto;
  position: absolute;
  z-index: 999999;
}

.replace_vim.show {
  display: block;
}

.replace_vim_action {
  cursor: pointer;
}

.count_down_container {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: .2rem;
  color: #17a2b8;
  border-color: #17a2b8;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#shared-lists {
  max-height: 400px;
  overflow: auto;
}

.details_container--open td:empty,
.table-wrapper tr.details_container td:empty {
  visibility: hidden;
  display: none;
}

.left-column #filters label.form-check-label {
  line-height: 18px;
}

.dev_warning {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  text-align: center;
}

.rezervation_loading {
  display: none;
}

/* /* completam alert box-uri */
.main .alert-success,
.main .alert-danger {
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .order-list-filters span.float-right {
    min-width: 200px;
    width: 100%;
  }

  span.select2.select2-container.select2-container--default {
    width: 100% !important;
    min-width: 180px;
  }
}

@media screen and (max-width: 576px) {
  .search-by {
    width: 100%;
    min-width: 200px;
    float: none !important;
  }

}

@media screen and (min-width: 1000px) {
  .order-list-filters span.float-right {
    width: 200px;
  }

  .search-by {
    min-width: 200px;
    padding-right: 5px;
  }

}

.select2_dropdown {
  font-size: 11px;
}

#same_user_client {
  max-height: 0px;
  overflow: hidden;
  transition: all 0.5s;
}

#same_user_client.show {
  max-height: 900px;
}

.no-spinners {
  -moz-appearance: textfield;
}

.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.details_container.details_container--open td:hover,
.details_container.details_container--open td {
  --bs-table-bg-state: #fff;
}

#FinalSellFormModal .select2-selection__rendered {
  line-height: 37px !important;
}

#FinalSellFormModal .select2-container .select2-selection--single {
  height: 38px !important;
}

#FinalSellFormModal .select2-selection__arrow {
  height: 37px !important;
}

/**
 * Autocomplete location on Modal
**/
.pac-container {
  z-index: 9999999;
}

/**
 * Signature style
**/
.ath-cropper-container {
  display: flex;
  justify-content: center;
}

.ath-cropper-wrapper {
  position: relative;
}

#cropper-controller {
  position: absolute;
  top: 10px;
  right: 10px;
  flex-direction: column;
  z-index: 9;
}

#zoomIn {
  margin-bottom: 10px;
}

/**
 * Filters
**/
@media (min-width: 768px) {
  #ath-filters {
    flex-wrap: nowrap;
  }
}

#ath-filters .left-column,
#ath-filters .right-column {
  transition-duration: 300ms;
}

#ath-filters .left-column h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#ath-filters .filter-left-closed {
  background-color: #00513696 !important;
  color: white;
}

#ath-filters.available-units .filter-left-closed {
  background-color: #ac5253 !important;
}

#ath-filters.retail-report .filter-left-closed {
  background-color: #b079cf !important;
}

@media (max-width: 767.98px) {
  #ath-filters .left-column {
    position: sticky;
    top: 0;
    z-index: 9;
    max-height: 100vh;
    overflow: scroll;
  }

  #ath-filters .hide_all_filters {
    position: sticky;
    top: 0;
    z-index: 9;
  }

  #ath-filters .left-column:not(.filter-left-closed) .hide_all_filters {
    background: #f3f3f3;
  }
}

@media (min-width: 768px) {
  #ath-filters .filter-left-closed.left-column {
    max-width: 50px;
    max-height: 100vh;
    min-height: 70vh;
    position: sticky;
    top: 0;
    padding: 0;
  }

  #ath-filters .results-large.right-column {
    max-width: calc(100% - 50px);
    flex: 0 0 calc(100% - 50px);
  }

  #ath-filters .right-column thead {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  #ath-filters .hide_all_filters span {
    transition-duration: 300ms;
    margin-bottom: 20px;
  }

  .filter-left-closed .hide_all_filters span {
    height: 165px;
  }

  #ath-filters .filter-left-closed .hide_all_filters {
    justify-content: center;
    flex-direction: column;
    height: 100%;
    height: 100%;
  }

  #ath-filters .filter-left-closed .hide_all_filters span {
    text-orientation: upright;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
  }
}

.table thead th {
  /*white-space: nowrap;*/
}

@media (min-width: 850.98px) {

  .table td,
  .table th {
    padding: .5rem;
  }
}

@media (min-width: 992px) {
  .final_sale_table {
    table-layout: fixed;
  }
}

#dropZone {
  background-color: #f8f9fa;
  transition: background-color 0.3s, border-color 0.3s;
}

#dropZone.border-primary {
  border-color: #007bff !important;
  /* Bootstrap primary color for border highlight */
}

#dropZone p {
  color: #6c757d;
  /* Bootstrap secondary text color */
}

.list-filter-form .form-control {
  height: calc(.9em + 0.75em + 2px);
  padding: .375rem .45rem;
  line-height: .9;
}

.vehicles_rezervation .xls_download a {
  margin-top: 5px;
}

.cfmoto-accessories {
  position: relative;
}

.cfmoto-accessories:hover>ul {
  display: block;
  top: -11px;
  left: 100%;

}

.cfmotoParts .sticky-top {
  z-index: 10;
}

.reserved-unit {
  background-color: khaki;
}

.reserved-unit small {
  color: #c00;
  font-weight: bold;
}

#alertContainer {
  position: fixed;
  top: 26px;
  right: 35px;
  z-index: 1050;
  width: 90%;
  max-width: 500px;
  display: none;
}

.left-column,
#filters {
  transition: all 0.9s ease;
  overflow: hidden;
}
