/*
 * This is a globally available SCSS project file.
 * It contains project specific utilities (variables, mixins, functions) that don't! output CSS by default.
 * We use it to be imported in a webpack loader to avoid having to import these in each separate file.
 *
 * This file is used next to "seng-scss" which is imported globally as well and contain the default mixins/vars/functions
 */
/**
 * Asset URL builder
 *
 * @param {String} $type - Asset type, matching folder name
 * @param {String} $file - Asset file name, including extension
 *
 * @return {URL} - A `url()` function leading to the asset
 */
/*
 * Font asset helper
 * @access public
 * @param {String} $file - Asset file name, including extension
 * @return {URL} - A `url()` function leading to the font
 * @require {function} asset
 */
/*
 * Get Font weight
 *
 * @param {String} $weight - The name of the weight you need
 *
 * @return {Number} - The CSS based font weight on the name
 */
/**
 * Z-Index function
 *
 * @param {string} $list (Array) - The list to find the current z-index in
 * @param {string} $element (String) - The name of the current element, must be in the $list
 *
 * @returns {number}
 */
/**
 * Get EM size of a value based on a base size
 *
 * @param {Number} $value - The value you need the EM value from
 * @param {Number} $base - The base value where the $value is calculated upon
 *
 * @return {EM Value} - The EM value based on $value and $base
 */
/**
 * Font Face
 *
 * @param {string} $fontName - Name of the font
 * @param {string} $folderName - Subfolder inside the fonts folder
 * @param {string} $fileName - Name of the font-file
 * @param {string} $fontWeight (normal) - Font weight value
 * @param {string} $fontStyle (normal) - Font style value
 */
/**
 * Respond To (Breakpoint)
 *
 * @param {string} $name - Name of the breakpoint used in $breakpoints
 */
/**
 * Aspect ratio, create a :before pseudo element for setting an aspect ratio on an element
 *
 * @param {number} $width (1) - Percentage width
 * @param {number} $height ($width) - Percentage height
 * @param {boolean} $relative (true) - Add relative position to element
 */
/**
 * Hover Mixin for applying :hover pseudo styles
 *
 * Add your own implementation for showing hovers
 * Example using Modernizr touch check: html.no-touch &:hover { @content; }
 * Leaving it to just :hover by default. But best practice to always use the mixin
 *
 * @param $extraSelector:string (optional) = an extra selector that can have the same styles as a hover (for mobile/active state)
 */
/**
 * Offset
 *
 * @param {number} $top (0) - Top Offset
 * @param {number} $left (0) - Left Offset
 */
/**
 * Position mixin for setting absolute position values
 *
 * The mixin can have multiple arguments providing a number
 * @param {number} $top (0) - Top Position
 * @param {number} $right ($top) - Right Position
 * @param {number} $bottom ($top) - Bottom Position
 * @param {number} $left ($right) - Left Position
 *
 * Or a map of multiple positions
 * @param {map} $args... - A map containing multiple positions (top: 1px, left: 1px)
 */
/**
 * Set pseudo elements styles that are used mostly (content, display, position)
 *
 * @param {display} $display (block)
 * @param {position} $position (absolute)
 * @param {string} $content ('')
 */
/**
 * Size an Element
 *
 * @param {number} $width (1em) - Width of the element
 * @param {number} $height ($width) - Height of the element
 */
.ne05-event-news-cards {
	padding-top: 64px;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.ne05-event-news-cards .event-news-cards__row {
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.ne05-event-news-cards .event-news-cards__wrap {
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	position: relative;
	z-index: 1;
	margin-bottom: 160px;
}

.ne05-event-news-cards .event-news-cards__wrap.even {
	margin-bottom: 200px;
}

.ne05-event-news-cards .event-news-cards__wrap li {
	-webkit-flex-basis: calc(50% - 4px);
	    -ms-flex-preferred-size: calc(50% - 4px);
	        flex-basis: calc(50% - 4px);
	margin-bottom: 8px;
	display: none;
	padding: 0;
}

.ne05-event-news-cards .event-news-cards__wrap li.is-active {
	display: block;
}

.ne05-event-news-cards .event-news-cards__wrap li:nth-child(2n) {
	margin-left: 8px;
	-webkit-transform: translateY(-40px);
	        transform: translateY(-40px);
}

.ne05-event-news-cards .event-news-cards__wrap li:nth-child(9n), .ne05-event-news-cards .event-news-cards__wrap li:last-child {
	-webkit-transform: translateY(-40px);
	        transform: translateY(-40px);
}

.ne05-event-news-cards .event-news-cards__wrap li picture::before {
	padding-top: 150%;
}

.ne05-event-news-cards .event-news-cards__wrap li picture::after {
	display: none !important;
}

.ne05-event-news-cards .event-news-cards__wrap li .card__label {
	top: 8px;
}

.ne05-event-news-cards .event-news-cards__wrap li .card__note {
	line-height: 16px;
	right: 8px;
}

.ne05-event-news-cards .event-news-cards__wrap li .card__description {
	padding: 0 24px 16px 8px;
}

.ne05-event-news-cards .event-news-cards__wrap.even-page li:nth-child(2n) {
	margin-left: 0;
	-webkit-transform: translateY(0);
	        transform: translateY(0);
}

.ne05-event-news-cards .event-news-cards__wrap.even-page li:nth-child(2n - 1) {
	margin-left: 8px;
	-webkit-transform: translateY(-40px);
	        transform: translateY(-40px);
}

.ne05-event-news-cards .event-news-cards__wrap.even-page li:nth-child(9n) {
	-webkit-transform: translateY(-40px);
	        transform: translateY(-40px);
}

.ne05-event-news-cards .event-news-cards__bg {
	height: 230px;
	width: 100%;
	background-color: #fff;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap {
	height: 360px;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0;
	background-color: #f3f4f8;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap::before {
	content: "";
	display: block;
	position: absolute;
	height: 230px;
	width: 105px;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22110%22%20height%3D%22342%22%3E%0A%20%20%3Cpath%20fill%3D%22%23f3f4f8%22%20fill-rule%3D%22evenodd%22%20d%3D%22M110.3%200l-.2.1c-17.2%200-32.4%2011-37.9%2027.2L0%20242.1V0h110.3z%22%20%2F%3E%0A%3C%2Fsvg%3E");
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	-webkit-transform: scaleY(-1);
	        transform: scaleY(-1);
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .event-news-cards__pagination {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-top: 40px;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-num-wrap {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-num:not(.primary-button),
.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-dot,
.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-disabled:not(.primary-button) {
	height: 48px;
	width: 48px;
	line-height: 48px;
	border-radius: 10px;
	display: inline-block;
	text-decoration: none;
	text-align: center;
	color: #171717;
	font-size: 16px;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-prev, .ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-next {
	line-height: 0;
	height: 48px;
	width: 48px;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-prev span, .ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-next span {
	pointer-events: none;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-prev {
	-webkit-transform: scaleX(-1);
	        transform: scaleX(-1);
	margin-right: 8px;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-next {
	margin-left: 8px;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-dot {
	background: none;
	border: 0;
	font-weight: bolder;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-num-active {
	background-color: #fff;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-disabled {
	background-color: #c7c8cb;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-disabled:hover {
	background-color: #c7c8cb;
}

.ne05-event-news-cards .event-news-cards__pagination-wrap .pagination-disabled:hover span {
	-webkit-animation: none;
	        animation: none;
}

.ne05-event-news-cards.color-inverse {
	background-color: #f3f4f8;
}

.ne05-event-news-cards.color-inverse .event-news-cards__pagination-wrap::before {
	-webkit-transform: none;
	        transform: none;
}

.ne05-event-news-cards.no-pagination .event-news-cards__wrap {
	margin-bottom: 30px;
}

.ne05-event-news-cards.no-pagination .event-news-cards__wrap.even {
	margin-bottom: 70px;
}

.ne05-event-news-cards.no-pagination .event-news-cards__pagination-wrap {
	height: 230px;
}

@media (min-width: 768px) {
	.ne05-event-news-cards {
		padding-top: 64px;
		padding-bottom: 194px;
	}
	.ne05-event-news-cards .event-news-cards__wrap {
		-webkit-box-pack: start;
		-webkit-justify-content: flex-start;
		    -ms-flex-pack: start;
		        justify-content: flex-start;
		padding: 0;
		width: 90%;
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 auto;
		    -ms-flex: 0 0 auto;
		        flex: 0 0 auto;
		max-width: inherit;
	}
	.ne05-event-news-cards .event-news-cards__wrap.even-page li:nth-child(2n - 1) {
		margin-left: 0;
		-webkit-transform: translateY(0);
		        transform: translateY(0);
	}
	.ne05-event-news-cards .event-news-cards__wrap.even-page li:nth-child(9n) {
		-webkit-transform: translateY(0);
		        transform: translateY(0);
	}
	.ne05-event-news-cards .event-news-cards__wrap li {
		margin-bottom: 0;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card {
		padding: 0 8px 16px;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:nth-child(2n) {
		margin-left: 0;
		-webkit-transform: translateY(0);
		        transform: translateY(0);
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:nth-child(9n), .ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:last-child {
		-webkit-transform: translateY(0);
		        transform: translateY(0);
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:nth-child(3n+2) {
		-webkit-transform: translateY(160px);
		        transform: translateY(160px);
		margin-left: 0;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:nth-child(3n+1) {
		margin-left: 0;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card:nth-child(3n) {
		-webkit-transform: translateY(40px);
		        transform: translateY(40px);
		margin-right: 0;
		margin-left: 0;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card picture::before {
		padding-top: 150%;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card .card__label {
		top: 16px;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card .card__note {
		line-height: 40px;
		right: 24px;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card .card__description {
		padding: 0 24px 24px 16px;
	}
	.ne05-event-news-cards.no-pagination .event-news-cards__wrap {
		margin-bottom: 110px;
	}
	.ne05-event-news-cards.color-inverse .event-news-cards__bg {
		height: 460px;
	}
	.ne05-event-news-cards.color-inverse .event-news-cards__pagination-wrap {
		height: 460px;
	}
	.ne05-event-news-cards.color-inverse .event-news-cards__pagination-wrap::before {
		height: 460px;
		width: 210px;
	}
	.ne05-event-news-cards .pagination-num-wrap .pagination-num:not(.primary-button),
	.ne05-event-news-cards .pagination-num-wrap .pagination-dot,
	.ne05-event-news-cards .pagination-num-wrap .pagination-disabled:not(.primary-button) {
		height: 56px;
		width: 56px;
		line-height: 56px;
	}
	.ne05-event-news-cards .pagination-num-wrap .pagination-prev, .ne05-event-news-cards .pagination-num-wrap .pagination-next {
		height: 56px;
		width: 56px;
	}
	.ne05-event-news-cards .pagination-num-wrap .pagination-prev {
		margin-right: 24px;
	}
	.ne05-event-news-cards .pagination-num-wrap .pagination-next {
		margin-left: 24px;
	}
}

@media (min-width: 1024px) {
	.ne05-event-news-cards {
		padding-top: 120px;
	}
	.ne05-event-news-cards .event-news-cards__wrap {
		margin-bottom: 190px;
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 75%;
		    -ms-flex: 0 0 75%;
		        flex: 0 0 75%;
		max-width: 75%;
	}
	.ne05-event-news-cards .event-news-cards__wrap li.event-news-cards__card {
		padding: 0 12px 24px;
	}
}
