.thumbnails-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            overflow: hidden;
        }

        .thumbnails {
            display: flex;
            margin: 0;
            padding: 0;
            list-style: none;
            transition: transform 0.3s;
        }

        .thumbnail {
            flex: 0 0 auto;
            margin-right: 10px;
            cursor: pointer;
        }

        .thumbnail:last-child {
            margin-right: 0;
        }

        .thumbnail img {
            max-width: 100px;
            height: auto;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: border-color 0.3s;
        }

        .thumbnail img:hover {
            border-color: #007bff;
        }

        .photo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
			padding:2rem;
        }

		
        .photo {
    display: none;
    text-align: center;
    width: 100%;
    position: relative;
    background: #232f63;
}

.photo.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-image {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain; 
    position: relative;
}
.photo-image img {width:100%;height: auto;}

.photo-description {
    background: #232f63;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    justify-content: center;
    box-sizing: border-box;
    width: 70%;
    max-width: 80%; 
    position: relative;

}

.photo-number {position: absolute;top:0;right:1%;font-size:10px;}

.photo-description h3, .photo-description p {color:#fff!important;}

.photo-description p {text-align: left; padding:1rem;font-size:14px!important;}
        /* Navigation arrows styles */
        .arrow-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .arrow {
            cursor: pointer;
            font-size: 24px;
        }

        .arrow.disabled {
            color: #ccc;
            cursor: not-allowed;
        }
.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: black;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 0 0 5px 0; 
}

.thumbnails-container ul li {padding-left:0;margin-bottom: 0;}
ul.thumbnails > li.thumbnail {margin-bottom: 0!important;}
.arrow {margin-top:-15px;}


.rc70-photos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    background-image: url('https://www.emro.who.int/images/stories/about-who/rc70/picturing_health.jpg'); 
    background-size: cover; 
    text-align: center;
    margin-left:10px;
}

.rc70-video-container {
    display: flex;
    justify-content: center;
    align-items: start;
    height: 350px;
    background-image: url('https://www.emro.who.int/images/stories/about-who/rc70/united-for-healthier-future.jpg'); 
    background-size: cover; 
    margin-left:10px;
    background-position-y:75%;
}

.rc70-pictures-container {
    background-color: rgba(242, 106, 41, 0.95); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 80%; 
    padding:3rem;
}
.rc70-play-container {background-color: rgba(32, 153, 213, 0.9); padding: 20px; border-radius: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;max-width: 80%; margin-top: 1rem;
}
.rc70-play-container h3 {color: #fff!important;font-size: 2rem!important;line-height: 35px;margin-bottom: 0!important;}
.rc70-pictures-container h3 {color: #fff!important;font-size: 2rem!important;line-height: 35px;}
.rc70-pictures-container p {color:#fff;font-size:1.3rem;}


        @media (max-width: 768px) {
    /* Adjust the number of thumbnails for mobile */
    .thumbnails {
        flex-wrap: nowrap;
        overflow: hidden;
        margin: 0 -10px;
    }
.photo-description {width:auto;max-width: 100%;}
.photo-description p {padding-left:0;padding-right: 0;}
    .thumbnail {
        margin: 0 10px;
        flex: 0 0 auto;

    }

.thumbnail img {max-width: 85px;}

.photo-description h3 {padding-left:0!important;}
    /* Display caption below the photo on mobile */
    .photo-description {
        height: auto;
    }
    .arrow {padding:10px;}
    /* Styles for mobile version of the photo container */
    .photo {
        flex-direction: column;
    }
    
    .photo-image {
        max-width: 100%;
        height: auto;
    }
}