﻿
/* ----------------------------------------------------------------
	image gallery filter
-----------------------------------------------------------------*/

#filter 
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.break 
{
	flex-basis: 100%;
	height: 0;
}

.button-filter
{
	display: block;
	float:left;
	text-align:center;
	line-height: 1.2rem;
	background-color:transparent;
	color:#555555;
	font-family: 'Open Sans', sans-serif;
	font-size:1.2rem;
	font-weight:400;
	padding:0px 10px;
	margin:10px 0px;
	border-radius:0px;
	border: 0px;
	border-right: 1px solid #555555;
	text-decoration:none;
}
.button-filter.active
{
	background-color:transparent;
	color:var(--bs-primary);
}
.button-filter:nth-child(4), 
.button-filter:nth-child(8)
{
	border-right: 0px;
}


/* ----------------------------------------------------------------
	image gallery grid
-----------------------------------------------------------------*/

#grid
{
	margin-left: -4px;
	margin-right:-4px;
}

#grid .container 
{
	width: 93%;
	margin: auto;
}

#grid .column 
{
	position: relative;
	float: left;
	min-height: 1px;
	/* width: 33%; */
	padding-left: 4px;
	padding-right: 4px;
	/* Space between tiles */
	margin-top: 8px;
}

#grid .col-span 
{
	width: 50%;
}

#grid .my-sizer-element 
{
	width: 8.33333%;
}

/* default styles so shuffle doesn't have to set them (it will if they're missing) */
#grid .my-shuffle 
{
	position: relative;
	overflow: hidden;
}

/* Ensure images take up the same space when they load */
/* https://vestride.github.io/Shuffle/images */
#grid .item-content 
{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
}

#grid .item-content_inner 
{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#grid img 
{
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

#grid figure 
{
	margin: 0;
	padding: 0;
}




/* ----------------------------------------------------------------
	responsive
-----------------------------------------------------------------*/

@media (max-width: 767.98px) {

	.button-filter
	{
		border-right: 1px solid #555555;
	}
	.button-filter:nth-child(3), 
	.button-filter:nth-child(4), 
	.button-filter:nth-child(7),
	.button-filter:nth-child(8)
	{
		border-right: 0px;
	}

}


@media (max-width: 479.98px) {

	.button-filter
	{
		float:none;
		width: 100%;
		margin: 7px 0px;
		border-right: 0px;
	}

}