/*------------------------------------*\
    
    WebFX Slick Customizations - Global styling for all slider/carousels

    Add custom slider styling to this file if it should be applied to all slick sliders on the site
    Otherwise, put your slider-specific styles in individual block stylesheets

\*------------------------------------*/

/* Preloader affect for your slider */

/* Add class 'slider-has-preloader' to slider to show  */
.slider-has-preloader:not(.slick-initialized) {
	position: relative;
}

.slider-has-preloader:not(.slick-initialized) > .fx-slide {
	opacity: 0;
}

.slider-has-preloader:not(.slick-initialized):before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 3px solid;
	border-color: transparent #af231c;
	animation: 1s sliderLoad infinite linear;
}

@keyframes sliderLoad {
	0% {
		transform: translate3d(-50%, -50%, 0) rotateZ(0);
	}

	100% {
		transform: translate3d(-50%, -50%, 0) rotateZ(360deg);
	}
}

/* Only show the 1st slide while your slider is loading - Utility Classes
NOTE: Add the .fx-slider class to the wrapper that is holding your entire slider.
NOTE: Add the .fx-slide class to the wrapper of each individual slide.
Guru: https://app.getguru.com/card/ixR67EpT/Slick-Slider
*/

.fx-slider .fx-slide {
	display: none;
}

.fx-slider .fx-slide:first-child {
	display: block;
}

.fx-slider.slick-initialized .fx-slide {
	display: block;
}

.slick-arrow {
	position: absolute;
	bottom: 0;
	font-size: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	width: 32px;
	height: 32px;
	z-index: 1;
	color: #2a3b46;
}

.slick-next {
	right: 50%;
	margin-right: -40px;
}

.slick-prev {
	left: 50%;
	margin-left: -40px;
}

.slick-arrow:before {
	font-size: 32px;
	line-height: 1em;
	font-family: "old-north-icon";
}

.slick-next:before {
	content: "\e90c";
}

.slick-prev:before {
	content: "\e906";
}

.slick-arrow:hover {
	color: #1a252c;
}

@media (min-width: 768px) {
	.slick-arrow {
		width: 40px;
		height: 40px;
	}

	.slick-arrow:before {
		font-size: 40px;
	}
}

/* Slick dots */

.slick-dots {
	display: flex;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100% !important;
	margin: 0;
	padding: 0;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.slick-dots li {
	margin: 0 0;
	padding: 0;
}

.slick-dots li:before {
	display: none;
}

.slick-dots li button {
	font-size: 0;
	background: #ffffff;
	width: 16px;
	height: 16px;
	border: none;
	position: relative;
	border-radius: 50%;
	padding: 0;
}

.slick-dots li.slick-active button {
	width: 20px;
	height: 20px;
	background: #2a3b46;
}
