/* EVENT SLIDER */
div.event-slider-wrapper {
	position: relative;
	margin-bottom: 100px;
}
div.event-slider-wrapper .slide-holder {
	margin-left: 0;
}
.event-slider-header {
	position: absolute;
	left: 53%;
	z-index:  10;
}
.event-slider-header h2 {
	font-family: var(--font-header);
	font-weight: 600;
	font-size: 65px;
	line-height: 67px;
}
.event-slider-header a {
	font-size:  20px;
	line-height: 22px;
	font-family: var(--font-body);
}
.event-slider-header i.fa {
	color: var(--color-teal);
	margin-right: 5px;
}
section.event-slider {
	position: relative;
	display: flex; 
	align-items: flex-start;
	margin-bottom:  0;
	z-index: 5;
}
.event-slider-wrapper .imgcont {
	height: 100%;
}
article.event-item {
	display: flex;
	position:  relative;
	flex-flow: column-reverse;
	align-items: flex-start;
	justify-content: flex-end;
	margin-right: 20px;
	z-index:  2;
	background-color:  var(--white);
	box-shadow: 0px 20px 30px rgba(35, 35, 35, 0.1);
	border-radius: 10px;
	width: 44%;
	float:  left;
	opacity: 1;
	transition-property: margin-top, opacity;
	transition-timing-function: ease;
	transition-duration: .8s ;
}
.event-slider .event-item:nth-child(2) {
	margin-top: 10%;
	margin-left: 8%;
}
.arrowContEvents {
	position: absolute;
	bottom: -35px;
	z-index: 5;
}
.arrowContEvents button {
	position: absolute;
	/* top: calc(50% + 12px); */
	left: 15%;
}
.arrowContEvents button.event-next {
	left: auto;
	right: 15%;
}
.arrowContEvents .fa {
	font-size: 20px;
	color: var(--color-teal)
}
div.event-slider-background {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 300px;
	background-color: var(--color-light-blue);
}
div.event-slider-background .row {
	height: 100%;
	position:  relative;
}
div.event-slider-background .row::before {
	content: "";
	/* background-image: url(/includes/public/assets/images/stripes-cool.svg); */
	background-size: 200%;
	background-position: center;
	height: 150px;
	width: 300px;
	position: absolute;
	border-radius: 300px 300px 0px 0px;
	overflow: hidden;
	top: -150px;
	left: 0;
	z-index: -1;
}
div.event-slider-background .row::after {
	content: "";
	/* background-image: url(/includes/public/assets/images/dots-warm.svg); */
	background-size: 100%;
	background-position: center;
	height: 150px;
	width: 300px;
	position: absolute;
	overflow: hidden;
	bottom: -150px;
	right:  50%;
	z-index: -1;
}
.event-item .description-container {
	display: block;
	flex: none;
	padding: 0 20px 20px;
	max-width: 320px;
}
.event-item .description-container dt {
	font-family: var(--font-header);
	font-size: 25px;
	line-height: 32px;
	margin-bottom: 15px;
}
.event-item .description-container dd {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 20px;
	margin-bottom: 6px;
}
.event-item .event-date {
	position: relative;
	display: flex;
	flex-flow: column;
	align-items:  center;
	z-index:  5;
	padding: 15px 50px;
	margin:  -63px -20px 20px;
}
.event-item .event-date {
	background-color: var(--color-teal);
}

.event-item .event-date .month {
	font-size: 18px;
	font-family: var(--font-header);
	color: var(--white);
	font-weight: bold;
	text-transform: uppercase;
	line-height: 20px;
	text-align: center;
}
.event-item .event-date .day {
	font-size: 50px;
	font-family: var(--font-header);
	color: var(--white);
	font-weight: bold;
	text-transform: uppercase;
	line-height: 52px;
	text-align: center;
}
.event-item .imgcont img {
	border-radius: 10px 10px 0 0;
}

section.event-slider {
	display: none;
}
.event-slider.active {
	display: flex;
}
.event-slider.processing {
	position: absolute;
	top: 0;
	left: 15px;
	width: calc(100% - 30px);
	display: flex;
}
.event-slider .event-item.filler-item {
	opacity: 0;
	pointer-events:none;
}
.event-slider.processing .event-item:nth-child(1) {
	margin-top: -100%;
	opacity:0;
}
.event-slider.processing .event-item:nth-child(2) {
	margin-top: 100%;
	opacity:0;
}

@media only screen and (max-width: 64em) {
	section.event-slider {
		margin-bottom: 0;
		padding: 25px 35px 0px;
	}
	div.event-slider-background {
		top: 45%;
		height: 173px;
	}
	.event-item .event-date {
		padding: 10px 30px;
	}
	.event-slider-header {
		position: absolute;
		left: calc(50% + 15px);
	}
	.event-slider-header h2 {
		font-size: 50px;
		line-height: 55px;
	}
	.event-slider .event-item:nth-child(2) {
		margin: 0;
		margin-top: 10%;
		margin-left: 8%;
	}
	.event-item .description-container dt {
		font-size: 18px;
		line-height: 20px;
		margin-bottom:  10px;
	}
	.event-item .description-container dd {
		font-family: var(--font-body);
		font-size: 16px;
		line-height: 18px;
		margin-bottom: 3px;
	}
	.event-item .event-date .month {
		font-size: 12px;
		line-height: 16px;
	}
	.event-item .event-date .day {
		font-size: 32px;
		line-height: 34px;
	}
	div.event-slider-background .row::after {
		background-size: 100%;
		background-position: center;
		height: 100px;
		width: 25%;
		bottom: -107px;
		background-repeat: no-repeat;
		background-position-y: -5px;
	}
	.arrowContEvents {
		bottom: 0px;
		left: 40px;
	}
	.arrowContEvents img {
		transform: scale(.75);
	}
	.arrowContEvents button {
		position: absolute;
		/* top: calc(50% + 0px); */
		left: 20%;
	}
	.arrowContEvents button.event-next {
		left: auto;
		right: 20%;
	}
	.arrowContEvents .fa {
		font-size: 18px;
		color: var(--color-teal);
	}
}
@media only screen and (max-width: 64em) and (min-width: 40em) {
	.arrowContEvents {
		bottom: -30px;
	}
}
@media only screen and (max-width: 40em) {
	div.event-slider-background .row::before {
		display: none;
	}
	.event-slider-header {
		position: static;
		padding: 0px 35px;
		margin-bottom: 12px;
	}
	.event-slider-header h2 {
		font-size: 40px;
		line-height: 45px;
		text-align: left;
	}
	.event-slider-header a {
		font-size:  18px;
		line-height:  20px;
	}
	.event-slider .event-item:nth-child(2) {
		display: none;
	}
	.event-slider .event-item:nth-child(-n+1) {
		display: flex;
	}
	section.event-slider {
		padding: 0;
		margin: auto;
		width: 93%
	}
	.event-slider .event-item {
		margin: 0 auto;
		width: 100%;
	}
	.event-slider-wrapper {
		margin-bottom: 100px;
	}
	.arrowContEvents {
		top: -81px;
		left: 50%;
		transform: translateX(-50%);
		bottom: auto;
		z-index: 1;
	}
}
