/*
	Replace the default lazy loading animation
	------------------------------------------
*/
@keyframes skeleton-loading
{
	to
	{
		background-position-x: -200%;
	}
}

#category_navigation .swiper-lazy-preloader
{
	z-index: 2 !important;
	top: 0 !important;
	left: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	transform: translateZ(0) !important;
	/* 	NOTE:
		First and last colours are overall background and should be the same, middle colour is the sliding line that goes across the screen,
		it should be a bit lighter than the main background colour
	*/
    background: linear-gradient(to right, #343538 8%, #343538 18%, #27292b 33%);
    border-radius: 5px !important;
    background-size: 200% 100% !important;
    animation: 2000ms skeleton-loading linear infinite !important;
}

/* Hide the swiper spinner gif */
#category_navigation .swiper-lazy-preloader::after
{
	display: none !important;
}
/*
	------------------------------------------
	Replace the default lazy loading animation
*/

#category_navigation
{
	position: relative;
	margin-top: 60px;
	margin-bottom: 60px;
	padding-bottom: 15px;
	overflow: hidden;
}

#category_navigation .swiper-scrollbar-drag
{
	background-color: #15181D;
}

#category_navigation .swiper-scrollbar
{
	height: 8px;
	background: #3F4248;
}

#category_navigation .swiper-slide > div
{
	position: relative;
	display: block;
	height: 100px;
	width: 100%;
	text-decoration: none;
	margin: 0 10px 10px 0;
	background-color: #23272D;
	background-size: cover;
	cursor: pointer;
}

#category_navigation .swiper-slide:hover > div
{
	background-color: #61674B;
}

/* #category_navigation .swiper-slide > div::before
{
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	opacity: 0.65;
	transition: opacity 200ms;
}

#category_navigation .swiper-slide > div:hover::before
{
	opacity: 0.8;
} */

#category_navigation .swiper-slide > div .name
{
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px;
	font-family: 'lato', sans-serif;
	font-size: 14pt;
	letter-spacing: 1px;
	color: #ffffff;
}

@media screen and (max-width:480px)
{
	#category_navigation .swiper-slide > div .name
	{
		font-size: 13pt;
	}
}

/* #gallery_output_container
{ */
	/* margin-bottom: 35px; */
	/* overflow: hidden; */
	/* width: 2000px !important; */
	/* margin: 0 auto;
    width: 100%;
    max-width: 2000px;
    height: 500px;
    display: flex;
    align-items: center; */
/* 
} */

#gallery_output_container::after
{
	content: '';
	display: block;
	clear: both;
}

#gallery_description_container
{
	margin-bottom: 15px;
}

#gallery_description_container h2
{
	margin: 0;
	padding: 0;
}

#gallery_output_container .gallery-items-container
{
	position: relative;
}

#gallery_output_container .gallery-sizer,
#gallery_output_container .gallery-item
{
	width: 25%;
}

#gallery_output_container .gallery-item
{
	float: left;
	border: 5px solid transparent;
	cursor: pointer;
	/* width: 100%;
	max-width: 270px;
	max-height: 420px;
	margin-bottom: 30px;
	overflow: hidden;
	cursor: pointer; */
	/* flex-grow: 1; */
    /* height: 500px; */
    /* position: relative;
    display: flex;
    transition: all 300ms ease-in-out;
    justify-content: center;
    align-items: center;
    width: 25%; */
}

#gallery_output_container .gallery-item
{
	display: block;
	max-width: 100%;
}

#gallery_output_container .gallery-item::before
{
	content: "\f065";
	position: absolute;
	z-index: 5;
	bottom: 10px;
	right: 10px;
	font-family: font_awesome;
	color: #ffffff;
	font-size: 16pt;
	opacity: 0;
	transition: opacity 200ms;
}

#gallery_output_container a.loading::after
{
	content: "";
	position: absolute;
	z-index: 10 !important;
	top: 0 !important;
	left: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	transform: translateZ(0) !important;
    background: linear-gradient(to right, #c6c8c9 8%, #ebedee 18%, #c6c8c9 33%);
    border-radius: 5px !important;
    background-size: 200% 100% !important;
    animation: 2000ms skeleton-loading linear infinite !important;
}

#gallery_output_container .gallery-item:not(.loading)::after
{
	/* content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	opacity: 1;
	transition: opacity 200ms; */
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgb(0, 0, 0) -10%, transparent 100%);
    width: 100%;
    height: 37%;
    z-index: 0;
}

/* #gallery_output_container .gallery-item:hover::before,
#gallery_output_container .gallery-item:not(.loading):hover::after
{
	opacity: 1;
} */

#gallery_output_container .gallery-item span.text-container
{
	position: absolute;
	z-index: 4;
	bottom: 0;
	left: 0;
	padding: 15px 40px 15px 15px;
	display: flex;
	flex-flow: column nowrap;
	width: 100%;
}

/* #gallery_output_container .gallery-item.has-text span.text-container
{
	background: rgba(0,0,0,0.6);
} */

#gallery_output_container .gallery-item span.text-container span.caption
{
	font-size: 16pt;
    color: #ffffff;
    margin-bottom: 19px;
	font-family: 'lato_medium', sans-serif;
    position: absolute;
    bottom: 0;
    transition: bottom .5s ease;
}

@media screen and (max-width:991px)
{
	#gallery_output_container .gallery-item span.text-container span.caption
	{
		font-size: 14pt;
		padding-bottom: 5px;
	}
}

#gallery_output_container .gallery-item:hover span.text-container span.caption
{
	bottom: 20px;
}

#gallery_output_container .gallery-item span.text-container span.description
{
	font-size: 12pt;
	color: #ffffff;
	opacity: 0;
    transition: opacity .5s ease-in;
	font-family: 'lato_medium', sans-serif;
}

#gallery_output_container .gallery-item:hover span.text-container span.description
{
	opacity: 1;
}

@media screen and (max-width:991px)
{
	#gallery_output_container .gallery-item span.text-container span.description
	{
		opacity: 1;
		position: relative;
		bottom: -12px;
	}

	#gallery_output_container .gallery-item:hover span.text-container span.caption
{
	bottom: 0;
}
}

#gallery_output_container .gallery-item span.text-container span.link-text
{
	font-weight: bold;
	font-size: 10pt;
	color: #ffffff;
}

@media screen and (max-width:991px)
{
	#gallery_output_container
	{
		width: 100% !important;
	}

	#gallery_output_container .gallery-item
	{
		display: block;
		float: none;
		right: 0;
		margin: 0 auto 30px auto;
		width: 100%;
	}
}

/* Lightbox Styles */
.sl-overlay
{
	background: #000000;
	opacity: 0.8;
}

.sl-wrapper .sl-close
{
	font-size: 28pt;
	color: #ffffff;
}

.sl-wrapper .sl-counter
{
	font-size: 16pt;
	color: #ffffff;
}

.sl-wrapper .sl-navigation button.sl-prev,
.sl-wrapper .sl-navigation button.sl-next
{
	font-size: 30pt;
	color: #ffffff;
	/* display: block !important; */
}

.sl-wrapper .sl-image .sl-caption
{
	font-size: 16pt;
}

.sl-wrapper .sl-image .description
{
	font-size: 12pt;
}

.sl-wrapper .sl-image .lightbox-link
{
	margin-top: 10px;
}

.sl-wrapper .sl-image a:link,
.sl-wrapper .sl-image a:active,
.sl-wrapper .sl-image a:visited
{
	font-size: 12pt;
}

@media screen and (max-width:1200px)
{
	.sl-wrapper .sl-close
	{
		right: 20px;
    	top: 80px;
	}
}

#debug_line
{
	position: fixed;
	z-index: 999999;
	right: 0;
	width: 500px;
	height: 1px;
	background-color: red;
}

/********************************************************************
 /$$$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$$$  /$$$$$$  /$$$$$$$$ /$$$$$$
| $$_____/| $$_____/| $$_____/| $$_____/ /$$__  $$|__  $$__//$$__  $$
| $$      | $$      | $$      | $$      | $$  \__/   | $$  | $$  \__/
| $$$$$   | $$$$$   | $$$$$   | $$$$$   | $$         | $$  |  $$$$$$
| $$__/   | $$__/   | $$__/   | $$__/   | $$         | $$   \____  $$
| $$      | $$      | $$      | $$      | $$    $$   | $$   /$$  \ $$
| $$$$$$$$| $$      | $$      | $$$$$$$$|  $$$$$$/   | $$  |  $$$$$$/
|________/|__/      |__/      |________/ \______/    |__/   \______/
********************************************************************/
@keyframes fadein
{
    from
    {
    	opacity: 0;
    }

    to
    {
    	opacity: 1;
    }
}

.fade-in
{
	opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 800ms;
}

@media screen and (min-width:480px)
{
	.fade-1
	{
		animation-delay: 100ms;
	}

	.fade-2
	{
		animation-delay: 150ms;
	}

	.fade-3
	{
		animation-delay: 200ms;
	}

	.fade-4
	{
		animation-delay: 250ms;
	}
}