.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.single-race-page .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #00664a;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  opacity: 0.5;
}

.gallerydot.active, .gallerydot.dot:hover {
  background-color: #00a97a;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


.single-race-page article.race-card-horizontal .race-image {
    height: auto !important;
    text-align: center;
    box-sizing: border-box;
    object-fit: cover;
    object-position: top;
    position: relative;
}

.single-race-page article.race-card-horizontal .race-image img{
  height: 100%;
  text-align: center;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.single-race-page article.race-card-horizontal .race-image video{
    width: 100%;
    height: 350px;
    text-align: center;
    box-sizing: border-box;
    object-fit: cover;
    object-position: top;
}

.slider-tumbnail img{
    height: 150px !important;
    text-align: center;
    box-sizing: border-box;
    object-fit: cover;
    object-position: top;
    border-radius: 0px !important;
    padding: 5px;
}
.slider-tumbnail video{
    width: 100%;
    height: 150px !important;
    text-align: center;
    box-sizing: border-box;
    object-fit: cover;
    object-position: top;
    padding: 5px;
}

.single-race-page article.race-card-horizontal .race-image a.prev {
  left: 20px;
  background: rgba(225, 225, 225, 0.7);
     border-radius: 50%;
     width: 35px;
     height: 35px;color:#424242;
     display: flex;
     padding: 0;
     align-items: center;
     justify-content: center;
     text-decoration: none;
}

.single-race-page article.race-card-horizontal .race-image a.next {
  right: 20px;
  background: rgba(225, 225, 225, 0.7);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  text-decoration: none;
color:#424242;
}

.review-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-right-info span{
  font-size: 11px;
}

#add-gallery-items .gallery-item{
    position: relative;
    display: flex;
    width: 120px;
}

#add-gallery-items .gallery-item img , #add-gallery-items .gallery-item video{
    height: 120px;
    position: relative;
    object-fit: cover;
    width: 100%;
    border-radius: 8px;

}

#add-gallery-items .gallery-item .remove-gallery-img{
    position: absolute;
    right: 0px;
    top: -9px;
    z-index: 9999;
    background: red;
    border-radius: 50px;
    padding: 5px 10px;
    color: white;
}

#add-gallery-items{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    padding: 0px;
    gap: 10px;
}


.single-race-page .mySlides {    width: 100%;
  height: 350px;}

  .single-race-page .mySlide-dots {
  position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.single-race-page article.race-card-horizontal .race-image a.prev:hover,article.race-card-horizontal .race-image a.next:hover {
  background: #00a97a;    color: #fff;
}
