/**
 * fancybox
 * @version	1.0
 * @release	01-04-2021
 * @author	msolowski Marcin Sołowski
 * @website	http://msolowski.pl
 */

#fancybox-overlay
{
	background-color: var(--global_loader_background_color) !important;
}

#fancybox-outer 
{
	box-shadow: none !important;
}

#fancybox-loading
{
	position: fixed !important;
	width: 100% !important;
	height: 100% !important;
	background-color: var(--global_loader_background_color) !important;
	background-image: var(--global_loader_background_image) !important;
	background-repeat: var(--global_loader_background_repeat) !important;
	background-position: var(--global_loader_background_position) !important;
	background-size: var(--global_loader_background_size) !important;
	margin: auto !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
}

#fancybox-loading[style*="display: block"] + #fancybox-overlay
{
	background-color: transparent !important;
}

#fancybox-loading div
{
	display: none !important;
}

#fancybox-close
{
	height: 40px !important;
	width: 40px !important;
	top: 0 !important;
	right: 0 !important;
	position: absolute !important;
	background-color: var(--root_color_black) !important;
	background-image: none !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

#fancybox-close::before
{
	content: '' !important;
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 2px !important;
	height: 80% !important;
	background-color: var(--root_color_white) !important;
	transform: translate(-50%, -50%) rotate(45deg) !important;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

#fancybox-close::after
{
	content: '' !important;
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 80% !important;
	height: 2px !important;
	background-color: var(--root_color_white) !important;
	transform: translate(-50%, -50%) rotate(45deg) !important;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

#fancybox-close:hover
{
/*	background: #ff0000 !important; */
}

#fancybox-close:active
{
	transform: scale(0.95, 0.95) !important;
}

#fancybox-close:hover::before,
#fancybox-close:hover::after
{
	transform: translate(-50%, -50%) rotate(225deg) !important;
}

#fancybox-left-ico
{
	position: absolute !important;
	top: 50% !important;
	left: 20px !important;
	right: auto !important;
	width: 46px !important;
	height: 46px !important;
	margin: -23px 0 0 0 !important;
/*	border-radius: 50% !important; */
/*	z-index: 10 !important; */
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
	background-image: none !important;
/*	background-color: #ffffff !important; */
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 1) inset !important;
}

#fancybox-right-ico
{
	position: absolute !important;
	top: 50% !important;
	left: auto !important;
	right: 20px !important;
	width: 46px !important;
	height: 46px !important;
	margin: -23px 0 0 0 !important;
/*	border-radius: 50% !important; */
/*	z-index: 10 !important; */
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
	background-image: none !important;
/*	background-color: #ffffff !important; */
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 1) inset !important;
}

#fancybox-left:active #fancybox-left-ico,
#fancybox-right:active #fancybox-right-ico
{
	transform: scale(0.9, 0.9) !important;
}

#fancybox-left-ico::after
{
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-bottom: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	transform: translate(-25%, -50%) rotate(45deg);
}

#fancybox-right-ico::after
{
	content: "";
	display: block;
	position: relative;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	transform: translate(-75%, -50%) rotate(45deg);
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#fancybox-left:hover #fancybox-left-ico
{
/*	background: #ff0000 !important; */
}

#fancybox-left:hover #fancybox-left-ico::after
{
/*	transform: translate(-50%, -50%) rotate(45deg) scale(0.9, 0.9);
	border-bottom: 2px solid #ffffff;
	border-left: 2px solid #ffffff; */
}

#fancybox-right:hover #fancybox-right-ico
{
/*	background: #ff0000 !important; */
}

#fancybox-right:hover #fancybox-right-ico::after
{
/*	transform: translate(-50%, -50%) rotate(45deg) scale(0.9, 0.9);
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff; */
}