

.jcarousel-wrapper {
    position: relative;    
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}


.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 **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 91%;
    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;  
}

.jcarousel-control-prev {
    left: 30%;
}

.jcarousel-control-next {
    right: 31%;
}

.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 {
    position: absolute;
    bottom: 6px;
    display: flex;
    justify-content: center; /** Centers horizontally **/
    align-items: center;     /* Centers vertically if container has height */
    width: 100%;
    list-style: none; 
    display: flex;
    white-space: nowrap;
    cursor: pointer;
    z-index: 2;
   /* width: max-content; /* allows it to be wider than the window */
}

.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);
}
