.gallery-container .gallery-headings {
	width: 30%;
}
.gallery-container .gallery-headings .heading-anchor-text{
	font-family: 'Product Sans Medium Regular';
    font-size: 18px;
    color: #464646;
	padding-bottom: 10px;
	border-bottom: 3px solid transparent;
}

.gallery-container .gallery-headings .active {
	color: #A51414;
	padding-bottom: 10px;
	border-bottom: 3px solid #A51414;
}
.gallery-container .gallery-headings .heading-anchor-text:hover {
	color: #A51414;
	border-bottom: 3px solid #A51414;
	transition: .3s ease;
}

.image-container {
    aspect-ratio: 16 / 10;
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.image-container .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    border: 1px solid #ddd;
	border-radius: 4px;
}
.skeleton {
    height: 100%;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 8px 15px 0 15px;
    border-radius: 4px;
}

.lazy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}

.logo-overlay-top {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 100px;
    height: auto;
    padding: 8px;
    border-bottom-right-radius: 4px;
    background: white;
    opacity: 0.7
}
.logo-overlay-bottom {
    position: absolute;
    bottom: 0px;
    right: 15px;
    width: 40px;
    height: auto;
    padding: 8px;
    border-top-left-radius: 4px;
    background: white;
    opacity: 0.7
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #A51414CC;
  overflow: hidden;
  height: 0;
  transition: .5s ease;
  margin: 8px 16px 0 16px;
  border-radius: 4px;
  color: #fff;
}

.overlay .event-title {
    color: #fff;
    font-size: 18px;
    text-transform: capitalize;
    font-family: 'Product Sans Medium Regular';
}

.image-container:hover .overlay {
  height: 50%;
}
.image-icon-container i{
	padding: 10px;
	transition: .3s ease;
}

.image-icon-container i:hover{
	background: #fff;
	color: #A51414;
	border-radius:5px;
}

.custom-viewer-controls {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    pointer-events: none;
}

.custom-viewer-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgb(255 255 255 / 50%) !important;
    color: #464646;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-viewer-controls button:hover {
    background-color: rgb(255 255 255) !important;
}

.viewer-toolbar>ul>li, .viewer-button {
    background-color: rgb(255 255 255 / 50%) !important;
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

.custom-viewer-controls button::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

#prev-btn::before {
    content: '\f104';
}

#next-btn::before {
    content: '\f105';
}
.custom-viewer-controls {
    transition: opacity 0.3s ease;
}

.viewer-move .custom-viewer-controls {
    pointer-events: none;
    opacity: 0.5;
}
.viewer-backdrop {
    background-color: rgba(0, 0, 0, .8) !important;
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
@media only screen and (max-device-width: 768px) {
	.gallery-container .gallery-headings {
		width: 80%;
	}
	.custom-viewer-controls button {
		top: 45%;
	    width: 30px;
	    height: 30px;
	    font-size: 15px;
	}
	#prev-btn {
	    left: 0px;
	}
	
	#next-btn {
	    right: 0px;
	}
}

