
.guestIntro,
.homeBoxes{
    --contentPadding: 0.5em;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    width: 100%;
    padding: var(--contentPadding);
    gap: 0.5em;
    overflow: auto;
    padding-bottom: calc(var(--naviSize) + var(--contentPadding));
}

    .homeBoxes__column{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5em;
        }

    .homeBoxes__column:last-child>.homeBox:last-child{
        margin-bottom: 0px;
    }

    .homeBoxes__group{
        display: flex;
        gap: 0.5em;
        /* width: 100%; */
        border-radius: 0.5em;
        flex-shrink: 0;
    }

#homeBoxesGroup01{
    flex-direction: column;
}

#homeBoxesGroup02{
    justify-content: flex-end;
}


#homeBoxesCol01{
    order: 2;
}

#homeBoxesCol02{
    order: 1;
}

#homeBoxesCol03{
    order: 3;
}

#newsBox{
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#linkBox{
    overflow: hidden;
    order: 5;
}

#userBox{
    overflow: hidden;
    order: 3;
}

#overviewBox{
    overflow: hidden;
    order: 1;
}

#progressBox{
    overflow: hidden;
    order: 2;
}

#calendarBox{
    overflow: hidden;
    order: 4;
}




.homeBox{
    /* min-width: 20em; */
    -webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    flex-grow: 1;
    max-width: 100%;
}

    .homeBox--closed{
        height: fit-content !important;
    }

    /* .homeBox:not(:last-child){
        margin-bottom: 0.5em;
    }
    */

    /* .homeBox--small{
        width: 20em;
    }

    .homeBox--medium{
        width: 40em;
    }

    .homeBox--large{
        width: 60em;
    }

    .homeBox,
    .homeBox--small,
    .homeBox--medium,
    .homeBox--large{
        width:100%;
    } */


.homebox__disclaimer{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .homebox__disclaimer>span{
        text-align: center;
        font-size: 3em;
        font-weight: 500;
        transform: rotate(-20deg);
    }



.homeBox__header{
    height: 3em;
    /* font-size: 0.8em; */
    color: rgb(var(--colUIText01));
    background-color: rgba(var(--colUIBack02),0.75);
}

    .noTouch .homeBox__header:hover{
        background-color: rgba(var(--colUIBack02), 1);

    }


.homeBox__content{
    background-color: rgba(var(--colUIBack04),0.8);
    overflow: hidden;
}


/* -------------------- ModuleInfo-Box ---------------------------*/

.homeBox__content--moduleInfo{
}

/* -------------------- User-Box ---------------------------*/

.homeBox__content--userData{
    font-size: 1.2rem;
    /* margin: 0.5em; */
}


/*  -------------------- NEWS-BOX ----------------------- */

.newsList{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.newsList.accord__content--open{
    overflow: auto;
}

.news{
    width: 100%;
    overflow: hidden;
    border-radius: 0.5em;
}

.homeBox--closed>.homeBox__content>.news{
        height: 0px;
}


.news__header{
    height: 3em;
    width: 100%;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    /* font-size: 0.9em; */
    justify-content: space-between;
    align-items: center;
    padding: 0px 0.6em;
    background-color: rgb(var(--colUIBack02));
    cursor: pointer;
}

/* .homeBox__header--newMessage{
    background-color: rgb(var(--colAccent01));
} */

.noTouch .news__header:hover{
    filter: brightness(1.2) saturate(0.9);
}

:not(.news__header--unread)>.news__title{
    color: rgb(var(--colUIText01));
}

.news__header--unread{
    background-color: rgb(var(--colAccent01));
    color: rgb(250,250,250);
    font-weight: 400;
}



.news__content{
    width: 100%;
    padding: 0px 1em;

}

    .news__content--mainText{}

    .news__content--detailHeadline{
        color: rgb(var(--colAccent01));
        font-weight: 500;
        margin: 0.5em 0px;
        cursor: pointer;
    }

        .news__content--detailHeadline::before{
            content: "•";
        }

        .noTouch .news__content--detailHeadline:hover{
            filter: brightness(1.2)
        }

    .news__content--detailText{
        background-color: rgb(var(--colBG));
        padding: 0.5em;
    }

    .news__content--detailIcon{
        font-weight: 500;
    }


.news__date{
    font-size: 0.8em;
}

.news__footer{
    display: flex;
    /*justify-content: space-between; --- wieder aktiv setzen, wenn Nachrichten Löschen funzt */
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 2em;
    padding: 0.5em;
    background-color: rgba(var(--colUIBack03),0.8);
}

.news__footer_icon{
    height: calc(var(--naviSize) / 2.5);
    flex-shrink: 0;
    padding: 0.2em;
    margin: 0.2em;
    cursor: pointer;
}

.noTouch .news__footer_icon:hover{
    background-color: rgb(var(--colUIBack04));
}


/*------------------------------------------------------------------ BOXEN -----------------------------------------------*/

@media (min-width: 48em) {

    .guestIntro,
    .homeBoxes{
        --contentPadding: 2em;
    }

    #progressBox>.homeBox__content{
        display: flex;
        flex-direction: row;
    }

    #homeBoxesCol01{
        order: 2;
    }

    #homeBoxesCol02{
        order: 1;
    }

    #homeBoxesCol03{
        order: 3;
    }



}

@media (min-width: 70em){

    #homeBoxesCol01 {
        flex-wrap: nowrap;
    }


}


@media (min-width: 80em){

    .homeBoxes{
        flex-direction: row;
        height: fit-content;
        justify-content: space-between;
        overflow: visible;
    }

    .homeBox{
        width: unset;
    }

    .homeBoxes__group{
    flex-shrink: 1;
}


    #homeBoxesGroup02{
        height: 0px;
        min-height: 100%;
    }

    #homeBoxesCol01 {
        order: 2;
        flex-wrap: wrap;
    }

    #homeBoxesCol02 {
        order: 1;
        height: fit-content;
    }

    #homeBoxesCol03{
        max-width: 48em;
        min-height: calc(100vh - var(--naviSize) * 2);
    }

}

@media (min-width: 80em) and (orientation: portrait){

    #homeBoxesCol03{
        min-height: calc(100vh - var(--naviSize) * 3);
    }
}


@media (min-width: 120em){

    #homeBoxesCol01 {
        order: 2;
        /* flex-wrap: nowrap; */
    }


}



