/* EVAG Anpassungen */
/* Headlines */
h1,
h2 {
  font-size: 26px;
  line-height: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}
@media (min-width: 600px) {
  h1,
  h2 {
    font-size: 36px;
    line-height: 38px;
    margin-bottom: 20px;
  }
}
@media (min-width: 750px) {
  h1,
  h2 {
    font-size: 45px;
    line-height: 47px;
    margin-bottom: 30px;
  }
}


.main__left {
	margin-bottom: 0px;
}
@media (max-width: 400px) {
	.main__right {
		margin-top: 15px;
		padding-right: 0px;
	}
	.main__left {
		padding-right: 0px;
	}
}


@media (max-width: 299px) {
	.fahne {
		right: 10px;
	}
}


#evag_news_news a {
	color: #ffffff;
}

#dse_right {
	margin-left: 25px;
}

#sitemap_container {
	overflow: hidden;
	margin-left: 50px;
	margin-top: 50px;
}
#sitemap_container div {
	float: left;
	margin: 20px;
}

#HFS label.front, #HFS ul#intermodalChoice .featureBox label {
	vertical-align: top !important;
}
#HFS ul#intermodalChoice li > label {
	margin-top: -15px;
}
#HFS .itemProduct {
	text-align: left;
	padding-top: 0px;
}
#HFS .itemProduct .textCenter label {
	padding: 3px 0px 0px 3px;
}
#HFS .locationButtonHolder .geoLocateButtonHolder .mapButton {
	margin-top: -15px;
}

#HFS.evag {
	font-family: BrauerNeue,Arial,sans-serif !important;
}

#HFS.evag h2 {
    font-family: BrauerNeue,Arial,sans-serif !important;
    font-weight: 700 !important;
}

#HFS.evag input, #HFS.evag select, #HFS.evag textarea, #HFS.evag .itemProduct .textCenter label {
	font-family: BrauerNeue,Arial,sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    width: unset;
}

#HFSContent {
    font-size: 16px !important;
}

.footer h5 {
	font-family: 'BrauerNeue' !important;
}

.footer__list img.app--img {
	margin-top: 0px;
	margin-bottom: 0px;
}

.footer__list__item:last-child > .footer__list {
	margin-bottom: 15px;
}

.news--entry h5, .news--entry h5 + span {
	color: #183d4e;
}

#evag_news_news a:hover {
	color: #183d4e;
}


#fahrplanrechner .radiowrap.evag_fahrplanauskunft_anab {
	top: -60px;
	position: relative;
}
@media (max-width: 699px) {
	#fahrplanrechner .radiowrap.evag_fahrplanauskunft_anab {
		position: static;
		margin-left: 90px;
	}
}

#fahrplanrechner .formline:last-child button.button {
	width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
}

#evag_newsletter input[type="checkbox"], #evag_contactForm  input[type="checkbox"], #evag_subscription input[type="checkbox"] {
	display: inline-block;
	width: 18px;
	height: 18px;
	float: left;
	border: 1px solid #a0a0a0;
	margin-top: 5px;
}

#evag_newsletter label::before, #evag_contactForm label::before, #evag_subscription label::before {
	display: none;
}

.footer__list li {
	letter-spacing: -0.3px;
}

.evag_home_right_button {
	bottom: 32px !important;
}

.evag_newsletter_abmeldebutton {
	float: left;
}

.news-carousel__item .news--image {
    padding: 0 20px;
}
.text__badge__item h5 {
	margin-left: 30px;
	margin-top: -22px;
}
@media (max-width: 699px) {
	.text__badge__item h5 {
		margin-top: -17px;
		margin-bottom: 5px;
		font-size: 1em;
		line-height: 1.2em;
	}
	ul:not([class]) > li {
		padding: 5px 0px 0px 20px;
	}
	.horizontal-tabs__navigation2 > li:nth-child(2) {
		padding-bottom: 8px;
	}
}
@media (max-width: 330px) {
	.text__badge__item h5 {
		margin-top: -15px;
		margin-bottom: 0px;
		font-size: 0.8em;
	}
	.text__badge__content p.ticketpreis {
		font-size: 1.2em;
	}
	ul > li {
		font-size: 11px;
	}
}

.swe_ticket .text__badge__content ul:not([class]) > li:before {
	color: #ffffff !important;
}
@media (min-width: 750px) {
	.swe_ticket ul:not([class]) > li:before {
		top: 8px;
	}
}

@media screen and (max-width: 350px) {
	.accordeon article h4 {
		font-size: 20px;
	}
}

/* Fahrplan�nderungen */
#swe_fp {
	border-bottom: 5px solid #df003a;
	display: flex;
}
#swe_fp_tram, #swe_fp_bus {
	padding-left: 20px;
	width: -webkit-fill-available;
}
.horizontal-tabs__navigation2 {
	border-bottom: none;
}
.horizontal-tabs__navigation2 > li > img {
	padding-right: 0.3em;
}
.horizontal-tabs__navigation2 > li.spacer {
	padding-left: 0px;
	margin-right: 0.2em;
}
.tab_content_remove {
	position: relative;
	top: auto;
	right: auto;
}
.horizontal-tabs__content2 {
	margin-top: -5px;
}
@media (max-width: 699px) {
	#swe_fp {
		display: block;
	}
	#swe_fp_tram, #swe_fp_bus {
		padding-left: 0px;
	}
	.horizontal-tabs__navigation2 {
		padding-bottom: 0px
	}
	.tab_content_remove {
		position: absolute;
		top: 25px;
		right: 30px;
	}
}

/* Slider */
@media (min-width: 750px) {
  .slides__pagination {
    bottom: 10px !important;
  }
}
  .banner--subbanner .slides__pagination {
    bottom: 10px !important;
  }

/* Kopfbild mit Text */
.banner--header {
	min-height: 300px;
}

/* Image */ 
.basecontent-image {
	width: 100%;
	margin-bottom: 20px;
}

/* iFrames */
#fb-player, .embed-iframe, #player {
	margin-bottom: 20px;
}

/* tab table */
.horizontal-tabs__content, .inner table {
	margin-bottom: 20px;
}

/* Ticket Box */
.text__badge__content {
	padding:	10px;
}
.text__badge__content .icon__open {
	bottom:	5px;
	right:	10px;
}
.text__badge__content p.ticketpreis {
	bottom: 0px;
	left: 10px;
}
.text__badge__item:hover .infobox--slideout {
    max-height: 750px;
}
/* Ende Ticket Box */


#evag_popup {
	background: #ffffff;
	display:none;
	border: 1px solid #b0b0b0;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
	border-radius: 4px;
	z-index: 99999 !important;
	position: relative !important;
	padding: 20px;
}
#evag_popup h1 div, #evag_popup h2 div, #evag_popup h3 div, #evag_popup h4 div, #evag_popup h5 div {
	text-align: left;
}
#evag_popup .button__icon__close {
	float: right;
	margin: -15px;
	cursor: pointer;
	border-radius: 4px;
}
#evag_popup .button__icon__close:hover {
  background-color: #e6e6e6;
  color: #595e89;
}
#evag_popup .button__icon__close:focus,
#evag_popup .button__icon__close:active {
  background-color: #e6e6e6;
}

@media only screen and (max-width: 700px) {
  .hideMobile {
  	display: none;
  	visibility: hidden;
  }
}
@media only screen and (min-width: 700px) {
  .hideDektop {
  	display: none;
  	visibility: hidden;
  }
}

.klein {
	font-size: 13px;
	float: left;
	margin: 10px 0px 20px -25px;
}


.footer__bottom img {
	height: 70px !important;
}

#evag_newsletter .checkbox_line a, #evag_newsletter .checkbox_line a:visited {
	color: #fff;
}

.submenu__list .submenu__header > a {
	border-bottom: 0px;
}

.sidebar__item--bright > .ad__header {
	color: #df003a;
}

.sidebar__ad > p.bright {
	color: #183d4e;
}

#evag_newsletter .right-box a, #evag_newsletter .right-box a:visited{
	color: #183d4e;
}

.evag_newsletter_checkbox {
	float:right; 
}

.evag_newsletter_checkbox label {
	text-align: left;
	float:	left;
}

.thumbnail__list__image {
	border-radius: 0;
}

.image__badge__slideout__wrapper.is--animated .image__badge__slideout {
	margin-bottom: 30px;
}
@media (min-width: 750px) {
  .image__badge__slideout__wrapper.is--animated .image__badge__slideout {
    margin-bottom: 30px;
  }
}


h4 + h5 {
  margin-top: 0px;
}
@media (min-width: 700px) {
  h4 + h5 {
  	margin-top: 0px;
    font-weight: bold;
  }
}
@media (min-width: 750px) {
  .section--much-spaced {
    padding: 30px 0;
  }
}

.swe_table {
	padding: 0px 3px 0px 3px;
}

.evag_hplan2_hs {
	display: none;
}
.evag_hplan2_lv, .evag_hplan2_lf {
	width: 50%;
}
.evag_hplan2_lf h5 {
    text-align: left !important;
}

/* Subscription Form */
.check-data-grid {
	background-color: #fff;
    color: #183d4e;
    padding-bottom: 25px;
    margin-bottom: 25px;
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 15%);
    margin-left:0px;
}
.check-data-grid h4, .check-data-grid h5, .check-data-grid h6 {
    color: #183d4e;
}
.check-data-button {
	margin-right:25px;
}
#check-price {
	font-size: larger;
}

input[type=file]::file-selector-button, input[type=file]::-webkit-file-upload-button{
  font-family:'BrauerNeue';
  padding: .2em .4em;
  transition: 1s;
}

.icon {
    fill: #000;
    height: 2em;
    width: 2em;
    overflow: hidden;
    margin-right: 2px;
}
#evag_overlay {
  	position: fixed; /* Sit on top of the page content */
 	display: none; /* Hidden by default */
  	width: 100%; /* Full width (cover the whole page) */
  	height: 100%; /* Full height (cover the whole page) */
  	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  	z-index: 1000; /* Specify a stack order in case you're using a different order for other elements */
  	cursor: pointer; /* Add a pointer on hover */
}

#evag_overlay h3 {
	margin-bottom: 20px;
}

#evag_overlay img {
	margin-bottom: 20px;
}

#evag_overlay p {
	margin-bottom: 20px;
}

#evag_overlay ul {
	text-align:left;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    width: 33.3333333333%;
    max-width: 400px;
    padding: 35px 20px 20px 20px;
    text-align:center;
}
/*
.popup-content .button {
	margin-left: 20px;
}

.popup-content .button.button--large.button--bright, .button.button--large.button--bright:hover {
    border: 1px solid #df003a;
} */

.popup-content .icon--cancel:before {
	font-size: 150%;
	color: #b1acac;
}

.popup-content .button__icon__close {
    float: right;
    margin: -25px -15px 0px;
    cursor: pointer;
    border-radius: 4px;
}
/*
.popup-content [class^="icon--"]:before, [class*=" icon--"]:before {
	font-size: 120%;
} */

@media (max-width: 768px) {	
#evag_overlay h3 {
	margin-bottom: 10px;
}

#evag_overlay img {
	margin-bottom: 10px;
}

#evag_overlay p {
	margin-bottom: 10px;
}
.popup-content {
    top: 20px;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    width: 90%;
}
}
@media (max-width: 413px) {	
.popup-content {
    padding: 10px;
}
.popup-content .button__icon__close {
    margin: 0px;
}
}

.video__wrapper  iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #fff;
  box-shadow: 2px 2px 3px -2px rgba(0, 0, 0, 0.4);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.uc-embedding-wrapper {
    width: 500px;
    max-width: calc(100% - 70px);
    max-height: calc(100% - 35px);
    background: #FFF;
    border-radius: 0px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 50%);
    position: absolute;
    padding: 24px;
    top: 50%;
    left: 50%;
    text-align: center;
    font-size: inherit;
    line-height: inherit;
    transform: translateX(-50%) translateY(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    overflow: auto;
    font-family: inherit;
}

.uc-embedding-buttons button {
	margin: 0px 20px;
}
.uc-embedding-buttons .button.button--large.button--bright {
	border: 1px solid #df003a;
}

.video__wrapper {
	margin-bottom: 20px;
}
#HFS.evag h1, #HFS.evag h3, #HFS.evag h4, #HFS.evag h5, #HFS.evag h6, #HFS.evag .Hbutton, #HFS.evag .btn-link, #HFS.evag h3.sepHeader, #HFS.evag .headerHint, #layerMapWrap.layerMap .menuHeadline, #HFS.evag #HFSResult .resultTable .connectionStation, #HFS.evag #HFSResult .resultTable td.platform .platformLabel, #HFS.evag #HFSResult .resultTable td.timetable a.linkToStation, #HFS.evag #HFSResult .resultTable td.timetable .stopArrival, #HFS.evag #HFSResult .resultTable td.timetable .stopArrival a.linkToStation, #HFS.evag #HFSResult .resultTable tr.tpOverview td.station, #HFS.evag #HFSResult .tableResultTrainRoute .pearl .hideInterDot, #HFS.evag #HFSResult .tableResultTrainRoute .pearl .showInterDot, #HFS.evag #HFSResult .detailsTable .pearl .hideInterDot, #HFS.evag #HFSResult .detailsTable .pearl .showInterDot, #HFS.evag #HFSResult #tq_trainroute_content_table_alteAnsicht .prognosis, #HFS.evag #HFSResult .mapDetails .ajaxMapConnection .prognosis, #HFS.evag #HFSResult .detailsTable .realTime .prognosis, #HFS.evag #HFSResult .detailsContent  .textualDescription p .resultTextual, #HFS.evag #HFSResult .detailsContent table.ajaxMapConnection tr.durRow td, #HFS.evag .wrapTASuggestions .ta_slider li .taSimpleActive, #HFS.evag .wrapTASuggestions div.taSuggestion table thead th, #HFS.evag .wrapTASuggestions div.taSuggestion table thead th, #HFS.evag .wrapTASuggestions div.taSuggestion table tbody td.cardPrice, #HFS.evag .wrapTASuggestions div.taSuggestion table tbody td.taStrong, #HFS.evag .wrapWizardSteps, #HFS.evag .errormessage, #HFS.evag .labelContainer {
	font-family: BrauerNeue,Open Sans,Arial,sans-serif !important;
}

.banner--quote {
	padding: 30px 0px 0px;
}

.banner--quote .slide__content {
	width: 1000px;
	padding: 50px;
	text-shadow: none;
}

.quote__image img {
    left: 20px !important;
    top: -20px !important;
    height: auto !important;
    width: 200px !important;
}

.quote__content {
    margin-left: 150px;
}

.quote__text {
	padding: 20px;
}

.quote__quote {
	font-style: italic;
	text-align: left;
}
.quote__quote::before {
    background-image: url(../img/quote.svg);
    content: '';
    width: 2em;
    height: 2em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: -20px;
}
.quote__source {
	text-align: right;
    text-transform: uppercase;
    font-weight: 600;
    color: #8e9295;
	font-size: smaller;
}

@media (max-width: 550px) {
	.quote__content {
		margin-left: 0px;
	}
	
	.quote__image img {
		display: none !important;
	}
	.banner--quote {
		padding: 0px;
	}
	.banner--quote .slide__content {
		padding: 0px;
	}
}

@media (max-width: 380px) {
	.banner--quote .slides__wrapper__inner {
	    min-height: 400px;
	}
}
.hafas_webapp_iframe {
	min-width: 100% !important;
}

#hfs-widget .lyr_floatingLabel label {
	left: 10px;
	
}
#hfs-widget .lyr_floatingLabel input {
	padding-left: 10px;
}

.banner--large {
    position: relative;
    overflow: hidden;
    /* padding-top: 80%; */
    height: 109vw;
    max-height: 45vh;
}

.banner--large img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	-o-object-fit: cover;
	object-fit: cover;
}

.banner--large .inner {
	position:relative;
}

@media (min-width: 55em) {
	.banner--large {
max-height: 500px;
background-color: #fff
	}

	.banner--large img {
		left: 50%;
		transform: translateX( -50% );
		max-width: 1680px;
	}
}

@media (min-width: 100em) {
	.banner--large {
max-height: 600px
	}
}

/* Timeline */
.history {
    position: relative;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.history::before {
content: '';
position: absolute;
top: 0;
left: .7rem;
height: 100%;
width: .2rem;
background: #df003a;
    }
    
.history__title {
    margin-bottom: .75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #df003a;
}

.history__item {
	position: relative;
}

.history__item::before {
	content: '';
	position: absolute;
	top: 1.5rem;
	left: .3rem;
	width: 1rem;
	height: 1rem;
	background: #df003a;
	border-radius: 50%;
	box-shadow: 0 0 0 .2rem #fff;
}

.history__item::after {
	content: '';
	display: table;
	clear: both;
}

.history__item + .history__item {
	margin-top: 2.5rem;
}

.history__content {
	position: relative;
	margin-left: 3em;
	padding: 1em;
	background: #e8e4e4;
}

.history__content::before {
	content: '';
	position: absolute;
	top: 1.1em;
	right: 100%;
	height: 0;
	width: 0;
	border: 1em solid transparent;
	border-right: 1em solid #e8e4e4;
}

.history__event {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    font-weight: 700;
    }

.history__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

@media (min-width: 40rem) {
	.history::before {
		left: 50%;
		transform: translateX(-50%);
	}
	.history__item::before {
		left: 50%;
		margin-left: -.5rem;
	}
	.history__content {
		margin-left: 0;
		padding: 1.5em;
		width: 45%;
	}
	.history__head {
		position: absolute;
		width: 100%;
		top: 1.1rem;
	}
	.history__title {
		font-size: 1.6rem;
	}
	
	.history__item:nth-child(2n-1) .history__content {
		float: right;
	}
	.history__item:nth-child(2n-1) .history__head {
		right: 122%;
		text-align: right;
	}
	.history__item:nth-child(2n) .history__head {
		left: 122%;
	}
	.history__item:nth-child(2n) .history__content::before {
		left: 100%;
		border-color: transparent;
		border-left-color: #e8e4e4;
	}
}

.divider {
	margin: 1.25rem 0;
}

.dividing--top {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e2e4;
}

.dividing {
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e0e2e4;
}

.notice {
    background-color: #f3f1f1;
    padding: .625rem;
    line-height: 1.2;
    border-left: .4em solid #e8e4e4;
}

.notice, .media__column__more{
	margin-bottom: 12px;
}

@media (min-width: 700px) {
	.notice, .media__column__more {
	    margin-bottom: 15px;
	}
}

@media (min-width: 750px) {
	.notice, .media__column__more {
	    margin-bottom: 22px;
	}
}

.notice:empty { display: none; }

.notice a {
	text-decoration: underline;
	color: inherit;
}

.notice--success {
	background-color: #e5f3ef;
}

.notice--gelb {
	background-color: #fcf8f2;
	border-color: #ffb820;
}
    
.notice--rot {
	background-color: #fdf7f7;
	border-color: #df003a;
}

.media {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
}

.media__column__more {
    margin-top: 1.25rem;;
    -moz-column-span: all;
    column-span: all;
}

.media__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 601px) {
	.media__column {
		flex-direction: row;
		flex-wrap: wrap;
		margin-bottom: 20px;
	}
	
	.media__column .media {
		flex: 1 1 45%;
	}
	
	.media__column__more {
		margin-top: 20px;
		width: 100%;
	}
}

.media__list {
    margin-bottom: 20px;
}

.media__list .media + .media {
        margin-top: 20px;
    }


.media__content h2 {
	font-size: 28px;
    line-height: 30px;
    margin-bottom: 15px;
}

.media__content a {
	color: #df003a;
}

.media__content .button__icon {
    display: inline;
    float: none;
    line-height: 22px;
}