/**
 * Section
 */
.sp-section {
	margin: 80px 0;
}

.sp-section * {
	font-size: 18px;
	line-height: 35px;	
}

/**
 * Button
 */
.entry-content a.sp-button,
a.sp-button {
	background: rgb(var(--special-projects-accent));
	color: rgb(var(--special-projects-button-text));
	display: table;
	font-size: 26px;
	font-weight: bold;
	line-height: 1;
	padding: 18px 45px;
	margin: 25px auto 0;
}

/**
 * Headline
 */
.sp-headline {
	color: rgb(var(--special-projects-headline));
	font-size: 28px;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 10px;
	position: relative;
}

.sp-headline--line:after {
    background: rgb(var(--special-projects-accent));
    bottom: 6px;
    content: "";
    height: 3px;
    right: calc(100% + 5px);
    position: absolute;
    width: 100px;
}

.sp-headline img {
	margin-bottom: 0;
}

.sp-headline--line.sp-headline--line-right:after {
	left: calc(100% - 50px);
	right: auto;
}

@media screen and (min-width: 992px) {
	.sp-headline {
		margin-bottom: 30px;
	}	
}

/**
 * Intro
 */
.sp-intro {
	display: flex;
	flex-direction: column;
	margin: 20px 0;
}

.sp-intro__content {
	order: 1;
}

.sp-intro__image {
	order: 0;
	margin-bottom: 20px;
	padding-bottom: 25px;
	position: relative;
}

.sp-intro__image:after {
	background: rgb(var(--special-projects-accent));
	bottom: 0;
	content: "";
	height: 25px;
	left: 0;
	position: absolute;
	width: 100%;
}

.sp-intro__image img {
	display: block;
	margin-bottom: 0;
}

#content .sp-intro__content p,
#content .sp-intro__content strong {
	font-size: 18px;
	line-height: 35px;
}

@media screen and ( max-width: 767px ){
	.sp-intro__image {
	    clear: both;
	    left: 50%;
	    margin-left: -50vw !important;
	    margin-right: -50vw !important;
	    max-width: none;
	    position: relative;
	    right: 50%;
	    width: 100vw !important;
	    max-width: none !important;	
	}	
}

@media screen and ( min-width: 768px ){
	.sp-intro {
		align-items: flex-start;
		flex-direction: row;
	}

	.sp-intro__image {
		flex-shrink: 0;
		margin-bottom: 0;
		width: 56%;
		margin-right: 6%;
	}	

	.sp-intro__image:after {
		width: 95%;
	}

	.sp-intro__content {
		padding-top: 30px;
	}
}

/**
 * Hero Slider
 */ 
.sp-hero-slider {
    clear: both;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none;
    position: relative;
    right: 50%;
    width: 100vw !important;
    max-width: none !important;		
}

.sp-hero-slider__title {
	text-align: center;
}

.sp-hero-slider__slides:after {
	content: "";
	clear: both;
	display: block;
}

.sp-hero-slider__slide-wrap {
	background-color: rgb(var(--special-projects-slider-background));	
}

.sp-hero-slider__slides:not(.slick-slider) .sp-hero-slider__slide {
	float: left;
	width: 100%;
	margin-right: -100%;
	opacity: 0;
}

.sp-hero-slider__slide.js-is-active {
	opacity: 1;
}

.sp-hero-slider__slide-bg {
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 60%;
	opacity: .5;
}

.sp-hero-slider__captions {
	background: rgb(var(--special-projects-accent));
	color: #fff;
	padding: 40px;
	overflow: hidden;
}

.sp-hero-slider__captions:after {
	content: "";
	clear: both;
	display: block;
}

.sp-hero-slider__caption {
	float: left;
	margin-right: -100%;
	width: 100%;
	opacity: 0;
	transition: 300ms opacity ease;
}

.sp-hero-slider__caption.js-is-active {
	opacity: 1;
}

.sp-hero-slider__caption-title {
	border-bottom:  1px solid #fff;
	font-weight: bold;
	margin-bottom:  15px;
	padding-bottom: 15px;
	font-size: 22px;
}

.sp-hero-slider__caption-content {
	line-height: 1.6;
}

.sp-hero-slider__nav {
	display: flex;
	margin-top: -60px;
	position: relative;
	z-index: 1;
	justify-content: center;
	padding-bottom: 10px;
}

.sp-hero-slider__nav-item {
	cursor: pointer;
	padding: 0 40px;
	opacity: 1;
}

.sp-hero-slider__nav-item img {
	display: block;
	margin-bottom: 0;
	width: 50px;
}

.sp-hero-slider__nav-item[data-dir="next"] {
	transform: rotate(-180deg);
}

@media screen and ( min-width: 992px ){
	.sp-hero-slider__nav {
		margin-top: -200px;
	}

	.sp-hero-slider__captions {
		max-width: 1000px;
		margin: 0 auto;
		position: relative;
		z-index: 1;
	}

	.sp-hero-slider__slide-bg {
		padding-bottom: 40%;
	}
}

/**
 * Grid Slider
 */
.sp-grid-slider {
    clear: both;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none;
    position: relative;
    right: 50%;
    width: 100vw !important;
    max-width: none !important;		
    overflow: hidden;
}

.sp-grid-slider__wrap {
	padding: 0 16px;
	max-width: 1160px;
	margin: 0 auto;
}

#content .sp-grid-slider p {
	font-size: 18px;
	line-height: 35px;
}

.sp-grid-slider__slides {
	position: relative;
}

.sp-grid-slider__slider:not(.slick-slider),
.sp-grid-slider__slider .slick-track {
	display: flex;
	margin: 20px -8px 0;	
}

.sp-grid-slider__slider:not(.slick-slider) .sp-grid-slider__slide {
	flex: 0 0 calc(50% - 16px);
}

.sp-grid-slider__slide-wrap {
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 0 8px;
}

.sp-grid-slider__slide-img {
	background-size: cover;
	background-position: center;
	padding-bottom: 202%;
	width: 100%;
}

.sp-grid-slider__slide-caption {
	font-size: 18px;
	font-style: italic;
}

.sp-grid-slider__nav {
	justify-content: left;
	display: none;
}

.sp-grid-slider__nav img {
	display: block;
	margin-bottom: 0;
}

.sp-grid-slider__nav-item[data-dir="prev"] {
	transform: rotate(180deg);
}

.sp-grid-slider .slick-list {
	overflow: visible;
}

@media screen and (min-width: 992px ){
	.sp-grid-slider__wrap {
		display: flex;
	}

	.sp-grid-slider__slider:not(.slick-slider),
	.sp-grid-slider__slider .slick-track {
		margin-top: 0;
 	}

	.sp-grid-slider__intro {
		background: #ffffff;
		display: flex;
		flex-direction: column;
		width: 30%;
		flex-shrink: 0;
		padding-right: 40px;
		z-index: 1;
		position: relative;
	}

	.sp-grid-slider__intro .sp-headline:after {
		display: none;			
	}

	.sp-grid-slider__intro:before {
		content: "";
		background: #ffffff;
		height: 100%;
		width: 100vw;
		position: absolute;
		top: 0;
		right: 100%;
	}

	.sp-grid-slider__nav {
		margin-top: 10px;
	}

	.sp-grid-slider__slides {
		width: 69%;
	}

	.sp-grid-slider__nav-item {
		cursor: pointer;
		opacity: .7;
		transform: 200ms opacity ease;
	}

	.sp-grid-slider__nav-item:hover {
		opacity: 1;
	}

	.sp-grid-slider__slides:after {
	    background: rgb(var(--special-projects-accent));
	    top: 14px;
	    content: "";
	    height: 3px;
	    left: -100px;
	    position: absolute;
	    width: 100px;
	    z-index: 1;
	}

	.sp-grid-slider__nav {
		display: flex;
	}
}

/**
 * Footer 
 */
.sp-footer {
    clear: both;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none;
    position: relative;
    right: 50%;
    width: 100vw !important;
    max-width: none !important;		
    overflow: hidden;
	border-top: 25px solid rgb(var(--special-projects-accent));
}

#content .sp-footer p {
	font-size: 18px;
	line-height: 35px;
}

.sp-footer__wrap {
	max-width: 1160px;
	margin: 0 auto;	
	padding: 50px 15px 0;
}

@media screen and ( min-width: 992px ){
	.sp-footer p {
		font-size: 24px;
		line-height: 50px;
	}	
}

.sp-intro__icon-list-item {
	display: flex;
}

.sp-intro__icon-list-item + .sp-intro__icon-list-item {
	margin-top: 15px;
}

.sp-intro__icon-list-item strong {
	display: block;
	font-weight: bold;
}

.sp-intro__icon-list-item img {
	width: 90px;
	margin-right: 20px;
	align-self: start;
}