/* standard article slideshow */

.photo-slideshow {
    margin: 0 0 40px;
    overflow: hidden;
    position: relative;
    max-width: 1280px;
}

/* left right controls */ 

.ss-move {
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: absolute;
    top: 0px;
    transform: translateY(250%);
    z-index: 2;
    padding: 0em;
    box-sizing: border-box;
    font-size: clamp(20px, 3em, 68px);
    line-height: 0;
    text-align: center;
    width:10%;
    min-width: 40px;
    max-width: 80px;
    aspect-ratio: 1/1;
    color: #FFF;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
   .ss-move.ss-prev {
        left: 0;
   }
   .ss-move.ss-next {
        right: 0;
   }
   .ss-move.border { border:1px solid yellow !important; }

   .ss-move.disabled { opacity:0; }

    .ss-move:hover, .ss-move:focus {
        background-color: rgba(0, 0, 0, 0.9);
   }
    .ss-move::before {
        display:none;
        content: "\e908";
        font-family: 'armyicons';
        font-size: 18px;
   }
   .ss-move.ss-next::before {
        content: "\e907";
   }

/* CAPTIONS */ 

.photo-slideshow figcaption {
        background-color: #333;
        color: #fff;
        font-size: 0.84em;
        font-weight: 400;
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
        padding: 10px;
   }

.photo-slideshow figure figcaption input[type=checkbox] {
    display:none;
}
.photo-slideshow figure figcaption label {
    display:block;
    padding: 10px 0px;
    cursor: pointer;
}
.photo-slideshow figure figcaption .caption-author {
        font-style: italic;
   }
.photo-slideshow figure figcaption .image-count {
        float: right;
        font-weight: 700;
        font-size: 0.97em;
   }
.photo-slideshow figure figcaption input[type=checkbox] ~ label::before {
    content: "SHOW CAPTION +"
}
.photo-slideshow figure figcaption input[type=checkbox] ~ div {
    display:block;
    overflow:hidden;
    max-height: 0px;
    transition: all 0s linear;
    border-top: 1px solid #333;
}   
.photo-slideshow figure figcaption input[type=checkbox]:checked ~ label::before {
    color: yellow;
    content: "HIDE CAPTION -"
}

.photo-slideshow figure figcaption input[type=checkbox]:checked ~ div {
    border-top: 1px solid #fff;
    padding-top: 10px;
    max-height: 2500px;
    transition: max-height .5s ease-in-out;  
}

/* IMGS */


.photo-slideshow .img-container img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center center;
    max-width: 100%;
    max-height: 75vh;
    margin: auto;
    display: block;
}
.photo-slideshow .img-container img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center center;
    margin: auto;
    display: block;
}
.photo-slideshow .contain img {
    object-fit: contain;
}

.photo-slideshow .photo {
    left: 0;
    margin: 0 auto;
    max-width: 100%;
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    transition: opacity 0.5s linear;
    width: 100%;
    background-color: black;
}
.photo-slideshow #cur-photo {
        position: relative;
        opacity: 1;
        z-index: 1;
   }



.photo-slideshow figcaption .image-caption a {
        color: red;
        font-weight: 400;
   }


