
body {font-family: 'Montserrat', sans-serif; margin:0}
.CarouselCard{ box-sizing: border-box;}

.CarouselCard .mySlides {
	display: none;
	position: relative;
	padding-top: 56.25%;
}
.CarouselCard .mySlides img {
	vertical-align: middle;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	/* margin-top: -50%; */
	object-fit: cover;
}

.CarouselCard .mySlides.active {display: block;}
.CarouselCard .ComponentLayout {
	margin-top: 8px;
	margin-bottom: 8px;
}

/* Slideshow container */
.CarouselCard .slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.CarouselCard .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 8px 15px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 0 0 0;
  border: 2px solid #fff;
  user-select: none;
}

/* Position the "next button" to the right */
.CarouselCard .prev {
  margin-left: 35px;
  text-decoration: none;
}

/* Position the "next button" to the right */
.CarouselCard .next {
  right: 0;
  margin-right: 35px;
  text-decoration: none;
  color: white;
}

/* On hover, add a black background color with a little bit see-through */
.CarouselCard .prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  border: 2px solid #000;
}

/* Slide "Learn more button */
 .CarouselCard button.btn1 {
  text-align:right;
  padding: 20px 34px 20px 34px;
  background-color: #0000;
  color:#fff;
  letter-spacing: 0.05em;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.3s;
  right: 0;
  bottom: 0;
  position: absolute;
  margin-right: 35px;
  margin-bottom: 25px;
  }
.CarouselCard button.btn1:hover {
  background-color: rgba(0,0,0,0.8);
  color:#fff;
  border: 2px solid #000;
  }

/* Label in top left corner */
.ListingLabel span {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 15px;
  position: absolute;
  margin-left: 35px;
  top: 25px;
  background-color: rgba(0,0,0,0.8);
}

.ListingInfo {
  padding-top: 25px;
  padding-left: 25px;
  padding-bottom: 15px;
  padding-right: 25px;
  background-color: #fff;
  border-left: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}
.ListingInfo .ListingPrice span {
  display: inline-block;
  font-weight: bold;
  font-size: 22px;
  font-family: var(--PrimaryFont !important);
}

.ListingInfo .ListingAddress span {
  text-transform: uppercase;
  display: inline-block;
  padding-top: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width:100%;
}


.CarouselCard .ListingInfo .ListingDetails span {
  display: inline-block;
  margin-bottom: 20px;
}
.CarouselCard .ListingInfo .AvatarImg {
  width: 45px;
  border-radius: 50%;
}
.CarouselCard .AgentSection {
  border-top: 1px solid #e1e1e1;
  padding-top: 13px;
}
.CarouselCard .ListingInfo .AgentName {
  padding-left: 5px;
}

/* Fading animation */
/*
 .CarouselCard .fade {
  animation-name: CarouselCard_fade;
  animation-duration: 1.5s;
}
*/

@keyframes CarouselCard_fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .CarouselCard .prev, .next,.text {font-size: 11px}
}
