
.mdl-photoalbums-back {
	display: flex;
	height: 48px;
	align-items: center;
	margin-bottom: 16px;;
}
.mdl-photoalbums-back img {
	margin-right: 8px;
}

.mdl-photoalbums {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 24px;
	margin-bottom: 24px;
}
.mdl-photoalbums .album {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}
.mdl-photoalbums .album:hover {
	text-decoration: none;
}

.mdl-photoalbums .ratio-inner {
	position: relative;
	height: 0;
	border: none;
	border-radius: 1px;
	box-shadow: 0 0 0 5px #fff, 0 0 0 6px #c1c2c4;
	margin-bottom: 12px;
}
.mdl-photoalbums .ratio-4-3 {
	padding-top: 75%; /* соотношение сторон 4x3 */
}
.mdl-photoalbums .ratio-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 5px;
	overflow: hidden;
}
.mdl-photoalbums .ratio-content.place-holder {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mdl-photoalbums .ratio-content.place-holder img {
	filter: grayscale(100%);
}
.mdl-photoalbums .album:hover .ratio-content.place-holder img {
	filter: grayscale(0);
}
.mdl-photoalbums .album .ratio-content.image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition: all 1s ease-out;
}
.mdl-photoalbums .album:hover .ratio-content.image img {
	transform: scale(1.05);
}
.mdl-photoalbums .album .album-info .title {
	font-weight: 500;
}
.mdl-photoalbums .album .album-info .count {
	margin-top: 3px;
	font-size: 80%;
	opacity: .75;
}

@media (max-width: 1023px) {
	.mdl-photoalbums {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 540px) {
	.mdl-photoalbums {
		grid-template-columns: 1fr;
	}
}