#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;
    background-position: center center;
}
#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;
}
.img a {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition: all .5s;
    -webkit-transition: all .5s;
}
.img a span {
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 15px;
    background: #d10101;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: all .5s;
    -webkit-transition: all .5s;
}
.img.right a span {
    left: auto;
    right: 0;
    transition: all .5s;
    -webkit-transition: all .5s;
}
.img a:hover span {
    background: #000;
    color: #fff;
    transition: all .5s;
    -webkit-transition: all .5s;
}
/* The ribbons */
#slider .ribbon.result {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 150px;
    height: 150px;
    text-align: right;
}
#slider .ribbon.result span {
    font-size: 20px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 30px;
    -webkit-transform: rotate(45deg);    
    transform: rotate(45deg);
    width: 200px;
    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: 46px;
    right: -38px;
}
#slider .ribbon.full-details span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    -webkit-transform: rotate(45deg);    
    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;
}
@media all and (max-width:768px){
	#slider .ribbon span {
		font-size: 9px;
	}
}
#slider .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;
}
#slider .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: #C62027;
  position: absolute;
  top: 20px;
  padding:4px 15px;
  color: #fff;
  z-index:999;
}
#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;
	}	
}