/* List page */
.card {
	border: none;
	border-radius: 0px;
	overflow: hidden;
}
.card .card-body {
	display: none !important;
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	background: rgb(255 255 255 / 0.9);
	-webkit-transform: translateY(70px);
	transform: translateY(70px);
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.card .title {
	font-size: 40px;
	line-height: 40px;
	margin-top: 0px;
	margin-bottom: 0;
}
.card .title a {
	color: #000;
}
.card:hover .title a {
	color: #d6161c;
}
.card:hover .card-img {
	opacity: 0.5;
}
.card:hover .card-body {
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
}

/* Modal */
#modalPhotos .modal-content {
	border: none;
	border-radius: 20px;
}
#modalPhotos .modal-header {
	border: none;
}
#modalPhotos .modal-header button {
	position: absolute;
	right: 1.5rem;
	opacity: 1;
	color: #d6161c;
}
#modalPhotos .modal-header button:hover {
	color: #000;
}

#modalPhotos .photo-info {
	padding: 0px 50px;
}
#modalPhotos .photo-info .photo-body {
	padding: 20px 0px;
}
#modalPhotos .photo-info .title {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #000;
	margin-top: 10px;
	margin-bottom: 10px;
}

#modalPhotos .photo-info .photo-body a {
	color: #d6161c;
}
#modalPhotos .photo-info .photo-body a:hover {
	color: #000;
}


#modalPhotos .photo-img img {
	margin: 0 auto;
	width: auto !important;
	max-width: 100%;
	max-height: 70vh;
}



/* Detail page */
.photo-image {
	border: none;
	border-radius: 15px;
	overflow: hidden;
}

.photo-info .title {
	line-height: 35px;
	margin-top: 30px;
	margin-bottom: 10px;
}
.photo-info .subtitle {
	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
}

.photo-info .pagination a {
	color: #d6161c;
}
.photo-info .pagination a:hover {
	color: #000;
}

.photo-info .pagination a > i {
	font-size: 20px;
	vertical-align: middle;
}