.seitenauswahl_optionen {
    display: flex;
    flex-wrap: wrap;
}

#lernmittel_liste tr:nth-child(odd){
    background-color: #DFE7F1;
}
#lernmittel_liste tr:nth-child(even){
    background-color: white;
}
#lernmittel_liste {
    border-collapse: collapse;
}

#lernmittel_liste th, td {
    border: 1px solid #000;
    padding: 8px;
}

#lernmittel_liste > form{
    text-align: right;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#lernmittel_liste > a{
	color: black;
	text-decoration: none;
}

#lernmittel_liste a:hover , #lernmittel_liste a:focus , #lernmittel_liste a.aktiv {
	text-decoration: underline;
}


/*#lernmittel_liste div.lernmittel{
    !*padding-top: 0.5rem;*!
    padding-bottom: 0.5rem;
}*/
#lernmittel_liste div.lernmittel_teil{
    min-width: 10rem;
}


#lernmittel_liste div.lernmittel_teil:nth-child(2) p:nth-child(2) {
    font-weight: bold;
}

@media only screen and (min-width: 584px) {
    #lernmittel_liste > form {
        text-align: right;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}
@media only screen and (min-width: 30rem){
    #lernmittel_liste div.lernmittel_teil:nth-child(1){
        min-width: 20rem;
    }
    #lernmittel_table div.lernmittel_teil:nth-child(2){
        min-width: 20rem;
    }
}

@media only screen and (min-width: 500px) {
    #lernmittel_liste div.lernmittel {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        padding-left: 1rem;
    }

    #lernmittel_liste div.lernmittel_teil p{
        flex: 1 1 0rem;
        margin-bottom: 0rem;
        margin-top: 0.5rem;
    }

}

.seitenauswahl_optionen ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    min-height: auto;
    list-style: none;
    padding: 0rem;
    margin: 0rem;
}

.seitenauswahl_optionen li{
    min-width: 3rem;
    text-align: center;
    border-bottom: none;
    background-color: #002142;
}

.seitenauswahl_optionen li{
    border: 1px solid white;
}

.seitenauswahl_optionen a {
    display: block;
    font-size: 1rem;
    color: #E1F5FD;
    text-decoration: none;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
}

.seitenauswahl_optionen a:hover , .seitenauswahl_optionen a:focus ,  .seitenauswahl_optionen a.active {
    background-color: #B7D2F0;
    color: black;
    text-decoration: underline;
}

@media only screen and (min-width: 584px) {
    .seitenauswahl_optionen > div{
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}