/* Featured Image Container */
.acf-carousel-images {
	position:relative;
	background-size:cover;	
	background-color:#fff;
}
.acf-carousel-images-featured-img {
	border: 1px solid #aeaeae;
	max-width:100%;
	height:auto;
	aspect-ratio:1/1;	
}

/* Next & previous buttons */
.acf-carousel-images-nav-container .prev,
.acf-carousel-images-nav-container .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  margin-top:-20px;
  width: auto;
  padding: 16px;
  color: white;
  background-color:#fff;  
  font-weight: bold;
  font-size: 20px;  
  user-select: none;
  -webkit-user-select: none;
  border:1px solid #000;
}
.acf-carousel-images-nav-container .prev {
  left: -40px;
  border-radius:6px 0 0 6px;
  opacity: 0;
  /* Smooth transition for the opacity property over 0.5 seconds */
  transition: opacity 1s ease-in-out;
  animation: fadeInLeft 1s forwards;
  animation-delay:0.2s;
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px); /* Starts 50px to the left of its final position */
  }
  /* Ending state */
  100% {
    opacity: 1;
    transform: translateX(0); /* Ends at its original position */
  }
}

.acf-carousel-images-nav-container .next {
  right: -40px;
  border-radius:0 6px 6px 0;
  opacity: 0;
  /* Smooth transition for the opacity property over 0.5 seconds */
  transition: opacity 1s ease-in-out;
  animation: fadeInRight 1s forwards; 
  animation-delay:0.2s;  
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(20px); /* Starts 50px to the left of its final position */
  }
  /* Ending state */
  100% {
    opacity: 1;
    transform: translateX(0); /* Ends at its original position */
  }
}
.acf-carousel-images-nav-container .next > svg, .acf-carousel-images-nav-container .prev > svg {
    width: 15px;
    fill: #4d4d4d;
    vertical-align: middle;	
}
/* On hover, add a black background color with a little bit see-through */
.acf-carousel-images-nav-container .prev:hover,
.acf-carousel-images-nav-container .next:hover {
  background-color:#eaeaea;
}	

/* Dots */
.acf-carousel-images-dots-container {
	display:flex;
	flex-direction: row;
    align-items: center;
	padding:25px 0 0 0;	
}
.acf-carousel-images-dots-container .dot {
	display:inline-block;
	width:20%;
	margin:0 5px;	
}
.acf-carousel-images-dots-container .dot .acf-carousel-images-thumbnail-img {
	border: 1px solid #000;
	width:100%;
	height:auto;	
	opacity:0.5;	
	background-color:#fff;
}
.acf-carousel-images-dots-container .dot > button {
    padding: 0;
    background: transparent;
    border: none;
	border-radius:0;
}
.acf-carousel-images-dots-container .dot > button:focus {
    outline: 2px solid #f3f3f3 !important;
    outline-offset: 0px !important;
}
.acf-carousel-images-dots-container .dot .acf-carousel-images-thumbnail-img:not(.active) {
	opacity:1;
	cursor:pointer;
}


@media screen and (max-width: 900px) {
	.acf-carousel-images-featured-img-container {
		max-width: 500px;
		margin: 0 auto;
		padding:0 15px;
	}
	.acf-carousel-images {
		padding:0 10px;
	}
	.acf-carousel-images-nav-container .prev, .acf-carousel-images-nav-container .next {
		margin-top: -16px;
		padding: 12px;
	}
	.acf-carousel-images-nav-container .prev {
		left: -15px;		
		border-radius: 0 6px 6px 0;
		border-left:none;
	}	
	.acf-carousel-images-nav-container .next {
		right: -15px;		
		border-radius: 6px 0 0 6px;
		border-right:none;
	}
	.acf-carousel-images-nav-container .next > svg, .acf-carousel-images-nav-container .prev > svg {
		width: 12px;       
	}
	.acf-carousel-images-dots-container {		    
		padding:15px 0 0 0;	
	}
}