/* Slick slider override styles */
.slick-carousel {
  margin: 1rem auto;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
  height: 400px;
}

.slick-slide {
 margin: 0 10px;
 height: 400px;
}

.slick-list {
 margin: 0 -10px;
}

.slick-carousel img {
  object-fit: cover;
  height: 350px!important;
  display: block;
  margin: 0 auto;
}

/* Progress Bar Styles */

.slick-dots {
  bottom: 1rem;
  display: flex;
  justify-content: center;
  left: 0;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
  position: absolute;
  right: 0;
  width: 100%;
  z-index: 1;
  flex-wrap: wrap;
}

@keyframes progressBar {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.slick-dots li {
  background: #DFDFDF;
  height: 4px;
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 270px;
}

.slick-dots li.slick-active {
  background: #DFDFDF;
  position: relative;
}

.slick-dots li.slick-active:after {
  content: "";
  background-color: #666666;
  height: 4px;
  left: 0;
  position: absolute;
  width: 100%;
  animation: progressBar 6s ease-in-out; /* <-- match the speed with your slick slider autoplaySpeed !! */
  animation-fill-mode: both;
  z-index: 5;
  top: 0;
}

.slick-dots li button {
  height: 0.5rem;
}

.slick-dots li button:before {
  content: "";
  color: white;
}