.elha-youtube-lightbox {
	position: relative;
	overflow: hidden;
}

.elha-youtube-lightbox > a {
	display: block;
	position: relative;
	cursor: pointer;
}

.elha-youtube-lightbox > a::before {
	z-index: 1;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: background 0.5s;
}

.elha-youtube-lightbox > a:hover::before {
	background: rgba(0,0,0,0.5);
}

.elha-youtube-lightbox > a::after {
	z-index: 1;
	position: absolute;
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs/%3E%3Ccircle cx='24' cy='24' r='24' fill='%230084ba'/%3E%3Cpath fill='%23fff' d='M16 36l20.718-12L16 12z'/%3E%3C/svg%3E");
	width: 24%;
	left: 50%;
	top: 50%;
	margin-left: -12%;
	margin-top: -12%;
	transition: transform 0.5s;
}

.elha-youtube-lightbox > a:hover::after {
	transform: scale(0.8);
}

.elha-youtube-lightbox img {
	display: block;
	width: 100%;
	transition: transform 0.5s;
}

.elha-youtube-lightbox > a:hover img {
	transform: scale(1.2);
}

.elha-youtube-lightbox span {
	z-index: 1;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 8px;
	background-color: rgba(0,0,0,0.75);
	color: #fff;
	text-align: center;
	font-size: 14px;
}

.elha-youtube-lightbox span a {
	text-decoration: none;
	color: #0cf;
}

/***********************/

.elha-image-lightbox {
	display: block;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.elha-image-lightbox::before {
	z-index: 1;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: background 0.5s;
}

.elha-image-lightbox:hover::before {
	background: rgba(0,0,0,0.5);
}

.elha-image-lightbox::after {
	z-index: 1;
	position: absolute;
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
	width: 24%;
	left: 50%;
	top: 50%;
	margin-left: -12%;
	margin-top: -12%;
	opacity: 0;
	transition: opacity 0.5s;
}

.elha-image-lightbox:hover::after {
	opacity: 1;
}

.elha-image-lightbox img {
	display: block;
	width: 100%;
	transition: transform 0.5s;
}

.elha-image-lightbox:hover img {
	transform: scale(1.2);
}

/***********************/

.elha-image-link {
	display: block;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.elha-image-link::before {
	z-index: 1;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: background 0.5s;
}

.elha-image-link:hover::before {
	background: rgba(0,0,0,0.5);
}

.elha-image-link img {
	display: block;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
	transition: transform 0.5s;
}

.elha-image-link:hover img {
	transform: scale(1.2);
}

/***********************/

.elha-document-link {
	display: block;
	cursor: pointer;
}

.elha-document-link img {
	display: block;
	width: 100%;
	border: 1px solid rgba(0,0,0,0.1);
	transition: transform 0.5s, box-shadow 0.5s;
}

.elha-document-link:hover img {
	transform: rotate(5deg) scale(0.8);
	box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.2);
}
