.gallery
{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 1em;
	grid-auto-columns: 1fr;
	margin-bottom: 1em;
}

.gallery .image-container
{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 4px;
	position: relative;
	transform:	scale(1.);
	transition : transform 250ms;
}

.gallery .image-container:hover
{
	transform:	scale(1.015);
	transition : transform 250ms;
}


.gallery .image-pastille
{
	position: relative;
}

.gallery .image-container.selected
{
	border: 2px solid black;
}

.gallery .image-container.favorite
{
	background-color: yellow;
}

.gallery .image-container.not-available
{
/*	opacity: 	0.35;
*/}

.gallery .image-container img
{
	box-sizing: border-box;
}

.gallery .image-container img.framed
{
	border: 5px solid black;
	filter: drop-shadow(0 0 6px rgb(0, 0, 0));	
/*	transition : drop-shadow 250ms;	
*/}

.gallery .image-container img.framed:hover
{
/*	
	filter: drop-shadow(0 0 20px rgb(55, 0, 0));	
	transition : drop-shadow 250ms;	
*/
}


.gallery .image-container svg
{
	position: absolute;
	bottom: 	10px;
	right: 		10px;
	width: 		10px;
	height: 	10px;
}




.gallery .title
{
	font-size: max(1.15vw,12px);
	text-align: center;
	box-sizing: border-box;
	padding : 5px 0 0 0;
}

.title .id
{
	font-size: max(1.0vw,8px);
	margin-left : 0.2em;
	padding: 3px;
	background-color: yellow;
	border-radius: 4px;
}



.gallery .title.id-benoit
{
	color : #888;
    font-size: min(3vw,18px);
	padding : 0 0 5px 0;
}

.gallery .dimensions
{
    font-size: min(3vw,14px);
}


.gallery-c
{
	column-count: 		4;
	column-gap: 		0.5em;
}

.gallery-c.half
{
	column-count: 		2;
}


.gallery-c img,
.gallery-c video
{
	width: 				100%;
	height: 			auto;
	margin-bottom: 		0.5em;
	display: 			block;
}

#metabox_artworks .gallery
{
    width:          100%;
}

#metabox_artworks  .gallery .image-container img
{
    width:          100%;
}