  .fancybox-container * {
    text-shadow: rgb(0 0 0 / 80%) 0 2px 4px;
}
.fancybox-container p {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    margin: auto;
}
.fancybox-container p.author {
	font-weight: bold;
}
.fancybox-container p.title {
	font-style: italic;
}

.gallery-items > div {
	margin-bottom:1.8rem;
}

.gallery-items > div a{
	display:inline-block;
	padding:1rem;
	height:100%;
	text-decoration:none;
}

.gallery-items > div a:hover{
background-color: #f3f0e6;
}

.gallery-items > div a:visited{
color: var(--graydk);
}

.gallery-items figure {
	overflow:hidden;
	margin:0 !important;
	
}

.gallery-items figure,
.gallery-items figure img{
	border-radius:0px !important;
}

.gallery-items figure figcaption{
	padding: 1rem 0 !important;
	background-color:unset !important;
	font-size: inherit !important;
	overflow:hidden;
	font-weight: initial;
}

.gallery-items figure figcaption,
.gallery-items figure figcaption ul{
	margin-bottom:0;
	padding-bottom:0;
}

.gallery-items .art-details .art-detail-title .span,
.gallery-items .glightbox-caption .glightbox-caption-title .span{
    font-weight:normal;
}

.gallery-items .art-details .art-detail-title{
    font-weight:bold;
}

.gallery-items figure figcaption ul li,
.gallery-items ul.glightbox-caption li,
.gslide-desc ul li{
    list-style:none;
	padding:0;
}

.gallery-items figure.video > div{
	position:relative;
}

.gallery-items figure.video > i{
	font-style:normal;
}

 .gallery-items figure.video > div{
	 position:relative;
	 background: #000;
}

.gallery-items figure.video > div:after{
	 content:"\f144";
	 color: #EAE4CE;
	 font-size:3rem;
	 font-family:"Font Awesome 5 Free";
	 top: 50%;
	 left: 50%;
	 transform: translateY(-50%) translateX(-50%);
	 position: absolute;
	 width: 100%;
}

.gallery-items figure.video > div img {
    opacity:.8
}

.glightbox-clean .gslide-desc ul,
.gallery .gallery-items.show-image-metadata ul.art-details {
padding-left: 0;
}

/*** START: Override glightbox CSS ***/

/*.glightbox-mobile .glightbox-container .gslide-description {
	padding-bottom:0;
}*/

.glightbox-container .gslide-inner-content {
    width: 80vw;
}

.glightbox-container .ginner-container {
    width: auto;
    /*height: auto !important;*/
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.glightbox-container .ginner-container:not(:has(.gslide-external)){
	height: initial !important;
}

.glightbox-container .ginner-container:has(.gslide-external){
    height: auto !important;
}


.glightbox-mobile .glightbox-container .gslide-description {
	padding-top:0;
	padding-bottom:0;
	background:#fff;
	position:relative;

}

.desc-bottom .gslide-image img,
.gslide-image img {
	width:100%;
}

.glightbox-mobile .glightbox-container .gslide-desc {
    color: #000;
}

.glightbox-clean .gprev,
.glightbox-clean .gnext {
    top: 45%;
}
.glightbox-clean .gprev{
    left:0;
}

.glightbox-clean .gnext{
    right:0;
}

.glightbox-clean .gdesc-inner {
    padding-top: 12px;
}

@media (min-width: 576px){
	.desc-bottom .gslide-image img,
	.gslide-image img {
		max-height: 80vh;
	}
	
	.glightbox-container .gslide-inner-content {
		width: 60vw;
	}
	
	.glightbox-container .ginner-container:has(.gslide-external){
	    height: 300px !important;
	}
	
	.gslide-external + .gslide-description{
		    max-height: 25vh;	
	}
}


@media (min-width: 769px){
    .glightbox-clean .gprev{
        left:30px;
    }
    
    .glightbox-clean .gnext{
        right:30px;
    }
    
    .glightbox-container .ginner-container:has(.gslide-external){
	    height: 600px !important;
	}
    
    .gslide-external + .gslide-description{
		    max-height: 8vh;	
	}
}

/*** END: Override glightbox CSS ***/

/*
@media (min-width: 576px){
	 .gallery-items figure > div{
		 width: 240px;
		 height: 240px;
	}
}
*/

@media (min-width: 768px){
    .gallery-items figure > div{
         width: 170px;
         height: 170px;
		 position:relative;
		 overflow:hidden;
		 margin: 0 auto;
    }
	
	.gallery-items figure > div img{
    	width:auto !important;
		height:170px;
		max-width:initial;
		position:absolute;
		top:50%;
		left:50%;
		transform: translateY(-50%) translateX(-50%);
    }	
	
	.gallery-items figure.fit-thumbnail > div img {
		width:100% !important;
		height: auto !important;
	}
	

}

/*** Landing Page ***/
.page-home .gallery-items figure img{
    width: 100%;
}
.page-home section.gallery > div div h2{
    text-align: center;
    max-width: 100%;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
}
.page-home section.gallery > div div p {
    text-align: center;
}