@charset "utf-8";
/* CSS Document */

/* override the font class in the image gallery
CHECK IF NEEDED  */
body{
	font-family: var(--bs-body-font-family) !important;
}


/* horizontal spacing between images in the grid */
.custom-col{
	padding:4px;	
	overflow:hidden;
}
/* turn the pointer to a hand over the image */
.img-button{
	cursor:pointer;
}
/* align and format the caption over the image */
.img-button > .caption{
	-webkit-transition: all 0.4s ease;
  	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease; 
	position: absolute; 
	bottom:-30%;
	opacity:0;
	width: 100%;
	height: 100%;
	text-align:center;
	background-image: -webkit-linear-gradient(270deg,rgba(59,59,59,0.00) 0%,rgba(0,0,0,0.50) 72.02%);
	background-image: -moz-linear-gradient(270deg,rgba(59,59,59,0.00) 0%,rgba(0,0,0,0.50) 72.02%);
	background-image: -o-linear-gradient(270deg,rgba(59,59,59,0.00) 0%,rgba(0,0,0,0.50) 72.02%);
	background-image: linear-gradient(180deg,rgba(59,59,59,0.00) 0%,rgba(0,0,0,0.50) 72.02%);
}
/* show the caption when hovering over image */
.img-button:hover > .caption{
   -webkit-transform: translate(0em,-30%);
   -moz-transform: translate(0em,-30%);
   -o-transform: translate(0em,-30%);
	transform: translate(0em,-30%);
	opacity:100;
}
/* font style for each image */
.img-button > .caption p{
	position: absolute;
	bottom: 0;
	width: 85%;
	margin: 20px;
	font-weight: 300;
	font-size: 1em;
	color: white;
	/*color: #F7080C;*/
	font-style: normal;
	font-family: 'Open Sans', sans-serif;
}
/* align the modal popup to horizontal center when clicked */ 
.modal {
  text-align: center;
  padding: 0!important;
}
/* align the modal popup to vertical center when clicked and place the label */ 
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
/* places popup on current screen */
.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  margin:4px;
}
/* format the body of the popup */
.modal-body{
	padding:12px;
	background-color:black;
}
/* format the size of the image in the popup */
.modal-body img{
	width:100%;
}
/* format the close X in the popup */
#close-wrapper{
	position:absolute;
	top:0;
	right:0;
	width:55px;
	height:55px;
	background-color:rgba(0,0,0,0.5);
	border-bottom-left-radius:6px;
}
/* place the close button on the popup */
#close-btn{
	position:absolute;
	top:20px;
	right:25px;
	color:white;
	opacity:1;
}
/* locate the popup caption */
.popup-caption{
	width:100%;
	padding-top:6px;	
	background-color:black;
}
/* place and format the popup caption */
.popup-caption p{
	text-align:center;
	font-weight: 300;
	font-size: 1em;
	color: white;
	font-style: normal;
	font-family: 'Open Sans', sans-serif;
	margin-bottom:-4px;
}
/* place the previous button on the popup */
#prev-button{
	height:65px;
	width:55px;
	background-color:rgba(0,0,0,0);
	border-top-right-radius:6px;
	border-bottom-right-radius:6px;
	position:absolute;
	top:50%;
	left:0;
	cursor:pointer;
}
/* position the previous button */
#prev-button span{
	position:absolute;
	top:22px;
	left: 20px;
	font-size:1.5em;
	color:white;
	
}
/* place the next button on the popup */
#next-button{
	height:65px;
	width:55px;
	background-color:rgba(0,0,0,0);
	border-top-left-radius:6px;
	border-bottom-left-radius:6px;
	position:absolute;
	top:50%;
	right:0;
	cursor:pointer;
}
/* position the next button */
#next-button span{
	position:absolute;
	top:22px;
	right: 20px;
	font-size:1.5em;
	color:white;
}
/* control the size of the popup */
@media (min-width:768px){
	.modal-dialog{
		width:80%;	
	}
	#next-button{
		background-color:rgba(0,0,0,0.55);
	}
	#prev-button{
		background-color:rgba(0,0,0,0.55);
	}
	#close-wrapper{
		background-color:rgba(0,0,0,0.55);
	}
}
/* control the size of the popup */
@media (min-width:1250px){
	.modal-dialog{
		width:70%;	
	}
}
