.inner-photo {
	position: relative;
	grid-template-columns: repeat(4, 1fr);
	display: grid;
	border: .1rem solid #fff;
	margin: 15px auto;
}
.grid-photo {
	width: 100%;
	height: 250px;
	border-radius: 5px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	border: 1px solid #fff;
	cursor: pointer;
	transition: all 0.5s ease;
	position: relative;
}
.grid-photo .badge-photo{
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(254, 204, 0, 0.9);
	padding: 5px 10px;
	font-size: 18px;
	font-weight: 500;
	border-radius: 0 5px 0 0;
	line-height: 1;
}
.videoBlock {
	color: #fff;
	text-align: center;
	padding: .25rem;
	cursor: pointer;
}
.videoBlock h4 {
    font-size: 1.8rem;
    font-weight: 300;
    background-color: #292929;
    margin-bottom: 0;
    padding: .25rem;
}
.videoBlock img {
	width: 100%;
	height: auto;
}
.album-item {
	padding: .5rem;
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	margin: .5rem 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.album-item > h4 {
	text-align: center;
	color: #fff;
	background-color: #292929;
	padding: .5rem;
	border-radius: 5px;
}
.album-item .img-album {
	height: 200px;
	background-size: cover;
	border-radius: 5px;
	background-repeat: no-repeat;
	background-position: center;
}
.album-item > p {
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.3;
	text-indent: 1rem;
	padding: .5rem .5rem 0 .5rem;
	flex-grow: 1;
	margin: 0;
	text-align: center;
}
.album-item > .btn {
	flex-grow: 0;
}
#media-view {
	background-color: #292929;
	position: fixed;
	z-index: 9999;
	top: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
}
#media-view-download,
#media-view-close {
	z-index: 2;
	color: #fff;
	position: absolute;
	right: 1rem;
	top: 1rem;
	font-size: 3rem;
	cursor: pointer;
}
#media-view-download{
	left: 1rem;
	width: 50px;
	font-size: 2.5rem;
}
#media-view-next,
#media-view-prev {
	color: #fff;
	position: absolute;
	display: flex;
	align-self: center;
	font-size: 3rem;
	height: 100px;
	align-items: center;
	cursor: pointer;
	z-index: 1;
}
#media-view-next {
	right: 1rem;
}
#media-view-prev {
	left: 1rem;
}
#media-view-img {
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
#media-view-block {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5rem;
	right: 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media (max-width: 1200px) {
	.grid-photo{
		height: 225px;
	}
}
@media (max-width: 992px){
	.inner-photo{
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.inner-photo {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid-photo{
		height: 200px;
	}
	#media-view-block {
		left: 0;
		right: 0;
	}
}
@media (max-width: 500px) {
	.inner-photo {
		grid-template-columns: repeat(1, 1fr);
	}
}