/*
/*
	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-side-by-side {
	margin-bottom: 30px;
	padding-top: 30px;
}


@media (min-width: 640px) {
	.core-side-by-side {
		margin-bottom: 55px;
		padding-top: 55px;
	}
}

.core-side-by-side.full-width .slides {
	padding: 0 15px;
}

@media (min-width: 640px) {
	.core-side-by-side.full-width .slides {
		padding: 0;
	}
}

.core-side-by-side.slides-across-2 .slides {
	padding: 0 15px;
	max-width: 1190px;
}

@media (min-width: 1024px) {
	.core-side-by-side.slides-across-2 .slides {
		display: flex;
	}

	.core-side-by-side.slides-across-2 .slide > * {
		flex: 0 0 50%;
	}

	@supports (display: grid) {
		.core-side-by-side.slides-across-2 .slides {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 15px;
			margin: 0 auto;
		}
	}
}

.core-side-by-side .slide + .slide {
	margin-top: 15px;
}

@media (min-width: 1024px) {
	.core-side-by-side.slides-across-2 .slide + .slide {
		margin-top: 0;
	}
}

.core-side-by-side:not(.slides-across-2) .slide > .inner {
	margin: 0 auto;
	padding: 0 15px;
	max-width: 1190px;
}

.core-side-by-side.full-width .slide > .inner {
	padding: 0;
	max-width: 100%;
}

@media (min-width: 640px) {
	.core-side-by-side .slide > .inner {
		display: flex;
	}

	.core-side-by-side .slide > .inner > * {
		flex: 0 0 50%;
	}

	@supports (display: grid) {
		.core-side-by-side .slide > .inner {
			display: grid;
			grid-template-columns: 1fr 1fr;
		}
	}
}

/* This is for IE non-Grid specific styling */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.core-side-by-side .slide .img-cont {
		padding-bottom: 0;
		height: auto;
	}
}

.core-side-by-side .slide .content-section {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 640px) {
	.core-side-by-side .slide .content-section .inner {
		padding-left: 40px;
		width: 100%;
		max-width: 540px;
	}

	.core-side-by-side:not(.slides-across-2) .slide .content-section .inner {
		padding-right: 40px;
	}
}

.core-side-by-side .slide .img-cont {
	position: relative;
	margin-bottom: 18px;
	overflow: hidden;
}

@media (min-width: 640px) {
	.core-side-by-side .slide .img-cont {
		margin-bottom: 0;
	}
}

.core-side-by-side .slide .img-cont img {
	display: block;
	width: 100%;
}

.core-side-by-side .slide h4 {
	margin: 0;
	margin-bottom: 16px;
	font-weight: 800;
	font-size: 32px;
	line-height: 1.2;
	color: #0b467e;
}

.core-side-by-side .slide p {
	font-weight: 600;
	font-size: 16px;
	color: #0b467e;
}

.core-side-by-side .slide .read-more {
	display: inline-block;
	padding: 12px 25px;
	font-weight: 600;
	font-size: 16px;
	color: #fff;
	border-radius: 30px;
	background-color: #0b467e;
}