/** -- Allgemein --*/
body.content.path-sbb section.content .richtext h3.headline, 
body.content.path-sbb section.content-inner .richtext h3.headline {
	margin: 0 0 15px;
}

body.content.path-sbb .hero-slider .figure-responsive .button-copyright {
	right: auto;
	left: 0;
}

body.content.path-sbb .hero-slider .figure-responsive figcaption {
	right: auto;
	padding-left: 40px;
}

#stoerer p a:not(.dzt-btn):hover {
	border-bottom: 0;
}

/* Header Copyright */
@media(max-width: 767px) {
	body.content.path-sbb .hero-slider figcaption {
		padding-top: 30px;
		width: 100%;
	}
}

body.content.path-sbb.travel-destination .custom-nav .dropdown-dx.travel-destination .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;
}

/* Kacheln */
body.content.path-sbb section.tiles article.image-teaser.default.list-item {
    padding: 15px 0;
}

body.content.path-sbb section.tiles .image-teaser figure.figure-responsive {
	padding-top: 100%;
}

body.content.path-sbb section.tiles .image-teaser.franken figure.figure-responsive .responsive-image-v2{
	background-position: 100% 50%;
}

/* Info Corona */
body.content.path-sbb section.info-corona .dzt-link {
	color: white;
}

body.content.path-sbb section.arrival-info .tipp-box,
body.content.path-sbb section.info-corona .tipp-box {
	margin: 0;
}

@media(max-width: 767px) {
	body.content.path-sbb section.info-corona .tipp-box {
		margin: 0;
	}

	body.content.path-sbb section.info-corona .dzt-link {
		width: 100%;
	}
}

/* Top Tipps */

body.content.path-sbb section.top-tipps .image-teaser.zitadelle figure.figure-responsive .responsive-image-v2,
body.content.path-sbb section.top-tipps .image-teaser.velo figure.figure-responsive .responsive-image-v2 {
	background-position: 50% 100%;
}

body.content.path-sbb section.top-tipps .image-teaser .entry-content {
	height: 350px;
}

.tt-brandenburg .entry-content {
	height: 400px !important;
}

.tt-baden .entry-content {
	height: 400px !important;
}

.tt-baden .entry-content {
	height: 400px !important;
}

body.content.path-sbb section.top-tipps .image-teaser .entry-content .dzt-link {
	position:absolute;
	/*bottom: 25px;*/
	width: 100%;
	overflow-wrap: normal;
	text-overflow: ellipsis;
	overflow: hidden;
}

body.content.path-sbb section.top-tipps .image-teaser .figure-responsive .button-copyright {
	top: 0;
}

body.content.path-sbb section.top-tipps .image-teaser .figure-responsive figcaption {
	top: 0;
	bottom: auto;
}

/* Video */
body.content.path-sbb section.video .video-inner {
	background: transparent;
}

body.content.path-sbb section.video .richtext .headline {
	margin: 0 0 30px;
}

/*-- Partner Logos --*/
body.content.path-sbb section.partners .grid-inline {
	display: flex;
	flex-wrap: nowrap;
}

body.content.path-sbb section.partners .grid-inline .image-teaser,
body.content.path-sbb section.partner .image-teaser {
	flex: 1;
}

body.content.path-sbb section.partners .grid-inline {
	display: block;
	text-align: center;
}

body.content.path-sbb section.partners .trenner {
	display: block;
	height: 1px;
	padding: 0;
}

body.content.path-sbb section.partners .grid-inline .image-teaser {
	display: inline-block;
	width: 15%;
	width: 17%;
	max-width: 100%;
}

body.content.path-sbb section.partners .image-teaser .figure-responsive {
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
}

body.content.path-sbb section.partners .image-teaser .figure-responsive {
	padding-top: 75%;
	box-shadow: none;
}

body.content.path-sbb section.partners .image-teaser .figure-responsive .responsive-image-v2 {
	padding: 0;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	transform: none;
	background-size: contain;
}

@media(min-width: 1140px) {

}

@media(max-width: 767px) {
	body.content.path-sbb section.partners .grid-inline {
		display: block;
		padding: 0;
	}

	body.content.path-sbb section.partners .grid-inline .image-teaser {
		flex: none;
		display: inline-block;
		margin: 0 15px 15px 0;
		min-width: 50%;
	}

}

/* Partner Logos einzelne Seite */
body.content.path-sbb section.partner .image-teaser .figure-responsive {
	padding-top: 10%;
	box-shadow: none;
}

@media(min-width: 1140px) {
	body.content.path-sbb section.partner .image-teaser .figure-responsive .responsive-image-v2 {
		padding: 40px;
	}
}

@media(max-width: 1139px) {
	body.content.path-sbb section.partners .grid-inline .image-teaser {
		width: 26%;
	}
}


@media(max-width: 767px) {
	body.content.path-sbb section.partner .image-teaser .figure-responsive {
		padding-top: 35%;
	}
}


/* -- Legalline -- */
.legalline .richtext p {
	font-size: 13px;
}

/* -- SPARPREISE -- */
section.content.sparpreise {
	padding-bottom: 20px;
}

.sparpreise .image-teaser {
	background-color: #f6f6f6;
	padding: 20px;
}

.sparpreise .image-teaser .entry-content {
	height: 350px;
}

.sparpreise ul li {
	position: relative;
}

.sparpreise ul li:before {
	content: "";
	width: 7px;
	height: 7px;
	display: inline-block;
	background-color: #d10019;
	position: absolute;
	left: -20px;
	top: 10px;
}

.line-break {
	margin-top: 5px;
	margin-left: 0 !important;
}

body.content.path-sbb section.sparpreise article.super-sparpreis {
	background-color: #e5e5e5;
}

body.content.path-sbb section.sparpreise article.super-sparpreis .entry-content-headline {
	color: #d10019;
}

body.content.path-sbb section.sparpreise article.super-sparpreis ul li:before {
	background-color: #d10019;
}

body.content.path-sbb section.sparpreise article.sparpreis ul li:before {
	background-color: #ffffff;
}

body.content.path-sbb section.sparpreise article.sparpreis {
	background-color: #d10019;
}

body.content.path-sbb section.sparpreise article.sparpreis a.type-external.dzt-link.dzt-link-external,
body.content.path-sbb section.sparpreise article.sparpreis a.type-external.dzt-link.dzt-link-external:hover {
	color : white !important
}

body.content.path-sbb section.sparpreise article.sparpreis h3,
body.content.path-sbb section.sparpreise article.sparpreis .entry-content-headline,
body.content.path-sbb section.sparpreise article.sparpreis .entry-content {
	color: #ffffff;
}


/* Booking */

section.content.connection.zebra-grey {
	padding: 0;
}

body.content.path-sbb .search .title h2 {
	text-align: center;
}

body.content.path-sbb .booking-form {
	margin-bottom: 40px;
	background-color: #f6f6f6;
	padding: 40px 80px;
	position: relative;
}

@media (max-width: 767px) {
	body.content.path-sbb .booking-form {
		padding: 80px 20px 40px 20px;
	}

	.line-break {
		margin-left: 0 !important;
	}
}

section.content .booking-form .headline {
	margin-bottom: 30px;
}

.sparpreise .image-teaser .entry-content-headline {
	color: #d10019;
}

section.content.connection .headline {
	color: #d10019;
}

body.content.path-sbb .booking-form img.sbb-logo {
	margin: 20px auto;
	display: block;
	position: absolute;
	right: 80px;
	bottom: 30px;
	margin: 0;
}

body.content.path-sbb .booking-form .col-swap {
	text-align: center;
}

body.content.path-sbb .booking:after {
	display: block;
	content: "";
	clear: both;
}

body.content.path-sbb .booking-form .form-control {
	border-radius: 0;
	border: .125em solid #b7b7b7;
}

body.content.path-sbb .booking-form .form-control:focus {
	border-color: #666;
}

body.content.path-sbb .booking-form input.form-control {
	height: 46px;
	
	
	padding-left: 8px;
	padding-right: 8px;
}

body.content.path-sbb div#datetimepicker1 {
	height: 46px;
}

body.content.path-sbb .booking-form .btn {
}

body.content.path-sbb .booking-form .btn.btn-link {
	font-size: 1.1em;
	color: #000;
}


body.content.path-sbb .booking-form .button-container button {
	padding: 6px;
	border-radius: 0;
	display: block;
	width: 100%;
	margin: 0;
	height: 46px;
}

body.content.path-sbb .booking-form input:focus:required:invalid {
    border: 2px solid red;
}

body.content.path-sbb .booking-form .date-container .input-group.date {
	padding: 1px 0px;
}

body.content.path-sbb .booking-form .date-container .input-group.date .input-group-addon,
body.content.path-sbb .booking-form .date-container .input-group.date .form-control {
	border: 0;
}

body.content.path-sbb .booking-form .date-container .input-group.date input {
	width: 46%;
	width: 60%;
	display: inline;
}

body.content.path-sbb .booking-form .date-container .input-group.date .btn {
	background-color: transparent;
}

body.content.path-sbb .booking-form .date-container .input-group.date .btn:focus,
body.content.path-sbb .booking-form .date-container .input-group.date .btn:active {
	box-shadow: none;
	outline: none;
}

body.content.path-sbb .booking-form .date-container .input-group.date .input-group-addon {
	width: 10%;
	background-color: transparent;
}

body.content.path-sbb .booking-form .toggle-container .input-group {
	height: 48px;
	padding-top: 12px;
	display: block;
	text-align: center;
}

@media(max-width:767px) {
	body.content.path-sbb .booking-form .from-container .btn.btn-link.btn-toggle {
		margin-top: 10px;
	}

	body.content.path-sbb .booking-form .button-container button {
		width: 100%;
		height: auto;
	}
}

/* Radio Switch */
.switch {
	position: relative;
}

.switch input {
	position: absolute;
	top: 0;
	z-index: 2;
	opacity: 0;
	cursor: pointer;
}

.switch input:checked {
	z-index: 1;
}

.switch input:checked + label {
	opacity: 1;
	cursor: default;
}

.switch input:not(:checked) + label:hover {
	opacity: 0.5;
}

.switch label {
	opacity: 0.33;
	transition: opacity 0.25s ease;
	cursor: pointer;
}

.switch .toggle-outside {
	height: 100%;
	border-radius: 2rem;
	padding: 0.25rem;
	overflow: hidden;
	transition: 0.25s ease all;
}

.switch .toggle-inside {
	border-radius: 5rem;
	background: #4a4a4a;
	position: absolute;
	transition: 0.25s ease all;
}

.switch--horizontal {
	width: 18rem;
	height: 3rem;
	margin: 0 auto;
	font-size: 0;
	margin-bottom: 1rem;
}

.switch--horizontal input {
	height: 3rem;
	width: 6rem;
	left: 6rem;
	margin: 0;
}

.switch--horizontal label {
	font-size: 1.5rem;
	line-height: 3rem;
	display: inline-block;
	width: 6rem;
	height: 100%;
	margin: 0;
	text-align: center;
}

.switch--horizontal label:last-of-type {
	margin-left: 6rem;
}

.switch--horizontal .toggle-outside {
	background-color: #ffffff;
	position: absolute;
	width: 6rem;
	left: 6rem;
}

.switch--horizontal .toggle-inside {
	height: 2.5rem;
	width: 2.5rem;
}

.switch--horizontal input:checked ~ .toggle-outside .toggle-inside {
	left: 0.25rem;
}

.switch--horizontal input ~ input:checked ~ .toggle-outside .toggle-inside {
	left: 3.25rem;
}


/* Anreiseinformation */

body.content.path-sbb .section-responsive.travel-info {
}

body.content.path-sbb .section-responsive.travel-info h2 {
	text-align: center;
}

body.content.path-sbb .travel-info-inner {
	background-color: #f7f7f7;
}

@media(min-width:768px) {
	body.content.path-sbb .travel-info-inner {
		background-color: #f7f7f7;
		padding: 55px 40px 40px 55px;
	}
}

body.content.path-sbb .travel-info-inner:after {
		clear: both;
		content: "";
		display: block;
	}

	body.content.path-sbb .section-responsive.travel-info .travel-info-clock {
		padding-right: 40px;
		border-right: 2px solid #000;
		position: relative;
	}

	body.content.path-sbb .section-responsive.travel-info .travel-info-clock .responsive-image {
		padding-top: 100%;
		border-radius: 50%;
	}
	
	
	/* width */
	body.site-sbb .travel-info-connection.travel-info-connection-data .table::-webkit-scrollbar {
		width: 15px;
	}

	/* Track */
	body.site-sbb .travel-info-connection.travel-info-connection-data .table::-webkit-scrollbar-track {
		background: #dadada;
		margin: 0 5px;
		width: 5px;
	}
	 
	/* Handle */
	body.site-sbb .travel-info-connection.travel-info-connection-data .table::-webkit-scrollbar-thumb {
		background: url(/media/resources/img/iconRedSquare.png);
	}
	
	/* Handle on hover */
	body.site-sbb .travel-info-connection.travel-info-connection-data .table::-webkit-scrollbar-thumb:hover {
		background: url(/media/resources/img/iconRedSquare.png);
	}
	
	body.content.path-sbb .travel-info-connection.travel-info-connection-data .table {
		max-height: 32vh;
		overflow-y: auto;
	}

	body.content.path-sbb .travel-info-connection .table .table {
		display: table;
		width: 100;
	}

	body.content.path-sbb .travel-info-connection .table {
		direction: rtl;
	}
	
	body.content.path-sbb .travel-info-connection .table .table .header {
		height: 60px;
		font-weight: bold;
	}

	body.content.path-sbb .travel-info-connection .table .div-row {
		display: table-row;
		width: 100%;
		clear: both;
	}

	body.content.path-sbb .travel-info-connection .table .div-row {
		direction: ltr;
	}

	body.content.path-sbb .travel-info-connection.travel-info-connection-data {
		padding-bottom: 15px;
	}

		body.content.path-sbb .travel-info-connection.travel-info-connection-data .table .div-row {
			background-color: white;
			font-weight: bold;
		}
	
	
	body.content.path-sbb .travel-info-connection .div-row.header {
		font-weight: bold;
	}
	
	body.content.path-sbb .travel-info-connection.travel-info-connection-data .div-row.active,
	body.content.path-sbb .travel-info-connection.travel-info-connection-data .div-row:not(.header):hover {
		background-color: #dfdfdf;
		cursor: pointer;
	}

	body.content.path-sbb .travel-info-connection .cell {
		display: table-cell;
		vertical-align: middle;
    padding: 10px;
		color: black;
	}

	body.content.path-sbb .travel-info-connection .cell.connection {
    width: 100%;
	}

	body.content.path-sbb .travel-info-connection .cell.duration {
		width: 25%;
		
		width: 70px;
		min-width: 70px;
	}

	body.content.path-sbb .travel-info-connection .cell.change {
		width: 25%;
		
		width: 90px;
		min-width: 90px;
		text-align: right;
	}
	
	
	body.content.path-sbb .clock {
		position: absolute;
		top: -60px;
		left: -60px;
		font-size: 5em;
		font-weight: bold;
	}

	body.content.path-sbb .clock small {
		font-size: 60%;
		vertical-align: middle;
		padding-bottom: 16px; 
		display: inline-block;
		font-weight: 500;
	}

	body.content.path-sbb .travel-info-connection .link a {
		background-color: #d10019;
		color: white !important;
		text-transform: uppercase;
		padding: 12px;
		display: none;
	}

	body.content.path-sbb .travel-info-connection .link a.active {
		display: inline-block;
	}

	body.content.path-sbb .travel-info-connection .link a:after {
		content: "\e994";
		font-family: "dzt-icon-font";
		font-weight: bold;
	}

	/* Clock */
	@media(max-width: 767px) {
		body.content.path-sbb .travel-info-clock {
			display: none;
		}

		body.content.path-sbb .travel-info-connection .link a.active {
			width: 100%;
			text-align: center;
		}
	}

	body.content.path-campaign.path-sbb footer.main .countries-languages-wrapper {
		display: none!important;
	}


body.content.path-sbb .map-slider-container .minimap-article-slider a .attractions-text {
	color: #51504D;
}
body.content.path-sbb .map-slider-container .dzt-text-red {
	align-self: start;
}

body.content.path-sbb article.dx-offline:after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, .75);
	z-index: 2;
}
body.content.path-sbb .text-offline,
body.content.path-sbb article.dx-offline .text-offline {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.8em;
	font-weight: bold;
	z-index: 3;
}

body.content.reiseziele article section.top-tipps {
	padding-bottom: 20px !important;
}
body.content.reiseziele article section.top-tipps .module-carousel.display-dots {
	margin-bottom: 20px;
}
body.content.reiseziele .partners .partner-element figure img {
	position: relative;
} 
