@charset "UTF-8";
/*
Hier werden gemeinsam genutzte Erweiterungen von main.css für den Einsatz
im Webclient gelistet.
*/

/**
Wir definieren nach neueren Empfehlungen allgemein border-box.
Vergl. z.B. https://css-tricks.com/box-sizing/
Auch die Auskunft macht das so.
 */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* Allgemeine fix für Telefonnummer bei iPad */
.content a[href^=tel] {
    font-size: 1em;
}

/* Header */
.header.keyvisual {
    height: 245px;
    background-repeat: no-repeat;
}

.header.keyvisual h3 {
    font-size: 26px;
    width: 372px;
    color: #ffffff;
    line-height: normal;
    padding: 51px 18px;
}

#header-elements #boplogo img {
    display: inline;
}

input.input-link {
    font-size: 0.875em;
    padding-left: 2px;
    background-color: transparent;
}

input.input-link:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

input.input-link:hover {
    color: #C50014;
    text-decoration: underline;
}

/* TODO afm-1034 könnte man die link-definitionen nicht an einer stelle versammeln (im main.css o. minimal.css) ? */
/* Arrowlinks - für Links innerhalb von Texten */
a.arrowlink {
    background: rgba(0, 0, 0, 0) url("../img/icon/icon-arrow_right_red.svg") no-repeat scroll left;
    background-size: 18px;
    padding-left: 18px;
    text-align: left;
}

a.arrowlink.greyright {
    background: rgba(0, 0, 0, 0) url("../img/icon/icon-arrow_right.svg") no-repeat scroll left;
    background-size: 18px;
    padding-left: 24px;
    text-align: left;
}

p a.arrowlink,
span a.arrowlink {
    margin-left: 5px;
    font-size: 1em;
}

.hinweis-text-color a.arrowlink,
.page-outro a.form-link {
    color: #646973;
}

a.form-link:hover,
a.arrowlink:hover,
#cboxLoadedContent .box ul.link-list a:hover,
#cboxLoadedContent .text-image ul.link-list a:hover {
    text-decoration: underline;
    color: #C50014;
}

a.arrowlink.disabled:hover {
    text-decoration: none;
    color: #b7bac0;
}

/* Rand für Container über die gesamte Breite */
.container-full {
    padding: 20px;
}

.container-full h3  {
    margin: 0;
}

/* Graue Box für Header */
.container-full .header-box {
    padding: 15px 20px;
    margin-top: 10px;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.padding-left-20 {
    padding-left: 20px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-top-10 {
    padding-top: 10px !important;
}

.padding-top-16 {
    padding-top: 16px !important;
}

.padding-top-4 {
    padding-top: 4px !important;
}

.padding-top-8 {
    padding-top: 8px !important;
}

.padding-bottom-4 {
    padding-bottom: 4px !important;
}

.padding-bottom-8 {
    padding-bottom: 8px !important;
}

.padding-top-24 {
    padding-top: 24px !important;
}

.padding-bottom-10 {
    padding-bottom: 10px !important;
}

.padding-bottom-200 {
    padding-bottom: 200px !important;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-top-8 {
    margin-top: 8px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-bottom-8 {
    margin-bottom: 8px;
}

.valign-top {
    vertical-align: top;
}

.valign-middle {
    vertical-align: middle;
}

.bold {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

.nomargin {
    margin: 0 !important;
}

.nomarginbottom {
    margin-bottom: 0 !important;
}

.nomarginleft {
    margin-left: 0 !important;
}

.nomarginright {
    margin-right: 0 !important;
}

.nobordertop {
    border-top: none !important;
}

.noborderbottom {
    border-bottom: none !important;
}

.nopadding {
    padding: 0 !important;
}

.nopaddingtop {
    padding-top: 0 !important;
}

.nopaddingbottom {
    padding-bottom: 0 !important;
}

.nopaddingleft {
    padding-left: 0 !important;
}

.nopaddingright {
    padding-right: 0 !important;
}

.hinweis-text-color {
    color: #646973;
}

.flex {
    display: flex;
}

.flex.wrap {
    flex-wrap: wrap;
}


/* Graue Box für Zurück-Button */
.button-box-grey {
    padding: 14px 20px;
    background-color: #E7E7E7;
}

.header-with-contentfenster {
    background: #ffffff;
    overflow: auto;
    margin-bottom: 0;
    position: relative;
}

.geburtsdatum .tag-wrapper,
.geburtsdatum .monat-wrapper {
    width: 120px;
    margin-right: 10px;
}

.geburtsdatum .jahr-wrapper {
    width: 120px;
}

/*******************************************************************************/
/* Ausklappbare Bereiche, in Verbindung mit Fadeout Code                       */

.fadeout-container {
    position: relative;
    height: 135px;
    overflow: hidden;
}

.fader-gradient {
    position: absolute;
    bottom: 0;
    height: 20%;
    width: 100%;
    background: -webkit-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
}

.fader-button {
    box-shadow: 0 2px 5px -1px rgba(0,0,0,0.15);
    font-size: 14px;
    text-align: center;
    padding: 2px 5px 8px 5px;
    cursor: pointer;
}

.fader-button .fader-button-link i.ico {
    background-size: 20px;
    top: 7px;
}

.fader-button span:hover {
    text-decoration: underline;
    color: #C50014;
}

.fadeout-expanded-on-start {
    height: auto;
}

.fadeout-folded ~ .fader-button .fader-button-fold {
    display: none;
}

.fadeout-expanded ~ .fader-button .fader-button-expand {
    display: none;
}

/* Dateiupload */
.flex-container.fileupload {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-grow: 1;
    padding: 16px 8px 0;
}

section.zusatzkarte .flex-container.fileupload {
    padding: 0;
}

.flex-container.fileupload .fileupload-label {
    padding-right: 8px;
}

.flex-container.fileupload  .fileupload-datei {
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

.flex-container.fileupload .fileupload-datei .button-inside,
.flex-container.fileupload .fileupload-btn {
    flex-grow: 1;
}

.flex-container.fileupload .fileupload-datei span.filename {
    padding-right: 8px;
}

.flex-container.fileupload button {
    border: none;
}

.flex-container.fileupload button {
    font-size: 0.75rem;
}

.flex-container.fileupload  .error-container {
    width: 100%;
}

/* Layer für Verbindung ********************************************************/

/* CSS teilweise orientiert an Auskunft, teilweise neu. */

/* Ich habe hier erstmal keine Einschränkung auf .overlay-content vorgenommen, vllt. brauchen wir das auch noch wo anders. */
.reisedaten h3 {
    margin-bottom: 16px;
}

.teilpreis div.headline,
.reisedaten div.headline {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding-bottom: 4px;
}

table.verbindung {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 10px;
    width: 100%;
}

table.verbindung th, table.verbindung td {
    padding: 2px 10px;
    border: none;
    line-height: 1.4;
    vertical-align: top;
}

table.verbindung th {
    background-color: #F0F3F5 !important;
}

/* Weisse Begrenzungslinie nur, falls bereits vorher 1 Element war: also alle außer 1.! */
table.verbindung th + th {
    border-left: 2px solid #fff;
}

table.verbindung td {
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 2px solid #ffffff;
}

table.verbindung.white td {
    border-top: none;
    border-bottom: 1px solid #e7e7e7;
    background-color: #fff !important;
}

table.verbindung th.time, table.verbindung td.time {
    width: 120px;
}

table.verbindung th.products, table.verbindung td.products {
    width: 180px;
    vertical-align: middle;
}

table.verbindung tr.nobottompadding th, table.verbindung tr.nobottompadding td {
    padding-bottom: 0;
    border-bottom: none;
}

table.verbindung tr.noborderline th, table.verbindung tr.noborderline td {
    border: none;
}

table.verbindung tr.notoppadding th, table.verbindung tr.notoppadding td {
    padding-top: 0;
    border-top: none;
}

table.verbindung td div.dateChange {
    color: #878c96;
    margin: 6px 0;
}

table.verbindung tr.dateChange td {
    background-color: transparent !important;
    padding: 0;
    border: 0;
    position: relative;
}

/** Ein Datumstrenner mit Linie */
table.verbindung tr.dateChange hr.divider {
    margin: 15px 0 10px;
    border: 0;
    border-top: 1px solid #e7e7e7;
}

/** Beschriftung innerhalb und auf der Linie */
table.verbindung tr.dateChange hr.divider + span {
    background-color: #fff;
    padding: 0 5px;
    position: absolute;
    left: 2px;
    top: 7px;
}

.reisedaten-header {
    line-height: 20px;
    font-size: 0.875em;
}

/* Table mit Div */
.div-table {
    display: table;
}
.div-table-row {
    display: table-row;
}

.div-table-cell {
    display: table-cell;
}

.div-table-cell.data-value.v-kk {
    height: 30px;
}

.div-table-body {
    display: table-row-group;
}

/** Darstellung von Daten in einfacher Tabellenform **/
.data-table {
    line-height: 26px;
}

.data-table .data-key {
    min-width: 140px;
    padding: 5px 20px 5px 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

.reisedaten-header .connection span {
    display: inline-block;
    position: relative;
    padding: 0 16px 0 22px;
    margin-bottom: 8px;
}

.reisedaten-header .connection-time {
    text-transform: capitalize;
    font-weight: normal;
    padding-left: 30px;
}

.reisedaten-header .icon-pfeil {
    margin: 0 5px;
}

.reisedaten-header a.form-link {
    font-size: 1em;
    margin-top: 20px;
}

/*
* Angebotstabelle für die Reise
*/

/* CSS teilweise orientiert an Auskunft, teilweise neu. */

.reiseangebote {
    padding: 20px;
    background-color: #f5f5f5;
}

.reiseangebote h3 {
    padding: 0;
    margin-bottom: 13px;
}

.reiseangebote h3.firstclass, .reiseangebote h3.secondclass{
    padding: 15px;
    margin-top: 8px;
    margin-bottom: 2px;
}

.reiseangebote h3.firstclass {
    background-color: #8f949e;
    color: #fff;
}

.reiseangebote h3.secondclass {
    background-color: #d5d5d5;
    color: #282D37;
}

.reiseangebote table {
    width: 100%;
    margin-bottom: 2px;
    font-size: 0.75em;
    table-layout: fixed;
    border-collapse: separate;  /* das ist leider für IE nach wie vor nötig, sonst keine Schatten :-( */
}

.reiseangebote h2.firstclass {
    background-color: #8f949e;
    color: #fff;
}

.reiseangebote table tbody {
    display: block;
}

.reiseangebote table tbody.boxshadow {
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
    margin-bottom: 35px;
}

.reiseangebote table tbody.boxshadow tr{
    box-shadow: none;
}

.reiseangebote table tbody tr {
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
}

.reiseangebote table tbody tr.noshadow {
    box-shadow: none;
    display: block; /* sonst wird der nachfolgende tr-Schatten zerstört */
}

.reiseangebote table tbody tr.bottom-margin {
    border-bottom: 10px solid #F5F5F5;
}

.reiseangebote table tbody tr.noshadow td {
    background-color: transparent;
}

.reiseangebote table th {
    font-size: 1em;
    padding: 3px 8px;
    background-color: #e7e7e7;
    height: 22px;
}

/* Weisse Begrenzungslinie nur, falls bereits vorher 1 Element war: also alle außer 1.! */
.reiseangebote table th + th {
    border-left: 1px solid #fff;
}

.reiseangebote table td {
    vertical-align: top;
    padding: 20px 8px;
    line-height: 1.33em;
    background-color: #FFFFFF;
}

.reiseangebote table td.angebote, .reiseangebote table td.angebote span.bold {  /* bold ignorieren */
    font-size: 1.05em;
}

.reiseangebote table .angebote {
    width: 160px;
    padding-left: 8px;
}

/* Hinweis Upsell-1.Kl-Teilbuchung */
.upsell .hinweis-teilbuchung {
    font-size: 0.875em;
    color: #C50014;
}

.upsell h3.firstclass {
    padding: 15px;
    margin-top: 8px;
    margin-bottom: 2px;
    background-color: #8f949e;
    color: #fff;
}

.upsell ul.block-list {
    max-width: 706px;
}

.upsell .reisedaten-header .connection-time {
    white-space: nowrap;
}

.upsell .reisedaten-header .connection-time i {
    margin-right: 8px;
    top: 4px;
}

.upsell .reisedaten-header .traveller-data i {
    top: 4px;
    left: -2px;
}

/* Fehlerfall */
.reiseangebote table td.offer-error {
    color: #C50014;
}

/* Login-Seite */
section.login.registrieren {
    min-height: 232px;
}

.shop-login section.login.registrieren {
    min-height: 232px;
}

section.login .softlogin-auswahl input[type='checkbox'] + label, section.login .softlogin-auswahl input[type='checkbox']:checked + label,
section.registrierung .softlogin-auswahl  input[type='checkbox'] + label, section.registrierung .softlogin-auswahl input[type='checkbox']:checked + label {
    margin-left: -2px;
}

section .softlogin-auswahl .item {
    padding-left: 0;
    margin-left: -2px;
}

section.registrierungsvorteile #registrierungsvorteile li,
section.registrierungsvorteile #registrierungsvorteile .item p:last-child {
    margin-top: 0;
}

section #registrierungsvorteile .item {
    padding-left: 0;
}

section #registrierungsvorteile .item:last-of-type {
    padding-bottom: 0;
}

section.registrierungsvorteile div#registrierungsvorteile {
    padding-left: 70px;
}

section.registrierung.login-registrierung .fieldset-inner {
    padding: 0 130px 20px 20px;
}

section.login a i.ico.icon-icon_info_small {
    position: absolute;
    right: 20px;
    top: 10px;
}

section.login.registrieren a i.ico.icon-icon_info_small {
    top: 20px;
}

section.login-registrierung.registrierung {
    margin-bottom: 0;
    margin-top: 10px;
    border-radius: 4px 4px 0 0 !important;
}

section.login-registrierung.registrierung .title {
    padding: 20px;
}

section.registrierung.login-registrierung h4 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-weight: normal;
    font-style: normal;
    padding: 20px 20px 20px 20px;
}

section.login h4 span.subtitle,
section.registrierung.login-registrierung h4 span.subtitle {
    padding-top: 8px;
}

section.registrierung.registrierungsvorteile {
    padding: 20px 20px 60px 0;
    -webkit-box-shadow: none !important;
    border-top: 1px solid #E7E7E7;
    border-radius: 0 0 4px 4px !important;
}

section.registrierung.registrierungsvorteile input[type='checkbox'] + label.datenUebernahmeCheckbox,
section.registrierung input[type='checkbox']:checked + label.datenUebernahmeCheckbox {
    max-width: 600px;
    padding-left: 60px;
    margin: 0;
}

section.registrierung.registrierungsvorteile div.angaben-uebernahme-label span.headline{
    display: inline-block;
    position: relative;
}

section.registrierung.registrierungsvorteile div.angaben-uebernahme-label span.headline a{
    right: auto;
    position: absolute;
    left: 100%;
}

section.registrierung.registrierungsvorteile .button-abschnitt {
    margin-top: 20px;
    margin-left: 20px;
}

/* Loginseite u. andere Stellen mit mehreren Links untereinander */
ul.link-list li {
    line-height: 30px;  /* ergibt 18px Abstand */
}

/* Buchungswünsche-Seite */
label.angebotsauswahl {
    font-size: 1.25em;
    display: block;
    margin: 20px 0 10px;
}

input[type="radio"] + label.angebotsauswahl-radio,
input[type='radio']:checked + label.angebotsauswahl-radio {
    background-position-x: -2px;
    padding-left: 60px;
}

textarea.input-area {
    width: 100%;
    margin-bottom: 10px;
}

#erstattungs-grund textarea.input-area {
    margin-bottom: 4px;
    font-size: 0.875em;
}

#resfahrt .custom-select {
    margin: 0 0 10px;
    width: 240px;
    min-width: 150px;
}

.fs-content .fahrradkarte-angebot {
    margin-bottom: 20px;
    font-size: 0.875em;
}

.fs-content .fahrradkarte-angebot span.bold {
    display: block;
    padding-bottom: 4px;
}

.fs-content .fahrradkarte-hinweis {
    margin-top: 10px;
}

.fs-content .fs-sidebar.fahrradkarte-angebot-preis {
    position: absolute;
    top: 0;
    right: 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-size: 0.875em;
    color: #282D37;
    padding-top: 20px;
}

.fs-content .reg-loeschen {
    margin-left: 20px;
    margin-right: 20px;
}

/** Zusatzangebote-Seite */
section.visual {
    height: 245px;
    margin: 0;
    padding-left: 38px;
}

section.visual h2 {
    color: #ffffff;
    font-size: 1.525em;
}

section.visual h2.second-title {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

section.hotel div.fs-content {
    padding: 15px 30px 15px 80px;
}

section.hotel div.hinweis .ico {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    left: 8px;
}

section.zusatzangebote input[type="radio"] + label.small,
section.zusatzangebote input[type="radio"]:checked + label.small {
    max-width: 500px;
}

section.zusatzangebote fieldset .fs-content fieldset fieldset:last-of-type input[type="radio"] + label:last-of-type,
section.zusatzangebote fieldset .fs-content fieldset fieldset:last-of-type input[type="checkbox"] + label:last-of-type {
    padding-bottom: 4px !important;
}

/*******************************************
 * Kalender
 * *****************************************/

.weccalendar {
    display: inline-block;
    width: 306px;
}

.weccalendar .left {
    border: 1px solid #878c96;
    border-radius: 4px;
    width: 249px;
    height: auto;
    float: left;
}

.wectime .left {
    border: 1px solid #878c96;
    border-radius: 4px;
    height: auto;
    float: left;
}

.weccalendar img,
.wectime img {
    padding-left: 30px;
    height: 30px;
    width: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    cursor: pointer;
}

.weccalendar img.cal_button_earlier,
.wectime img.time_button_earlier {
    background: url('../img/icon/icon-arrow_left.svg') no-repeat center;
    width: 24px;
    height: 44px;
}

.weccalendar img.cal_button_later,
.wectime img.time_button_later {
    background: url('../img/icon/icon-arrow_right.svg') no-repeat center;
    position: absolute;
    width: 24px;
    height: 44px;
}

.weccalendar .calendar img.cal_icon {
    background: url('../img/icon/icon-calender.svg') no-repeat center;
    width: 24px;
    height: 24px;
    margin: 10px 13px;
}

.weccalendar .left.calendar {
    width: 56px !important;
    display: inline-block;
    float: left;
    border: 0;
}

.weccalendar input.date {
    width: 186px;
    text-align: center;
    float: left;
    padding: 10px 0;
    font-size: 1em;
    line-height: 24px;
}

.wectime input.time {
    text-align: center;
    float: left;
    padding: 10px 0;
    font-size: 1em;
    line-height: 24px;
}

.weccalendar input.date:focus,
.wectime input.time:focus {
    box-shadow: none;
}

.weccalendar.disabled .left:first-child {
    border: 1px solid #d7dce1;
}

.weccalendar.disabled img,
.weccalendar.disabled input {
    background-color: #f0f3f5;
    pointer-events: none;
    opacity: 0.4;
}

.calendardiv {
    z-index: 99999;
    background: #ffffff;
    width: 400px;
    height: 462px;
    cursor: default;
    border-radius: 4px;
    border: 1px solid #878C96;
}

.calendardiv div {
    margin: 0 10px;
}

.calendardiv .prevMonth, .calendardiv .nextMonth {
    font-size: 30px;
    padding-bottom: 12px;
    cursor: pointer;
}

.calendardiv td, .calendardiv th {
    text-align: center;
    width: 50px;
    height: 50px;
}

.calendardiv td {
    cursor: pointer;
}

.calendardiv td,
.calendardiv th.heading_months_disabled {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    color: #282D37;
}

.calendardiv td.disabled {
    border: none;
}

.calendardiv td.enabled {
    background-color: #FFFFFF;
    border: 1px solid #e5e5e6;
}

.calendardiv td.enabled:hover {
    background-color: #F5F5F5;
}

.calendardiv td.active,
.calendardiv td.active.enabled:hover {
    color: #fff;
    background-color: #878c96;
}

.calendardiv a {
    font-size: 1em;
}

.vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

a.city-ticket-i {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 20px;
}

.icon-icon_meine_vorteilswelt_large {
    background: url("../img/icon/icon_meine_vorteilswelt_large.svg") no-repeat center;
    width: 56px;
    height: 56px;
}


/** Kasse-Seite */
.hrs-modallayer-layer .errormsg {
    font-size: 0.875em;
}

section .text-box {
    margin: 0;
    padding: 0 20px;
    width: 665px;
    height: 75px;
}

section .text-box p {
    font-size: 0.875em;
    line-height: 20px;
}

section.lastschrift .geburtsdatum .tag-wrapper,
section.lastschrift .geburtsdatum .monat-wrapper{
    width: 160px;
    margin-right: 20px;
}

section.lastschrift .geburtsdatum .jahr-wrapper {
    width: 180px;
}

section.lastschrift fieldset .fs-content .input-link {
    margin-top: 20px;
}

section.disabled .hint.wide-hint {
    padding: 14px 25px 14px 50px;
    width: 355px;
}

.icon-icon_sepa_lastschrift {
    background: url("../img/icon/zahlungsmittel_lastschrift.svg") no-repeat center;
    width: 68px;
    height: 39px;
}

.icon-icon_city_ticket_medium {
    background: url('../img/icon/icon-icon_city_ticket_large.svg') no-repeat center;
    background-size: 40px;
    width: 56px;
    height: 56px;
}

.icon-icon_paypal_medium {
    background-image: url('../img/icon/icon_erstattung.svg');
    width: 56px;
    height: 56px;
}

.icon-icon_sepa_medium {
    background-image: url('../img/icon/icon_erstattung.svg');
    width: 56px;
    height: 56px;
}

.icon-icon_sofort_ueberweisung_inactive_medium {
    background-image: url('../img/icon/icon_erstattung.svg');
    width: 56px;
    height: 56px;
}

.icon-icon_info_medium {
    background: url("../img/icon/icon_info_medium.png") no-repeat;
    width: 40px;
    height: 40px;
}

.icon-icon_vendo_paydirekt_inactive_medium {
    background-image: url('../img/icon/icon_erstattung.svg');
    width: 56px;
    height: 56px;
}

.icon-icon_vendo_paydirekt {
    background: url('../img/icon/zahlungsmittel_vendo_paydirekt.svg') no-repeat center;
    width: 68px;
    height: 39px;
}

input[type="checkbox"] + label.favorisiertezahlart {
    background-position-x: 0;
    padding-left: 33px;
    font-size: 14px;
}

/** Pruef-Seite */
.icon-icon_marketingzustimmung_auftrag {
    background-image: url('../img/icon/icon_marketingzustimmung_auftrag.png');
    width: 56px;
    height: 56px;
}

.icon-icon_aufklapper_plus {
    content: "";
    display: block;
    background: url(../img/icon/icon_aufklapper_plus_40x40.svg);
    background-size: 40px;
    width: 40px;
    height: 40px;
}

.icon-icon_aufklapper_minus {
    content: "";
    display: block;
    background: url(../img/icon/icon_aufklapper_minus_40x40.svg);
    background-size: 40px;
    width: 40px;
    height: 40px;
}


span.txtfieldreadonly {
    font-size: 0.875em;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    display: block;
    padding-top: 8px;
}

/* SU Captcha */
.fs-content .captcha .input-wrapper a.captcha-info {
    position: absolute;
    right: -40px;
    top: 2px;
}

.fs-content .captcha .input-wrapper {
    margin-bottom: 5px;
}

.fs-content .captcha .captcha-reload {
    margin-top: 10px;
}

/* Kreditkarte */

section.disabled .hint span.post-disable {
    top: 2px;
}

section.kreditkarte .kreditkarte-typ {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}
section.kreditkarte fieldset.cc-readonly .cc-valid {
    vertical-align: top;
}
section.kreditkarte .cc-valid p:first-letter{
    text-transform: uppercase;
}
section.kreditkarte fieldset.cc-readonly a.form-link.cc-change {
    margin: 0 0 20px 30px;
}
section.kreditkarte fieldset.cc-readonly a.form-link {
    margin: 0;
}
section.kreditkarte .threedsecure {
    margin-top: 7px;
}
section.kreditkarte .threedsecure .threedsecure-icon {
    margin-right: 20px;
}
section.kreditkarte .threedsecure .threedsecure-link {
    margin-top: 15px;
    margin-bottom: 0;
}
section.kreditkarte .fs-content .pull-left.cc-valid {
    width: 110px;
}
section.kreditkarte .fs-content .pull-left.cc-valid.kk-label {
    margin-top: 5px;
    width: 200px;
    padding-bottom: 6px;
}
section.kreditkarte div.cc-pruefziffer-input {
    width: 110px;
}

section.kreditkarte #kk-aufklapper {
    cursor: pointer;
}
section.kreditkarte .ico-kk-container {
    width: 40px;
    height: 40px;
}

section.kreditkarte .ico-kk {
    content: "";
    display: block;
    background-size: 24px;
    cursor: pointer;
}

section.kreditkarte .kreditkarte-image {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    left: 60px;
}

section.kreditkarten-uebersicht {
    padding-top: 6px;
    padding-bottom: 6px;
}

section.kasse-kk-kachel .container-layout a.form-link span {
    font-size: 14px;
}

section.kasse-kk-kachel label.icon i.icon-icon_kreditkarte_large {
    top: 32px;
}

section.kasse-kk-kachel .fs-content.kreditkarte-anlegen {
    padding-left: 140px;
}

section.kasse-kk-kachel .kreditkarte-image img {
    padding: 8px 0;
}

section.kreditkarte .aendern-link a.form-link .ico.icon-edit {
    left: 0;
}

section.kreditkarte .aendern-link a.form-link.pull-right.has-overlay.hide-no-js {
    margin-top: -19px;
}

section.kreditkarten-uebersicht .div-table {
    width: 100%;
}

section.kreditkarten-uebersicht .div-table-cell {
    padding: 12px 20px;
    border-bottom: 1px solid #E7E7E7;
}

div.overlay-kreditkarten-uebersicht section.kreditkarten-uebersicht {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

div.overlay-kreditkarten-uebersicht section.kreditkarten-uebersicht .div-table-cell {
    border-bottom: none;
    padding: 12px 8px 12px 4px;
}

div.overlay-kreditkarten-uebersicht section.kreditkarten-uebersicht .div-table-row label {
    border-bottom: 1px solid #E7E7E7;
    padding: 0 70px 0 50px;
}

div.overlay-kreditkarten-uebersicht section.kreditkarten-uebersicht .div-table-row:last-child label {
    border-bottom: none;
}

#overlay-kreditkarte.overlay-content #show-me {
    max-width: 700px;
}

#overlay-kreditkarte.overlay-content {
    max-width: 700px;
    padding: 0;
    font-size: 1em;
}

#overlay-kreditkarte.overlay-content fieldset {
    padding-left: 20px;
    padding-right: 20px;
    background: #F0F3F5;
}

#overlay-kreditkarte h3 {
    margin: 30px 20px 10px 20px;
}

#overlay-kreditkarte .hint span {
    font-size: 0.875em;
    vertical-align: super;
    padding-left: 6px;
}

#overlay-kreditkarte #errorFieldPruefnummerContainer {
    margin-bottom: 0;
}

#overlay-kreditkarte .bottom-separator {
    margin-block-start: 25px;
    margin-block-end: 25px;
    height: 1px;
    border: 0 none;
    color: #E7E7E7;
}

#overlay-kreditkarte .kk-data .kk-typ,
.kreditkarte .kk-data .kk-typ {
    font-size: 16px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

#overlay-kreditkarte section.kreditkarte .kreditkarte-anlegen {
    padding-left: 73px;
}

#overlay-kreditkarte section.kreditkarte .kk-add-headline {
    margin: 0;
}

a#kreditkarteAendern.arrowlink.pull-right.has-overlay.hide-no-js {
    top: 75%;
    padding: 0 10px 0 14px;
}

section#kreditkarte-overlay.kreditkarte.show-with-js-block {
    max-width: 700px;
}

div.overlay-kreditkarten-uebersicht section.kreditkarten-uebersicht .div-table .kk-options {
    display: none;
}

#pruefziffer-content #content #inhalt {
    width: auto;
    box-shadow: none;
}

#pruefziffer-content #content #inhalt .box {
    padding: 0;
    max-width: 560px;
}

section#kreditkarte-overlay.kreditkarte.show-with-js-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 20px;
}

section#kreditkarte-overlay.kreditkarte.show-with-js-block label.icon {
    padding-left: 136px;
}

section.kreditkarten-uebersicht .div-table .div-table-row:last-child .div-table-cell {
    border-bottom: none;
}
section.kreditkarten-uebersicht .div-table .kk-image {
    width: 60px;
}
section.kreditkarten-uebersicht .div-table .kk-image img {
    height: 40px;
}
section.kreditkarten-uebersicht .div-table .kk-data {
    font-size: 0.875em;
    padding-left: 0;
}

#overlay-kreditkarte.overlay-content section.kreditkarten-uebersicht .div-table .kk-data {
    font-size: 1em;
}

section.kreditkarten-uebersicht .div-table .expired {
    opacity: 0.5;
}

section.kreditkarten-uebersicht .div-table .kreditkarte-image {
    width: 108px;
}

section.kreditkarten-uebersicht .div-table .kk-data .kk-typ {
    font-size: 16px;
}
section.kreditkarten-uebersicht .div-table .kk-options {
    width: 132px;
    padding-right: 28px;
}
section.kreditkarten-uebersicht .div-table .kk-options .kk-options-button {
    width: 24px;
}

section.kreditkarten-uebersicht .div-table .kk-options .kk-options-button.favorite {
    float: left;
}

section.kreditkarten-uebersicht .div-table .kk-options .kk-options-button.delete {
    float: right;
}

section.kreditkarten-uebersicht .div-table .kk-expire-hint {
    color: #C50014;
    padding-left: 10px;
}

section#section-kk .kk-expire-hint.inline-block {
    color: #C50014;
    padding-left: 10px;
}

section#section-kk .col1.inline-block {
    padding-right: 20px;
}

section#section-kk .col2.inline-block {
    padding-right: 20px;
}

section#section-kk .kk-expire-hint.inline-block.col3 {
    padding-left: 0;
}

section.kreditkarten-uebersicht .kk-delete-btn {
    background: none;
    border: none;
    font-size: 0.875em;
    vertical-align: super;
    position: relative;
}
.zm-service-unavailable {
    font-size: 0.875em;
}

.overlay-content.datenschutz p {
    font-size: 0.875em;
}

.overlay-content.datenschutz p:last-child {
    margin-bottom: 0;
}

div#cboxLoadedContent .button-section section.options {
    padding: 10px 0;
}

/* Anmelden nach anonymer Buchung - Kreditkartendaten übernehmen */

section.reg-kkdatenuebernehmen .fs-content {
    padding-top: 10px;
}

section.reg-kkdatenuebernehmen .div-table {
    padding-bottom: 30px;
}

section.reg-kkdatenuebernehmen .div-table .div-table-row:last-child .div-table-cell {
    border-bottom: none;
}

section.reg-kkdatenuebernehmen .div-table .kk-image {
    width: 60px;
}

section.reg-kkdatenuebernehmen .div-table .kk-image img {
    height: 55px;
    padding-right: 20px;
}

section.reg-kkdatenuebernehmen .div-table .kk-data {
    font-size: 0.875em;
    padding-left: 0;
}

section.reg-kkdatenuebernehmen .div-table .expired {
    opacity: 0.5;
}

section.reg-kkdatenuebernehmen .div-table .kk-data .kk-typ {
    font-size: 1.25em;
}

section.reg-kkdatenuebernehmen .div-table .kk-options {
    width: 112px;
    padding-right: 28px;
}

section.reg-kkdatenuebernehmen .div-table .kk-expire-hint {
    color: #C50014;
    padding-left: 10px;
}

/* Kasse-Fehlermeldung */
.payment-error {
    margin-bottom: 20px;
    font-size: 0.875em;
}

.payment-3d-error {
    margin-top: 35px;
}

input[type="radio"] + label.no-payment-method {
    background: url("../img/icon/icon_radio_error_small.png") no-repeat 16px center;
}

/* Firmen-KK */
input.input-hidden + label,
label.without-input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    width: 100%;
    padding-left: 15px;
}

label.without-input-no-padding {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    width: 100%;
    padding-left: 1px;
}

input.input-hidden + label span.headline,
label.without-input span.headline {
    display: inline-block;
    line-height: 45px;
    vertical-align: top;
    padding: 15px 5px;
}

section.kreditkarte label span.headline.center-payment.headline-umbruch {
    line-height: 22px;
    width: 402px;
}

input.input-hidden + label, label.without-input {
    display: flex;
}

input.input-hidden + label > i.ico,
label.without-input > i.ico {
    margin-top: 14px;
}

label.without-input > a.has-overlay {
    align-self: center;
    flex-grow: 1;
    text-align: end;
    margin-right: 20px;
}

section.kreditkarte .fs-sidebar.cc-company-fee {
    position: absolute;
    top: 0;
    right: 0;
}

section.kreditkarte.select-fiku-kk .fs-sidebar {
    padding-top: 22px;
}

section.kreditkarte.select-fiku-kk .fs-sidebar i {
    background-position-y: 5px;
}

section.kreditkarte .kk-add-headline {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
    margin-left: 20px;
}

section.kreditkarte .fs-content.fiku-content {
    padding: 0;
    border-top: none;
}

section.kreditkarte .part-fiku-kk {
    padding: 20px 80px 25px 80px;
    border-top: 1px solid #E7E7E7;
}

section.kreditkarte .part-fiku-kk .extra-date span input{
    border: 1px solid #878c96;
    margin: 0 0 18px 0;
    background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    padding: 6px 9px 5px;
}

section.kreditkarte .part-fiku-kk .extra-date span input.twodigit {
    width: 50px;
}

section.kreditkarte .part-fiku-kk .extra-date span input.fourdigit {
    width: 130px;
}

section.kreditkarte .autodetect-kk-type {
    padding-top: 13px;
    font-size: 0.875em;
}

section.kreditkarte .kreditkarte-anlegen {
    padding-right: 0;
    padding-bottom: 0;
}

section.kreditkarte .kreditkarte-anlegen .clearfix {
    clear: both;
}

section.kreditkarte .kreditkarte-anlegen input:focus {
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

section.kreditkarte .kk-data a {
    font-size: 16px;
}

/* Gutscheine */
section.ecoupon p.ecoupon {
    margin-bottom: 5px;
}

/* Bahn Bonus */
section.bahnbonus .input-wrapper {
    margin: 0;
}

section.bahnbonus .bb-input-error {
    margin: 10px 0 15px;
}

.bb-input input.validation-successful {
    padding-right: 9px;
}

/**
 * Modal Layer
 */

div.header .info-right.close {
    background: url("../img/icon/close.svg") no-repeat center;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}

/**
 * Adressvalidierung Non-JS
 */
.adressvalidierung-non-js .border-top {
    border-top: 1px solid #e7e7e7;
}

.adressvalidierung-non-js fieldset .fs-header h4.subtitle {
    margin-left: 0;
    margin-bottom: 15px;
}

/**
 * AdresseValididerung Layer, Layer und Non-JS
 */
div.adresseval-modallayer-layer {
    top: 30%;
}

div.adresseval-modallayer-layer.modallayer-layer div.header {
    padding: 0;
}

div.adresseval-modallayer-layer.modallayer-layer div.header h3 {
    margin-top: 0;
}

div#adresseval-modallayer-layer-content {
    max-width: 820px;
    position: relative;
    background: #ffffff;
    -webkit-box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
}

div#adresseval-modallayer-layer-content section.options {
    margin: 0 0 10px 0;
}

section.adressvalidierung .fieldset-inner {
    padding: 0 20px 20px 0;
}

section.adressvalidierung .fieldset-inner.radio {
    padding-bottom: 0;
}

section.adressvalidierung .fieldset-inner.inputfields {
    padding-right: 160px;
    padding-bottom: 0;
}

div#adresseval-modallayer-layer-content section.adressvalidierung .fieldset-inner,
div#adresseval-modallayer-layer-content section.adressvalidierung .fieldset-inner.inputfields {
    padding-right: 0;
}

section.adressvalidierung input[type="checkbox"] + label,
section.adressvalidierung input[type="radio"] + label {
    background-position-x: 0;
    padding-left: 40px;
    font-size: 0.875em;
}

div.adressvalidierung-non-js input[type="checkbox"] + label.small,
div.adressvalidierung-non-js input[type="radio"] + label.small {
    font-size: 0.875em;
    max-width: 540px;
}

section.zeitkarteninhaber .fieldset-inner {
    padding: 0 40px 25px 40px;
}

section.zeitkarteninhaber .fs-content {
    padding-top: 20px;
}

section.login.zeitkarteninhaber {
    padding: 20px 20px 20px 20px;
}

/** Persoenliche Daten */
section.customer-data .c-data .grid-wrapper-3 .grid.twoCols {
    width: 66.6%;
}

section.registrierung.customer-data .w-380 {
    padding-top: 26px;
    padding-right: 20px;
}

/* Legende */
section.legende .legende-pflicht {
    position: absolute;
    left: 10px;
    top: -3px;
}

section.postcontent.legende.datenschutz {
    padding-left: 20px;
}

section.postcontent.legende.datenschutz .container-700 {
    margin-left: 0;
}

section.postcontent p a,
section.postcontent a.form-link.datenschutz-link span{
    font-size: 12px;
}

/** Lieferadresse */
fieldset.lieferadresse .fs-header h4 {
    margin-bottom: 25px;
    margin-left: 0;
}

fieldset.lieferadresse .fs-content {
    padding-top: 0;
    padding-left: 20px;
}

fieldset.lieferadresse .fs-content h4 {
    padding-bottom: 13px;
    font-size: 0.875em;
}

fieldset.lieferadresse .fs-content h4 .zusatz {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

fieldset.lieferadresse .fs-content .content-row {
    padding-left: 60px;
}

fieldset.lieferadresse .fs-content .sub-content {
    border-top: 1px solid #E7E7E7;
}

/**
 * Diverse Groups Kassenseite, in der content 
 * linksbuengig 20px vom Rahmen entfernt ist  
 */
.fs-content.maxwidth {
    padding-right: 20px;
    padding-bottom: 3px;
    padding-left: 20px;
}

.fs-content.maxwidth p {
    padding-bottom: 10px;
}


/** Reisendenangaben (BahnIdentifizierung) */
p.reisender-readonly {
    padding-bottom: 18px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

fieldset.reisende-hinfahrt + fieldset.reisende-rueckfahrt h4 {
    margin-top: 0;
}

.postcontent .symbol-item {
    margin-left: 50px;
    margin-bottom: 16px;
}

.postcontent .star-icon {
    margin-left: 16px;
}

.postcontent .selfsizepopup {
    font-size: 1em;
}

.postcontent.legende {
    margin-bottom: 0;
}

/*---------------------------------------------------------------------
 * Abbrecher Survey & Abbrecher Support
 *---------------------------------------------------------------------*/
#abbrechersupport-content,
#abbrechersurvey-content {
    width: 500px;
    padding: 0 8px;
    background-color: #fff;
}

#abbrecher-mousecatcher {
    width:100%;
    position: fixed;
    top: 0;
    z-index: 10003;
    height: 4px;
    left:-9999px;
}

#abbrecher-mousecatcher.active {
    left: 0;
}

#abbrechersupport-modallayer-layer p.hinweistext {
    padding-bottom: 8px;
}


/*
 * 3DSecure - Modallayer
 */
#threedsecure-modallayer-content {
    width: 520px;
    background-color: #FFFFFF;
}

#threedsecure-modallayer-content h3, #threedsecure-modallayer-content p {
    width: auto;
}

#threedsecure-modallayer-content iframe {
    width: 520px;
    height: 420px;
    border: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#formThreeDs section.error-message {
    height: 360px;
    margin-top: 15px;
}

/***************************************************************************
 * CSS Definitionen für Grafische Sitzplatzreservierung
 ***************************************************************************/

section.header.gsd {
    background-color: #fff;
}

section.options.clearfix#gsd-footer{
    background-color: #fff !important;
    border-bottom: 2px solid #f4f5f3;
    padding-bottom: 20px;
}

section.options.clearfix#gsd-footer .reset-uebernahme-container {
    display: flex;
    justify-content: space-between;
}

section.options.clearfix#gsd-footer .reset-uebernahme-container a {
    display: flex;
    align-items: flex-end;
}

section.header.gsd div.headline {
    font-size: 1.25em;
    padding-bottom: 4px;
}

section.header.gsd span.subline {
    font-size: 0.875em;
}

section.options.clearfix.gsd span {
    font-size: 0.875rem;
}

section.options.clearfix.gsd a .icon-arrow-right {
    top: 4px;
}

div.gsd-container {
    color: #282D37;
}

div.gsd-container div.gsd-wagenkarussel {
    position: relative;
    /*padding: 20px 0 8px 0;*/
}

div#cboxLoadedContent section {
    padding: 10px 20px;
}

div#cboxLoadedContent section.options {
    margin: 0;
}

div.gsd-container div#gsd-element-tooltip {
    position: absolute;
    display: none;
    background-color: #fff;
    color: #282D37;
    font-size: 0.875em;
    font-family: DBScreenSansRegular, DBSansRegular, Arial, Helvetica, sans-serif;
    z-index: 100;
    white-space: normal;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
}

div.gsd-container div.gsd-wagencontainer {
    position: relative;
    width: 892px;
    height: 158px;
    float: left;
}

div.gsd-container div.gsd-wagencontainer .wagen {
    position: absolute;
    display: block;
    left: 0;
    font-size: 0.7em;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

div.gsd-container div.options {
    padding: 16px 24px;
}

div.gsd-container .wagenauswahl {
    float: left;
}

div.gsd-container .wagenauswahl label {
    font-size: 1.125em;
    line-height: 44px;
    margin-right: 8px;
}

div.gsd-container .wagenauswahl .custom-select {
    width: 80px;
    margin: 0;
    color: #282D37;
}

div.gsd-container .wagenauswahl select option.selected {
    background-color: #fcdab4;
}

div.gsd-container button.wagen-blaettern {
    background-color: #fff;
    width: 24px;
    min-width: initial;
    height: 135px !important;
    border: 0;
    padding-left: 2px;
    padding-right: 2px;
    outline: none;
    font-size: 2em;
    margin-top: 15px;
    margin-bottom: 15px;
}

div.gsd-container button.wagen-blaettern.disabled,
div.gsd-container button.wagen-blaettern.disabled:hover {
    color: #afb4bb;
    background: transparent no-repeat;
    border: none;
}

div.gsd-container button.wagen-blaettern.prev {
    -webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    -ms-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    box-shadow: 1px 0 8px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 1px 0 8px 0 rgba(0, 0, 0, 0.15);
    margin-right: 10px;
}
div.gsd-container button.wagen-blaettern.next {
    -webkit-border-radius: 2px 0 0 2px;
    -moz-border-radius: 2px 0 0 2px;
    -ms-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
    box-shadow: -1px 0 8px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: -1px 0 8px 0 rgba(0, 0, 0, 0.15);
    margin-left: 10px;
}

div.gsd-container button.wagen-blaettern.hover,
div.gsd-container button.wagen-blaettern:hover {
    color: #C50014;
}

div.gsd-container button.wagen-blaettern .ico.icon-icon_arrow_next {
    background: url("../img/icon/pfeil_rechts_grau.svg") no-repeat center;
    width: 24px;
    height: 24px;
}

div.gsd-container button.wagen-blaettern .ico.icon-icon_arrow_prev {
    background: url("../img/icon/pfeil_links_grau.svg") no-repeat center;
    width: 24px;
    height: 24px;
}

/* Focus-Rähmchen im Button verhindern: für Firefox < 4 */
div.gsd-container button.wagen-blaettern::-moz-focus-inner {
    border: 0;
}
/* für IE8 */
div.gsd-container button.wagen-blaettern:focus {
    outline: none;
}

.gsd-wageninfo {
    text-align: right;
    padding: 12px 0;
}

/* Neu mit ID 2083 Fahrtrichtung unten in Mitte */
.gsd-fahrtrichtung {
    margin-left: 400px;
}
.gsd-fahrtrichtung span {
    padding: 8px;
}
.gsd-fahrtrichtung span.links {
    background: url(../img/Pfeil_links_48x24_UKI.png) left center no-repeat !important;
    padding-left: 52px;
}
.gsd-fahrtrichtung span.rechts {
    background: url(../img/Pfeil_rechts_48x24_UKI.png) right center no-repeat !important;
    padding-right: 52px;
}

/**
 * Legenden-Elemente mit oder ohne Icons.
 */
div.gsdlegende div.element {
    float: left;
    min-height: 24px;
    padding: 4px 4px 4px 0;
    margin-bottom: 4px;
}

div.gsdlegende div.element.toplegende {
    padding: 10px 4px;
}

div.gsdlegende div.element.icon {
    display: none; /* Icons werden durch JS angezeigt */
}
div.gsdlegende div.element span {
    font-size: 0.875em;
    float: left;
    margin-left: 8px;
    width: 190px;
    line-height: 24px;
}
div.gsdlegende div.element img {
    float: left;
    width: 24px;
    height: 24px;
}

.gsd-toplegende {
    float: left;
    height: 32px;
    margin-left: 42px;
}

/**
 * Entsprechend für die Sitzplatz-Icons.
 */
div.gsdlegende span.sitzplatz {
    min-height: 18px;
}

.sitzplatz-hinweis,
.wartung-hinweis {
    padding: 16px;
    margin-top: 16px;
    border: solid 1px #F39200;
    border-radius: 4px;
}

.sitzplatz-hinweis h4 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-weight: normal;
    font-style: normal;
    padding-bottom: 8px;
}

.sitzplatz-hinweis p.firstline {
    padding-bottom: 8px;
}

/**
 * GSD Responsive
 */
.gsd-mobileview .gsd-container {
    background-color: #F0F3F5;
    color: #282D37;
    font-size: 14px;
}

.gsd-mobileview h1 {
    background-color: #fff;
    font-size: 17px;
    padding: 52px 0 12px 16px;
    margin: 0;
}

.gsd-mobileview .btn {
    font-size: 12px;
}

.gsd-mobileview .inputtbl {
    position: relative;
}

.gsd-mobileview .container-980.button-wrapper {
    background-color: #fff;
    padding: 0;
}

.gsd-mobileview .container-980.button-wrapper .button-section section.options{
    margin-top: 12px;
}

.gsd-mobileview .gsd-container div.gsd-wagencontainer {
    width: inherit;
    height: inherit;
    float: none;
}

.gsd-mobileview .gsd-container div.gsd-wagencontainer .wagen {
    position: inherit;
}

.gsd-mobileview .hinweistext {
    padding: 16px 16px 8px 16px;
}

.gsd-mobileview .infozeile {
    text-align: right;
    padding: 16px 20px 0 20px;
}

.gsd-mobileview .pseudopage {
    margin-top: 40px;
    /* fixed damit keine Scrollbars in unsichtbare pseudopage hinein entstehen */
    position: fixed;
    display: none;
    top: 0;
    width: 100%;
    overflow: visible;
    opacity: 1.0;
}

body.fullpage.landscape .gsd-mobileview .pseudopage {
    transition: top 800ms ease;
    -webkit-transition: top 800ms ease;
}

body.fullpage.portrait .gsd-mobileview .pseudopage {
    transition: left 800ms ease;
    -webkit-transition: left 800ms ease;
}

body.fullpage.landscape .gsd-mobileview .pseudopage.links {
    top: -100%;
}

body.fullpage.landscape .gsd-mobileview .pseudopage.rechts {
    top: 100%;
}

body.fullpage.portrait .gsd-mobileview .pseudopage.links {
    left: -100%;
}

body.fullpage.portrait .gsd-mobileview .pseudopage.rechts {
    left: 100%;
}

body.fullpage.landscape .gsd-mobileview .pseudopage.active,
body.fullpage.portrait .gsd-mobileview .pseudopage.active {
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.gsd-mobileview .pseudopanel {
    position: fixed;
    top: 56px;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
    transition: width 400ms ease, height 400ms ease;
    -webkit-transition: width 400ms ease, height 400ms ease;
    right: 25%;
    width: 45%;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

body.fullpage.portrait .gsd-mobileview .pseudopanel {
    right: 0;
    top: inherit;
    bottom: 14em;
    height: auto;
    width: 360px;
}

.gsd-mobileview .pseudopanel .auszieher {
    display: none;
}

.gsd-mobileview .pseudopanel.eingeklappt {
    height: 2em;
}

.gsd-mobileview .pseudopanel.eingeklappt .auszieher {
    display: block;
    position: relative;
    text-align: center;
    padding-top: 4px;
}

body.fullpage.portrait .gsd-mobileview .pseudopanel.eingeklappt {
    width: 32px;
}

body.fullpage.portrait div.pseudopanel.eingeklappt .auszieher {
    position: absolute;
    left: 4px;
    top: calc(50% - 16px);
}

.gsd-mobileview .pseudopanel .gsdlegende {
    margin: 4px;
    transition: visibility 1ms linear 200ms;
    -webkit-transition: visibility 1ms linear 200ms;
}

.gsd-mobileview .pseudopanel h2 {
    font-size: 16px;
    border: none;
    margin: 4px;
    padding: 0;
}

.gsd-mobileview .pseudopanel.eingeklappt .gsdlegende {
    visibility: hidden;
}

body.fullpage.portrait .gsd-mobileview .pseudopanel .gsdlegende {
    width: 360px;
}

/**
 * Legenden-Elemente mit oder ohne Icons.
 */
.gsd-mobileview .gsdlegende .element {
    display: inline;
    float: left;
    min-height: 18px;
    padding-top: 1px;
    padding-right: 8px;
}

.gsd-mobileview .gsdlegende .element.icon {
    display: none; /* Icons werden durch JS angezeigt */
}

.gsd-mobileview .gsdlegende > span {
    vertical-align: top;
}

.gsd-mobileview #gsd-bottomlegende > span {
    margin-left: 4px;
    font-size: 11px;
}

.gsd-mobileview .gsdlegende#gsd-bottomlegende span img {
    vertical-align: middle;
    display: inline-block;
    margin: 4px 4px 4px 0;
}

.gsd-mobileview .gsd-toplegende {
    display: inline;
    float: none;
    /** Immer Zeile anzeigen, auch wenn keine Elemente drin, um Flackern zu verhindern */
    height: 1em;
}

.gsd-mobileview #gsd-bottomlegende .element {
    width: 48%;
    overflow: hidden;
}

@media only screen and (min-width: 320px) and (max-width: 359px) {
    body.fullpage .gsd-mobileview div.pseudopanel {
        width: 60%;
    }

    body.fullpage.portrait .gsd-mobileview div.pseudopanel,
    body.fullpage.portrait .gsd-mobileview div.pseudopanel .gsdlegende {
        width: 320px;
    }
}

/**
 * Entsprechend für die Sitzplatz-Icons.
 */
.gsd-mobileview .gsdlegende .sitzplatz {
    min-height: 18px;
}

.gsd-mobileview .gsd-wageninfo .gsd-wagenstand {
    float: left;
    padding-top: 1px;
    padding-right: 4px;
    margin-bottom: 16px;
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-size: 16px;
}

body.fullpage.portrait .gsd-mobileview .gsd-container .gsd-wageninfo {
    margin: 4px 8px;
    float: right;
    width: 48px;
    text-align: center;
}

body.fullpage.landscape .gsd-mobileview .gsd-container .gsd-wageninfo {
    padding: 16px;
}

body.fullpage.landscape .gsd-mobileview .gsd-container .gsd-wageninfo img {
    width: 20px;
    height: 20px;
    display: initial;
}

body.fullpage.landscape .gsd-mobileview .gsd-wageninfo .gsd-wagenstand {
    margin-bottom: 0;
    padding-right: 24px;
    display: flex;
}

body.fullpage.landscape .gsd-mobileview .gsd-wageninfo .gsd-wagenstand img {
    margin-right: 8px;
}

body.fullpage.portrait .gsd-mobileview .gsd-container .gsd-wageninfo img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

.gsd-mobileview .gsd-fahrtrichtung span {
    padding: 4px 4px 8px;
}

body.fullpage.portrait .gsd-mobileview .gsd-container .gsd-fahrtrichtung span {
    padding-bottom: 48px;
}

body.fullpage.landscape .gsd-mobileview .gsd-fahrtrichtung span.links {
    background: url(../img/Pfeil_links_48x24_UKI.png) left center no-repeat;
    background-size: 66% 66%;
    padding-left: 52px;
}

body.fullpage.portrait .gsd-mobileview .gsd-fahrtrichtung span.links {
    background: url(../img/Pfeil_hoch_24x48_UKI.png) left center no-repeat;
    padding-left: 28px;
}

body.fullpage.landscape .gsd-mobileview .gsd-fahrtrichtung span.rechts {
    background: url(../img/Pfeil_rechts_48x24_UKI.png) left center no-repeat;
    background-size: 66% 66%;
    padding-left: 52px;
}

body.fullpage.portrait .gsd-mobileview .gsd-fahrtrichtung span.rechts {
    background: url(../img/Pfeil_runter_24x48_UKI.png) left center no-repeat;
    padding-left: 28px;
}

.gsd-mobileview .gsd-container .gsd-inputtbl {
    /* Wichtig f. absolute Positionierung Tooltip */
    position: relative;
    padding-bottom: 8px;
}

.gsd-mobileview .gsd-container .gsd-wagenkarussel {
    margin: 4px;
    overflow: auto;
    clear: left;
}

body.fullpage .gsd-mobileview .gsd-container#gsd-page-sitzplatzauswahl .gsd-wagenkarussel {
    /* Wichtig wg. Bug bei frühen Android Browsern,
    siehe http://slash-system.com/en/how-to-fix-android-html5-canvas-issues/
    und http://stackoverflow.com/questions/18271990/android-native-browser-duplicating-html5-canvas-fine-in-chrome.
    Falls notwendig, wird overflow:auto per JS gesetzt (s. GSDPageController.updateDetailsWagen()).
    */
    overflow: visible;
}

.gsd-mobileview .gsd-container .gsd-wagenkarussel .gsd-wagencontainer {
    position: relative;
}

.gsd-mobileview .gsd-container .gsd-wagenkarussel .wagen {
    font-size: 10px;
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
}

body.fullpage.portrait .gsd-mobileview .gsd-wagenkarussel .wagen {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

body.fullpage.landscape .gsd-mobileview .gsd-wagenkarussel .wagen {
    display: initial;
}

.gsd-mobileview .gsd-container#gsd-page-sitzplatzauswahl .gsd-wagenkarussel {
    z-index: 50; /* SBr 663 Versuch ob z-index etwas bringt */
}

.gsd-mobileview .gsd-container#gsd-page-sitzplatzauswahl .gsd-wagenkarussel .wagen {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

body.fullpage.portrait .gsd-mobileview .gsd-container#gsd-page-sitzplatzauswahl .gsd-wageninfo {
    margin-left: 0;
}

/**
Rote Umrandung für selektierten Wagen
*/
.gsd-mobileview .gsd-container#gsd-wagenplan .gsd-wagencontainer .wagen {
    border: 2px solid transparent;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 8px;
}

.gsd-mobileview .gsd-container#gsd-wagenplan .gsd-wagencontainer .wagen.selected {
    border: 2px solid #282D37;
    border-radius: 2px;
}

.gsd-mobileview .gsd-container #gsd-element-tooltip {
    position: absolute;
    background-color: #FFFFFF;
    color: #282D37;
    font-size: 12px;
    font-family: DBScreenSansRegular, DBSansRegular, Arial, Helvetica, sans-serif;
    z-index: 100;
    white-space: normal;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
}
/* Ende GSD Responsive */

/*******************************************
 * Warenkorb / Hotel Layer (Rechter Kamin)
 * *****************************************/

div.overlay-content.warenkorb-layer table {
    width: 100%;
}

div.warenkorb-layer section.offers table .offer .ico {
    left: -1px;
}

div.warenkorb-layer section.offers table .offer {
    width: 25%;
    padding-right: 0;
    padding-left: 50px;
}

div.warenkorb-layer section.offers table .description {
    width: 60%;
}

div.warenkorb-layer section.offers table .price {
    width: 15%;
    padding-left: 0;
    padding-right: 10px;
}

div.warenkorb-layer section.offers table tr.nopadding th,
div.warenkorb-layer section.offers table tr.nopadding td,
div.angebotskonditionen section.offers table tr.resHinfahrt th,
div.angebotskonditionen section.offers table tr.resHinfahrt td,
div.angebotskonditionen section.offers table tr.resHinfahrt {
    padding-bottom: 0;
    border-bottom: none;
}

div.warenkorb-layer  div.angebotsdetails {
    margin: 0 0 4px;
}

.hrs-kamin-box .hotelname {
    width: 116px;
}

div.overlay-content.warenkorb-layer,
div.overlay-content.hrs-layer {
    padding: 20px 0 0 0;
    max-width: 840px;
}

div.overlay-content.warenkorb-layer h3,
div.overlay-content.hrs-layer h3 {
    padding-left: 20px;
}

div.overlay-content.warenkorb-layer section.offers h3 {
    padding-left: 14px;
}

div#cboxLoadedContent div.overlay-content.warenkorb-layer section.offers,
div#cboxLoadedContent div.overlay-content.hrs-layer section.additional-statements {
    padding: 0 10px;
    margin: 0;
}

div#cboxLoadedContent div.overlay-content.warenkorb-layer section.offers main {
    padding-top: 0;
}

div#cboxLoadedContent div.overlay-content.warenkorb-layer section.offers main,
div#cboxLoadedContent div.overlay-content.hrs-layer section.additional-statements main {
    box-shadow: none;
}

div#cboxLoadedContent div.overlay-content.warenkorb-layer section.offers main {
    font-size: 0.875em;
}

div#cboxLoadedContent .error-content {
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
}
div#cboxLoadedContent .error-content .new-request {
    margin-bottom: 25px;
}

div.overlay-content.warenkorb-layer table,
div.overlay-content.hrs-layer table {
    margin: 0;
    border-spacing: 0;
}

div.overlay-content.warenkorb-layer table th,
div.overlay-content.hrs-layer table th {
    border-bottom: #E7E7E7 solid 1px;
}

div.overlay-content.warenkorb-layer section.gesamtpreis table tr th,
div.overlay-content.warenkorb-layer section.gesamtpreis table tr td,
div.overlay-content.hrs-layer section.gesamtpreis table tr th,
div.overlay-content.hrs-layer section.gesamtpreis table tr td {
    border-bottom: none;
}

div.angebotskonditionen section.offers div.description div.angebotsdetails {
    padding-bottom: 4px;
}

div.angebotskonditionen.bahncard section.offers div.description div.angebotsdetails {
    padding-bottom: 12px;
}

div.angebotskonditionen.bahncard section.offers div.description div.angebotsdetails .input-label {
    font-size: 1em;
    line-height: 18px;
    margin: 0 0 6px 0;
    color: #646973;
}

div.warenkorb-layer div.angebotsdetails-empty,
div.angebotskonditionen div.angebotsdetails-empty {
    height: 8px;
    margin-bottom: 0;
}

div.angebotskonditionen section.offers div.description div.angebotsdetails:last-child {
    padding-bottom: 0;
}

/** AGB & Verspätungsalarm */

div.pruefen-buchen section.agb .error-container,
div.pruefen-buchen section.verbindungsueberwachung .error-container {
    margin-bottom: 0;
    padding-bottom: 15px;
}

div.pruefen-buchen section.agb p {
    padding-top: 20px;
    font-size: 1em;
}

div.pruefen-buchen section.agb.bahncard p {
    padding-top: 10px;
    font-size: 0.875em;
}

div.pruefen-buchen section.agb label {
    font-size: 1em;
}

div.pruefen-buchen section.agb.bahncard label {
    background-position-x: 0;
    padding-left: 44px;
    font-size: 0.875em;
    padding-bottom: 0;
}

div.pruefen-buchen section.agb a:hover {
    color: #C50014;
}

div.pruefen-buchen section.verbindungsueberwachung input[type=submit] {
    font-size: 1em;
    text-decoration: underline;
    text-transform: none;
    background: #ffffff;
}

/** Footer: Gesamtpreis */
div.angebotskonditionen section.offers tr.gesamtpreis .offer .ico {
    top: 0;
}

section.hrs-section table .offer .ico {
    position: absolute;
    left: 13px;
    bottom: 7px;
}

section.hrs-section table tfoot tr .offer {
    padding-left: 57px;
}

div.pruefen-buchen section.buy-it {
    background: #ffffff;
}

div.pruefen-buchen input.input-link.lower {
    text-transform: lowercase;
}

/* ISPR */
div.pruefen-buchen section.offers table tr.ispr-schnellbuchung td {
    padding-top: 0;
}

div.pruefen-buchen section.offers table tr.ispr-schnellbuchung td.description {
    font-size: 0.75em;
    padding-top: 27px;
    line-height: 22px;
}

div.pruefen-buchen section.offers table tr.ispr-schnellbuchung td.description .icon-icon_info_small {
    left: -30px;
}

div.pruefen-buchen section.offers table tr.ispr-schnellbuchung .input-link {
    font-size: 1em;
}

/** Seite Prüfen-Buchen: Reservierung-Hinweis */
div.pruefen-buchen .hinweis-block .ico.icon-icon_info_small {
    position: absolute;
    top: 60%;
    left: 3px;
}

div.pruefen-buchen section.additional-statements.res-error main {
    padding: 20px;
}

div.pruefen-buchen section.additional-statements.res-error .reshinweis-detail {
    padding: 20px 32px 20px 0;
    width: 60%;
}

div.pruefen-buchen section.additional-statements.res-error .reshinweis {
    vertical-align: middle;
}

div.pruefen-buchen section.additional-statements.res-error .reshinweis input {
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 22px;
}

div.pruefen-buchen .additional-statements .schnellbuchung-link {
    margin-top: 4px;
}

.kamin .item .item-header.hinweis {
    padding-left: 0;
    color: #282D37;
}

/* Block Angebotskonditionen */

div.warenkorb-layer section.offers main,
div.angebotskonditionen section.offers main {
    padding: 10px 0 0;
    background: #fff;
}

div.pruefen-buchen section.offers .offers-content,
section.offers main .offers-content {
    width: 100%;
}

div.warenkorb-layer section.offers .offers-content-row,
div.angebotskonditionen section.offers .offers-content-row {
    vertical-align: top;
    padding: 17px 10px 27px;
    position: relative;
    font-size: 1em;
}

div.angebotskonditionen section.offers .offers-content-row .description,
div.angebotskonditionen section.offers .offers-content-row .description-datum,
div.angebotskonditionen section.offers .offers-content-row .description-text,
div.angebotskonditionen section.offers .offers-content-row .price {
    font-size: 0.875em;
}

div.warenkorb-layer div.angebotskonditionen section.offers .offers-content-row .description,
div.warenkorb-layer div.angebotskonditionen section.offers .offers-content-row .description-datum,
div.warenkorb-layer div.angebotskonditionen section.offers .offers-content-row .description-text,
div.warenkorb-layer div.angebotskonditionen section.offers .offers-content-row .price {
    font-size: 1em;
}

div.warenkorb-layer section.offers .offers-content-row,
div.angebotskonditionen section.offers .offers-content-row {
    border-bottom: 1px solid #E7E7E7;
}

div.warenkorb-layer section.offers .offers-content-row .offer,
div.angebotskonditionen section.offers .offers-content-row .offer {
    text-align: left;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-weight: normal;
    font-style: normal;
    padding-left: 68px;
    width: 266px;
    flex-shrink: 0;
}

div.angebotskonditionen.bahncard section.offers .offers-content-row .offer {
    width: 320px;
}

div.warenkorb-layer section.offers .offers-content-row .offer .ico,
div.angebotskonditionen section.offers .offers-content-row .offer .ico {
    position: absolute;
    top: -1px;
    left: 4px;
}

div.warenkorb-layer section.offers .offers-content-row .description ul,
div.angebotskonditionen section.offers .offers-content-row .description ul {
    margin: 2px 0 0;
}

div.warenkorb-layer section.offers .offers-content-row .description li,
div.angebotskonditionen section.offers .offers-content-row .description li {
    float: left;
    position: relative;
    padding: 8px 0 0 28px;
    margin: 0 17px 0 0;
}

div.warenkorb-layer section.offers .offers-content-row .description li .ico,
div.angebotskonditionen section.offers .offers-content-row .description li .ico {
    position: absolute;
    top: 4px;
    left: 0;
}

div.warenkorb-layer section.offers .offers-content-row .detail,
div.angebotskonditionen section.offers .offers-content-row .detail {
    font-size: 0.857em;
    margin-top: 8px;
}

div.warenkorb-layer section.offers .offers-content-row .price,
div.angebotskonditionen section.offers .offers-content-row .price {
    width: 160px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
}

div.warenkorb-layer section.offers table tfoot tr th,
div.warenkorb-layer section.offers table tfoot tr td,
div.hrs-layer section.gesamtpreis table tfoot tr th,
div.hrs-layer section.gesamtpreis table tfoot tr td {
    position: relative;
    padding: 8px 10px 7px 20px;
}

div.warenkorb-layer section.offers table tfoot tr .price,
div.hrs-layer section.gesamtpreis table tfoot tr .price,
div.angebotskonditionen section table tfoot tr .price,
section.hrs-section table tfoot tr .price {
    font-size: 1em;
    text-align: right;
    vertical-align: middle;
    padding: 20px;
}

.price .col2 {
    display: block;
    float: right;
    min-width: 126px;
    padding-left: 56px;
}

.price.mwst span {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", sans-serif;
    color: #646973;
}

div.warenkorb-layer section.offers table tfoot tr .offer,
div.hrs-layer section.gesamtpreis table tfoot tr .offer,
div.angebotskonditionen section table tfoot tr .offer {
    text-align: left;
    vertical-align: middle;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-weight: normal;
    font-style: normal;
    padding-left: 57px;
    padding-top: 15px;
    width: 24.468%;
}

div.warenkorb-layer section.offers table tfoot tr .offer .ico,
div.hrs-layer section.gesamtpreis table tfoot tr .offer .ico {
    position: absolute;
    top: 0;
    left: 13px;
}

div.angebotskonditionen section.offers .offers-content-row,
div.angebotskonditionen section.offers .offers-content-row .column-1 {
    display: flex;
    width: inherit;
}

div.angebotskonditionen section.offers .offers-content-row .description-info {
    display: flex;
    flex-wrap: wrap;
    padding-top: 2px;
}

div.angebotskonditionen section.offers .offers-content-row .price {
    padding-top: 2px;
}

div.angebotskonditionen section.offers .offers-content-row .description {
    padding-top: 2px;
}

div.angebotskonditionen section.offers .offers-content-row .description-info .description-text {
    padding-top: 4px;
}

.kamin .item .item-header .price.notbold,
div.warenkorb-layer section.offers .offers-content-row .price.notbold,
div.angebotskonditionen section.offers .offers-content-row .price.notbold,
div.angebotskonditionen section.offers .offers-content-row .offer .notbold {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

/** Abschnitt Umtausch auf der Pruef-Seite **/
div.pruefen-buchen section.offers div.offers-content .offers-content-row {
    border-bottom: 1px solid #E7E7E7;
    padding: 5px;
}

div.pruefen-buchen section.offers div.offers-content .no-bottom-border {
    border-bottom: none;
    padding: 5px;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row:last-child {
    border-bottom: none;
    flex-wrap: wrap;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row {
    padding-top: 17px;
    padding-bottom: 27px;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row .offer span.notbold {
    font-size: 0.875em;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row .description-datum {
    margin-right: 20px;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row a.arrowlink,
div.pruefen-buchen section.offers div.offers-content .offers-content-row a.arrowlink {
    font-size: 1em;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row.noborderbottom {
    border-bottom: none;
    padding-bottom: 0;
}

div.pruefen-buchen section.offers div.offers-content .offers-content-row .description-info.nopaddingtop {
    padding-top: 2px;
}

div.angebotskonditionen section.offers .offers-content-row.gesamtpreis .price {
    width: 100%;
}

div.angebotskonditionen section.offers .offers-content-row.gesamtpreis.nolayer .price {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    text-align: left;
}

div.angebotskonditionen section.offers .offers-content-row.gesamtpreis.nolayer .price .col1.price-label span.mwst {
    font-family: DBScreenSansRegular, DBSansRegular, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/** Abschnitt Reisedaten Prüfseite*/
div.pruefen-buchen section.connection header {
    background: #fff none repeat scroll 0 0;
}

div.pruefen-buchen section.additional-statements .data .half-width.pull-left {
    padding-right: 20px;
}

input[type='checkbox'] + label.small.mailversand {
    padding-right: 0;
    max-width: 100%;
}

/**  Contentfenster im rechten Kamin auf Nicht-Buchungsseiten **/

.kamin-contentfenster {
    background-color: #f5f5f5;
    padding: 16px 20px;
    float: right;
    position: relative;
}

.kamin-contentfenster h3 {
    margin: 0 0 20px;
}

/** Abschnitt Reisedaten, Streckenverlauf */
section.connection {
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

section.connection header {
    border-bottom: 1px solid #E7E7E7;
    padding: 25px 20px 13px;
}

section.connection header h4, section.connection header .h4 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-size: 0.875em;
}

section.connection main {
    padding: 9px 0 27px;
    border-radius: 0 0 4px 4px;
}

section.connection header h2 {
    max-width: none;
}

section.connection table {
    width: 100%;
    font-size: 0.875em;
}

section.connection table td {
    vertical-align: top;
    padding: 7px 10px;
    height: 18px;
}

section.connection table .icon {
    width: 14px;
    padding: 11px 0 0 18px;
}

section.connection table .station {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding-top: 7px;
}

section.connection table .time {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    width: 40px;
    padding-left: 20px;
}

section.connection table .train {
    padding-bottom: 16px;
}

section.connection table .train .ico {
    float: left;
    margin: -2px 0 0 0;
}

section.connection table .reservation .ico {
    float: left;
    margin: -5px 5px 0 0;
}

section.connection table .train .text,
section.connection table .reservation .text {
    margin-left: 30px;
}

section.connection table .reservation .seat-location {
    display: block;
    font-size: 0.857em;
    margin: 6px 0 0;
}

section.connection.light {
    background: none;
}

section.connection.light header {
    padding: 25px 0;
    border-bottom: none;
}

section.connection.light header h4 {
    font-size: 1.25em;
}

section.connection.light main {
    background: #fff;
    padding: 7px 0 12px;
}

section.connection.light main table .icon {
    display: none;
}

section.connection.light main table .station {
    padding-left: 40px;
}

section.connection.light main table tr:nth-child(2n) td {
    padding-bottom: 12px;
}

section.connection.light main table tr:nth-child(2n+1) td {
    border-top: 1px solid #E7E7E7;
    padding-top: 14px;
}

section.connection.light main table tr:first-child td {
    border-top: none;
}

section.connection .header-datum,
section.connection .station-sub {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
    color: #646973;
}

section.connection .station-sub {
    padding-top: 17px;
    padding-bottom: 14px;
}

section.connection table .icon.connection-end i.zindexsmall {
    z-index: 2;
}

section.connection table td {
    position: relative;
}

section.connection table tr.start td {
    padding-bottom: 3px;
}

section.connection table tr.end td {
    padding-top: 3px;
}

section.connection table tr.zstop td {
    padding-top: 0;
    padding-bottom: 0;
}

section.connection table .separator td.icon {
    background: url(../img/icon/icon_journey_dotted.svg) repeat-y;
    height: 26px;
    left: 15px;
    padding-top: 0;
}

section.connection table .icon.connection-start {
    padding: 7px 12px 0 18px;
}

.reisedaten-header .connection i.icon.connection-start,
section.connection table .icon.connection-start i {
    background: url("../img/icon/icon_journey_start_n.svg") no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.reisedaten-header .connection i.icon.connection-start {
    top: 2px;
    left: -2px;
}

section.connection table .icon.connection-zstop-start i,
section.connection table .icon.connection-zstop-end i {
    background: url(../img/icon/icon_journey_zstop_n.svg) no-repeat;
    background-size: 16px 11px;
    width: 16px;
    height: 11px;
    position: absolute;
    top: 3px;
    left: 8px;
}

section.connection table .icon.connection-end {
    padding: 0 12px 10px 18px;
    width: 14px;
}

.reisedaten-header .connection i.icon.connection-end,
section.connection table .icon.connection-end i {
    background: url(../img/icon/icon_journey_end_n.svg) no-repeat;
    background-size: 16px 21px;
    width: 16px;
    height: 21px;
    position: absolute;
    top: 3px;
    left: 8px;
}

.reisedaten-header .connection i.icon.connection-end {
    top: 0;
    left: -2px;
}

section.connection table td.verbindung_filler {
    background: url(../img/icon/icon_journey_filled.svg) repeat-y center;
    left: 1px;
}

/* Kasse - Persönlichen Daten readonly neuen Layout */
section.customer-data .c-data .grid-wrapper-3 {
    margin: 16px;
}

section.customer-data .c-data .grid-wrapper-3 .grid-left {
    width: 142px;
    padding-right: 16px;
}

section.customer-data .c-data .grid-wrapper-3 .grid-right {
    width: 240px;
}

section.customer-data .c-data .grid-wrapper-3 .grid-middle {
    width: 256px;
    padding-right: 16px;
}

section.customer-data .c-data .grid-wrapper-3 .boxwrap {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
}


input.input-link.button-wrap {
    width: 93px;
    white-space: normal;
    text-align: left;
}

/** Zahnrad-Seite Hintergrund weiss */
table.content.zahnrad {
    background: #ffffff;
}

/* Bestätigungseite */
section main.texts {
    padding: 20px;
    line-height: 22px;
}

section p.no-margin {
    margin: 0;
}

section.procedure .steps .bst {
    width: 100%;
    padding: 20px;
    text-align: left;
}

section.mobile-teaser .dbnavigator {
    background: url("../img/placeholder/db_appstore.svg") no-repeat center;
    width: 144px;
    height: 48px;
    margin-left: 30px;
}

section.mobile-teaser .teaser-app {
    background: url("../img/placeholder/tipp-2.jpg");
    width: 260px;
    height: 195px;
}

section.tipp .ico.tipp-img  {
    background: url("../img/icon/gluebirne_xlarge.svg") no-repeat center;
}

.icon-icon_bahnhofsinfos2_large {
    background: url("../img/icon/icon_bahnhofsinfos2_large.svg") no-repeat center;
    width: 56px;
    height: 56px;
}

/* Bestätigung HRS */
section.product h3.bestaetigung-hrs {
    margin: 20px 0 5px;
}

section.product h3.bestaetigung-hrs span {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 18px;
}

/* Bestätigung SZK */
section .texts .ls-hinweis {
    margin-right: 340px;
    font-size: 0.875em;
}

section .texts .vertical-center {
    right: 20px;
}

section.abo-center .div-table {
    width: 100%;
}

section.abo-center .div-table-row {
    display: flex;
    border-bottom: 1px solid #E7E7E7;
}

section.abo-center .div-table-cell {
    padding: 20px;
    font-size: 0.875em;
}

section.abo-center .div-table-cell.head {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-size: 1em;
    width: 250px;
    flex-shrink: 0;
}

section.abo-center .tel-hinweis {
    padding: 20px;
    font-size: 0.875em;
}

/* Bestätigung Legende */
.content.bestaetigung {
    padding-bottom: 25px;
}

.content.bestaetigung .bc-header {
    margin: 20px 0 -20px;
}

.legende p.stornierung::first-letter {
    color: #C50014;
}

/* Crossselling */
section .preview a.crosssell-link {
    font-size: 1em;
}

#content-crossselling-hrsbuchen-teaser .crossselling-hrs-logo {
    margin-top: 30px;
    background: url("../img/placeholder/HRS_Color_sRGB_88x22.png") no-repeat left center;
    width: 88px;
    height: 22px;
}

section.teasers-big .teaser .content .item,
#content-crossselling-hrsbuchen-teaser .item {
    padding: 5px 30px 10px 0;
}

section.teasers-big .teaser .content .left-column,
#content-crossselling-hrsbuchen-teaser .left-column {
    width: auto;
    padding-right: 16px;
}

section.teasers-big .teaser .content .right-column,
#content-crossselling-hrsbuchen-teaser .right-column {
    width: 60%;
    flex-grow: 1;
}

/* Auf Zusatzangebote weniger Platz */
#content-crossselling-hrsbuchen-teaser .fs-content .right-column,
#content-crossselling-hrsbuchen-teaser .fs-notogglecontent .right-column {
    width: 300px;
}

/* Einige Def. müssen für Zusatzangebote (mit fs-content) überschrieben werden */
#content-crossselling-hrsbuchen-teaser .fs-content,
#content-crossselling-hrsbuchen-teaser .fs-notogglecontent {
    padding-right: 40px;
}

/* Für Best.seite Definition 0.875em wieder wegnehmen */
section.teasers-big .item-list.middle li {
    font-size: 1em;
}

#content-crossselling-hrsbuchen-teaser .right-column.bold, #content-crossselling-hrsbuchen-teaser .right-column.bold p {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-style: normal;
    font-weight: normal;
}

#content-crossselling-hrsbuchen-teaser p a {
    font-size: 1em;
}

/*******************************************
 * MeineBahn
 * *****************************************/

/* Allgemeine Definitionen für alle responsive Seiten */

/* Auf Meine Bahn / Portalseiten größerer grauer Rnad */
.wrapper.responsive .content.portal  {
    padding: 32px 32px 40px;
}

/* ACHTUNG: heisst in invision Headline H4! */
.wrapper.responsive .content.portal h2 {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
}

/* ACHTUNG: heisst in invision Headline H5! */
.wrapper.responsive .content.portal h4 {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
}

.wrapper.responsive .menuarea  {
    width: 218px;
    float: left;
    margin-right: 16px;
    position: relative;
}

.portal.content .page-intro {
    overflow: auto;
    margin-bottom: 32px;
}

.portal.content .page-intro h2 {
    margin-bottom: 4px;
    width: 45.6%;
}

/* Topmeldung für aktuelle Informationen */

.content .topmeldung {
    /* wichtig, damit es nicht über ganze Breite geht, sondern rechts von Menu bleibt */
    overflow: auto;
    margin-top: 32px;
    margin-bottom: 120px;
}

.portal.content .topmeldung {
    margin-bottom: 40px;
}

.content .topmeldung .topmeldung-frame {
    margin-top: 8px;
    border: 2px solid #0C3992;
    border-radius: 4px;
    border-left-width: 56px;
    position: relative;
    padding: 24px;
}

.content .topmeldung.buchungsstopp .topmeldung-frame {
    border-color: #C50014;
}

.content .topmeldung .topmeldung-frame::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../img/icon/icon_info_solid_blau_20.svg);
    display: block;
    position: absolute;
    left: -40px;
}

.content .topmeldung.buchungsstopp .topmeldung-frame::before {
    background-image: url(../img/icon/icon_info_solid_error_20.svg);
}

.wrapper .content .topmeldung h2,
.wrapper.responsive .content .topmeldung h2 {
    font-size: 16px;
    line-height: 22px;
}

.wrapper .content .topmeldung p,
.wrapper.responsive .content .topmeldung p {
    padding: 8px 0;
}

.wrapper .content .topmeldung p:last-child,
.wrapper.responsive .content .topmeldung p:last-child {
    padding: 0;
}

.wrapper .content .topmeldung p a,
.wrapper.responsive .content .topmeldung p a {
    margin-left: 0;
}

/* Meine Bahn / Portalseiten */

#willkommen .begruessung {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow: hidden;
    width: 100%;
}

#willkommen .kundennummer {
    font-size: 14px;
    line-height: 20px;
    color: #646973;
}

.portal .pagesubtitle {
    font-size: 14px;
    line-height: 20px;
    width: 68%;
    color: #646973;
}

#hauptseite-grid {
    display: grid;
    /* minmax wichtig damit die relativen Größenangaben auch bei DIVs mit größerem Inhalt eingehalten werden */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 16px;
}

/** Die verschiedenen Bereiche auf der Seite im Grid */

/* Der weiße Bereich einer Zelle. Kann direkt ins Grid genommen werden oder unterhalb einer grid-cell, wenn der weiße Bereich nicht automatisch
die komplette Höhe ausfüllen soll
 */
#hauptseite-grid .grid-area {
    background-color: #fff;
    padding: 16px;
    border-radius: 4px;
}

#hauptseite-grid .grid-area.with-opener {
    padding: 0;
}

/* Auch der Parent bekommt durch JS eine Klasse gesetzt, die im aufgeklappten Zustand Füllhöhe auf max. setzt */
#hauptseite-grid .grid-area.openerActive {
    height: 100%;
}

#hauptseite-grid .grid-area > div, #hauptseite-grid .grid-area > p {
    margin-top: 16px;
}

#hauptseite-grid .grid-area > div.opener {
    margin-top: 0;
}

#hauptseite-grid .grid-cell-fullwidth {
    grid-column: 1 / -1; /* Zellenbreite über alle Grid-Spalten */
}

#hauptseite-grid .grid-area p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #646973;
    max-width: 526px;
}

#hauptseite-grid .grid-area h6 {
    font-size: 14px;
    line-height: 20px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    margin: 24px 0 8px 0;
}

#hauptseite-grid .grid-area p.errormsg {
    color: #C50014;
}

#hauptseite-grid .grid-area p.hinweis {
    font-size: 12px;
    line-height: 16px;
    background-color: #f0f3f5;
    border-radius: 4px;
    padding: 13px;
    max-width: 100%;
}

#hauptseite-grid .grid-area .column-area {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 16px;
}

#hauptseite-grid .grid-area .column-area > div {
    width: 100%;
}

#hauptseite-grid .grid-area .column-area ul.linklist {
    margin-top: 0;
}

#hauptseite-grid .grid-area span,
#hauptseite-grid .grid-area div {
    font-size: 14px;
    line-height: 20px;
}

#hauptseite-grid .grid-area .display-label {
    padding-right: 16px;
}

#hauptseite-grid .grid-area .permission-text {
    max-width: 526px;
}

#hauptseite-grid .grid-area .permission-text span {
    display: block;
}

#hauptseite-grid .grid-area .nl-email-text {
    display: flex;
    width: 100%;
}

#hauptseite-grid .grid-area .nl-aendern-link {
    width: 100%;
    padding-top: 16px;
}

#hauptseite-grid .grid-area .break-email {
    word-break: break-word;
}

#hauptseite-grid .grid-area ul.linklist {
    margin-top: 16px;
}

#hauptseite-grid .grid-area ul.linklist li {
    padding-bottom: 8px;
}

#hauptseite-grid .grid-area ul.linklist li a,
#hauptseite-grid .grid-area .column-area ul.linklist .arrowlink {
    background: url(../img/icon/icon-arrow_right.svg) no-repeat left top;
    display: block;
    font-size: 14px;
    line-height: 20px;
}

#hauptseite-grid .grid-area ul.linklist.single {
    margin-top: 0;
}

#hauptseite-grid .grid-area ul.linklist li a:hover,
#hauptseite-grid .grid-area .column-area ul.linklist .arrowlink:hover {
    color: #EC0016;
}

#hauptseite-grid .grid-area ul.linklist li a span,
#hauptseite-grid .grid-area .column-area ul.linklist .arrowlink {
    padding-left: 24px;
    display: inline-block;
}

#hauptseite-grid .grid-area ul.linklist li a:hover span {
    text-decoration: underline;
}

#hauptseite-grid .grid-area .form-link {
    background: url(../img/icon/icon-arrow_right.svg) no-repeat;
    display: inline-flex;
}

#hauptseite-grid .grid-area .form-link span {
    padding-left: 24px;
    display: inline-block;
}

#hauptseite-grid .grid-area .form-link:hover {
    background-image: url(../img/icon/icon-arrow_right_red.svg);
    color: #EC0016;
}

#hauptseite-grid .grid-area .form-link:hover span {
    text-decoration: underline;
}

#hauptseite-grid .page-outro p {
    line-height: 16px;
    font-size: 12px;
    color: #646973;
}

#hauptseite-grid .bc-punkte-grid .row {
    display: flex;
}

#hauptseite-grid .bc-punkte-grid .title-cell {
    flex: 0 0 138px;
}

#hauptseite-grid .bc-punkte-grid .data-cell {
    width: 100%
}

#hauptseite-grid .bc-punkte {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

#hauptseite-grid .statusbalken-border {
    position: relative;
    /* sieht bei box-shadow so aus, wie bei normaler border 4px */
    border-radius: 2px;
    height: 24px;
    /* wg. Chrome-Bug: s. https://stackoverflow.com/questions/59699082/border-causes-a-gap-in-between-border-and-content-when-zoomed-out */
    /* border: 2px solid #d7dce1;*/
    box-shadow: 0 0 0 2px #d7dce1;
    text-align: center;
    overflow: hidden;
    margin-bottom: 4px;
}

#hauptseite-grid .statusbalken {
    background-color: #d7dce1;
    height: 100%;
}

#hauptseite-grid .statuspunkte {
    position: absolute;
    top: 2px;
    left: 50%;
    margin-left: -100px;
    width: 200px;
}

/* Für Warteanzeige / Service nicht verfügbar */
#hauptseite-grid .textTeaserwithIcon {
    padding: 0;
}

#hauptseite-grid .textTeaserwithIcon img {
    display: none;
}

#hauptseite-grid .textTeaserwithIcon div.progressbar {
    height: 16px;
    border-radius: 4px;
    background: #F0F3F5;
    animation: fill-progress-bar 10s linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    content: "";
}

@keyframes fill-progress-bar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* CSS von Hacon für Gemerkte Verbindungen */

#mgemerktenfahrten {
    display: block;
    position: relative;
}

#mgemerktenfahrten div.mgvResults {
    background-color: #f0f3f5;
    color: #282d37;
    margin-bottom: 8px;
    border-radius: 4px;
}

#mgemerktenfahrten div.mgvHeader {
    display: flex;
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    border-bottom: 1px solid #fff;
}

#mgemerktenfahrten div.mgvHeaderNarrow {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
}

#mgemerktenfahrten div.mgvCon {
    display: flex;
    font-family: DBScreenSansRegular, DBSansRegular, Arial, sans-serif;
    border-bottom: 1px solid #fff;
}

#mgemerktenfahrten div.mgvCon > div {
    flex: 1 0 50%;
}

#mgemerktenfahrten div.mgvCon:last-child {
    border-bottom: none;
}

#mgemerktenfahrten div.mgvRoute {
    padding: 16px;
    padding-right: 8px;
}

#mgemerktenfahrten div.mgvData {
    padding: 16px;
    padding-left: 8px;
}

#mgemerktenfahrten div.mgvData > div {
    padding: 0 0 8px;
}

#mgemerktenfahrten div.mgvData > div.mgvProducts {
    padding: 0;
}

#mgemerktenfahrten div.hafasMenuContainer {
    position: absolute;
    font-family: Arial, sans-serif;
    font-size: 10px;
    background-color: #fff;
    border-radius: 4px;
    padding: 6px 0;
}

#mgemerktenfahrten div.hafasMenuContainer div.floatRight {
    float: right;
}

#mgemerktenfahrten div.hafasTeaser {
    font-family: DBScreenSansRegular, DBSansRegular, Arial, sans-serif;
    font-size: 14px;
}

#mgemerktenfahrten div.teaserInactive {
    background-color: #f0f3f5;
    color: #646973;
    padding: 20px 16px;
    font-size: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
}

#mgemerktenfahrten div.teaserMeineGemFahrtenIcon {
    color: #282d37;
    background: url(../img/icon/20_icon_action_pin.svg) no-repeat left;
    padding: 2px 0 2px 28px;
    margin-top: 16px;
}

#mgemerktenfahrten a.deleteIcon {
    color: #282d37;
    font-size: 14px;
    background: url(../img/icon/20dp_icon_action_delete_grey400.svg) no-repeat left;
    padding: 2px 0 2px 28px;
}

#mgemerktenfahrten #hafasConMenuMgv a.arrowlink {
    font-family: DBScreenSansRegular, DBSansRegular, Arial, sans-serif;
    font-size: 14px;
    padding-left: 22px;
    margin: 4px 0 4px 10px;
    background: url(../img/icon/icon-arrow_right.svg) no-repeat left top;
    line-height: 20px;
    display: block;
}

#mgemerktenfahrten  #hafasConMenuMgv {
    border-radius: 4px;
    box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}

#mgemerktenfahrten  #hafasConMenuMgv div{
    line-height: 32px;
}

#mgemerktenfahrten .mgvCon:hover .mgvFromTo {
    color: #ec0016;
    text-decoration: underline;
}

#mgemerktenfahrten .mgvRoute:hover {
    cursor: default;
}

#mgemerktenfahrten  #hafasConMenuMgv div:hover{
    background-color: rgba(0,0,0,0.08);
}

@media only screen and (max-width: 600px) {
    #mgemerktenfahrten div.mgvCon {
        display: block;
        padding: 20px 16px;
    }

    #mgemerktenfahrten div.mgvHeaderNarrow {
        display: block;
    }

    #mgemerktenfahrten div.mgvHeader {
        display: none;
    }

    #mgemerktenfahrten div.mgvCon > div {
        padding: 0;
    }

    #mgemerktenfahrten div.mgvCon div.mgvRoute {
        padding: 0 0 8px;
    }

    #mgemerktenfahrten div.mgvData > div {
        padding: 0 0 8px;
    }
}
/* Ende CSS von Hacon */

#hauptseite-grid .links-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 16px;
}

#hauptseite-grid .links-area .grid-area {
    padding: 0;
}

#hauptseite-grid .links-area .grid-area .icon {
    padding: 18px;
    background-position: 16px center;
    background-repeat: no-repeat;
    align-self: center;
}

.icon.tickets-kaufen {
    background-image: url(../img/icon/32dp_icon_ticket_travel-plan.svg);
}

.icon.sitzplatz-reservieren {
    background-image: url(../img/icon/32dp_icon_seat_aisle.svg);
}

.icon.handyticket {
    background-image: url(../img/icon/32dp_icon_communication_mobile-phone.svg);
}

.icon.aboservices {
    background-image: url(../img/icon/32dp_icon_ticket_ticket.svg);
}

.icon.newsletter {
    background-image: url(../img/icon/32dp_icon_communication_mail.svg);
}

.icon.kundenkontoloeschen {
    background-image: url(../img/icon/32dp_icon_action_account.svg);
}

#hauptseite-grid .links-area .grid-area a {
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    text-decoration: none;
}

#hauptseite-grid .links-area .grid-area h4 {
    padding-left: 36px;
}

#hauptseite-grid .links-area .grid-area h5 {
    padding-left: 36px;
    font-size: 14px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

#hauptseite-grid .links-area .grid-area a .rot {
    background: #EC0016 url('../img/icon/32dp_icon_navigation_chevron-right_white.svg') no-repeat center;
    margin-top: 0;
    flex: 0 0 32px;
    border-radius: 0 4px 4px 0;
}

@media (hover: hover) {
    #hauptseite-grid .links-area .grid-area:hover {
        background-color: #D7DCE1;
    }
}

#hauptseite-grid .links-area .grid-area div {
    overflow: hidden;
}

#hauptseite-grid .links-area.additional-services {
    margin-top: 24px; /* kommen 16px Abstand durch hauptseite-grid grid-gap hinzu = 40px */
}

#hauptseite-grid .links-area.additional-services .icon {
    padding: 22px 22px 22px 18px;
}

#hauptseite-grid .grid-title {
    font-family: "DBScreenHeadLight", "Arial", "Helvetica", sans-serif;
    font-size: 18px;
    line-height: 24px;
    grid-column: 1 / -1; /* Zellenbreite über alle Grid-Spalten */
}

.wrapper.responsive .content.portal .opener {
    background-image: url(../img/icon/pfeil_unten_grau_20x20.svg);
    background-repeat: no-repeat;
    background-position: right 16px top 16px;
    cursor: pointer;
    padding: 16px 24px 16px 16px;
    display: block;
    text-decoration: none;
    border-radius: 4px;
}

@media (hover: hover) {
    .wrapper.responsive .content.portal .opener:hover {
        background-color: #D7DCE1;
    }
}

.wrapper.responsive .content.portal .opener.openerActive {
    background-image: url(../img/icon/pfeil_oben_rot.svg);
    padding: 16px 24px 0 16px;
}

.wrapper.responsive .content.portal .opener.openerActive:hover {
    background-color: #fff;
}

.wrapper.responsive .content.portal .opener-content {
    padding: 0 16px 8px 16px;   /* unten nur 8px, da die integrierten Elemente i.a. schon selbst padding-bottom 8px mitbringen */
}

.menu-navigation .item {
    border-radius: 4px;
}

.menu-navigation .item .marker {
    width: 3px;
    height: 24px;
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 1.5px;
    margin: 8px 0;
    float: left;
}

.menu-navigation .item.bd-active .marker {
    background-color: #EC0016;
}

.menu-navigation .item > a {
    display: block;
    padding: 8px 0 8px 40px;
    margin-left: 15px;
    background-repeat: no-repeat;
    background-position: left 6px;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
}

.menu-navigation .item:hover > a {
    color: #282D37;
    text-decoration: none;
}

.menu-navigation .item:hover {
    background-color: #d7dce1;
}

.menu-navigation .item:hover.bd-active {
    background-color: unset;
}

.menu-navigation .item.bd-active span {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    color: #EC0016;
}

.icon-icon_leftnav_bahncard {
    background-image: url('../img/icon/leftnav/icon_bahncard.svg');
}

.item.bd-active .icon-icon_leftnav_bahncard {
    background-image: url('../img/icon/leftnav/icon_bahncard_red.svg');
}

.icon-icon_leftnav_benachrichtigung {
    background-image: url('../img/icon/leftnav/icon_benachrichtigung.svg');
}

.item.bd-active .icon-icon_leftnav_benachrichtigung {
    background-image: url('../img/icon/leftnav/icon_benachrichtigung_red.svg');
}

.icon-icon_leftnav_buchung {
    background-image: url('../img/icon/leftnav/icon_buchung.svg');
}

.item.bd-active .icon-icon_leftnav_buchung {
    background-image: url('../img/icon/leftnav/icon_buchung_red.svg');
}

.icon-icon_leftnav_login_sicherheit {
    background-image: url('../img/icon/leftnav/icon_login_sicherheit.svg');
}

.item.bd-active .icon-icon_leftnav_login_sicherheit {
    background-image: url('../img/icon/leftnav/icon_login_sicherheit_red.svg');
}

.icon-icon_leftnav_newsletter {
    background-image: url('../img/icon/leftnav/icon_newsletter.svg');
}

.item.bd-active .icon-icon_leftnav_newsletter {
    background-image: url('../img/icon/leftnav/icon_newsletter_red.svg');
}

.icon-icon_leftnav_uebersicht {
    background-image: url('../img/icon/leftnav/icon_uebersicht.svg');
}

.item.bd-active .icon-icon_leftnav_uebersicht {
    background-image: url('../img/icon/leftnav/icon_uebersicht_red.svg');
}

.icon-icon_leftnav_vorteilswelt {
    background-image: url('../img/icon/leftnav/icon_vorteilswelt.svg');
}

.item.bd-active .icon-icon_leftnav_vorteilswelt {
    background-image: url('../img/icon/leftnav/icon_vorteilswelt_red.svg');
}

/** Back Button Layer */
div#cboxLoadedContent div.backbutton section.section-links {
    margin-bottom: 0;
    padding-top: 0;
}

div#cboxLoadedContent div.backbutton section.section-links a {
    margin-top: 16px;
    display: block;
}

div#cboxLoadedContent div.backbutton section.section-links hr {
    margin-top: 0;
    border: none;
    border-top: 1px solid #E7E7E7;
}

div#cboxLoadedContent div.backbutton section p.no-bottom {
    margin-bottom: 0;
}

/**
 * Schnellbuchung Hinweisseite
 */
.schnellbuchung .error-description {
    width: auto;
}

.schnellbuchung .error-description section.header {
    padding: 0;
}

.error .error-description section fieldset p {
    margin-top: 5px;
}

.schnellbuchung .error-description section header h2{
    margin: 0;
}

.schnellbuchung .error-description section.right-padding280{
    padding-right: 280px;
}

label.without-input-no-padding span.headline {
    display: inline-block;
    line-height: 25px;
    vertical-align: top;
    padding: 15px 5px;
}

/**
 * Buchung Hinweisseite - Touchoptimierung
 */

table.buchungHinweise {
    font-size: 0.875em;
}

table.buchungHinweise .description {
    width: 200px;
    vertical-align:top;
}

/**
 * Hinweistext in Versicherung und HRS Section
 * da Onlineticket dann nicht geladen werden kann
 */

fieldset .fs-content.olthinweis {
    padding-bottom: 20px;
}

.olthinweis p {
    padding-left: 29px;
    color: black;
}

div.overlay-content.zustellart-layer{
    padding: 20px 0 0 0;
    max-width: 820px;
}

div.overlay-content.zustellart-layer h3,
div.overlay-content.zustellart-layer h4{
    margin: 10px 0 0 0;
    padding-left: 20px;
    max-width: initial;
}

div.overlay-content.zustellart-layer p{
    width: auto;
}

div.overlay-content.zustellart-layer .flex-container-steps.laststep .step {
    align-items: center;
    display: flex;
    width: 100%;
}

div.overlay-content.zustellart-layer .flex-container-steps.laststep .step .visual {
    width: 33.33%;
}

/* Cross Selling Teaser Bestaetigungsseite */
section.teasers-big .teaser.open .content p {
    font-size: 0.875em;
}

section.teasers-big .teaser.open .content .table-scroll {
    width: 100%;
    overflow-y: auto;
    overflow-x: scroll;
}

section.teasers-big .teaser.open .content .div-table.data-table {
    width: 100%;
    min-width: 420px;
}

section.teasers-big .teaser.open .content .div-table-cell {
    padding: 0 40px 0 0;
    font-size: 0.875em;
}

section.teasers-big .teaser.open .content .div-table-cell b {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}


/* Realtime Verbindung Hinweis */
.realtime-verbindung {
    color: #63A615;
    background: url("../img/icon/echtzeit_alternative_22x22.svg") no-repeat;
    padding-left: 48px;
}

.icon-ergo-versicherung {
    position: relative;
    background: url(../img/bahnbuchen/icon_ergo_versicherung_logo.png) no-repeat;
    background-size: 100px;
    width: 100px;
    height: 55px;
    left: -11px;
    display: block;
}

div.reisedaten .realtime-verbindung {
    margin-bottom: 8px;
}

/**
 * Realtime Verbindung Hinweis:
 * Schriftgroesse fuer PruefPage anpassen
 */
div.pruefen-buchen .realtime-verbindung {
    background-position-x: 20px;
    margin-top: 16px;
    margin-right: 32px;
    font-size: 0.875em;
}

/**
 * Abstand der einzelnen Fehlermeldungen
 */
span#prgutscheinerror + .errormsg {
    padding-top: 5px;
}

/*******************************************
 * Info Layer (bahn.de content Fenster)
 * *****************************************/

#cboxLoadedContent .box,
#cboxLoadedContent .text-image {
    max-width: 640px;
    max-height: calc(100vh - 3rem);
    width: calc(100vw - 3rem);
    padding: 20px;
    position: relative;
    background: #fff;
}

#cboxLoadedContent .box h1,
#cboxLoadedContent .box h3,
#cboxLoadedContent .box h4,
#cboxLoadedContent .box p,
#cboxLoadedContent .box table,
#cboxLoadedContent .box .section,
#cboxLoadedContent .box .wrapper,
#cboxLoadedContent .text-image h1,
#cboxLoadedContent .text-image h2,
#cboxLoadedContent .text-image h3,
#cboxLoadedContent .text-image h4,
#cboxLoadedContent .text-image p,
#cboxLoadedContent .text-image table,
#cboxLoadedContent .text-image .section,
#cboxLoadedContent .text-image .wrapper {
    max-width: 580px;
}

#cboxLoadedContent .box b,
#cboxLoadedContent .text-image b {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

#cboxLoadedContent .box h1,
#cboxLoadedContent .text-image h1 {
    font-size: 1.25em;
    line-height: 26px;
    margin: 5px 0 13px;
    font-weight: normal;
}

#cboxLoadedContent .box h3,
#cboxLoadedContent .text-image h2,
#cboxLoadedContent .text-image h3 {
    font-size: 1em;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

#cboxLoadedContent .box .wrapper,
#cboxLoadedContent .text-image .wrapper {
    box-shadow: none;
    min-width: unset;
}

#cboxLoadedContent .box p,
#cboxLoadedContent .text-image p {
    margin: 0 0 1.5em;
}

#cboxLoadedContent .box ul,
#cboxLoadedContent .text-image ul {
    padding-bottom: 20px;
}

#cboxLoadedContent .box ul.link-list li,
#cboxLoadedContent .text-image ul.link-list li {
    background: url("../img/icon/icon-arrow_right_red.svg") no-repeat scroll left;
    background-size: 18px;
    padding: 0 0 0 24px;
}

#cboxLoadedContent .box ul.link-list a,
#cboxLoadedContent .text-image ul.link-list a {
    font-size: 1em;
}

#cboxLoadedContent .box .ppt-wrapper.teaser-with-text.small,
#cboxLoadedContent .text-image .ppt-wrapper.teaser-with-text.small {
    margin: 0 0 20px;
}

#cboxLoadedContent .box .ppt-wrapper.left.small img,
#cboxLoadedContent .text-image .ppt-wrapper.left.small img {
    float: left;
    margin-right: 20px;
}

/*********************************************
 * Pauschalpreis Angebote (& Upsell 1.Klasse)
 * *******************************************/
#pauschalpreis-angebote h3.rueckfahrt {
    margin-top: 40px;
}

#pauschalpreis-angebote .header-link {
    padding-left: 20px;
}

#pauschalpreis-angebote .header-link input {
    padding-left: 8px;
}

.angebotsauswahl {
    background: transparent !important;
}

.angebotsauswahl .fs-header,
.angebotsauswahl .fs-sidebar {
    box-shadow: 0 0.2px 4px 0 rgba(0,0,0,0.1);
    padding: 20px 20px 10px 20px;
}

.angebotsauswahl .fs-header h5 {
    color: #646973;
    margin: 0 0 8px;
}

.angebotsauswahl .fs-header h5.reisendetitle {
    margin-top: 15px;
}

.angebotsauswahl .fs-header .custom-select {
    width: auto;
    min-width: 250px;
}

.angebotsauswahl .fs-header .custom-select.no-border {
    border: none;
}

.angebotsauswahl .fs-header .custom-select label.single-selection {
    line-height: 44px;
    vertical-align: middle;
}

.angebotsauswahl .fs-header .klasse {
    padding: 5px 0;
}

.angebotsauswahl .fs-header .klasse label {
    padding: 7px 0 7px 50px;
    min-width: 100px;
    width: auto;
}

.angebotsauswahl .fs-header .klasse label.single-selection {
    padding: 7px 0 7px 16px;
    vertical-align: middle;
    line-height: 33px;
}

.angebotsauswahl .fs-content {
    background: white;
    box-shadow: 0 0.2px 4px 0 rgba(0,0,0,0.1);
    padding: 0;
    border-top: 0;
    margin-bottom: 10px;
}

.angebotsauswahl .fs-content ul.block-list {
    padding: 10px 20px;
    margin-top: 0;
}

.upsell .angebotsauswahl .fs-content ul.block-list {
    padding-bottom: 20px;
}

.angebotsauswahl .fs-content ul.block-list li {
    color: #646973;
}

.angebotsauswahl .fs-content .single-selection label {
    padding: 15px 30px 15px 20px;
    display: block;
    position: relative;
}

.angebotsauswahl .fs-content .single-selection label .inactive,
.warenkorb-layer .angebotskonditionen .inactive{
    color: #646973;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", sans-serif;
}

.angebotsauswahl .fs-content .single-selection label.no-wrap .inactive {
    padding-left: 16px;
    float: right;
}

.warenkorb-layer .angebotskonditionen .inactive {
    padding-top: 8px;
    display: block;
}

.kamin.warenkorb .preiscontainer .price.col1.paddingtop.hinweis {
    font-size: 0.875em;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", sans-serif;
    color: #646973;
    padding-top: 8px;
    padding-right: 0;
    width: 300px;
}

.kamin.warenkorb.upsell .preiscontainer .price.col2 {
    margin-right: 30px;
}

.kamin.warenkorb.upsell .preiscontainer .price.col2 i {
    position: absolute;
    right: 20px;
}

.angebotsauswahl .angebotsauswahl-ticket:after,
.angebotsauswahl .angebotsauswahl-ticket:before {
    position: absolute;
    top: 40px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: #f0f3f5;
    content: '';
}

.upsell .angebotsauswahl .angebotsauswahl-ticket:after,
.upsell .angebotsauswahl .angebotsauswahl-ticket:before {
    top: 70px;
}

.angebotsauswahl .angebotsauswahl-ticket:after {
    left: -7px;
}

.angebotsauswahl .angebotsauswahl-ticket:before {
    right: -7px;
}

.inner-container.clearfix label:after {
    content: '';
    position: absolute;
    background: #f0f3f5;
    bottom: 0;
    left: 20px;
    width: calc(100% - 40px);
    height: 1px;
}

#pauschalpreis-angebote-container ~ .legende {
    padding-left: 20px;
}

#pauschalpreis-angebote-container div.ticket-hinzufugen {
    display: flex;
    align-items: center;
}

#pauschalpreis-angebote-container div.ticket-hinzufugen .input-link {
    padding-left: 8px;
    white-space: break-spaces;
    text-align: left;
}

div#cboxLoadedContent .overlay-content.reisedaten section.connection {
    padding: 0;
}

div#cboxLoadedContent .overlay-content.reisedaten section.connection header {
    padding: 20px 10px 10px 10px;
}

div#cboxLoadedContent .overlay-content.reisedaten table td {
    border-bottom: none;
    font-size: 1em;
}

div#cboxLoadedContent .overlay-content.reisedaten table {
    border-spacing: 0;
}

div#cboxLoadedContent .overlay-content.reisedaten section.connection table .train {
    padding-bottom: 0;
}

div#cboxLoadedContent .overlay-content.reisedaten section.connection main {
    padding: 16px 0 27px;
}

/*******************************************
 * Teilstreckenpreis
 * *****************************************/

.kamin .kamin-content .travel-price .teilpreis {
    position: relative;
    padding-top: 8px;
}

.kamin .kamin-content .travel-price .teilpreis a {
    position: relative;
    top: 0;
    left: 0;
    padding: 0 0 0 30px;
}

.warenkorb-layer .teilpreis {
    padding: 20px;
    border-bottom: 1px solid #E7E7E7;
}

.warenkorb-layer .teilpreis .headline {
    display: flex;
}

.warenkorb-layer .teilpreis .headline span {
    vertical-align: top;
    padding-top: 2px;
}

a.aboportal-link {
    font-size: inherit;
}

a.aboportal-link .ico.icon-arrow-right {
    top: 4px;
}

/****************************************************/
/* CSS Radio-Checkbox-Disabled-Toggle
/****************************************************/
.css-disabled-toggle input.input-disabled-toggle:not(:checked) ~ .content-disabled-toggle {
    opacity: 0.4 !important;
    pointer-events: none !important;
}

/* Date Range Picker seit 19.12 */
.daterangepicker {
    position: absolute;
    color: inherit;
    background-color: #fff;
    width: 858px;
    margin-top: 2px;
    margin-left: -8px;
    z-index: 3001;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 6px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.3);
}

/** MOVE-4555 wir können display nicht initial auf flex setzen, da es sonst vorm Öffnen
    schon sichtbar wäre. Da es also initial hidden sein muss, würde .show() aber block
    draus machen => dieses Workaround macht aus block wieder flex.
    https://stackoverflow.com/questions/38491653/jquery-show-a-flex-box
    https://stackoverflow.com/a/53559345
 */
.daterangepicker[style*='display: block'] {
    display: flex !important;
}

.daterangepicker:before, .daterangepicker:after {
    position: absolute;
    display: inline-block;
    content: '';
}

.daterangepicker:before {
    left: 22px;
    top: -7px;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 7px solid #ccc;
}

.daterangepicker:after {
    left: 23px;
    top: -6px;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
}

.daterangepicker .drp-calendar {
    flex: 1 1 30%;
    padding: 8px;
}

.daterangepicker .drp-calendar.left {
    padding-right: 0;
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
    border: solid #999;
    border-width: 0 3px 3px 0;
    border-radius: 2px;
    display: inline-block;
    padding: 4px;
}

.daterangepicker .calendar-table .next span {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.daterangepicker .calendar-table .prev span {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    width: 48px;
    min-width: 32px;
    height: 32px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
    color: #282D37;
    margin: 3px 0 3px 0;
}

.daterangepicker .calendar-table {
    background-color: #fff;
    margin: 4px;
    position: relative;
}

.daterangepicker .calendar-table table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

.daterangepicker .calendar-table table:before {
    content: '';
    border-left: 1px solid #D7DCE1;
    position: absolute;
    top: 32px;
    bottom: 0;
    left: -8px;
}

.daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: #eee;
    border-color: transparent;
    color: inherit;
}

.daterangepicker td.week, .daterangepicker th.week {
    font-size: 80%;
    color: #ccc;
}

.daterangepicker td.in-range {
    background-color: #f0f3f5;
    border-color: transparent;
}

.daterangepicker td.start-date {
    border-radius: 18px 0 0 18px;
}

.daterangepicker td.end-date {
    border-radius: 0 18px 18px 0;
}

.daterangepicker td.start-date.end-date {
    border-radius: 18px;
}

.daterangepicker .calendar-table thead th {
    width: auto;
    font-size: 12px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

.daterangepicker .calendar-table thead th.month {
    font-size: 16px;
}

.daterangepicker .calendar-table .weekend,
.daterangepicker .calendar-table thead th:nth-child(6),
.daterangepicker .calendar-table thead th:nth-child(7) {
    color: #878C96;
}

.daterangepicker .calendar-table td.off, .daterangepicker .calendar-table td.off.in-range,
.daterangepicker .calendar-table td.off.start-date, .daterangepicker .calendar-table td.off.end-date {
    background-color: #fff;
    border-color: transparent;
    color: #D7DCE1;
}

.daterangepicker .calendar-table td.active, .daterangepicker .calendar-table td.active:hover {
    background-color: #878C96;
    border-color: transparent;
    color: #fff;
}

.daterangepicker td.disabled, .daterangepicker option.disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

.daterangepicker .drp-buttons {
    flex: 1 100%;
    text-align: right;
    padding: 20px;
}

.daterangepicker .drp-selected {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding-right: 40px;
}

.daterangepicker .drp-buttons .btn {
    margin-left: 8px;
}

.daterangepicker .ranges {
    margin: 46px 8px 0 20px;
}

.daterangepicker .ranges ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.daterangepicker .ranges li {
    height: 28px;
    font-size: 14px;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
    text-align: left;
    cursor: pointer;
    margin: 8px 4px;
}

.daterangepicker .ranges li span {
    border: 1px solid #878C96;
    border-radius: 4px;
    white-space: nowrap;
    padding: 4px 8px;
    /* Die Click-Events sollen vom umgebenden li getriggert werden, nicht vom span! */
    pointer-events: none;
}

.daterangepicker .ranges li:hover span {
    background-color: #f0f3f5;
}

.daterangepicker .ranges li.active span {
    background-color: #282D37;
    color: #fff;
}

#daterangewrapper .auswahl-datum {
    position: relative;
    float: left;
}

#daterangewrapper .auswahl-datum .vertical-line {
    height: 25px;
    width: 1px;
    background: #AFB4BB;
    position: absolute;
    left: 39px;
    top: 10px;
}

#daterangewrapper .select-datumsart {
    margin-left: 20px;
    float: left;
    font-size: 16px;
    line-height: 24px;
}

#daterangewrapper .button-suche {
    float: right;
    font-size: 16px;
}

.datumsart {
    margin-left: 20px;
    border: 1px solid #878c96;
    padding: 0 5px;
}

input.date-picker-input {
    padding: 4px 4px 4px 40px;
    background: url('../img/icon/icon-calender.svg') no-repeat 8px 9px;
    background-size: 26px;
    border: 1px solid #878c96;
    cursor: pointer;
    width: 258px;
    padding-left: 48px;
    font-size: 16px;
}

/* Buchenwunsch Reservierungsempfehlung */
.content-respref {
    position: relative;
    margin-top: 16px;
}

/*
 Payone Zahlungsmittel in iFrames, Erweiterung fuer input-wrapper wenn select-boxen verwendent werden
*/
.select-wrapper {
    position: relative;
    cursor: pointer;
}

.select-wrapper::before {
    content: "";
    background: url(../img/icon/pfeil_unten_grau.svg) no-repeat center, #ffffff;
    position: absolute;
    right: 2px;
    top: 7px;
    pointer-events: none;
    width: 32px;
    height: 32px;
}

/********************************************************************
 * Registrierung / Adresse ...
 *******************************************************************/

section.registrierung.customer-data .fs-header h3 {
    margin-left: 25px;
    margin-bottom: 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

section.registrierung.customer-data .fs-content {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
    margin-left: 25px;
    margin-right: 25px;
    border-top: none;
    border-bottom: 1px solid #E7E7E7;
}

.kaufbeleg section.registrierung.customer-data .fs-content {
    padding: 0;
    margin: 0;
}

section.registrierung.customer-data .fs-content.telefon {
    margin-left: 16px;
    margin-right: 16px;
}

section.registrierung.reg-adresse {
    margin-top: 20px;
}

section.registrierung.customer-data .fs-content:last-child {
    border-bottom: none;
}

section.registrierung.customer-data .fs-content .data-key {
    width: 200px;
    font-size: 0.875em;
}

section.registrierung.customer-data .fs-content .data-value {
    font-size: 0.875em;
}

section.registrierung.customer-data .fs-content .info-cell {
    padding-right: 50px;
}

.registrierung-standalone section.registrierung input[type="checkbox"] + label {
    margin-left: 0;
}

section.registrierung.customer-data fieldset.lieferadresse h4 {
    padding-left: 60px;
}

section.registrierung.customer-data fieldset.lieferadresse input[type="checkbox"] + label,
section.registrierung.customer-data fieldset.lieferadresse input[type="radio"] + label {
    padding-left: 60px;
    margin-left: 0;
}

section.registrierung.customer-data fieldset.lieferadresse .fs-content {
    margin-left: 20px;
    margin-right: 80px;
}

section.registrierung.newsletter input[type="checkbox"] + label {
    margin-left: 0;
}

div.softlogin-auswahl .item:last-of-type {
    padding-bottom: 0;
}

/********************************************************************
 * Konto loeschen
 *******************************************************************/

div.reg-loeschen h5,
div.reg-loeschen input[type='radio']:checked + label {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

/********************************************************************
 * Fahrgastrechte
 *******************************************************************/
.fahrgastrechte {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

.fahrgastrechte h3,
.fahrgastrechte h4 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

.fahrgastrechte input[type="radio"] + label{
    padding-left: 55px;
}

.fahrgastrechte .fgr-fragment {
    margin-top: 30px;
}

.fahrgastrechte .fgr-fragment h3 + p {
    margin-bottom: 30px;
}

.fahrgastrechte h3 a.tooltip-link {
    margin-left: 5px;
}

.fahrgastrechte a.tooltip-link {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.fahrgastrechte fieldset .fieldset-inner {
    padding: 17px 26px 16px 26px;
}

.fahrgastrechte .infotext {
    padding: 16px;
    margin-left: 20px;
    background-color: #f0f3f5;
}

.fahrgastrechte .inner-left {
    width: 450px;
}

.fahrgastrechte .infotext p {
    padding-top: 16px;
}

.fahrgastrechte .weccalendar {
    width: 272px;
}

.fahrgastrechte .weccalendar > div {
    width: 216px;
}

.fahrgastrechte .weccalendar .left {
    height: 44px;
}

.fahrgastrechte .weccalendar input.date {
    width: 150px;
    margin: 0 2px;
    line-height: 22px;
    height: 42px;
}

.fahrgastrechte .wectime .left {
    border: none;
}

.fahrgastrechte .wectime > div {
    width: 178px;
}

.fahrgastrechte .wectime img {
    border: 1px solid #878c96;
    border-radius: 4px;
    padding: 21px;
}

.fahrgastrechte .wectime input.time {
    width: 82px;
    background-color: #f0f3f5;
    border-bottom: 1px solid #afb4bb;
    border-radius: 4px;
    line-height: 23px;
    margin-right: 4px;
    margin-left: 4px;
}

.fahrgastrechte .flex-container {
    display: flex;
}

.fahrgastrechte .ankunftszeit-container .flex-container .flex-container-data-column {
    width: 50%;
}

.fahrgastrechte .ankunftszeit-container .flex-container .flex-container-data-column.ankunftszeit-angabe {
    display: block;
    width: 510px;
}

.fahrgastrechte .ankunftszeit-container .flex-container .flex-container-data-column.ankunftszeit-angabe > div:not(:last-child) {
    margin-top: 8px;
}

.fahrgastrechte .fahrplan-container .flex-container .flex-container-data.pull-left {
    width: 50%;
    flex-shrink: 1;
}

.fahrgastrechte .fahrplan-container .flex-container .flex-container-data.pull-right {
    flex-shrink: 0;
    margin-left: 20px;
}

.fahrgastrechte .fahrplan-container .flex-container:not(:first-child) {
    margin-top: 20px;
}


.fahrgastrechte .fgr-error {
    margin-top: 15px;
}

.fahrgastrechte .errormsg {
    font-size: 14px;
}

.fahrgastrechte section.registrierung .fieldset-inner {
    padding: 16px 40px 16px 80px;
}

.fahrgastrechte section.gutschein .tooltip-container {
    position: absolute;
    right: 60px;
    top: calc(50%);
}

.fahrgastrechte input[type='radio'] + label,
.fahrgastrechte input[type='radio']:checked + label {
    background-position-x: 30px;
    padding-left: 80px;
}

.fahrgastrechte input[type='checkbox']#fgrZusatzkostenCheckboxVerkehrsmittel + label {
    background-position: 18px 24px;
}

.fahrgastrechte input span.headline.center-select,
.fahrgastrechte input[type="radio"] + label span.headline.center-select,
.fahrgastrechte input[type="checkbox"] + label span.headline.center-select {
    line-height: inherit;
    padding-top: 8px;
    padding-bottom: 8px;
}

.fahrgastrechte .fgr-nebenbeleg-upload .flex-container {
    flex-wrap: nowrap;
}

.fahrgastrechte .fgr-nebenbeleg-upload .flex-container-data-column {
    width: 50%;
}

.fahrgastrechte .fgr-nebenbeleg-upload .flex-container-data-column.currency-field {
    position: relative;
    margin-left: 20px;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .fahrgastrechte input[type='radio'] + label,
    .fahrgastrechte input[type='radio']:checked + label {
        background-position-x: 30px;
        padding-left: 80px;
    }
}

.fahrgastrechte .fgr-content-wrapper .title-content,
.fahrgastrechte .fgr-content-wrapper .fgr-content {
    display: flex;
}

.fahrgastrechte .fgr-content-wrapper .fgr-content.fgr-content-margin-top {
    margin-top: -30px;
}

.fahrgastrechte .fgr-content-wrapper .title-content h3 {
    order: 1;
}

.fahrgastrechte .fgr-content-wrapper .title-content h3,
.fahrgastrechte .fgr-content-wrapper .fgr-content .text-content {
    width: 70%;
}

.fahrgastrechte .fgr-content-wrapper .title-content .icon-placeholder,
.fahrgastrechte .fgr-content-wrapper .title-content i.icon,
.fahrgastrechte .fgr-content-wrapper .fgr-content .icon-placeholder,
.fahrgastrechte .fgr-content-wrapper .fgr-content i.icon {
    width: 20%;
    flex-shrink: 0;
}

.fahrgastrechte .fgr-content-wrapper input[type='checkbox'] + label,
.fahrgastrechte .fgr-content-wrapper input[type='checkbox']:checked + label  {
    background-position-x: 0;
    padding-left: 35px;
}

.fahrgastrechte .fgr-content-wrapper input[type="checkbox"] + label a.tooltip-link {
    left: 5px;
}

.fahrgastrechte .fgr-content-wrapper input[type="checkbox"] + label .ico {
    margin-top: 0;
    left: 0;
    top: 0;
}

.fahrgastrechte .fgr-nebenbeleg-verkehrsmittel-abbruchbhf {
    padding-left: 80px;
    padding-right: 40px;
}

.fahrgastrechte .fgr-nebenbeleg-verkehrsmittel-abbruchbhf div.fgr-abbruchbhf {
    margin-top: 16px;
}

.fahrgastrechte .fgr-content .ico.icon-icon_download {
    width: 32px;
    height: 32px;
    display: inline-block;
    position: relative;
    background: url(../img/icon/icon-download.png) no-repeat -10px;
    vertical-align: middle;
    margin-right: -10px;
}

.fahrgastrechte .fgr-content-wrapper + section.options,
.fahrgastrechte section.options.fgr-abbruchbhf-button {
    margin-bottom: 0;
}

.fahrgastrechte ul.block-list li {
    background: transparent url(../img/placeholder/icons.gif) 0 -8989px no-repeat;
    padding: 2px 0 0 16px;
    margin-bottom: 4px;
    list-style: none;
    font-size: 14px;
}

.fahrgastrechte .fgr-content-wrapper .icon-uhr {
    background: url(../img/icon/uhr.svg) no-repeat center;
    width: 82px;
    height: 110px;
}

.fahrgastrechte .fgr-content-wrapper .icon-uhr-x{
    background: url(../img/icon/uhr_x.svg) no-repeat center;
    width: 121px;
    height: 120px;
}

.fahrgastrechte .fgr-content-wrapper i.icon-uhr-traurig {
    background: url(../img/icon/uhr_traurig.svg) no-repeat center;
    width: 82px;
    height: 110px;
}

.fahrgastrechte .fgr-content-wrapper i.icon-euro-ersattung {
    background: url(../img/icon/euro-erstattung.svg) no-repeat center;
    width: 120px;
    height: 110px;
}

.fahrgastrechte .fgr-content-wrapper i.icon-sitzplatz {
    background: url(../img/icon/sitzplatz.svg) no-repeat center;
    margin-top: 30px;
    width: 75px;
    height: 98px;
}

.fahrgastrechte .fgr-content p {
    margin-top: 25px;
}

.fahrgastrechte .fgr-content p:first-child {
    margin-top: 0;
}

.fahrgastrechte .fgr-content p:last-child {
    margin-bottom: 10px;
}

.fahrgastrechte .fgr-content p.white-box {
    padding: 20px;
    background-color: #ffffff;
    width: fit-content;
}

.fgr-anwendungsfall input + label .ico {
    margin-top: 0;
    left: -10px;
}


.fgr-anwendungsfall p {
    margin-bottom: 30px;
}

.fahrgastrechte input[type='radio'] + label.hide-radio,
.fahrgastrechte input[type='radio']:checked + label.hide-radio {
    background: none;
    cursor: default;
}

.fahrgastrechte .currency-field {
    position: relative;
}

.fahrgastrechte .currency-field .currency {
    position: absolute;
    top: 35px;
    left: 12px;
    z-index: 30;
}

.fahrgastrechte .currency-field input {
    padding-left: 30px;
}

.fahrgastrechte section.fgr-nebenbeleg-upload .fs-header h4 {
    margin: 0 0 20px;
}

.fahrgastrechte section.fgr-nebenbeleg-upload .fs-header p {
    margin-bottom: 20px;
}

.fahrgastrechte section.fgr-nebenbeleg-upload .errormsg {
    padding-bottom: 16px;
}

.fahrgastrechte .filepond-content {
    border: 1px solid lightgrey;
    padding: 16px 16px 0 16px;
    position: relative;
}

.fahrgastrechte #filepond-content .file-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 16px;
}

.fahrgastrechte .filepond--root .filepond--list-scroller {
    height: 100% !important;
}

.fahrgastrechte #filepond-content .file-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.fahrgastrechte #filepond-content .file-group a.delete {
    position: absolute;
    right: 26px;
    top: calc(50% - 10px);
    cursor: pointer;
}

.fahrgastrechte #filepond-content .file-group a.delete .icon-icon_trash_grey {
    margin-left: 0;
}

.fahrgastrechte #filepond-content .file-group .inner-left {
    width: 40%;
    order: 2;
    position: relative;
    font-size: 0.875em;
}

.fahrgastrechte #filepond-content #kein-beleg-hinweis {
    padding-bottom:16px;
}

.fahrgastrechte #filepond-content .file-group .inner-left .row {
    display: flex;
    padding-top: 14px;
}

.fahrgastrechte #filepond-content .file-group .inner-left .row .col1 {
    width: 35%;
    display: inline-block;
    font-family: DBSansBold, "Arial", "Helvetica", sans-serif;
}

.fahrgastrechte #filepond-content .file-group .inner-left .row .col2 {
    display: inline-block;
}

.fahrgastrechte #filepond-content .file-group .filepond--root.filepond--hopper {
    width: 35%;
    margin-bottom: 0;
    min-height: 4.75em;
}

.fahrgastrechte .file-group .errormsg.filepond--file-status-main {
    display: block;
    font-size: 14px;
    text-align: left;
    padding-bottom: 0;
}

.fahrgastrechte fieldset .fieldset-inner .has-overlay {
    position: static;
    top: unset;
    right: unset;
    padding: unset;
}

.overlay-content.fgr-preview img {
    padding-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.overlay-content.fgr-preview p {
    text-align: center;
    font-size: 0.875em;
}

.fahrgastrechte .wartung-hinweis + p {
    margin: 16px 0 30px;
}

.wartung-hinweis p {
    margin-bottom: 10px;
}
/********************************************************************
 * Tooltip JS
 *******************************************************************/
.tooltip-container {
    position: relative;
    display: inline;
}

.tooltip-content {
    background: #f0f3f5;
    padding: 16px 45px 16px 16px;
    width: 400px;
    z-index: 9999;
    position: absolute;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid #878c96;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

.tooltip-content a.close {
    background: url("../img/icon/close.svg") no-repeat center;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 8px;
    top: 8px;
    cursor: pointer;
}

.tooltip-content a {
    font-size: 14px;
}

.tooltip-content.large {
    width: 460px;
}

.tooltip-content.extralarge {
    width: 500px;
}

.tooltip-content ul {
    padding-top: 4px;
    padding-bottom: 20px;
}

/********************************************************************
 * BahnBonus Praemien
 *******************************************************************/
section.additional-statements.praemienkonditionen .flex-container {
    border-bottom: none;
    padding: 20px 20px 0 20px;
}

section.additional-statements.praemienkonditionen .flex-container:last-child {
    padding: 20px;
}

div.pruefen-buchen.boxed-sections section.content-praemienkonditionen {
    background: #FFFFFF;
    padding: 0;
}

div.pruefen-buchen.boxed-sections section.content-praemienkonditionen div.contentfenster {
    margin-top: 25px;
    padding: 20px;
    font-size: 1em;
    max-width: 700px;
}

div.pruefen-buchen.boxed-sections section.content-praemienkonditionen div.contentfenster h3 {
    padding-bottom: 0;
    font-size: 1em;
}

div.pruefen-buchen.boxed-sections section.content-praemienkonditionen div.contentfenster ul {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 0.875em;
    line-height: 22px;
}

div.pruefen-buchen.boxed-sections section.content-praemienkonditionen div.contentfenster ul li {
    background: url(../img/icon/icon_list-type.svg) no-repeat;
    padding: 2px 0 0 20px;
    background-position-y: 3px;
    background-position-x: -8px;
}

/********************************************************************
 * Responsive Erweiterungen
 *******************************************************************/

body .wrapper {
    min-width: 320px;
}

fieldset #buchenresprefs.fs-content.no-padding,
fieldset #buchungfuerdritte-content.fs-content.no-padding {
    padding-bottom: 0;
}

fieldset .fs-content #ressitzwunsch.grid-wrapper-3 {
    margin-right: 0;
}

section.postversand-ticket fieldset .fs-sidebar,
section.reservierungs-details fieldset .fs-sidebar,
section.lastschrift fieldset .fs-sidebar,
section.kreditkarte fieldset .fs-sidebar {
    width: 280px;
    position: relative;
}

section.postversand-ticket.disabled fieldset .fs-sidebar,
section.lastschrift.disabled fieldset .fs-sidebar,
section.kreditkarte.disabled fieldset .fs-sidebar {
    font-size: 0.875em;
}

section.reservierungs-details input[type="checkbox"] + label .ico {
    left: 66px;
}

/* Überschreibungen für die Testeinstiege auf Portal */
.wrapper.responsive table.form {
    width: 100%;
}
.wrapper.responsive .maincontentwhitebgbborder {
    margin: 16px 0 0 0;
    border: none;
}
.wrapper.responsive .abschnitt {
    margin: 0 0 8px 0;
    padding: 8px;
}
.wrapper.responsive .abschnitt.nobottommargin {
    margin-bottom: 0;
}
.wrapper.responsive .debugmsg td, .wrapper.responsive .debugmsg th {
    vertical-align: top;
    padding: 4px;
    background-color: #f2f2f2;
}
.wrapper.responsive .debugmsg table a, .wrapper.responsive .debugmsg .abschnitt a {
    font-size: 1em;
}

section.rechnungsversand input[type="checkbox"] + label,
section.rechnungsversand input[type="checkbox"] + label:checked {
    background-position-x: -2px;
    padding-left: 50px;
}

/* Legende */
section.legende .container-300 {
    float: left;
}

section.legende .container-520 {
    float: right;
}

section.legende .container-700 {
    float: left;
}

/* Buttons */
div.button-section section.options .leftside {
    display: inline-flex;
    flex-flow: column;
}

div.button-section section.options .leftside .firstBtnRow {
    display: block;
}

div.button-section section.options .rightside .btn:last-child {
    margin-right: 8px;
}

div.button-section section.options .btn.grey {
    margin-right: 8px;
}

div.button-section section.options .leftside .btn.grey {
    margin-bottom: 16px;
}

div.button-section section.options .leftside .secondBtnRow .btn.grey {
    margin-bottom: 0;
    margin-right: 0;
}

/* Kassenseite */
div.zahlungsart-auswahl input[type="radio"] + label .ico {
    margin-top: -20px;
}

div.zahlungsart-auswahl section.kreditkarte.kasse-kk-kachel-fk input[type="radio"] + label .ico {
    margin-top: -28px;
}

section.kreditkarte .fs-content.kreditkarte-anlegen .kk-pruefziffer .kk-prueziffer-label {
    width: 290px;
    margin-top: 0;
}

section.kreditkarte .fs-content.kreditkarte-anlegen .kk-pruefziffer .kk-prueziffer-label .label {
    margin-top: 5px;
    padding-bottom: 6px;
}

section.lastschrift fieldset .fs-content.withicon {
    padding-right: 16px;
}

section.lastschrift fieldset .fs-content p.no-margin {
    margin: 0;
}

section.kasse-kk-kachel-fk label.icon.noradio i.icon-icon_kreditkarte_large,
section.kreditkarte label.icon.without-input i.icon-icon_kreditkarte_large {
    top: -5px;
}

section.customer-data .grid-wrapper-3 h4.indent {
    margin-left: 64px;
}

section.customer-data fieldset .custom h4.indent {
    margin-left: 80px;
}

section.customer-data fieldset .custom .w-380 {
    padding-right: 80px;
    float: right;
}

section.customer-data fieldset .custom .w-380 div i {
    top: 4px;
}

section.code .ec-section {
    margin: 0;
}

section.bahnbonus fieldset .fs-content.withicon h4 {
    font-family: DBSansRegular, "Arial", "Helvetica", sans-serif;
}

section.code .fs-content.withicon,
section.ecoupon .fs-content.withicon {
    padding-right: 20px;
}

section.code .container-380,
section.ecoupon .container-380 {
    position: relative;
}

input[type="checkbox"] + label a .ico,
input[type="radio"] + label a .ico {
    display: inline-block;
}

section.postversand-ticket.disabled .fs-sidebar span,
section.lastschrift.disabled .fs-sidebar span,
section.kreditkarte.disabled .fs-sidebar span {
    position: relative;
    top: 30%;
}

section.postversand-ticket.disabled .fs-sidebar span.post-disable,
section.lastschrift.disabled .fs-sidebar span.post-disable,
section.kreditkarte.disabled .fs-sidebar span.post-disable {
    top: -2%;
}

section.kreditkarte .kreditkarte-typ {
    padding-left: 8px;
}

section.kreditkarte .cc-threedsecure .threedsecure {
    padding-top: 16px;
}

section.kreditkarte .fs-content.kreditkarte-anlegen .kk-pruefziffer .kk-pruefziffer-link {
    padding-left: 200px;
}

section.kreditkarte .fs-content.kreditkarte-anlegen .kk-pruefziffer .kk-pruefziffer-link a.form-link {
    margin-left: 0;
    margin-bottom: 20px;
    margin-top: 0;
}


section.kreditkarte .kk-eingabe .input-wrapper {
    width: 262px;
}

section.header.noTitle {
    padding-bottom: 0;
    padding-top: 0;
}

section.header.noTitle div.abschnitt:first-child {
    padding-top: 16px;
}

.container-980.button-wrapper.hinweis {
    background: #FFFFFF;
    padding-top: 0;
}

.container-1 { grid-area: cont-1; }
.container-2 { grid-area: cont-2; }
.container-3 { grid-area: cont-3; }
.container-4 { grid-area: cont-4; }
.container-5 { grid-area: cont-5; }
.container-6 { grid-area: cont-6; }


/* Bestätigung Stornierung */
section.stornierung .grid-container-5 {
    display: grid;
    grid-template-areas:
        'cont-1 cont-2 cont-3 cont-4 cont-5';
    grid-template-columns: 120px 120px auto 120px 100px;
    font-size: 0.875em;
}

section.stornierung .grid-container-5.content-title span.title {
    display: none;
}

section.stornierung .grid-container-5 > div {
    text-align: left;
    padding: 0;
}

section.stornierung .grid-container-5 > div span.title {
    display: block;
    padding: 20px 20px 0 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

section.stornierung .grid-container-5 > div span.label {
    display: block;
    padding: 20px 20px 0 0;
}

section.stornierung .grid-container-5 {
    padding-bottom: 20px;
    border-bottom: 1px solid #E7E7E7;
}

section.stornierung .grid-container-5:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

section.stornierung a.form-link span {
    font-size: 14px;
}

.stornierung .stornierung-druckansicht a.form-link {
    width: 100%;
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
}

/* Bahncard Auswahlseite */
.overlay-content.bahncard-auswahl-layer {
    font-size: 0.875em;
}

.overlay-content.bahncard-auswahl-layer a {
    font-size: 1em;
}

.bahncard-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.875em;
}

.bahncard-row .bahncard-teaser {
    padding: 0 10px;
    margin-bottom: 10px;
    width: 33.333%;
    box-sizing: border-box;
    display: flex;
}

.bahncard-row .bahncard-teaser-content {
    position: relative;
    background: #fff;
    padding: 10px;
    width: 100%;
    border-radius: 4px;
}

.bahncard-row .bahncard-teaser-content.business {
    padding-bottom: 20px;
}

.bahncard-row .bahncard-teaser-content a.has-overlay {
    position: absolute;
    right: 10px;
    top: 10px;
}

.bahncard-row .bahncard-teaser-content .bc-icon {
    margin-top: 18px;
    margin-bottom: 56px;
    padding-left: 30px;
    padding-right: 30px;
}

.bahncard-row .bahncard-teaser-content.business .bc-icon {
    margin-bottom: 18px;
    padding-left: 0;
    padding-right: 0;
}

.bahncard-row .bahncard-teaser-content.business div.bc-auswahl-label {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    height: 36px;
    padding-top: 2px;
    margin-bottom: 12px;
}
.bahncard-row .bahncard-teaser-content.business .description {
    margin-bottom: 32px;
}

.bahncard-row .bahncard-teaser-content .bc-icon img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.bahncard-row .bahncard-teaser-content .bc-button {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 20px);
}

.bahncard-row .bahncard-teaser-content .bc-button a.btn {
    width: 100%;
}

.bahncard-row .bahncard-teaser-content .bc-button a {
    font-size: 1em;
}

.bahncard-row .bahncard-teaser-content input[type="radio"] + label {
    left: 0;
    padding: 2px 36px 0 30px;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    min-height: 36px;
    background-position: 0 -1px;
}

.bahncard-row .bahncard-teaser-content .bc-preis {
    position: absolute;
    bottom: 12px;
    right: 12px;
    text-align: right;
}

.bahncard-row .bahncard-teaser-content.business .bc-preis {
    position: initial;
    margin-bottom: 60px;
}

/* Besonderheit Content Fenster BC Auswahlseite: Anzeige in einer Teaser-Kachel */
.bahncard-row .bahncard-teaser-content.business .contentfenster img {
    display: none;
}

.bahncard-row .bahncard-teaser-content.business .contentfenster .content {
    background-color: #ffffff;
}

.bahncard-row .bahncard-teaser-content.business .contentfenster .content h3 {
    margin-top: 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-size: 14px;
}

.bahncard-row .bahncard-teaser-content.business .contentfenster .content p,
.bahncard-row .bahncard-teaser-content.business .contentfenster .content a {
    font-size: 1em;
}

.container-980.button-wrapper.bcauswahl input.pull-right {
    margin-left: 16px;
}

.container-980.button-wrapper.bcauswahl {
    position: sticky;
    bottom: 0;
    border-top: 1px solid #F0F3F5;
    padding: 0;
    opacity: 0.95;
}

.container-980.button-wrapper.bcauswahl .kamin.warenkorb .preiscontainer {
    max-width: none;
}

.overlay-content .container-980.button-wrapper {
    width: 100%;
    padding: 20px 0;
    background: #ffffff;
}

.overlay-content .container-980.button-wrapper .button-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.overlay-content.warenkorb-layer.bahncard div.angebotskonditionen section.offers div.description div.angebotsdetails div:first-child {
    padding-bottom: 4px;
}

.overlay-content.reisedaten div.verbindung.preisdetails {
    background: #F0F3F5;
    border-radius: 4px;
}

.overlay-content.reisedaten .grid-area-1 { grid-area: area-1; }
.overlay-content.reisedaten .grid-area-2 { grid-area: area-2; }
.overlay-content.reisedaten .grid-area-3 { grid-area: area-3; }
.overlay-content.reisedaten .grid-area-4 { grid-area: area-4; }

.overlay-content.reisedaten .grid-container-2 {
    display: grid;
    grid-template-areas:
            "area-1 area-2"
            "area-3 area-4";
    grid-template-columns: 50%;
    padding: 8px 16px;
    border-bottom: 1px solid #FFFFFF;
}

.overlay-content.reisedaten .grid-container-2:last-child {
    border-bottom: none;
}

.overlay-content.reisedaten .grid-container-2.grid-header {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding: 12px 16px;
}

.overlay-content.reisedaten .grid-content span {
    font-size: 0.875rem;
}

.overlay-content.reisedaten .grid-content span.title {
    display: none;
}

.overlay-content.reisedaten .grid-container-2 .preisdetails {
    padding-top: 8px;
}

.overlay-content .teilpreis .verbindung {
    background: #F0F3F5;
    border-radius: 4px;
    margin: 8px 0 0 24px;
}

.overlay-content .teilpreis .verbindung .grid-area-1 { grid-area: area-1; }
.overlay-content .teilpreis .verbindung .grid-area-2 { grid-area: area-2; }
.overlay-content .teilpreis .verbindung .grid-area-3 { grid-area: area-3; }

.overlay-content .teilpreis .verbindung .grid-container-3 {
    display: grid;
    grid-template-areas:
            "area-1 area-2 area-3";
    grid-template-columns: repeat(3, 33.33%);
    padding: 8px 16px;
    border-bottom: 1px solid #FFFFFF;
}

.overlay-content .teilpreis .verbindung .grid-container-3:last-child {
    border-bottom: none;
}

.overlay-content .teilpreis .verbindung .grid-container-3.grid-header {
    color: #646973;
    padding: 12px 16px;
}

.overlay-content .teilpreis .verbindung .grid-container-3 .title {
    display: none;
}

.overlay-content .teilpreis .verbindung .grid-content span {
    font-size: 0.875rem;
}

.overlay-content .teilpreis h4.fahrtrichtung {
    display: none;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

.boxed-sections section.additional-statements.bahncard,
.boxed-sections section.additional-statements.verbundbuchen {
    background: inherit;
}

.boxed-sections section.additional-statements.bahncard input[type="checkbox"]:checked + label,
.boxed-sections section.additional-statements.verbundbuchen input[type="checkbox"]:checked + label{
    background-position-x: 0;
    padding-left: 40px;
}

.bahncard-data fieldset.bahncard-daten .edit-icon {
    position: absolute;
    top: 30px;
    z-index: 9999;
}
.bahncard-data fieldset.bahncard-daten .edit-icon.notop {
    top: 0;
}

section.customer-data.bahncard-data .c-data .grid-wrapper-3 {
    margin: 0;
}

.telefon-hinweis {
    margin-top: -10px;
}

.bahncard-data fieldset {
    position: relative;
}

.bahncard-data fieldset:not(:last-child) {
    border-bottom: 1px solid rgba(40,45,55,0.2);
}

.bahncard-data fieldset .adresse-auswahl-label {
    padding-top: 16px;
}

.bahncard-data fieldset.bahncard-adresse-auswahl .fieldset-inner {
    padding-bottom: 0;
}

.bahncard-data fieldset .fieldset-inner label.radio {
    padding-left: 50px;
}

section.customer-data.bahncard-data .bahncard-daten .c-data .grid-wrapper-3 .grid-left,
section.customer-data.bahncard-data .select-field .flex-container .flex-item.label {
    margin-right: 40px;
}

.bahncard-data fieldset.bahncard-daten .fieldset-inner p.email-hinweis {
    padding-bottom: 16px;
}

.bahncard-data fieldset.bahncard-daten .daten-readonly .input-wrapper {
    margin-bottom: 0;
}

.bahncard-data fieldset.select-field .flex-container {
    display: flex;
}

.bahncard-data fieldset.select-field .flex-container .flex-item.label {
    padding-right: 16px;
    width: 142px;
}

.bahncard-data fieldset.select-field .flex-container .flex-item.geburtsdatum {
    font-size: 0.875em;
    flex-grow: 1;
}

section.registrierung.bahncard-reiseversicherung .fieldset-inner {
    padding-top: 0;
}

section.bahncard-foto-upload .bahncard-img {
    width: 180px;
}

section.bahncard-foto-upload .bahncard-zustellart {
    width: calc(100% - 180px);
    padding-left: 32px;
}

section.bahncard-foto-upload .bahncard-zustellart .w-full input[type="radio"] + label {
    padding: 16px 30px 14px 44px;
    background-position: 0 16px;
}

section.vorteaser .flex-container {
    display: flex;
}

section.vorteaser .flex-container .flex-item.select-label {
    width: 260px;
    flex-shrink: 0;
    padding-top: 12px;
}

section.vorteaser.reiseversicherung .flex-container .flex-item.select-label {
    padding-right: 10px;
}

section.vorteaser .flex-container .flex-item.select-label.nocentering {
    padding-top: 0;
}

section.vorteaser .flex-container .flex-item.select-label.withtoplabel {
    padding-top: 36px;
}

section.vorteaser .flex-container .flex-item.select-field {
    min-height: 44px;
}

section.vorteaser.reiseversicherung .flex-container .flex-item.select-field.versicherter {
    width: 100%;
}

section.vorteaser.reiseversicherung .flex-container .flex-item.select-field .versicherter-container {
    width: 49%;
}

section.vorteaser label.without-input > i.ico,
section.bahncard-reiseversicherung label.without-input > i.ico {
    margin-top: 8px;
}

section.header.bahncardhinweis a.form-link {
    font-size: 1em;
}

section.zusatzkarte input[type="radio"] + label {
    background-position-y: 16px;
}

section.zusatzkarte.bahncard-data input[type='checkbox'] + label,
section.zusatzkarte.bahncard-data input[type='checkbox']:checked + label {
    margin: 0;
}

section.zusatzkarte.bahncard-data input[type='checkbox'] + label a.arrowlink {
    font-size: 1em;
}

section.zusatzkarte .flex-container.fileupload {
    padding: 0;
}

section.bc-nachweis .item .item-header.regular {
    font-size: 1em;
}

section.bc-nachweis .item .item-header.regular span:not(:first-of-type) {
    display: block;
    padding-top: 8px;
}

.content.bestaetigung section.mobile-teaser a.arrowlink {
    font-size: 1em;
}

section.verbundprodukt fieldset h3 {
    margin-top: 0;
}

section.verbundprodukt fieldset .fs-header {
    padding: 20px 80px 35px 20px;
}

section.verbundprodukt fieldset .fs-header p {
    padding-bottom: 20px;
}

section.header.fahrradkarte-hinweis a.form-link {
    font-size: 1em;
}

section.header.fahrradkarte-hinweis {
    min-height: 250px;
}

/* Abbrecher Layer */
.overlay-content.abbrecher-layer h3 {
    margin-top: 20px;
}

.overlay-content.abbrecher-layer p {
    font-size: 0.875em;
}

.overlay-content.abbrecher-layer a.form-link {
    font-size: 1em;
}

.overlay-content .container-980.button-wrapper {
    width: 100%;
    padding: 0;
    background: #ffffff;
}

.overlay-content.abbrecher-layer .container-980.button-wrapper,
.overlay-content.abbrecher-layer .container-980 .button-section {
    padding: 0;
}

/**
 * Das position-Attribut muß auf relative gesetzt, da es ansonsten
 * im IE Darstellungsprobleme bei eingebetteten Tabellen geben könnte.
 * Ursache: Tabellen haben position.relative und
 * werden dann im IE nicht korrekt ein- bzw. ausgeblendet.
 */
.opener-content {
    display:none !important;	/* hier !important verwenden, damit es auch im IE zieht; über active wird das wieder überschrieben */
    position: relative;
}
.opener-content.active {
    display:block !important;
}

/* GDS Link je nach viewport anzeigen */
a.gsd.viewport-desktop {
    display: block;
}

a.gsd.viewport-mobile {
    display: none;
}

/*  Radio-Buttons ohne Einrückung  */
.content .no-padding-radio label.icon {
    padding: 0 20px 16px 30px;
    background-position-x: -2px;
    background-position-y: 0;
}

/********************************************************************
 * Geschenkgutschein Buchung
 *******************************************************************/

img.geschenkgutscheinmotiv {
    cursor: pointer;
    width: 90%;
}

div#geschenkgutscheinvorschau {
    background-position: left bottom;
    background-repeat :no-repeat;
    height: 600px;
}

div#geschenkgutscheinvorschau div.geschenkgutscheinvorschautexte {
    position: absolute;
}

div.vorschautext {
    font-size: 0.49em;
    position: absolute;
}

div#empfaengervorschau {
    margin-left: 78px;
    margin-top: 330px;
}

div#absendervorschau {
    margin-left: 262px;
    margin-top: 330px;
}

div#nachrichtvorschau {
    margin-left: 78px;
    margin-top: 366px;
    width: 302px;
    font-size: 0.5em;
}

div#gutscheinwertwaehrungvorschau {
    margin-left: 78px;
    margin-top: 450px;
    font-size: 1.4em;
    font-weight: bold;
}

div#codevorschau {
    margin-left: 78px;
    margin-top: 520px;
    font-weight: bold;
}

div#geschenkgutschein-content {
    width: 530px;
    height: 693px;
    background: #FFFFFF;
    position: relative;
}

div#geschenkgutschein-content h3 {
    margin-top: 0;
}

.geschenkgutscheinmotiveTable .vorschau-container {
    position: relative;
    padding: 0;
    width: 20%;
    display: flex;
}

.geschenkgutscheinmotiveTable .vorschau-container img.vorschau-icon {
    position: absolute;
    top: 0;
    left: 38px;
    width: 24px;
}

.geschenkgutscheinmotiveTable .geschenkgutscheinmotiveTable-inner {
    display: flex;
    flex-wrap: wrap;
}

section.vorteaser.geschenkgutscheinangaben .flex-container .flex-item.select-label {
    width: 100px;
}

.geschenkgutscheinangaben textarea {
    overflow: auto;
    width: 100%;
    border: 1px solid #afb4bb;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.geschenkgutscheinmotiveTable input[type="radio"] + label {
    padding: 0 0 20px 40px;
    background-position-x: 8px;
    background-position-y: 42%;
}

.geschenkgutscheinmotiveTable input[type='radio']:checked + label {
    padding: 0 0 20px 40px;
    background-position-x: 8px;
    background-position-y: 42%;
}

.bcdaten .kamin.header-with-contentfenster {
    z-index: 999;
    width: 460px;
    background: none;
    float: right;
}

.bcdaten .kamin.header-with-contentfenster h3 {
    margin-top: 0;
}

.bcdaten .kamin.header-with-contentfenster a {
    text-decoration: underline;
    font-size: 0.875em;
}

/* Buchungsrückschau */
section.brs-filter .error-container {
    padding: 0 16px;
    margin-top: 8px;
}

section.brs-filter .date-container .error-container {
    max-width: 250px;
}

section.brs-filter .container-380 .error-container {
    padding-left: 0;
    padding-right: 0;
}

section.brs-filter .error-container.suchzeitraum {
    margin: 0;
}

section.brs-filter .error-container.suchzeitraum span {
    padding-top: 8px;
}

.brs-uebersicht-header {
    display: flex;
    align-items: center;
}

.brs-uebersicht-header a {
    margin: 12px 8px 2px 8px;
}

section.brs-filter {
    padding: 0 0px 70px 0;
    margin-bottom: 24px;
}

section.brs-filter .button-section {
    padding-right: 16px;
}

fieldset.brs-fieldset {
    padding: 8px 0 0 0;
    display: flex;
}

fieldset.brs-fieldset.fremdreferenz {
    display: flex;
}

fieldset.brs-fieldset input[type="radio"] + label {
    padding-left: 60px;
    padding-right: 12px;
}

fieldset .fs-header.fs-header-brs {
    flex-shrink: 0;
    margin-right: 16px;
    width: 40%;
}

fieldset .fs-content.fs-content-brs {
    padding: 12px 0 0 0;
    border: none;
}

fieldset .fs-content.fs-content-brs .date-container {
    display: inline-block;
}

fieldset.brs-fieldset.fremdreferenz .fs-content.fs-content-brs {
    align-self: center;
}

fieldset .fs-content.fs-content-brs .date-container span.hinweis-text-color {
    display: block;
    padding: 4px 0;
}

fieldset .fs-content.fs-content-brs .date-container .weccalendar {
    width: auto;
}

fieldset .fs-content.fs-content-brs .date-container .weccalendar .left {
    width: 203px;
}

fieldset .fs-content.fs-content-brs .date-container .weccalendar input.date {
    width: 140px;
}

/* BRS Übersicht Tabelle */
section.brs-uebersicht {
    background: none;
}

section.brs-uebersicht section.box-section {
    padding: 16px;
    font-size: 0.875em;
}

section.brs-uebersicht .grid-container-5 {
    display: grid;
    grid-template-areas:
        'cont-1 cont-2 cont-3 cont-4 cont-5';
    grid-template-columns: 150px 150px 150px auto 24px;
    font-size: 0.875em;
    padding: 16px;
    margin: 8px 0;
    background:#FFF;
    border-radius: 5px;
}

section.brs-uebersicht .grid-container-5 > div span.title {
    display: block;
    font-size: 12px;
    color: #646973;
}

section.brs-uebersicht .grid-container-5 > div span.title a {
    outline: none;
}

section.brs-uebersicht .grid-container-5 .container-4 {
    padding-right: 12px;
}

section.brs-uebersicht .grid-container-5 > div span.label,
section.brs-uebersicht .grid-container-5 > div div.fk-compound-info:nth-child(2) {
    display: block;
    padding: 4px 0 0 0;
}

section.brs-uebersicht .grid-container-5 > div .ico.cal_icon {
    background: url('../img/icon/icon-calender.svg') no-repeat center;
    margin: 0 2px 0 -4px;
    width: 24px;
    height: 24px;
}

section.brs-uebersicht .grid-container-5 > div span.label.reisedatum {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

section.box-section.brs-small,
section.box-section .brs-small {
    padding: 11px 16px;
}

section.box-section.brs-default-box {
    padding: 16px;
}

section.box-section.brs-default-box.withKorrekturBeleg {
    padding: 0;
}

section.box-section.brs-default-box.withKorrekturBeleg .icon-and-text-wrapper {
    padding: 16px;
}

section.box-section.brs-default-box.withKorrekturBeleg .icon-and-text-wrapper:not(:first-of-type) {
    border-top: 1px solid #E7E7E7;
}

.icon-navigation-arrow-right {
    background: url('../img/icon_navigation_arrow-right_20.svg') no-repeat center;
    width: 20px;
    height: 20px;
    background-position-x: 3px;
    top: 4px;
}

.icon-navigation-arrow-left {
    background: url('../img/icon_navigation_arrow-left_20.svg') no-repeat center;
    width: 20px;
    height: 20px;
    background-position-x: -3px;
    top: 4px;
}

.linkback, .linknext,
.brs-label-line-height  {
    line-height: 2.0em;
}

section.brs-sammelbelege {
    margin-top: 24px;
    padding: 16px;
}

section.hinweis h4,
section.brs-sammelbelege h4 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding-bottom: 8px;
}

section.hinweis {
    padding: 20px;
    margin-bottom: 0;
}

.brs-hinweis-mit-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 24px;
    font-size: 14px;
}

.brs-hinweis-mit-link .text {
    flex: auto;
}

.brs-hinweis-mit-link .link {
    flex: none;
}

/* Auftragdetails */
div.auftrag a.printlink span.druck-text {
    padding-left: 4px;
}

div.auftrag a.printlink i.icon-icon_drucker {
    top: 4px;
}

section.auftragdetails .grid-container-5 {
    display: grid;
    grid-template-areas:
        'cont-1 cont-2 cont-3 cont-4 cont-5';
    grid-template-columns: 210px 150px auto auto 160px;
    font-size: 0.875em;
    padding: 16px;
    margin: 8px 0;
    background:#FFF;
    border-radius: 5px;
}

section.auftragdetails .grid-container-5  .container-3,
section.auftragdetails .grid-container-5  .container-4 {
    padding-right: 12px;
}

section.auftragdetails .grid-container-5 > div span.title {
    display: block;
    color: #646973;
}

section.auftragdetails .grid-container-5 > div span.label {
    display: block;
    padding: 4px 0 0 0;
    word-break: break-word;
}

section.auftragdetails .grid-container-5 > div span.label.auftragsnummer {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

section.auftragdetails .grid-container-5 .container-5 .icon-icon_check_small {
    top: 0px;
}

section.auftragdetails .grid-container-5 .container-1 {
    display: inline-flex;
}

section.auftragdetails .grid-container-5 .container-1 .icon-icon_reisender {
    margin-right: 16px;
}

section.box-section .icon-and-text-wrapper {
    display: flex;
    align-items: center;
}

section.box-section .icon-and-text-wrapper .left-container {
    display: flex;
    max-width: 75%;
    padding-right: 30px;
}

section.box-section.withKorrekturBeleg .icon-and-text-wrapper .left-container,
section.box-section.kaufbeleg-bestaetigung .icon-and-text-wrapper .left-container {
    max-width: 70%;
}

section.box-section .icon-and-text-wrapper .left-container.align-middle {
    align-items: center;
}

section.box-section .icon-and-text-wrapper .right-container {
    flex-grow: 1;
}

section.box-section .icon-and-text-wrapper .left-container .ico {
    width: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

section.box-section .icon-and-text-wrapper .left-container .ico.no-ico {
    background-image: unset;
}

.brs-tablerow-disabled {
    opacity: 0.5;
}

/* BRS Details Auftragsdaten */
.brsDetailsTable .row {
    padding: 16px 16px 12px 16px;
    font-size: 0.875em;
    line-height: 20px;
}

.brsDetailsTable .row:last-child {
    padding-bottom: 16px;
}

.brsDetailsTable .row .reisedatum {
    display: block;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}

.brsDetailsTable .row .belegart {
    display: block;
    color: #646973;
}

.brsDetailsTable .row .belegnr {
    color: #646973;
    text-align: right;

}

.brsDetailsTable .row .storno {
    color: #C50014;
    text-align: right;
    min-width: 110px;
}

.brsDetailsTable .row .preis {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    text-align: right;
    white-space: nowrap;
}

.brsDetailsTable .row .preis.storno {
    color: #878C96;
}

.brsDetailsBaustein h3 span.baustein-title {
    padding-right: 8px;
}

.brsDetailsBaustein h3 span.errormsg {
    font-size: 14px;
}

.brsDetailsBaustein div.storno-fehler {
    padding-bottom: 8px;
}

/* Grid Modelle */
.cont-1 { grid-area: cont-1; }
.cont-2 { grid-area: cont-2; }
.cont-3 { grid-area: cont-3; }
.cont-4 { grid-area: cont-4; }
.cont-5 { grid-area: cont-5; }

.brsDetailsTable .grid-container-2 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2';
    grid-template-columns: 25% auto;
    width: 80%;
}

.brsDetailsTable .grid-container-3 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2 cont-3';
    grid-template-columns: 25% auto 15%;
}

.brsDetailsTable .grid-container-4 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2 cont-3 cont-4';
    grid-template-columns: 25% auto 15% 15%;
}

.brsDetailsTable .grid-container-5 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2 cont-3 cont-4 cont-5';
    grid-template-columns: 25% auto 15% 15% 15%;
}

/* Storno */

/*
 * für Dunkel grau Text in Normal Grau Hintergrund
 * z.B. Mietwagen Übersichtseite
 */
.greyFontInGreyBackground {
    color: #888888;
}

.brs-storno-box h4 {
    padding: 16px;
}

.brs-storno-box .brs-storno-content {
    padding: 16px;
    padding-left: 64px;
    border-top: 1px solid rgba(40,45,55,0.2);
}

.brs-storno-box .brs-storno-content.indent-content {
    padding-left: 64px;
    border: none;
    padding-top: 0;
}

.brs-storno-hinrueck .row {
    padding: 16px 0 16px 0;
    font-size: 0.875em;
    line-height: 20px;
}

.brs-storno-hinrueck .row:last-child {
    padding-bottom: 0;
}

.brs-storno-hinrueck .grid-container-2 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2';
    grid-template-columns: 20% auto;
}

.brs-storno-hinrueck .grid-container-3 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2 cont-3';
    grid-template-columns: 20% auto 210px;
}

.brs-storno-hinrueck .cont-1 {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    padding-right: 8px;
}

.brs-storno-default {
    padding-top: 8px;
}

.brs-storno-default,
.brs-storno-box .brs-storno-content .indent,
.brs-storno-content > p {
    max-width: 75%;
    padding-right: 30px;
}

.brs-storno-default.withButton .cont-1 {
    padding-right: 30px;
}

.brs-storno-default.withButton {
    max-width: unset;
    padding-right: 0;
}

.brs-storno-default.withButton .grid-container-2 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2';
    grid-template-columns: auto 210px;
}

.brs-storno-hinrueck .grid-container-3 .cont-2 a {
    font-size: 1em;
}

.brs-storno-hinrueck .grid-container-hr-2 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2';
    grid-template-columns: auto 210px;
}

.brs-storno-hinrueck .grid-container-hr-2 .grid-container-2 {
    display: grid;
    grid-template-areas: 'cont-1 cont-2';
    grid-template-columns: 28% auto;
}

.brs-storno-hinrueck .grid-container-hr-2 .grid-container-2 .cont-2 {
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
}

.brs-storno-hinrueck input[type="checkbox"] + label {
    padding: 0px 0 8px 34px;
    background-position-x: 0;
    background-position-y: -2px;
}

input[type='checkbox']:checked.focus + label {
    background-position-x: 0;
    background-position-y: -2px;
}

/* Opener */
.wrapper .content .brsDetailsBaustein .opener {
    background-image: url(../img/icon/pfeil_unten_grau_20x20.svg);
    background-repeat: no-repeat;
    background-position: right 16px top 16px;
    cursor: pointer;
    padding: 16px 24px 16px 16px;
    display: block;
    text-decoration: none;
    border-radius: 4px;
}

.wrapper .content .brsDetailsBaustein h4 {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wrapper .content .brsDetailsBaustein h4.auftrag-title {
    gap: 4px;
}

.wrapper .content .brsDetailsBaustein h4.auftrag-title .ico {
    flex-shrink: 0;
}

.wrapper .content .brsDetailsBaustein .opener.openerActive {
    background-image: url(../img/icon/pfeil_oben_rot.svg);
    padding: 16px 40px 16px 16px;
}

.wrapper .content .rva .brsDetailsBaustein .opener.openerActive {
    background-image: none;
    cursor: default;
}

.wrapper .content .brsDetailsBaustein .opener.openerActive:hover {
    background-color: #fff;
}

.wrapper .content .brsDetailsBaustein .opener:hover {
    background-color: #D7DCE1;
}

.wrapper .content .brsDetailsBaustein .opener-content.active {
    border-top: 1px solid rgba(40,45,55,0.2);
}

.wrapper .content .brsDetailsBaustein .opener-content.active.no-border {
    border-top: 0 !important;
}

div.druckansicht .margin-bottom-20 {
    margin: 0 !important;
}

div.druckansicht section.auftragdetails {
    margin-bottom: 26px;
}

div.druckansicht section.auftragdetails .grid-container-5,
div.druckansicht .brsDetailsTable .grid-container-5,
div.druckansicht .brsDetailsTable .row {
    padding: 5px 0;
}

div.druckansicht .brsDetailsBaustein h4 {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
}

div.druckansicht section.auftragdetails .grid-container-5 {
    grid-template-areas: 'cont-1 cont-2 cont-3 cont-4';
    grid-template-columns: auto;
}

.confirmation-header.rva-olt {
    text-align: center;
}

.confirmation-header.rva-olt section.container-full {
    padding-left: 10%;
    padding-right: 10%;
}

div.inputaslink {
    display: flex;
    align-items: center;
}

section.erstattung-hinweis a {
    display: block;
    margin-top: 8px;
    margin-left: 0;
}

fieldset .nested-radio-block {
    padding-left: 40px;
    padding-top: 8px;
}

.wrapper .erstattung-checkbox .abschnitt {
    margin: 0;
    padding: 8px 0 0 40px;
    font-size: 0.875em;
}

div.error-container.teilerstattung-error {
    margin-top: 10px;
    margin-bottom: 0;
}

.erstattung-kasse .kk-ungueltig-hinweis {
    background: #fff;
    padding: 16px;
    width: 100%;
    margin: 0 0 10px 0;
    border-radius: 4px;
}

.erstattung-kasse section.lastschrift .container-380 {
    width: 49%;
}

.erstattung-kasse section.lastschrift fieldset .fs-content.withicon {
    padding-left: 89px;
}

.erstattung-pruef .versand-hinweis {
    margin-left: 0;
    margin-top: 25px;
}

.flex.hinweis {
    align-items: flex-end;
}

.flex-item-left {
    width: 75%;
}

.flex-item-right {
    text-align: right;
    width: 25%;
}

.brsDetailsTable.erstattung .grid-container-3 {
    grid-template-columns: 35% 25% auto;
}

.brsDetailsTable.erstattung.erstattungsart-kk .grid-container-3 {
    grid-template-columns: 25% 35% auto;
}

.brsDetailsTable.erstattung .grid-container-3 .title {
    padding-bottom: 4px;
}

.erstattungsantrag .container-700 {
    margin-left: 0;
}

.erstattungsantrag input[type="radio"] + label,
.erstattungsantrag input[type='radio']:checked + label,
.erstattungsantrag input[type="checkbox"] + label,
.erstattungsantrag input[type="checkbox"]:checked + label {
    background-position-x: 0;
    padding-left: 40px;
}

.erstattungsantrag fieldset .nested-radio-block input[type="radio"] + label,
.erstattungsantrag fieldset .nested-radio-block input[type="radio"]:checked + label {
    padding-top: 4px;
    padding-bottom: 4px;
}

.erstattungsantrag label span.tiny {
    font-size: 0.875em;
}

.lastschrift-standalone .data-table .data-key {
    min-width: 250px;
}

.lastschrift-standalone .zahlungsart-auswahl {
    font-size: 0.875em;
}

.lastschrift-standalone section.header h3 ~ a.form-link {
    margin-left: 0;
}

.lastschrift-standalone .agb .indent {
    padding-left: 34px;
}

.lastschrift-standalone section.additional-statements .flex-container {
    padding: 16px;
}

.lastschrift-standalone section.additional-statements .flex-container .flex-container-title {
    font-size: 0.875em;
}

.lastschrift-standalone .customer-data .pers-daten {
    line-height: 24px;
}

/* BC Ersatzkarte */
div.bahncard-ersatzkarte.boxed-sections section {
    background: inherit;
}

div.bahncard-ersatzkarte section.agb.bx-shadow {
    margin: 40px 0 0 0;
}

div.bahncard-ersatzkarte .kamin.warenkorb .preiscontainer {
    max-width: unset;
}

section.bc-ersatzkarte .grid-container-5,
section.bc-ersatzkarte-auswahl .grid-container-5 {
    display: grid;
    grid-template-areas:
        'cont-1 cont-2 cont-3 cont-4 cont-5';
    font-size: 0.875em;
    padding: 16px;
    margin: 8px 0;
    background:#FFF;
}

section.bc-ersatzkarte-auswahl .grid-container-5 {
    grid-template-columns: auto 170px 170px 140px 130px;
}

section.bc-ersatzkarte .grid-container-5 {
    border-bottom: 1px solid #E7E7E7;
}

section.bc-ersatzkarte .grid-container-5 {
    grid-template-columns: 250px auto 225px 150px 0;
}

section.bc-ersatzkarte .grid-container-5.pers-daten {
    grid-template-columns: 250px auto 0px 0px 25px;
}

section.bc-ersatzkarte-auswahl .grid-container-5 {
    border-radius: 4px;
}

section.bc-ersatzkarte .grid-container-5:last-child,
section.bc-ersatzkarte-auswahl .grid-container-5:last-child {
    border:none;
}

section.bc-ersatzkarte .grid-container-5 > div span.title,
section.bc-ersatzkarte-auswahl .grid-container-5 > div span.title {
    display: block;
    font-size: 12px;
    color: #646973;
}

section.bc-ersatzkarte .grid-container-5 > div span.title a,
section.bc-ersatzkarte-auswahl .grid-container-5 > div span.title a {
    outline: none;
}

section.bc-ersatzkarte .grid-container-5 .container-4,
section.bc-ersatzkarte-auswahl .grid-container-5 .container-4 {
    padding-right: 12px;
}

section.bc-ersatzkarte-auswahl .grid-container-5 .container-5 {
    display: flex;
    align-items: center;
    justify-content: end;
}

section.bc-ersatzkarte-auswahl .grid-container-5 .container-5 input {
    font-size: 16px;
}

section.bc-ersatzkarte .grid-container-5 .container-4 input {
    float: right;
}

section.bc-ersatzkarte .grid-container-5 > div span.label,
section.bc-ersatzkarte-auswahl .grid-container-5 > div span.label {
    display: block;
    padding: 4px 0 0 0;
}

section.bc-ersatzkarte .grid-container-5 > div .ico.bc_icon,
section.bc-ersatzkarte-auswahl .grid-container-5 > div .ico.bc_icon {
    background: url('../img/icon/20px_icon-action-multiple-card.svg') no-repeat center;
    margin: 0 2px 0 -4px;
    width: 24px;
    height: 24px;
}


section.bc-ersatzkarte .grid-container-5.pers-daten > .container-1 span.titel,
section.bc-ersatzkarte .grid-container-5 > div span.label.bahncard,
section.bc-ersatzkarte-auswahl .grid-container-5 > div span.label.bahncard {
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}