/*
	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-imagebox {
	margin-bottom: 48px;
	padding-top: 32px;
	color: #fff;
}

.core-imagebox .inner {
	position: relative;
}

.core-imagebox .img-cont {
	position: relative;
	overflow: hidden;
}

.core-imagebox .slide {
	margin-bottom: 10px;
}

@supports (display: grid) {
	.core-imagebox .slides {
		display: grid;
		gap: 10px;
		margin-bottom: 0;
	}
}

.core-imagebox:not(.full-width) .slides {
	max-width: 1190px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.core-imagebox .img-cont::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 75%;
	background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
	pointer-events: none;
}

.core-imagebox .img-cont img {
	width: 100%;
}

.core-imagebox .content-section {
	position: absolute;
	left: 15px;
	bottom: 15px;
	margin-right: 15px;
}

.core-imagebox .content-section h4,
.core-imagebox .content-section h4 a {
	font: 600 18px 'proxima-nova', sans-serif;
	line-height: 1.4em;
	color: white;
	margin-bottom: 5px;
}

.core-imagebox .content-section p {
	margin-bottom: 16px;
	font: 400 16px 'proxima-nova', sans-serif;
	line-height: 1.3em;
	color: white;
}

.core-imagebox .content-section .read-more {
	font: 700 16px 'proxima-nova', sans-serif;
	color: white;
}

@media (hover: hover) {
	.core-imagebox .content-section .read-more:hover {
		text-decoration: underline;
	}	
}

@media screen and (min-width: 640px) {
	@supports (display: grid) {
		.core-imagebox .slides {
			display: grid;
			gap: 10px;
		}

		.core-imagebox:not(.slides-across-1) .slides {
			grid-template-columns: 1fr 1fr;
		}
	}
}

@media screen and (min-width: 1024px) {
	@supports (display: grid) {
		.core-imagebox.slides-across-3 .slides {
			grid-template-columns: 1fr 1fr 1fr;
		}
	
		.core-imagebox.slides-across-4 .slides {
			grid-template-columns: 1fr 1fr 1fr 1fr;
		}
	}

	.core-imagebox .content-section {
		left: 32px;
		bottom: 32px;
		margin-right: 32px;
	}
}

/* Internet Explorer Fallback */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 640px) {
	.core-imagebox:not(.slides-across-1) .slides {
		display: flex;
		flex-wrap: wrap;
	}

	.core-imagebox:not(.slides-across-1) .slide {
		width: 50%;
	}

	.core-imagebox .slide {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 1024px) {
	.core-imagebox.slides-across-2 .slide {
		width: 50%;
	}

	.core-imagebox.slides-across-3 .slide {
		width: 33.33333%;
	}

	.core-imagebox.slides-across-4 .slide {
		width: 25%;
	}

	.core-imagebox .slide {
		padding-left: 20px;
		padding-right: 20px;
	}
}