/** Mediaqueries */
@font-face {
    font-family: "droid_sansregular";
    src: url(../rvf_cd_branding/fonts/SourceSansPro-Regular.tff) format("tff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "droid_sansbold";
    src: url(../rvf_cd_branding/fonts/SourceSansPro-Bold.tff) format("tff");
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: "droid_sansregular", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    font-weight: normal;
}

#departures {
    font-size: 16px;
    color: #000000; /* Farbe der Soll-Zeiten und Zieltexte */
    font-weight: normal;
}

#dateHeaderContent {
    font-family: "droid_sansbold", sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 40px;
    line-height: 1.3;
    font-family: "droid_sansbold", sans-serif;
    font-weight: bold; /* Header-Text in Fettschrift */
}

#footer {
    font-size: 16px;
    line-height: 26px;
}

@media (min-width: 992px) {
    #departures {
        font-size: 20px;
        color: #000000; /* Konsistenz bei größeren Bildschirmgrößen */
        font-weight: normal;
    }

    h1 {
        font-size: 44px;
    }

    #footer {
        font-size: 20px;
        line-height: 30px;
    }
}
@media (min-width: 1200px) {
    #departures {
        font-size: 26px;
        color: #000000; /* Konsistenz bei größeren Bildschirmgrößen */
        font-weight: normal;
    }

    h1 {
        font-size: 54px;
    }

    #footer {
        font-size: 26px;
        line-height: 36px;
    }
}
#header {
    height: 60px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
}

#headerText {
    max-width: calc(100% - 240px);
    margin: 0 0 0 25px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    float: none;
}

#dateHeader {
    vertical-align: top;
}

#dateHeaderContent {
    padding-left: 25px;
    max-width: calc(100% - 240px);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#logoBox {
    position: absolute;
    right: 15px;
    top: 15px;
    height: 80px;
    width: 240px;
    background: none;
    z-index: 5;
    float: none;
    line-height: unset;
}
#logoBox img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: top right;
}

#headerTxt1 {
    display: none;
}

@media (min-width: 992px) {
    #header {
        height: 74px;
    }

    #headerText {
        max-width: calc(100% - 240px);
    }

    #dateHeaderContent {
        max-width: calc(100% - 240px);
    }

    #logoBox {
        height: 94px;
        width: 240px;
    }
}
@media (min-width: 2100px) {
    #header {
        height: 80px;
    }

    #headerText {
        max-width: calc(100% - 280px);
    }

    #dateHeaderContent {
        max-width: calc(100% - 280px);
    }

    #logoBox {
        height: 100px;
        width: 280px;
    }
}
#departures {
    border: none;
}
#departures td {
    height: 44px;
}
#departures #dmTimeHeader > td {
    height: 50px;
}

td.icon {
    text-align: center;
}
td.icon img {
    mix-blend-mode: multiply;
    max-width: 35px;
    height: auto;
}

td.platform {
    text-align: center;
}

td.service {
    text-align: center;
}

@media (min-width: 992px) {
    #departures td {
        height: 50px;
    }

    td.icon img {
        max-width: 40px;
    }
}
@media (min-width: 1200px) {
    #departures td {
        height: 56px;
    }

    td.icon img {
        max-width: none;
    }
}
@media (min-width: 2100px) {
    #departures td {
        height: 60px;
    }
}
.delay {
    color: #d43034 !important;
    font-weight: bold; /* Fettschrift für größere Verspätungen */
}

.minorDelay {
    color: #0e662a !important; /* Dunkleres Grün für kleinere Verzögerungen */
    font-weight: bold; /* Fettschrift für kleinere Verzögerungen */
}

body {
    background: #ffffff;
}

#header {
    background-color: #ffffff;
    color: #e3000b;
}

#dmTimeHeader {
    background: #ffffff;
    color: #000000;
    border: none;
}

#dmTableHeader {
    background: #868786;
    color: #ffffff;
}
#dmTableHeader td {
    border: none;
}

.departure_noics td {
    border: none;
}

.departure_odd {
    background: #efefef;
}

.departure_even {
    background-color: #ffffff;
}

tr.hint {
    background: #ffffff;
    color: #e3000b;
}

#footer {
    background: #868786;
    color: #ffffff;
    height: auto;
}

#dmTableHeader td.service {
    padding-left: 5%;
}

.rblCol {
    width: 1%;
}

.timeCol,
.rtCol {
    width: 8%;
}

.iconCol {
    width: 5%;
}

.serviceCol {
    width: 10%;
}

.directionCol {
    width: 50%;
}

.platformCol {
    width: 15%;
}

.textCol {
    width: 3%;
}

@media (min-width: 1600px) {
    #dmTableHeader td.service {
        padding-left: 4%;
    }

    td.direction {
        padding-left: 30px;
    }

    .rblCol {
        width: 1%;
    }

    .timeCol,
.rtCol {
        width: 7%;
    }

    .iconCol {
        width: 4%;
    }

    .serviceCol {
        width: 6%;
    }

    .directionCol {
        width: 62%;
    }

    .platformCol {
        width: 10%;
    }

    .textCol {
        width: 3%;
    }
}
@media (min-width: 2100px) {
    #dmTableHeader td.service {
        padding-left: 3%;
    }

    td.direction {
        padding-left: 50px;
    }

    .rblCol {
        width: 1%;
    }

    .timeCol,
