#showroom .img,
#MainCarousel .img {
  position: relative;
  margin-bottom: 20px;
}

.btn-outline-dark {
  font-size: 12px;
  background: #263890;
  border-color: #263890;
  color: #fff;
}

.btn-outline-dark:hover,
.btn-outline-dark:active {
  border-color: #000099;
  background-color: #000099;
  color: #fff;
}

.text-truncate-x2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.border.h-100 {
  position: relative;
  overflow: hidden;
}

.min-width-125 {
  min-width: 125px;
}

.max-width-125 {
  max-width: 125px;
}

.truncate-overflow {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.img {
  background-size: cover;
}

#showroom #slider,
#showroom .img {
  position: relative;
  /*overflow:hidden;*/
}

#showroom .caption {
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  left: 10px;
  padding: 2px 5px;
  color: #fff;
  z-index: 999;
}

#showroom h3 {
  color: #000;
}

.ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 9px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#F70505 0%, #8F0808 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px;
  right: -21px;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #8F0808;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #8F0808;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}

#vehicleimageblock .carousel-indicators {
  position: static;
}

#vehicleimageblock .carousel-indicators [data-bs-target] {
  width: 300px;
  height: 100%;
  opacity: 0.8;
}

#vehicleimageblock #carousel.flexslider .slides li img {
  max-width: 200px !important;
}

.car-result .caption {
  background: #db0000;
  position: absolute;
  top: 20px;
  padding: 4px 15px;
  color: #fff;
  z-index: 999;
  right: 0;
}

#showroom .sold {
  font-size: 40px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 999;
}

.sold-bgd {
  background: rgba(255, 0, 0, 0.6);
}

@media (min-width: 768px) {
  #showroom .vehicle-title {
    min-height: 56px;
  }

  #showroom .vehicle-headline {
    min-height: 47px;
  }
}

@media (max-width: 960px) {
  #animated-thumbnails {
    display: none;
  }
}