.fotogallery {
    padding-bottom: 70px;
}

.fotogallery-item {
	position: relative;
	width: 320px;
	height: 76px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}

.fotogallery-item h2 {
	font-size: 30px;
	color: rgb(108, 54, 1);
	text-transform: uppercase;
	font-family: 'Exo 2', sans-serif;
}

.fotogallery-item:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	transform: skew(-28deg);
	z-index: -1;
	box-shadow: 30px 30px 1px rgba(0,0,0,0.3);
}

.fotogallery-item:after {
	content: "";
	position: absolute;
	left: 15%;
	top: -30%;
	width: 100%;
	height: 150%;
	background: #e8e8e8;
	transform: skew(-28deg);
	z-index: -2;
}

.fotogallery-content {
	display: flex;
	justify-content: space-between;
}

.fotogallery-content-block {
	position: relative;
	margin: 0 10px;
	width: 300px;
	height: 160px;
}

.fotogallery-content-block img {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: -2;
}

.fotogallery-content-block__title {
	position: absolute;
	right: 10px;
}

.fotogallery-content-block p {
	position: relative;
	font-size: 18px;
	color: rgb(2, 2, 2);
	font-weight: bold;
	text-transform: uppercase;
	font-family: 'Exo 2', sans-serif;
	width: auto;
	height: 50px;
	display: inline-block;
	top: -20px;
	right: -10px;
	z-index: 3;
	padding: 10px 25px;
}

.fotogallery-content-block p:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background: #fff;
	transform: skew(-28deg);
	z-index: -1;
	box-shadow: 8px 8px 1px #d1d1d1;
}

.fotogallery-content-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    height: 60px;
}

.fotogallery-content-bottom .fotogallery-content-block {
    height: 0;
}

