body.debug{
	/* visibility: visible; */
}
.moreimages-listwrap{
	overflow: hidden;
}
.moreimages-list{
	list-style:none;
	display:block;
	padding:0;
	margin:-0.25em;
}
.moreimages-item{
	display:inline-block;
	vertical-align:top;
	padding:0.25em;
	margin:0;
	text-align:center;
}
.moreimages-item{
	height:14.3rem;
	height: calc(80px + (143 - 80) * ((100vw - 320px) / (1200 - 320)));
	max-height: 14.3rem;
	/* height:22.5rem; */
	/* height: calc(80px + (225 - 80) * ((100vw - 320px) / (1200 - 320))); */
	/* max-height: 22.5rem; */
	min-width: 72px;
	max-width: 100%;
	min-height: 72px;
	overflow:hidden;
}

.moreimages-item-inner{
	height:100%;
	width: 100%;
	overflow:hidden;
}

.moreimages-popuptoggle-trigger{
	position:relative;
	cursor: pointer!important;
}

.moreimages-img{
	vertical-align: bottom;
	width:auto;
	height:100%;
	max-width:none;
}

.moreimages-icon{
	display: none;
	position:absolute;
	top:0.5rem;
	left:auto;
	bottom:auto;
	right:0.5rem;
	margin:auto;
	padding:0;
	width:1.5em;
	height:1.5em;
	font-size:1em;
	line-height:1.5;
	text-align:center;
	color:#fff;
	background-color:var(--color-link);
}

/**/

.moreimages-popuptoggle-trigger:hover{
	background-color:var(--color-link);
}

.moreimages-popuptoggle-trigger:hover .moreimages-icon{
	display: block!important;
}

.moreimages-popuptoggle-trigger:hover .moreimages-img{
	mix-blend-mode:luminosity;
	opacity: 0.5;
}

/**/

.js .moreimages-slideshow-item{
	display: block!important;
}
.moreimages-slideshow-button{
	border-radius: 0;
	min-width: 6em;
	min-width: calc(80px + (143 - 80) * ((100vw - 320px) / (1200 - 320)));
	padding: 0;
	margin: 0!important;
	white-space:normal;
}

.moreimages-slideshow-button:before{
	content: "";
	display: block;
	padding-top: 56.25%;
}

.moreimages-slideshow-button-inner{
	position:absolute;
	top:50%;
	right:0;
	bottom:auto;
	left:0;
	margin: auto;
	transform: translateY(-50%);
}

.moreimages-slideshow-icon{
	font-size:2em;
	line-height:1;
	width: 1.25em;
	height: 1em;
	overflow: hidden;
}

.moreimages-slideshow-text{	
	width:100%;
	font-size: 0.7em;
	padding: 0.25em 0.5em 0 0.5em;
}

@supports(display: flex) and (object-fit:cover){
	.moreimages-list{
		display: flex;
		flex-flow: row wrap;
		/* justify-content: space-between; */
		/* justify-content: flex-start; */
		/* align-items:stretch; */
		/* align-content:stretch; */
	}
	.moreimages-list:after {
	  content: '';
	  flex-grow: 1000000000;
	}	
	.moreimages-item{
		flex: 1 1 auto;
	}
	.moreimages-img{
		object-fit:cover;
		object-position:50% 50%;
		min-width:100%;
	}
}

@media screen and (max-width:319px){
	.moreimages-list{
		display: block;
	}
	.moreimages-item{
		height: auto;
		max-height: 100vh;
	}
	.moreimages-img{
		width: auto;
		height:auto;
		max-width:100%;
	}
}