.tiny-gallery {
	display: grid;
	width: 100%;
	gap: 10px;
}
.tiny-gallery.cols-2 { grid-template-columns: 1fr 1fr; }
.tiny-gallery.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.tiny-gallery.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.tiny-gallery.cols-5 { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }

.tiny-gallery .tg-single {
	position: relative;
}
.tiny-gallery .tg-single .tg-inner {
	display: block;
	position: relative;
	overflow: hidden;
}

.tiny-gallery .tg-single a {
	display: block;
	text-decoration: none;
}

.tiny-gallery .tg-single img {
	display: block;
	width: 100%;
	border: none;
	height: auto;
	position: relative;
	
	/*
	-webkit-transition: -webkit-transform 0.5s ease;
	-moz-transition: -moz-transform 0.5s ease;
	transition: transform 0.5s ease;
	*/
	opacity: 1;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.tiny-gallery .tg-single:hover img {
	/*
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	*/
	opacity: 0.8;
}

.tiny-gallery .tg-single span.below-image {
	display: block;
	width: 90%;
	height: 50px;
	overflow: hidden;
	padding: 5px 5%;
	text-align: center;
	font-size: 0.9em;
}

.tiny-gallery .tg-single span.in-image {
	display: block;
	position: absolute;
	left: 5%;
	bottom: 10%;
	color: #FFF;
	font-size: 2.4em;
	line-height: 1em;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}


/* ----- */


.tg-slider {
	background: #fff;
	overflow: hidden;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	visibility: hidden;
}
.tg-slider.active,
.tg-slider.flexlite-active {
  visibility: visible;
}
.tg-slider .slides {
	display: flex;
	transition-property: transform;
	will-change: transform;
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
	position: relative;
}
.tg-slider ul.slides li { display: none; }
.tg-slider ul.slides li:first-child { display: block; }
.tg-slider.flexlite-active ul.slides li { display: block; }
.tg-slider ul.slides li picture {
	display: block;
	width: 100%;
}
.tg-slider ul.slides li picture img {
	display: block;
	width: 100%;
	height: 100%;
}
.tg-slider.is-fade .slides {
	position: relative;
}
.tg-slider.is-fade .slides > li {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition-property: opacity;
	pointer-events: none;
	flex: 0 0 100%;
}
.tg-slider.is-fade .slides > li:first-child {
	position: relative;
}
.tg-slider.is-fade .slides > li.flex-active-slide {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}
.tg-slider .flex-control-nav {
	position: absolute;
	max-width: 500px;
	left: 40px;
	bottom: 120px;
	z-index: 20;
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	pointer-events: auto;
}
.tg-slider .flex-control-nav button {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	text-indent: -9999px;
	cursor: pointer;
}
.tg-slider .flex-control-nav button.flex-active {
	background: rgba(255, 255, 255, 1);
}

.tg-slider ul.flex-direction-nav {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}
.tg-slider ul.flex-direction-nav button,
.tg-slider ul.flex-direction-nav a {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	padding: 20px 0;
	margin: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: inherit;
	cursor: pointer;
}
.tg-slider ul.flex-direction-nav button svg,
.tg-slider ul.flex-direction-nav a svg {
	display: block;
	width: 40px;
	height: auto;
}

/* ----- */

.tg-slider-thumbs {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
	padding-top: 10px;
}
.tg-slider-thumbs button {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	position: relative;
	cursor: pointer;
}
.tg-slider-thumbs button.is-active:after {
	display: block;
	content: '';
	width: 100%;
	height: 10px;
	background: var(--color-red-dark);
	position: absolute;
	left: 0;
	top: -10px;
}
.tg-slider-thumbs button img {
	display: block;
}

@media only screen and (max-width: 1200px) {

	.tg-slider-thumbs {
		display: none;
	}

}

@media only screen and (min-width: 1201px) {

	.tg-slider.tg-slider-main .flex-direction-nav ,
	.tg-slider.tg-slider-main .flex-direction-nav li {
		position: static;
	}
	.tg-slider.tg-slider-main .flex-direction-nav li button {
		position: absolute;
		top: 50%;
		z-index: 3;
		transform: translateY(-50%);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		text-decoration: none;
		background: rgba(255, 255, 255, 0.8);
		color: #111;
		border-radius: 999px;
	}
	.tg-slider.tg-slider-main .flex-direction-nav li button svg {
		width: 30px;
		height: auto;
	}
	.tg-slider.tg-slider-main .flex-direction-nav .flex-prev {
		left: 1rem;
	}
	.tg-slider.tg-slider-main .flex-direction-nav .flex-next {
		right: 1rem;
	}

}


@media only screen and (max-width: 479px) {

	.tiny-gallery .tg-single span.in-image { font-size: 2.4em; }
	
	.tiny-gallery.cols-2,
	.tiny-gallery.cols-3,
	.tiny-gallery.cols-4,
	.tiny-gallery.cols-5 {
		grid-template-columns: 1fr 1fr;
	}

}

