/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* noch nach sharp_carsearch_eschen auslagern !! */

[class*="ce-news"] .card {
  position: relative !important;
  max-width: 100%;
}



/* car detail - NO lang change */
#page-54 .nav-item.dropdown.lang-dropdown {
  visibility: hidden;
}

.filter-attribute-wrap {
  overflow-y: scroll;
}

.container.filterwidget {
  background-color: whitesmoke;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  border-radius: 1rem;
}

.carsearch-counter-element span.badge.bg-primary {
  font-size: inherit;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.carsearch-counter-element h1 {
  text-align: center;
}

.sort-group .input-group {
  align-items: center !important;
}

.sort-group .input-group label {
  margin-right: 1rem;
}

.sort-group .input-group select {
  width: auto !important;
  display: inline-flex;
  /* min-width: 100px; */
  /* margin-right: auto; */
  flex: 0 0 auto;
}

.list .borBot {
  border-bottom-width: 4px !important;
}

.carWrapper h2 {
  font-weight: 700;
}

.list .car h2 a {
  font-size: 1.2rem;
}

@media (max-width:991.98px) {
  .list .carImg {
    padding-left: 0.75rem;
    position: relative;
  }

  .col.col-12.priceRowV2 {
    padding-left: 0.75rem !important;
  }

  .list .car h2 a {
    font-size: 1.1rem;
  }

  .carSearchResults .car .noteWrapper {
    right: auto;
    position: relative;
    text-align: right;
    margin-top: -1rem;
  }
}

@media (max-width:1199.98px) {
  .carWrapper h2 {
    min-height: 2.875rem;
    margin: 0.25rem 0;
  }
}

@media (min-width:992px) {
  .carSearchResults {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

div#filter-tags-holder {
  padding-left: 1rem;
  padding-right: 1rem;
}

a.btn.btn-primary.ms-auto.btnClear.btn-filterValues.btn-undo-filter.mb-2 {
  line-height: 1.75;
  font-size: 1rem;
  height: 2.5rem;
  align-items: center;
  display: inline-flex;
  background-color: dimgray !important;
  border-color: transparent !important;
}

a.filter-tags-tag.page-link {
  background-color: #dedede;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
}

a.filter-tags-tag.page-link i {
  color: var(--primary);
  margin-left: 0.33333rem;
  position: relative;
  top: 1px;
}

.priceInfoBotRow p {
  font-size: 1rem;
}

.priceInfoBotRow .col-6.col-md-5 {
  width: 50% !important;
}

.priceInfoBotRow .col-6.col-md-7 {
  width: 50% !important;
}

.tx_carsearch-list .carImg img {
  max-height: 247px;
  width: auto;
}

select {
  border: 2px solid #ccc !important;
  border-radius: 2rem !important;
}

.sideSearchFilter .filter-item {
  margin-bottom: 1rem;
}

.sideSearchFilter .filter-item label {
  margin-bottom: 0.5rem !important;
}



.newCounterResults {
  display: flex;
  background: #ffffff;
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 150px;
  z-index: 9999999999;
  color: #555555;
  border-radius: 1rem;
  padding: 0.5rem;
  text-align: center;
  box-shadow: none;
  border: 4px solid var(--primary);
  flex-direction: column;
}

.newCounterResults:hover {

  color: #555555;

}

a.newCounterResults {
  text-decoration: none;
}

.newCounterResults .label {
  text-align: center;
  top: 0;
  position: relative;
  color: #999999;
}

.newCounterResults .iconWrap {
  position: relative;
  justify-content: center;
}

.newCounterResults .iconWrap.d-flex {
  align-items: center;
}

.newCounterResults .iconWrap.d-flex span {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

#page-2 .back-to-top {
  right: 164px;
  bottom: 0;
  padding: 0;
}



.newCounterResults svg {
  max-width: 130px;
  fill: var(--primary);
  position: relative;
}

.newCounterResults span.resultCounter {
  font-size: 1.2rem;
  position: relative;
  left: auto;
  transform: none;
  top: -2px;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .carSearchResults .car {
    margin-left: 0;
    margin-right: 0;
  }

  .carInfos>.icon-row>div {
    flex: 1 0 50%;
    font-size: 85%;
  }
}

#carResults>.row {
  margin-left: -1.75rem;
  margin-right: -1.75rem;
}

#carResults .carWrapper>.car.row {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

#carSearchResultsList .col-lg-5.carImg,
#carSearchResultsList .col-lg-7.priceRowV2 {
  width: 100%;
  padding-right: 0;
}

#carSearchResultsList .col-lg-5.carImg {
  padding-left: 1rem !important;
  padding-right: 1rem;
}

#carSearchResultsList .col-lg-7.priceRowV2 {
  padding-left: 1rem !important;
  padding-right: 1rem;
  padding-top: 0.75rem;
}


.bg-for-banner-neue-lkw.background-image {
  height: auto;
}

#carResults .col-12.carWrapper {
  margin-bottom: 1.5rem;
}

#carResults .carWrapper>.car.row {
  height: 100%;
}
.icon-info-wrap {
    min-height: 5.55rem;
}

@media (min-width:576px) {
  #carResults .col-12.carWrapper {
    width: calc(50%);
  }

  /* #carResults .col-12.carWrapper:nth-child(odd) {
    margin-right: 0.75rem;
  }

  #carResults .col-12.carWrapper:nth-child(even) {
    margin-left: 0.75rem;
  } */

}


@media (min-width:768px) {

  div#filter-tags-holder {
    display: flex;
    align-items: center;
  }

  .filter-tags-wrapper label {
    margin-right: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .filter-tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 75%;
  }
}

@media (min-width:992px) {
  #carResults .col-12.carWrapper {
    width: calc(33.33333%);
  }
}

@media (min-width:1400px) {
  #carResults .col-12.carWrapper {
    width: calc(25%);
  }
}

.carWrapper h2 {
  min-height: 2.875rem;
}

.list .car .noteWrapper {
  position: relative;
  transform: translate(-0.75rem, -0.75rem);
}

div#filter-tags-holder {
  flex-wrap: wrap;
}

.filter-tags-wrapper {
  flex: 0 0 auto;
}

.filter-tags-wrapper:last-child {}

/* carsearch detail */
.back-to-wrap.pagination-wrap {
  padding: 0.5rem 0.75rem;
  background-color: whitesmoke;
  border-radius: 1.5rem;
}

.ce-back-to a {
  text-decoration: none;
}

a.btnPrevMatch,
a.btnNextMatch {
  background-color: #e5e5e5;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  text-decoration: none;
}

/* cs detail bing image row */
.verhicleGalWrapper .inline-gallery-container>.row {
  margin-bottom: 1rem;
}

/* cs thumbs row */
.verhicleGalWrapper .inline-gallery-container>.row:nth-child(2) {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.verhicleGalWrapper .inline-gallery-container>.row:nth-child(2)>[class*="col"] {
  padding-left: 0;
  padding-right: 0;
}

.verhicleGalWrapper .inline-gallery-container>.row:nth-child(2) img {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.verhicleGalWrapper .inline-gallery-container .gallery-thumb .thumb-count-overlay {
  width: calc(100% - 1rem) !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  opacity: 0.5 !important;
  transition: opacity 150ms ease;
}

.verhicleGalWrapper .inline-gallery-container .gallery-thumb .thumb-count-overlay:hover {
  opacity: 1 !important;
  transition: opacity 150ms ease;
}

.verhicleGalWrapper .inline-gallery-container .gallery-thumb {
  position: relative;
  width: 25%;
  display: block;
  float: left;
  margin: 0;
  padding: 0 0.5rem;

}

.verhicleGalWrapper .inline-gallery-container .gallery-thumb img {
  transform: scale(1);
  transition: transform 150ms ease;
}

.verhicleGalWrapper .inline-gallery-container .gallery-thumb:hover img {
  transform: scale(1.05);
  transition: transform 150ms ease;

}

.list .carInfos .row.first {
  margin-top: 0.75rem;
}

.carInfos p {
  font-size: 1rem;
  word-break: break-all;
}

/* cs detail info right */

.body-carsearch-detail h2 {
  font-size: 1.5rem;
}


.ce-cs-detail-info .row {
  background-color: whitesmoke;
  padding: 1rem;
  border-radius: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.ce-cs-detail-info>.row>[class*="col"] {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
}

.ce-cs-detail-info>.row>[class*="col"]:nth-child(2n + 2) {
  font-weight: 500;
}

.ce-cs-detail-info>.row>[class*="col"]:nth-child(4n + 1),
.ce-cs-detail-info>.row>[class*="col"]:nth-child(4n + 2) {
  background-color: white;
}

.ce-cs-price-detail {
  border-bottom: 0.33333rem solid var(--primary);
}

.ce-cs-price-detail>.row {
  align-items: center;
}

.col.price-label {}

.ce-cs-tires>.lkw-reifen {
  margin-left: auto;
  margin-right: auto;
  background-color: whitesmoke;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-radius: 1rem;
}

.reifen-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lkw-reifen {
  max-width: 100% !important;
  font-size: 90%;
}

.reifen-row .reifen {
  background-color: dimgray !important;
  border: 3px solid dimgray !important;
  border-radius: 0.75rem !important;
  color: white !important;
  float: none !important;
  font-size: 90%;
  font-weight: 500;
  height: 70px;
  margin: 10px 3px;
  padding: 0 3px;
  width: 3rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reifen-row .achse {
  margin-top: 0 !important;
  float: none !important;
  width: auto !important;
  min-width: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 5px !important;
  padding-right: 5px !important;
  background-color: #ccc !important;
  border-width: 0 !important;
  border-radius: 0 !important;
}

.reifen-row .achse::before {
  content: "L";
}

.reifen-row .achse::after {
  content: "R";
}

.reifen>span::after {
  content: "%";
}

.ce-cs-attributes>.row {
  background-color: whitesmoke;
  margin-left: 0;
  margin-right: 0;
  padding: 1rem;
  border-radius: 1rem;
}


.col.price-nr {
  background-color: #fff;
  padding: 0.25rem 1rem;
  font-size: 2rem;
  margin-right: 1rem;
  text-align: center;
}

.car-desc {
  padding: 1rem;
  background-color: whitesmoke;
  border-radius: 1rem;
}


.trust-paket {
  box-shadow: 0 0.5rem 0.5rem 0 rgb(0 0 0 / 16%);
}

.trust-paket p,
.trust-paket ul {
  margin-bottom: 0.5rem;
}

.trust-paket p.small {
  font-size: 0.75em;
  color: dimgray;
}


.oeffnungszeiten table td:first-child {
  padding-left: 0;
}

/* .car-desc p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 1.5rem;
}
.car-desc>* {
  padding-right: 10%;
}
.car-desc strong {
  position: relative;
  width: 1px;
  margin-right: 0;
  margin-left: auto;
  white-space: nowrap;
} */


@media (min-width:568px) {
  .col.price-label {
    width: 40%;
    max-width: 40%;
  }

  .col.price-nr {
    width: 60%;
    max-width: 60%;
  }
}

@media (min-width:992px) {
  .modal-dialog.modal-fullscreen {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
    height: 90vh;
  }
}

.mini-header p {
  margin-bottom: 0;
}

.pagi-wrap-top,
.pagination-wrap {
  transition: all 150ms ease;
}

.pagi-wrap-top .mini-header {
  opacity: 0;
  transition: all 150ms ease;
}

.fixed-top.pagi-wrap-top .mini-header {
  opacity: 1;
  transition: all 150ms ease;

}

.fixed-top.pagi-wrap-top {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  top: 146px;
  transition: all 150ms ease;
  box-shadow: 0 0.25rem 0.25rem rgb(0 0 0 / 15%);
}

@media (max-width:575.98px) {
  .pagination-wrap .ce-back-to {
    text-align: center;
  }

  .pagination-wrap .ce-pagination {
    text-align: center;
    margin-top: 0.75rem;
  }

  .reifen-row .achse {
    min-width: 36% !important;
  }
}

@media (max-width:767.98px) {
  .fixed-top.pagi-wrap-top {
    position: relative;
    z-index: 0;
  }

  .pagi-wrap-top .mini-header {
    display: none;
  }

  .ce-cs-price-detail .col.price-nr {
    font-size: 1.5rem;
  }

  .attr_list_fahrgestellnummer-value {
    word-break: break-all;
    line-height: 1.1 !important;
    font-size: 80% !important;
  }

}


/* anfrage modal form powermail */

.container-anfrage-lkw .form-control {
  padding: 0.33333rem 0.5rem;
}


/* merkliste */
.merkliste>.list>.row.car {
  padding: 1rem;
}

.merkliste .row.car .col-md-5 {
  width: 35%;
}

.merkliste .row.car .col-md-7 {
  width: 65%;
}

.merkliste .carInfos p {
  font-size: 1rem;
}

.merkliste p.price {
  font-size: 1.1rem !important;
}

.merkliste .footerWrapper .row [class*="col-"] {
  width: 100% !important;
}

.merkliste h2 a {
  font-size: 1rem !important;
}

@media (max-width:767.98px) {
  .merkliste .row.car .col-md-5 {
    width: 100%;
  }

  .merkliste .row.car .col-md-7 {
    width: 100%;
  }
}

@media (min-width:992px) {
  .merkliste>.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  .merkliste>.list>.row.car {
    flex: 1 0 auto;
    width: calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}


/* svg icons special */
.list svg.icon {
  position: relative;
  margin-bottom: 0;
  margin-right: 0;
  top: 0;
}

.icon-row p {
  display: flex;
  align-items: center;
}

.icon-row p span {
  flex: 0 0 auto;
  line-height: 1.1;
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;
}

.icon-row p span:first-child {
  width: 30px;
}

.icon-row [class*="col"] p span:last-child {
  max-width: 100%;
  word-break: break-word;
  padding-right: 0.5rem;
}

@media (min-width:992px) and (max-width:1199.98px) {

  .icon-row [class*="col"] p span:last-child,
  .priceInfoBotRow p {
    font-size: 85%;
  }

}

.icon-car svg.icon {
  max-width: 24px;
  max-height: 24px;
}

.icon-oil svg.icon {
  max-width: 24px;
  max-height: 24px;
}

.gemerkt i.fa-star,
.merken i.fa-star {
  color: var(--primary);
}

.loadResults {
  width: 100%;
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
}


/*****
* BX SLIDER  - MEILLERS KAUF ELEMENTE
 */

.bx-wrapper {
  background: none;
  border: none;
  box-shadow: none;
}

.car-slider-element .details {
  height: 90px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
  top: -0.5rem;
}

.car-slider-element .details.text-secondary {
  color: #ccc !important;
}

.car-slider-element .details::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  /* Adjust height for the fade effect */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  /* Allow clicks to pass through */
}


.meiller-slider p {
  margin-bottom: 0.5rem;
}

.meiller-slider .car-slider-element .gallery img {
  max-width: 100%;
  display: block;
  aspect-ratio: 15 / 9;
  object-fit: cover;
}

.meiller-slider .car-slider-element .gallery>div>.row {
  margin-bottom: 1rem !important;
}

.meiller-slider .fsc-default.ce-textmedia.bg-dark.rounded.p-5 {
  color: black !important;
  background-color: var(--brightgray) !important;
  padding: 1.5rem !important;
}

.meiller-slider .bodytext .lead {
  font-weight: 600;
  line-height: 1.25 !important;
  min-height: 3.4rem;
  display: inline-flex;
}

.meiller-slider .car-slider-element .details.text-secondary {
  color: black !important;
}

.meiller-slider .car-slider-element .details::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--brightgray) 100%);
  pointer-events: none;
}


@media all and (min-width: 768px) and (max-width: 1023.98px) and (orientation:portrait) {
  .ce-back-to>* {
    line-height: 2;
  }

  .ce-pagination>* {
    line-height: 2.5;
  }

  .carsearch-detail-wrap .price-nr {
    font-size: 1.2rem;
  }

  .body-carsearch-detail h2 {
    font-size: 1.25rem;
  }

  .carsearch-detail-wrap .col-md-7,
  .carsearch-detail-wrap .col-md-5 {
    width: 50%;
  }

  .attr_list_fahrgestellnummer-value {
    font-size: 70% !important;
    /* line-height: 1.5 !important; */
    padding-top: 0.25rem;
  }

  .ce-cs-tires .lkw-reifen {
    transform: scale(0.8);
  }

  .fixed-top.pagi-wrap-top {
    max-width: calc(88%);
    left: -1.5rem;
  }

  .carsearch-detail-wrap .vcard .col-md-3,
  .carsearch-detail-wrap .vcard .col-md-9 {
    width: 100%;
  }
}


@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  .ipad-portrait {
    color: red;
  }

  .swiper.swiper-initialized.swiper-horizontal.swiper-ios {
    width: calc(100% - 1rem) !important;
    padding-left: 0.75rem;
  }

  .row.ipad {
    margin-left: 0.25rem;
  }

  div#page-wrapper {
    padding-left: 0.75rem;
  }

  /* your css rules for ipad portrait */
}

@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
  .fixed-top.pagi-wrap-top {
    left: 1.5rem;
    width: calc(100% - 3rem);
  }

  .swiper.swiper-initialized.swiper-horizontal.swiper-ios {
    width: calc(100% - 1rem) !important;
    padding-left: 0.75rem;
  }

  div#page-wrapper {
    padding-left: 0.75rem;
  }

  .row.ipad {
    margin-left: 0.25rem;
  }

}