




gallery-item{
	width: 100%;
}

gallery-item img{
	height: auto;
	width: 100%;
}



#block-gallery{
	height: auto;
}

.full-image {
	display: none; /* Hide by default */
	position: fixed; /* Position fixed to cover the viewport */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
	justify-content: center; /* Center the image horizontally */
	align-items: center; /* Center the image vertically */
	z-index: 1000; /* Ensure it covers all other content */
}

.full-image img {
	max-width: 90%; /* Limit max width for the image */
	max-height: 90%; /* Limit max height for the image */
	width: auto;
	height: auto;
}

.full-image a {
	color: white; 
	text-decoration: none; 
	font-size: 24px;
	position: absolute; 
	top: 24px; 
	right: 24px;
}

	line-height: 32px;
}

#gallery-title{
	display: none;
	text-align: center;
	margin-bottom: 0px;
}


#gallery-video block-container iframe
{
	display: block;
	height: 90%;
	width: 100%;
	margin: auto;
	
}

/* Show full image when the link is clicked */
gallery-item a:focus ~ .full-image {
	display: flex; /* Use flexbox to center the image */
	
}

@media screen and (min-width: 760px)  {
	
	
	
	#block-gallery block-container section{
		margin-bottom: 64px;
	}
	
	#block-gallery block-container section g-row{
		width: 100%;
		display: flex;
		justify-content: center;
		gap: 16px;
		margin-bottom: 20px;
	}
	#block-gallery block-container section g-row gallery-item{
		display: inline;
		height: 100%;
		width: auto;
	}
	
	#block-gallery block-container section g-row gallery-item a{
		height: 100%;
		width: auto;
	}
	
	#block-gallery block-container section g-row gallery-item a img{
		height: 100%;
		width: auto;
		border-radius: 5px;
	}
	
	#gallery-title{
		text-align: left;
	}
	
	.gallery-section{
		padding: 0px;
		border: 2px solid var(--default-bg-color);
		border-radius: 8px;
		background-color: var(--default-bg-color);
		
	}
	
	gallery-item{
		border: 2px solid #777;
		border-radius: 8px;
	}
	
	.gallery-section #row-1{
		height: calc(676px / 2.173713);
	}	
	
	.gallery-section #row-2{
		height: calc(696px / 2.180415);
	}
	
	.gallery-section #row-3{
		height: calc(676px / 2.180531);
	}
	
	.gallery-section #row-4{
		height: calc(676px / 3.720995);
	}	
	
	.gallery-section #row-5{
		height: calc(676px / 4.071431);
	}
	
	#gallery-video block-container iframe
	{
		
		width: 97%;
		border: 2px solid #777;
		border-radius: 8px;
		
	}
	
	
}


@media screen and (min-width: 1280px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
	
	
	block-container{
		display: block;	
		width: var(--viewport-width);
		margin: auto;
		height: 100%;
		margin-top: var(--vertical-padding);
	}
	
	#block-gallery block-container section g-row{
		
		gap: 64px;
		margin-bottom: 68px;
	}
	.gallery-section #row-1{
		height: calc(996px / 2.173713);
	}	
	
	.gallery-section #row-2{
		height: calc(1064px / 2.180415);
	}
	
	.gallery-section #row-3{
		height: calc(996px / 2.180531);
	}
	
	.gallery-section #row-4{
		height: calc(996px / 3.720995);
	}	
	
	.gallery-section #row-5{
		height: calc(996px / 4.071431);
	}
	
	#gallery-video block-container iframe
	{
		
		width: 90%;		
		
	}
	
 }
 

