
body.content.path-sbb.reiseziele .custom-nav .dropdown-dx.reiseziele .dropdown-toggle-dx .nav-title:after {
	content: "";
	display: block;
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 3px;
	height: 2px;
	transition-duration: .2s;
	background-color: #ffffff;
}
body.content.path-sbb .hero-slider .image-teaser .subtitle .image-title {
	font-size: 2.25em;
	color: #d10019;
	line-height: 1.2;
}

body.content.path-sbb .hero-slider .figure-responsive figcaption {
	padding-top: 3px;
	padding-bottom: 3px;
}

@media(min-width: 768px) {
	body.content.fr.path-sbb .custom-nav .nav-item {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}
@media(max-width: 767px) {
	body.content.path-sbb .hero-slider .image-teaser .subtitle .image-title {
		font-size: 1.5em;
	}
	body.content.path-sbb .hero-slider .owl-dots {
		margin-bottom: 70px;
	}
	body.content.path-sbb.site-sbb_bahnangebot .hero-slider .owl-dots,
	body.content.path-sbb.site-corona .hero-slider .owl-dots {
		margin-bottom: 0;
	}
	
	body.content.path-sbb .hero-slider .image-teaser .subtitle {
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: white;
	}
	body.content.path-sbb .hero-slider .figure-responsive .button-copyright,
	body.content.path-sbb .hero-slider .figure-responsive figcaption {
		top: 0;
		left: 0;
		bottom: auto;
		right: auto;
		
		padding-top: 8px;
		max-width: 50%;
		padding-right: 8px;
	}
}

.stoerer {
	position: relative;
}

.stoerer .text-wrap {
	position: absolute;
	right: 0;
	bottom: 0px;
	z-index: 1;
	padding-top: 80px;
	overflow: hidden;
}
.stoerer .text-wrap p {
	color: black;
	margin-bottom: 0;
}
.stoerer .text-wrap .dzt-bg-red {
	color: #ffffff;
	padding: 10px 20px;
	font-size: 1.25em;
	font-weight: 600;
}
.stoerer .text-wrap .type-inlineImage {
	display: block;
}
.stoerer .text-wrap .train img {
	display: block;
	display: block;
	position: absolute;
	top: -173px;
	right: -81px;
	animation-fill-mode: forwards;
	transition-duration: .5s;
	transition-timing-function: ease-in-out;
	-webkit-transition-duration: .5s;
	-webkit-transition-timing-function: ease-in-out;
}
.stoerer:hover .text-wrap .train img {
	transform: translate(-30px, 0);
	right: -70px;
	transition-duration: .5s;
	transition-timing-function: ease-in-out;
	-webkit-transition-duration: .5s;
	-webkit-transition-timing-function: ease-in-out;
}
body.content.path-sbb .stoerer .text-wrap .bodytext p:nth-child(2) {
	background-color: white;
	padding: 15px 30px 20px 30px;
	border-radius: 7px 0 0 0;
}

/* Störer */
@media(max-width: 767px) {
	body.content.path-sbb .stoerer .text-wrap {
		position: initial;
		/*background-color: #d10019;*/
	}
	body.content.path-sbb .stoerer .text-wrap .train img {
		right: -40px;
		top: -75px;
	}
	body.content.path-sbb .stoerer .text-wrap .dzt-bg-red {
		padding: 0;
	}
	body.content.path-sbb .stoerer .text-wrap .train p {
		text-align: center;
	}
	body.content.path-sbb .stoerer .text-wrap .bodytext p:nth-child(2) {
		padding: 0 15px 15px;
	}
	body.content.path-sbb .stoerer .text-wrap .train .bodytext p:nth-child(2) a {
		margin-top: 30px;
	}
}

.custom-nav.navigation-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
}
.custom-nav.navigation-sticky.navbar-expand-md .navbar-collapse {
	justify-content: center;
}

body.content.path-sbb .hero-slider .owl-dots {
    text-align: left!important;
    margin-left: auto;
    margin-right:auto;
	left: 50%;
    transform: translateX(-50%);
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 576px) {
	body.content.path-sbb .hero-slider .owl-dots {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
	body.content.path-sbb .hero-slider .owl-dots {
    max-width: 720px;
  }
}
@media (min-width: 1140px) {
	body.content.path-sbb .hero-slider .owl-dots {
    max-width: 1080px;
  }
}
@media (min-width: 1340px) {
	body.content.path-sbb .hero-slider .owl-dots {
    max-width: 1280px;
  }
}

@media(min-width: 768px) {
	.hero-slider .image-teaser .container .subtitle {
		left: 15px!important;
	}
}


@media(max-width: 767px) {
	body.content.path-sbb section.stoerer span.type-inlineImage {
		max-width: 50%;
	}
	span.type-inlineImage.train {
		position: absolute;
		right: 0;
		bottom: 0;
		bottom: 10px;
	}

	body.content.path-sbb .stoerer .text-wrap span.type-inlineImage.train img {
		position: relative;
		top: auto;
		left: auto;
		bottom: auto;
		right: -40px;
		top: 48px;
	}
	body.content.path-sbb .richtext.stoerer {
		border: 6px solid #d10019;
		overflow: hidden;
		border-bottom: 0;
	}
	body.content.path-sbb .richtext.stoerer .text-wrap {
		padding-top: 10px;
	}
}

@media(max-width: 767px) {
	body.content.path-sbb .hero-slider .figure-responsive .responsive-image-v2 {
		height: 100vw;
	}
	.module-carousel .hero-slider .owl-dots .owl-dot span {
		width: 15px;
		margin: 0 5px;
	}
	.module-carousel .hero-slider .owl-dots .owl-dot.active span {
		width: 20px;
		height: 8px;
	}
	body.content.path-sbb .hero-slider .first-header .figure-responsive .responsive-image-v2 {
		background-position: 100% 0;
	}
}
@media(max-width: 1139px) {
	body.content.path-sbb section.sparpreise .module-carousel {
		margin-bottom: 48px;
	}
}

@media(min-width: 768px) and (max-width:1139px) {
	body.content.path-sbb .richtext.stoerer .text-wrap{
		width: 24vh; /* WTF!? */
		width: 200px;
		
	}
	body.content.path-sbb .stoerer .text-wrap .bodytext p:nth-child(2) {
		padding-left: 20px;
		padding-right: 20px;
	}
	body.content.path-sbb .stoerer .text-wrap span.type-inlineImage.train img {
		max-width: 375px!important;
		right: -200px;
	}
	.stoerer:hover .text-wrap .train img {
		transform: translate(-50px, 0);
	}
}

@media (max-width: 767px) {
	
	body.content.path-sbb .hero-slider .image-teaser .subtitle {
		bottom: 25px;
		left: 10px;
		max-width: calc(100% - 20px);
		width: auto;
		background-color: rgb(255 255 255 / 95%);
		padding: 15px;
	}
	
	body.content.path-sbb .hero-slider .owl-dots {
		margin-top: 0 !important;
		margin-bottom: 0;
		padding-bottom: 0;
		padding-top: 0;
	}
	
}



@media (max-width: 374px) {
	
	body.content.path-sbb .hero-slider .owl-dots {
		display: none;
	}
	
}




.module-carousel .hero-slider .owl-dots .owl-dot:first-child span {
	margin-left: 0;
}

.module-carousel .hero-slider .owl-dots .owl-dot:last-child span {
	margin-right: 0;
}

.hero-slider .image-teaser .container .subtitle {
	width: auto !important;
}

@media (max-width: 767px) {
	span.type-inlineImage.train {
	  position: absolute;
	  right: 0;
	  bottom: 0;
	  bottom: 20px;
	}
}
  
@media (max-width: 550px) {
span.type-inlineImage.train {
	position: absolute;
	right: 0;
	bottom: 0;
	bottom: 25px;
}
}

@media (max-width: 400px) {
span.type-inlineImage.train {
	position: absolute;
	right: 0;
	bottom: 0;
	bottom: 32px;
}
}

@media (max-width: 300px) {
span.type-inlineImage.train {
	position: absolute;
	right: 0;
	bottom: 0;
	bottom: 39px;
}
}




/**-- Kachel --**/
body.content .deep-list-overview-tile .content-detail .introtext {
	font-weight: normal;
}
body.content .deep-list-overview-tile ul {
	list-style: none !important;
}
body.content .deep-list-overview-tile li::before {
	background-color: #ffffff;
}
body.content .deep-list-overview-tile .content-detail .introtext p b:first-child {
	border-bottom: 2px solid white;
	font-size: 1.2em;
}
@media(min-width: 768px) {
	body.content .deep-list-overview-tile .content-detail .introtext {
		columns: 2;
		column-gap: 30px;
	}
}

body.content.path-sbb.reiseziele section:not(.top-tipps) h2.headline {
	margin-bottom: 0px;
}