/* news modal carousel */
#news-carousel {
  width: auto;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  margin-right: 10px;
}

#news-carousel .carousel-inner {
  margin: 0;
  padding: 0;
}

#news-carousel .carousel-item {
  list-style-type: none;
  width: 750px;
  height: 300px;
}

#news-carousel .carousel-item img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 300px;
  max-width: auto;
  object-fit: contain;
}

@media screen and (min-width: 575px) and (max-width: 991px) {
  #news-carousel .carousel-item img {
    margin-left: 0;
    margin-right: 0;
    object-fit: contain;
  }
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    #news-carousel .carousel-item img {
      margin-left: 0;
      margin-right: 0;
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }
  }

#news-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2318563e' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

#news-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2318563e' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

#product-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2318563e' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

#product-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2318563e' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

/* Product modal carousel */
#product-carousel {
  width: auto;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  margin-left: -20px;
  margin-right: 0;
}

#product-carousel .carousel-inner {
  margin: 0;
  padding: 0;
}

#product-carousel .carousel-item {
  list-style-type: none;
  margin-left: auto;
  margin-right: auto;

}

#product-carousel .carousel-item img {
  margin-left: auto;
  margin-right: auto;
  max-height: 350px;
  max-width: auto;
  object-fit: contain;
}

@media screen and (min-width: 575px) and (max-width: 991px) {
  #product-carousel .carousel-item img {
    margin-left: 0;
    margin-right: 0;
    object-fit: contain;
  }
}

@media screen and (min-width: 320px) and (max-width: 575px) {
    #product-carousel .carousel-item img {
      margin-left: 0;
      margin-right: 0;
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }
  }