/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//	DLib Gallery CSS - copyright davidviner.com 2009-2024
//
//	17.08.2024	7.3.0	DJV		Added the dlibgallerynoscroll class.
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

#dlibpagemask
{
	display: none;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.9);
	width: 100%;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: 9000;
}

#dlibgallerypopup
{
	display: none;
	z-index: 9010;
	position: absolute;
	top: 0;
	left: 0;
	font-weight: normal !important;
}

#dlibgallerypopup img
{
	position: fixed;
	border: 1px solid #777;
	background-color: white;
	color: black;
	z-index: 9005;
}

.dlibgallerynav, #dlibgalleryclose
{
	position: fixed;
	color: white;
	padding: 3px 10px;
	z-index: 9010;
}

#dlibgallerynavleft, #dlibgallerynavright
{
	font-size: 40px;
	background-color: transparent;
	font-family: "Century Gothic", Verdana, Arial, Helvetica, sans-serif !important;
	opacity: 0.4;
	border-radius: 50%;
}

#dlibgallerynavleft
{
	left: 16px;
	top: calc(50vh - 31px);
}

#dlibgallerynavright
{
	right: 16px;
	top: calc(50vh - 31px);
}

.dlibgallerynav:hover
{
	cursor: pointer;
	opacity: 1 !important;
}

#dlibgalleryclose
{
	font-size: 30px !important;
	font-family: "Century Gothic", Arial, Helvetica, sans-serif;
	background-color: transparent;
	color: white;
	top: 10px;
	right: 10px;
	border-radius: 50%;
	text-align: center;
	opacity: 0.6;
	padding: 2px 9px 4px 11px;
}

#dlibgalleryclose:hover
{
	color: white;
	cursor: pointer;
	background-color: #333;
	opacity: 1;
}

#dlibgalleryanim
{
	font-size: 30px;
	font-family: "Century Gothic", Arial, Helvetica, sans-serif;
	background-color: transparent;
	color: #ccc;
	bottom: 10px;
	right: 16px;
	border-radius: 50%;
	text-align: center;
	opacity: 0.4;
}

#dlibgalleryanim:hover
{
	color: white;
	cursor: pointer;
	opacity: 1;
}

#dlibgallerytitle
{
	position: fixed;
	top: 20px;
	left: 20px;
	text-align: center;
	width: calc(100% - 80px);
	border-radius: 16px;
	padding: 0 0 2px 0;
	color: white;
	font-family: "Century Gothic", Arial, Helvetica, sans-serif;
	font-size: 24px;
	z-index: 9010;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
	background-color: rgba(0, 0, 0, 0.3);
}

#dlibgallerytitle:hover
{
	background-color: rgba(0, 0, 0, 0.8);
	cursor: default;
}

#dlibgallerytext
{
	text-align: center;
	position: fixed;
	left: 20px;
	bottom: 20px;
	width: calc(100% - 40px);
	color: white;
	font-family: "Century Gothic", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: normal;
	z-index: 9010;
}

.dlibgalpic
{
	margin: 10px;
	cursor: pointer;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

#dlibgalleryimg
{
	transition: opacity 0.5s ease-in-out;
}

#dlibgalleryimgx
{
	max-width: 98%;
	height: auto;
	opacity: 1;
}

.dlibgallerynoscroll
{
	overflow: hidden;
}

@media only screen and (max-width: 700px)
{
	#dlibgalleryclose
	{
		padding: 0 5px 3px 5px;
		top: 10px;
		right: 10px;
		font-size: 20px;
	}

	#dlibgallerytitle
	{
		top: 5px;
		font-size: 20px;
	}

	#dlibgallerytext
	{
		font-size: 16px;
		bottom: 5px;
	}
}
