.container-ratio {
	position: relative;
}
.container-ratio > .container-box {
	position:  absolute;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;
}
.container-ratio::before {
	content: '';
	padding-top: 100%;
	display: block;
}
.container-ratio.-ratio-2x1::before {
	padding-top: 50%;
}
.container-ratio.-ratio-1x2::before {
	padding-top: 200%;
}
.container-ratio.-ratio-4x3::before {
	padding-top: 75%;
}
.container-ratio.-ratio-16x9::before {
	padding-top: 56.25%;
}
.container-ratio.-ratio-21x9::before {
	padding-top: 42.85%;
}
.container-ratio.-trim {
	overflow: hidden;
}
.container-ratio.-trim > .container-box {
	margin: -1px;
}
.content-photos {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	height: 100%;
	width: 100%;
	overflow: hidden;
}
.content-photos > .photo {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #f9f9fb;
	height: 100%;
	width: 100%;
}
.content-photos.-layout-1 > .photo {
	height: 100%;
	width: 100%;
}
.content-photos.-layout-2 > .photo {
	width: 50%;
}
.content-photos.-layout-3 > .photo {
	height: 50%;
	width: 50%;
}
.content-photos.-layout-3 > .photo:nth-child(1) {
	height: 100%;
}
.content-photos.-layout-4 > .photo {
	height: 33.33%;
	width: 50%;
}
.content-photos.-layout-4 > .photo:nth-child(1) {
	height: 100%;
}
.content-photos.-layout-5 > .photo {
	height: 33.33%;
	width: 50%;
}
.content-photos.-layout-5 > .photo:nth-child(1),
.content-photos.-layout-5 > .photo:nth-child(2) {
	height: 50%;
}
.content-photos.-layout-4 > .photo > .count {
	font-size: 32px;
	color: #FFF;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,0.2);
}