/*
	README

	Do NOT modify this file directly; a number of widgets depend on this file being as is.
	Use the CSS file that is associated with your widget
	(ie. template: widget_template_custom_my_widget.html, CSS: widget_template_custom_my_widget.css)
	to make any theme-ing or overwrites you need.

	If you need to make significant changes such that overwriting would be complicated
	consider not using a different component from the Core Collection Library or
	not using the Core Component Library altogether.

	If you still feel the need to edit this file, copy/paste this CSS into a different file
	and use that instead.
*/

.core-preview-slider {
	margin-top: 5px;
}
.core-preview-slider .slick-list {
	padding: 0 20px !important;
}

@media (min-width: 40em) {
	.core-preview-slider .slick-list {
		padding: 0 130px !important;
	}	
}

@media (min-width: 69em) {
	.core-preview-slider .slick-list {
		padding: 0 280px !important;
	}	
}



.core-preview-slider .slick-slider:not(.slick-initialized) {
	max-height: 400px;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	pointer-events: none;
}

.core-preview-slider .arrow-cont {
	--arrow-offset:  20px;
	position: absolute;
	z-index: 10;
	top: 30%;
	left: 50%;
	width: calc(100% - var(--arrow-offset));
	/* height: 100%; */
	transform: translateX(-50%);
	pointer-events: none;
	display: flex;
	justify-content: space-between;
}

.core-preview-slider .slider-cont {
	position: relative;
}

.core-preview-slider .arrow-cont .custom-arrow {
	pointer-events: all;
}

.core-preview-slider .arrow-cont .custom-arrow .arrow-inner {
	--diameter: 40px;
	width: var(--diameter);
	height: var(--diameter);
	background-color: var(--white);
	border-radius: var(--rounded-circle);
	display: flex;
	justify-content: center;
	align-items: center;
}
.core-preview-slider .arrow-cont .custom-arrow img {
	--arrow-height: 16px;
	--arrow-width: 15px;
	--arrow-multiplier: 1.5;
	width: calc(var(--arrow-width) * var(--arrow-multiplier));
	height: calc(var(--arrow-height) * var(--arrow-multiplier));
}

@media (min-width: 40em) {
	.core-preview-slider .arrow-cont {
		--arrow-offset: 230px;
	}

	.core-preview-slider .arrow-cont.contained {
		width: calc(100% - 180px);
	}
}

@media (min-width: 69em) {
	.core-preview-slider .arrow-cont {
		--arrow-offset: 60px;
	}	
	.core-preview-slider .arrow-cont .custom-arrow .arrow-inner {
		--diameter: 60px;
	}

	.core-preview-slider .arrow-cont .custom-arrow img {
		--arrow-multiplier: 1.75;
	}
	.core-preview-slider .slider-cont {
		position: relative;
		margin-top: -7%;
        position: relative;
        -webkit-mask-image: url(/includes/public/assets/shared/wave-mask.png);
                mask-image: url(/includes/public/assets/shared/wave-mask.png);
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-size: 100% auto;
                mask-size: 100% auto;
        -webkit-mask-position: top center;
                mask-position: top center;
    }
}

.core-preview-slider .arrow-cont > .inner {
	position: relative;
	padding-bottom: calc(174 / 260 * 100%);
	width: 100%;
	height: 0;
}

@media (min-width: 40em) {
	.core-preview-slider .arrow-cont > .inner {
		padding-bottom: 0;
		height: 100%;
	}
}

@media (min-width: 69em) {
	.core-preview-slider .arrow-cont.contained > .inner {
		padding-bottom: calc(450 / 1160 * 100%);
	}
}



@media (min-width: 40em) {
	.core-preview-slider .arrow-cont .custom-arrow {
		top: 25%;
	}
}

@media (min-width: 69em) {
	.core-preview-slider .arrow-cont.contained .custom-arrow {
		top: 50%;
	}
}

.core-preview-slider .arrow-cont .custom-arrow.prev {
	left: 0;
}

.core-preview-slider .arrow-cont .custom-arrow.next {
	right: 0;
}

@media (min-width: 69em) {
	.core-preview-slider .arrow-cont .custom-arrow.prev {
		left: 19px;
	}
	
	.core-preview-slider .arrow-cont .custom-arrow.next {
		right: 19px;
	}
}

.core-preview-slider .slide {
	padding: 0 2.5px;
}

.core-preview-slider .slide > .inner {
	position: relative;
}

.core-preview-slider .slide .content-section {
    position: absolute;
    z-index: 2;
    padding: 35px 20px;
    bottom: 0;
}

.core-preview-slider .slide .content-section h4,
.core-preview-slider .slide .content-section h4 a {
    font-size: 24px;
    font-family: 'Mundo Sans W01 Medium';
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.core-preview-slider .slide .content-section .description {
    margin-bottom: 15px;
    font-family: 'Mundo Sans W01 Regular', sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

.core-preview-slider .slide .content-section .content-button {
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 100px;
    background-color: #1d4357;
    color: #fff;
    padding: 5px 20px;
    font-family: 'Mundo Sans W01 Medium';
    font-size: 14px;
    transition: margin .35s ease, color .2s ease, background-color .35s ease, padding .35s ease;
}

.core-preview-slider .slide .content-section .content-button:hover {
    margin-top: 10px;
    padding-right: 39px;
    padding-left: 39px;
    background-color: #32bbab;
    color: #1d4357;
}

.core-preview-slider .slide.overlap-image .img-cont {
	position: relative;
	overflow: hidden;
}

.core-preview-slider .slide.overlap-image .img-cont::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}

.core-preview-slider .slide img {
	display: block;
	width: 100%;
}