.tiny-gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	width: 100%;
}
.tiny-gallery .tg-single {
	flex-basis: 100%;
	position: relative;
	margin-bottom: 20px;
}
.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);
}


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

	.tiny-gallery .tg-single span.in-image { font-size: 2.4em; }

}


@media only screen and (min-width: 480px) {
	
	.tiny-gallery .tg-single.cols2 { flex-basis: 49.12%; }
	.tiny-gallery .tg-single.cols3 { flex-basis: 32.16%; }
	.tiny-gallery .tg-single.cols4 { flex-basis: 23.68%; }
	.tiny-gallery .tg-single.cols5 { flex-basis: 18.59; }
	.tiny-gallery .tg-single.cols6 { flex-basis: 15.2; }
	
	.tiny-gallery.tg-layout-0:after {
		content: '';
		flex-basis: 32.16%;
	}
	
}