#baguetteBox-overlay .full-image figcaption {
	width: 20rem;
	position: absolute;
	left: 50%;
	transform: translateX(-50%) ;
}

.gallery-block{
	padding-bottom: 60px;
}

.gallery-block .heading{
	margin-bottom: 50px;
	text-align: center;
}

.gallery-block .heading h2{
	font-weight: bold;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
  font-size: 17px;
  font-weight: bold;
}

.gallery-block.cards-gallery .card{
  transition: 0.4s ease;
}

.gallery-block.cards-gallery .card img {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.gallery-block.cards-gallery .card-body {
  text-align: center;
}

.gallery-block.cards-gallery .card-body p {
  font-size: 15px;
}

.gallery-block.cards-gallery a {
  color: #212529;
}

.gallery-block.cards-gallery a:hover {
  text-decoration: none;
}

.gallery-block.cards-gallery .card {
  margin-bottom: 30px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.gallery-block .transform-on-hover:hover .lightbox {
	display:block;
}

@media (min-width: 576px) {
/*
	.gallery-block .transform-on-hover:hover .lightbox {
	    transform: translateY(25%) scale(1.5);
	    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
	}
*/
}

/* ---------------- photo gallery ------------------- */
.fa-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top:10px;
}
.fa-icons .fa {
	color: #fff;
	font-size: 1.5rem;
	margin-right: 5px;
}
.card-caption h6 {
	color: #fff;
	margin:0 auto;
}
.card-container {
	overflow: hidden;
}
.card-img-top {
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
/*.card-img-top:hover {
	transform: translateY(0px) scale(1.5);
}*/
.card-container:hover .card-caption {
	top: auto;
	bottom: 0;
	transform: translateY(0) !important;
	opacity: 1;
}
.card-caption {
	position: absolute;
	top: auto;
	bottom: 0;
	transform: translateY(10%);
	transition: all 0.5s ease-in-out;
	background: rgba(51,51,51, 0.8);
	color: #fff;
	width: 100%;
	text-align:center;
}
.card-body {
	padding: 0.8rem 0.8rem 1.25rem 0.8rem;
}
