/* 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__headline {
  font-size: 19px;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}


.footer__list img.app--img {
	margin-top: 0px;
	margin-bottom: 0px;
}

.footer__list__item:last-child > .footer__list {
	margin-bottom: 15px;
}

.footer_bottomline .footer__list li {
	display:inline;
}

.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;
}

.footer_bottomline li::after {
	content: " | "
}

.footer_bottomline li:last-child::after {
	content: ""
}

.evag_home_right_button {
	bottom: 32px !important;
}

.evag_newsletter_abmeldebutton {
	float: left;
}

.news-carousel__item .news--image {
    padding: 0 20px;
}

@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;
}
.tab_content_remove button {
	background-color: transparent;
}
.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: 500px;
    max-height: 90vh;
    padding: 35px 20px 20px 20px;
    text-align:center;  
    overflow: auto;
}

/*
.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: #797272;
}

.popup-content .icon--cancel:hover::before {
  color: #df003a;
}

.popup-content button:focus {
	outline: none;
}

.popup-content button:focus-visible .icon--cancel::before,
.popup-content .icon--cancel:focus-visible::before,
.popup-content .icon--cancel:active::before {
  color: #df003a;
}

.popup-content button {
    float: right;
    margin: -25px -15px 0px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #fff;
}
/*
.popup-content [class^="icon--"]:before, [class*=" icon--"]:before {
	font-size: 120%;
} */

@media (max-width: 1023px) {	
#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 {
    margin: 0px;
}
.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: #797272;
	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;
}
