
/* Header & Footer Responsive, nicht reduziert. Einiges müssen wir hier nachdefinieren, das für neue Seiten global gilt, aber nicht für v580-Seiten */
#header.responsive-extended {
    position: relative;
    height: auto;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", sans-serif;
    font-size: 16px;
}

#header.responsive-extended a {
    font-size: 12px;
}

#header.responsive-extended a:hover {
    color: #EC0016;
}

#header.responsive-extended .header-top {
    background: #fff; /* wichtig, damit es keine doppelten Schatten gibt */
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.3);
}

#header.responsive-extended #service-elements {
    height: 32px;
    background-color: #F0F3F5;
    padding: 0 28px;
}

#header.responsive-extended #service-elements li a {
    border-right: unset;
}

#header.responsive-extended #logo {
    position: static;
    width: auto;
    float: left;
    padding: 22px 24px;
}

#header.responsive-extended #logo img {
    width: 60px;
}

#header.responsive-extended .userinfo {
    float: right;
    padding: 22px 24px;
    position: relative;
}

#header.responsive-extended h4 {
    font-family: DBScreenSansBold, DBSansBold, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
}

#header.responsive-extended .userinfo h4 {
    background: url(../img/icon/20dp_icon_action_account-solid.svg) no-repeat -2px 16px;
}

#header.responsive-extended .userinfo h4 span {
    max-width: 100px;
    margin-left: 28px;
}

#header.responsive-extended .userinfo h4:after {
    content: "";
    float: left;
    background: #f01414;
    width: 100%;
    height: 3px;
    border-radius: 1.5px;
    margin-top: 2px;
}

#header.responsive-extended.active .userinfo h4:after {
    background-color: #878C96;
}

#header.responsive-extended .login {
    float: right;
    padding: 30px 25px;
    position: relative;
}

#header.responsive-extended .login h4 span {
    margin-left: 28px;
    font-size: 16px;
    line-height: 20px;
}

#header.responsive-extended .login h4 {
    background: url(../img/icon/20dp_icon_action_account-solid.svg) no-repeat -2px 0;
}

#header.responsive-extended #menu-opener, #header.responsive-extended #submenu-closer,
#header.responsive-extended #menu-responsive {
    display: none;
}

#header.responsive-extended .header-flyout {
    position: absolute;
    background-color: #F0F3F5;
    box-shadow: 0 2px 8px 0 rgb(0,0,0,0.3);
    width: 100%;
    font-size: 14px;
    visibility: hidden;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 400ms ease-in-out, visibility 0s 400ms;   /* nach Ausblenden invisible machen */
    z-index: -1;
}

#header.responsive-extended.active .header-flyout {
    visibility: visible;
    max-height: 240px;  /* irgendein Wert der garantiert größer als unser max. content ist */
    transition: max-height 400ms ease-in-out; /* sichtbarmachen direkt ohne transition */
}

#header.responsive-extended nav ul {
    padding: 24px 16px;
}

#header.responsive-extended nav ul.column-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-height: 120px;
    box-sizing: border-box;
}

#header.responsive-extended nav ul.column-nav li {
    font-size: 14px;
}

#header.responsive-extended nav li {
    padding: 8px;
}

#header.responsive-extended nav a {
    font-size: 1em;
}

#header.responsive-extended div.logout {
    margin: 0 20px;
    padding: 20px 0;
    border-top: 1px solid #AFB4BB;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-content: baseline;
}

#header.responsive-extended div.logout.hidden {
    display: none;
}

#header.responsive-extended div.logout a {
    background: url(../img/icon/icon-arrow_right_red.svg) no-repeat left center;
    padding-left: 24px;
    margin-left: 16px;
}

#serviceelements-country-container {
    float: right;
    display: block;
}

#sprachlinks {
    display: none;
    position: absolute;
    z-index: 2;
    margin-top: 8px;
    right: -14px;
    width: 132px;
    cursor: initial;
}

#sprachlinks-content {
    margin-top: 8px;
    padding: 6px 14px;
    background: #FFF;
    border-radius: 4px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.3);
}

/* stellt einen Dreieck-Anfasser bereit*/
#header.responsive-extended #sprachlinks div.anfasser {
    border-color: #fff #fff transparent transparent;
    padding: 0;
    border-style: solid;
    border-width: 0.5rem;
    box-shadow: 0.1875em -0.1875em 0.1875em 0 rgb(0,0,0,0.15);
    position: absolute;
    right: 20px;
    top: 8px;
    transform: rotate(315deg);
    transform-origin: 0 0;
}

#header.responsive-extended #sprachlinks li {
    color: #282D37;
    font-family: "DBScreenSansRegular", "DBSansRegular", "Arial", "Helvetica", sans-serif;
    font-size: 14px;
    margin: 12px 0;
}

#header.responsive-extended #sprachlinks li a {
    background: url(../img/icon/icon-arrow_right.svg) no-repeat left center;
    font-size: 14px;
    line-height: 20px;
    padding-left: 24px;
}

#header.responsive-extended #service-nav {
    float: left;
}

#header.responsive-extended #sprachauswahl {
    background: url(../img/icon/pfeil_unten_grau_20x20.svg) no-repeat right 2px;
    position: relative;
    float: left;
    display: inline-block;
    line-height: 20px;
    margin-top: 2px;
    padding-right: 24px;
    padding-bottom: 8px;
    cursor: pointer;
}

#header.responsive-extended  #sprachauswahl.active {
    background-image: url(../img/icon/pfeil_oben_rot.svg);
}

#header.responsive-extended #sprachauswahl.active > #sprachlinks {
    display: block;
}

#sprachauswahl .sprachwahl {
    font-size: 12px;
}

/* Header & Footer Responsive, aber reduziert. */
#header.responsive-extended.buchung .header-top {
    height: 56px;
}

#header.responsive-extended.buchung #logo img {
    width: 32px;
    height: 32px;
}

#header.responsive-extended.buchung #logo {
    padding: 12px 16px 16px 20px;
}

#header.responsive-extended.buchung #boplogo {
    position: absolute;
    left: 80px;
    top: 34px;
    height: 26px;
}

#header.responsive-extended.buchung #boplogo img {
    max-height: 26px;
}

#header.responsive-extended.buchung a {
    cursor: pointer;
}

#header.responsive-extended.buchung a.nopointer {
    cursor: default;
}

#header.responsive-extended.buchung a.header-close {
    pointer-events: all !important;
    top: 18px;
    position: absolute;
    right: 24px;
    background: url(../img/icon/icon_close.svg) no-repeat center;
    width: 20px;
    height: 20px;
}

#header.responsive-extended.buchung #header-elements {
    position: absolute;
    width: auto;
    right: 68px;
    top: -10px;
}

.wrapper.responsive .shorten,
#header.responsive-extended .shorten {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

#footer {
    font-size: 16px;
}

#footer .footer-responsive {
    padding: 32px 20px;
    background-color: #D7DCE1;
}

#footer .footer-responsive h3 {
    margin-top: 0;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
    font-size: 1em;
}

#footer .footer-responsive .row {
    padding-top: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #AFB4BB;
}

#footer .footer-responsive .row:last-child {
    padding-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

#footer .footer-responsive.errorpage .row {
    justify-content: flex-end;
}

#footer .footer-responsive.errorpage .row:last-child {
    padding-top: 0;
}

#footer .footer-responsive.errorpage span.menu-entry {
    padding: 0;
}

#footer .footer-responsive .col-left {
    float: left;
    padding-left: 8px;
}

#footer .footer-responsive .col-right {
    float: right;
    padding-right: 8px;
}

#footer .footer-responsive .col-right h3 {
    text-align: right;
}

#footer .footer-responsive .footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-right .footer-menu a:first-child {
    margin-left: auto;
}

#footer .footer-responsive .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#footer .footer-responsive .row.twoCols {
    display: block;
}

#footer .footer-responsive span.menu-entry {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.875em;
    line-height: 24px;
}

#footer .footer-responsive .row div,
#footer .footer-responsive .row a {
    margin-right: 16px;
}

#footer .footer-responsive .row div:last-child,
#footer .footer-responsive .row a:last-child {
    margin-right: 0;
}

#footer .footer-responsive .row span.menu-entry a {
    font-size: 1em;
}

#footer .icon_db-appstore {
    background: url(../img/icon/icon_footer_db-appstore.svg) no-repeat center;
    width: 96px;
    height: 36px;
}

#footer .icon_das-ist-gruen {
    background: url(../img/icon/icon_footer_das-ist-gruen.svg) no-repeat center;
    width: 132px;
    height: 36px;
}

#footer .icon_footer_credit-card {
    background: url(../img/icon/icon_footer_credit-card.svg) no-repeat center;
    width: 24px;
    height: 36px;
}

#footer .icon_footer_paydirekt {
    background: url(../img/icon/icon_footer_paydirekt.svg) no-repeat center;
    width: 68px;
    height: 36px;
}

#footer .icon_footer_paypal {
    background: url(../img/icon/icon_footer_paypal.svg) no-repeat center;
    width: 56px;
    height: 36px;
}

#footer .icon_footer_sepa {
    background: url(../img/icon/icon_footer_SEPA.svg) no-repeat center;
    width: 68px;
    height: 36px;
}

div.logininfo {
    background: #F0F3F5;
    padding-top: 16px;
    padding-right: 24px;
}

/* Fortschrittsanzeige */

.pg-bar-res-wrapper {
    height: 71px;
    opacity: 1;
    padding: 16px;
    background: #F0F3F5;
}

.pg-bar-res-wrapper.non-responsive {
    height: auto;
}

.pg-bar-res-wrapper div.custom-select {
    display: none;
}

.pg-bar-res-wrapper table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 8px 0;
}

.pg-bar-res-wrapper table td {
    border-bottom: 2px solid #AFB4BB;
}

.pg-bar-res-wrapper table .inactive span {
    line-height: 16px;
    font-weight: normal;
    font-style: normal;
}

.pg-bar-res-wrapper table td a,
.pg-bar-res-wrapper table td.active span,
.pg-bar-res-wrapper table td.inactive span {
    color: #878c96;
    text-decoration: none;
    pointer-events: none;
    white-space: nowrap;
    font-size: 0.75em;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

.pg-bar-res-wrapper.non-responsive table td a {
    font-size: 12px;
}

.pg-bar-res-wrapper table td {
    padding: 8px 0;
    text-align: center;
}

.pg-bar-res-wrapper table td:last-child {
    margin-right: 0;
}

.pg-bar-res-wrapper table td.completed a {
    text-decoration: none;
    pointer-events: auto;
}

.pg-bar-res-wrapper table td.completed a:hover {
    color: #878c96;
}

.pg-bar-res-wrapper table td.completed,
.pg-bar-res-wrapper table td.active {
    border-bottom: 2px solid #63A615;
}

.pg-bar-res-wrapper table td.active span {
    color: #282D37;
    font-family: "DBScreenSansBold", "DBSansBold", "Arial", "Helvetica", sans-serif;
}