

.jcarousel-wrapper {
    position: relative;
    justify-content: center;    
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
    border-radius: 20px;
}


.jcarousel-wrapper .photo-credits {
    position: absolute;
    right: 15px;
        bottom: 0;
    font-size: 13px;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
    opacity: .66;
}

.jcarousel-wrapper .photo-credits a {
    color: #fff;
}

/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.jcarousel:before {
    content: '';
    position:absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,.90) 100%);
    z-index: 1;
}

.jcarousel ul {
    width: 10000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
    display: -webkit-inline-box;
}

.jcarousel li {
    position: relative;
    float: left;
    
}

/** Carousel Controls **/

.slider_control
{position: relative;
  bottom: 26px;
  margin-bottom: -44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;}

.jcarousel-control-prev {left: 7px;}
.jcarousel-control-next {right: 13px;}

.jcarousel-control-prev,
.jcarousel-control-next {
    position: relative;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 35px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    z-index: 2;
      bottom: 26px;
}


.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}

/** Carousel Pagination **/
 
.pagination-window {
    width: 150px; 
    overflow: hidden;
    margin: 0 auto; /* centers the pagination on page */
}

.jcarousel-pagination {
     width: 65px;   /* 5 dots × (8px dot + 5px gap) ≈ 65px, adjust to taste */
    overflow: hidden;
   position: relative; /* was absolute */
  bottom: auto;       /* was 6px */
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
  z-index: 2;
  width: auto;        /* let it shrink to content */
  bottom: 24px;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 2px;
    line-height: 2px;
    min-width: 2px;
    background: none;
    border-radius: 10px;
    padding: 3px;
    text-align: center;
    margin-right: 5px;
    border: solid 2px rgba(255,255,255, 0.5);
    /* width: 30px; */
    flex-shrink: 0;/* added this */
}

.jcarousel-pagination a.active {
    background: rgb(255,255,255);
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
