input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

a {
    text-decoration: none;
}

body {
    font-family: DB_Screen;
    margin: 0;
    height: 100%;

}

#head {
    position: fixed;
    top: 0;
    background-color: darkred;
    width: 100%;
    box-shadow: 0px 5px 10px lightgray;
    z-index: 2000;
    height: 3.5em !important;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


#headspacer {
    min-height: 3.5em;
}



#stoerungen {
    background: #d3b226;
    padding-top: 0.2em;
    width: 100%;
}

.stoerung {
    display: flex;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px lightgrey solid;
    margin: 0.2em;
}

.stoerung img {
    width: 24;
}



#body {

    display: flex;
    overflow: hidden;
    margin-top: 0.5em;
}

#body_left {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    scrollbar-width: thin;
    flex-direction: column;
    align-items: center;

}

#fav_stations {
    width: -webkit-fill-available;
    overflow: auto;
    scrollbar-width: thin;
    margin-inline: 0.5em;
}

#fav_trains {
    width: -webkit-fill-available;
    overflow: auto;
    scrollbar-width: thin;
    margin-inline: 0.5em;
}

.AF_num {
    width: 70;
    min-width: 70;
    padding: 0.2em;
    display: flex;
    align-items: center;
}

.AF_trainrun {
    padding: 0.2em;
}

.listElement {
    display: flex;
    width: 100%;
    box-shadow: 0px 1px 1px lightgrey;
    margin-block: 0.2em;
    align-items: center;
    text-decoration: none;
    color: black;
}

.flag {
    width: 2em;
    margin: 0.2em;
    margin-inline: 0.5em;
}

#body_right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.se_name {
    width: -webkit-fill-available;
}


@media (max-width: 1080px) {
    #body {
        flex-direction: column;
        height: -webkit-fill-available;
    }

    #head_left {
        font-size: 0.75em;
    }

    #body_left {
        overflow: auto;
        height: 50%;
    }

    #body_right {
        overflow: auto;
        height: 50%;
    }
}

@media (min-width: 1081px) {
    #body {
        flex-direction: row;
    }

    #body_left {
        overflow: auto;
    }

    #body_right {
        overflow: auto;
    }
}