


html,body{
    margin: 0;
    padding: 0;
    /* background: #e9e9e9; */
    box-sizing: border-box;
    height: 100%;
    /* overflow: hidden; */
}

/* btns */
.btn{
    background: transparent;
    border: 1px solid transparent;
    padding: 5px 30px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    font-size: clamp(0.8rem, 0.72rem + 0.4vw, 1.2rem);
}

.btn-small{
    width: fit-content;
    padding: 2px 30px;
    padding: 2px 15px;
}

.btn-secondary{
    background-color: #ffff00;
    border-color: #ffff00;
    color: inherit;
}
.btn-secondary2{
    background-color: #ffdd00;
    border-color: #ffdd00;
    color: inherit;
}

.btn-accent{
    background-color: var(--md_pink);
    border-color: var(--md_pink);
    color: #fff;
}
.btn-accent:hover{
    background: #fff;
    color: var(--md_pink);
}
.detailsbtn{
    max-width: 180px;
    text-decoration: none;
}

.arrowspan{
    display: none;
    pointer-events: none;
}

.small{
    font-size: 1.2rem;
    
    font-size: clamp(0.6rem, 0.48rem + 0.6vw, 1.2rem);
    font-size: clamp(0.5rem, 0.38rem + 0.6vw, 1.1rem);
    font-size: 0.7em;
}

/* .gray_block{
    background-color: #ececec;
    height: 100px;
} */
.kursplan_{
    /* font-size: clamp(1.2rem, 4vw, 2rem); */
    font-size: clamp(0.8rem, 0.5535rem + 0.7887vw, 1.5rem);
    font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.3rem);
    background: #ff00ff;
    background: #fff;
    color: #000;
    padding: 0 0 2rem 0;
    /* overflow: auto; */
    font-family: Roboto;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.1);

    /* margin-bottom: 90vh; */
    /* margin-bottom: 50vh; */
    /* margin-bottom: 0vh; */
    padding: 0;

    display: block;
    position: relative;
}

.kursplan_headline{
    font-family: Roboto-bold;
}

.custom_color{
    color: var(--md_pink);
}
.text-center{
    text-align: center;
}
.hr{
    height: 1px;
    width: 100%;
    background-color: #000;
    margin: 15px 0 0;
}
.kursplan_box{
    padding: 0 2rem ;
}
/* .kursplan_days{
    display: flex;
    flex-flow: column nowrap;
} */

.kursplan_woche{
    padding: 2rem;
    font-family: Roboto-bold;
}

.next,.prev{
    cursor: pointer;
}

.daybox_innerbox{
    padding: 1.5rem 2rem;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.past .daybox_innerbox{
    opacity: 0.5;
}
.mobileansicht .daybox:nth-child(odd){
    background-color: #ececec;
}
.mobileansicht .daybox:nth-child(even){
    background-color: #fff;
}

.kursplan_bg_gray{
    background-color: #f5f7f9;
}
.past .kursplan_bg_gray{
    background-color: #f5f7f96b;
}
.kursplan_slot {
    margin-top: 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
}

.kursplan_room{
    cursor: default;
}

.h3{
    /* font-size: 1.15em; */
    font-family: Roboto-bold;
}


/* collapsing */
/* .collapse:not(.show){  
    display: none;
} */
/* EASY WAY TO TRANSITION FROM = HEIGHT TO AUTO */
.collapse{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 700ms ease-in-out;
}


.collapse.show{
    grid-template-rows: 1fr;
}
/*EASY WAY ENDE*/



.collapse_box{
    padding: 20px;
    padding: 2rem;
    padding-bottom: 0;
}

.past .collapse_box{
    opacity: 0.5;
}

.showtransparent{
    display: none;
}

#kursplan_kategorie{
    padding: 5px;
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #eee;
}





@media screen and (max-width: 1279px) {
    
    .desktopansicht{
        display: none;
    }

    .kursplan_headline{
        font-size: 1.5rem;
    }

    .kursplan_woche{
        font-size: 1.2rem;
    }

    .daybox_innerbox{
        cursor: pointer;
        font-size: 1.2rem;
    }

    .collapse_box{
        padding-top: 0;
        padding-bottom: 0;
    }

    
    .collapse_box:last-of-type{
        padding-bottom: 2rem;
    }
    
    .collapse{
        overflow: auto;
    }

    .collapse .hidden-overflow{
        overflow: hidden;
    }

    .hideHr{
        display: none;
    }

    .h3{
       font-size: 1.15em; 
    }
    
    .kursplan_slot{
        height: auto;
    }

    .showtransparent{
        display: none;
    }

    .detailsbtn{
        width: -webkit-fill-available;
        max-width: -webkit-fill-available;
    }

    .arrowspan{
        display: block;
        width: 20px;
        aspect-ratio: 1;
        background: url(../img/svg/arrow-down.svg) center center/contain no-repeat;
    }
    .arrowspan.show{
        
        background: url(../img/svg/arrow-up.svg) center center/contain no-repeat ;
    }

}

@media screen and (min-width: 1280px){

    .mobileansicht{
        display: none;
    }
    .kursplan_headline{
        font-size: 2.3rem;
    }
    
    .kursplan_{
        padding: 0;
        
    }
    .kursplan_container{
     
        max-width: 1440px;
        margin: 0 auto;
        /* margin-bottom: 50vh; */
        padding: 3rem;


        display: block;
        position: relative;
    }
    .kursplan_box{
        padding: 0;
    }
    .kursplan_woche{
        padding: 4rem 0;
        font-size: 1.6rem;
    }
    
    .daybox_innerbox{
        padding: 1rem 0;
        text-align: center;
        justify-content: center;
        white-space: nowrap;

    }
    .daysdiv{
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: clamp(0.313rem, 4.688vw - 3.438rem, 2.188rem);
        overflow: hidden;
    }

    .daytimediv{
        text-align: center;
    }

    .daytimeslotdiv{
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        column-gap: clamp(0.313rem, 4.688vw - 3.438rem, 2.188rem);
    }
    .collapse_box {
        padding: 1rem;
        background-color: #e9e9e9;
    }
    .daytimediv{
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        column-gap: clamp(0.313rem, 4.688vw - 3.438rem, 2.188rem);
        overflow: hidden;
    }
    .daytimediv div{
        background-color: #e9e9e9;
    }
    .daytime{
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .daytime::before{
        content: '';
        height: 1px;
        width: 1000%;
        /* background: #dfe0df; */
        background: #aeb3ae;
        position: absolute;
        z-index: 1;
    }
    .daytime_text{
        background: #b1b0b1;
        color: #fff;
        padding: 0.1rem 1rem;
        font-size: 1rem;
        border-radius: 15px;
        position: relative;
        z-index: 2;
    }
    

    .kursplan_slot {
        
        margin-bottom: 2rem;
    }
   

}


 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */
 /* +++++++++++++++++++++++ */

  
.kursdetails small{
    font-family: 'BebasNeue', sans-serif;
    font-weight: normal !important;
}
.collapse_box h6{
    font-size: 1.2rem !important;
    color: #999;
}
.kursplan_slot{
    text-align: center;
    background-color: rgba(255,255,255,1);
    margin-top: 0 !important;
}
.kursplan_room{
    font-size: 0.8rem !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 2px 5px !important;
    line-height: 1em;
}
.kursplan_slot .h3{
    font-family: 'BebasNeue', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: normal !important;

    /* word-wrap: break-word; */
    overflow-wrap: break-word;

}
.kursplan_slot .kursplan-slot-detailinfos{
    font-size: 0.8rem !important;
    font-weight: normal !important;
    line-height: 1.3em !important;
}
.kursplan_slot .kursplan-slot-detailinfos .small{
    font-size: 0.8rem !important;
}
.kursplan_slot .btn-cta{
    font-size: 1.2rem !important;
    background-color: #000 !important;
    border-radius: 0;
}
.kursplan_slot .btn-cta:hover,
.kursplan_slot .btn-cta:focus{    
    background-color: var(--md_pink) !important;
    border-color: var(--md_pink) !important;
}
.hr{
    display: none;
}
.kursplan_woche{
    background-color: #000;
    color: #fff;
    padding: 1rem;
    margin: 3rem 0;
    
}
.kursplan_woche .prev,
.kursplan_woche .next{
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 0 2rem;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    font-size: 2rem;
    vertical-align: middle;
    
    
}
.daybox_innerbox{
    background-color: #000;
    color: #fff;
    font-size: 1rem;
}
@media screen and (max-width: 1279px) {
    .hr{
        display: block;
        background-color: transparent;
    }
    .daybox_innerbox{
        border-bottom: 1px solid #fff;
    }
}

/* #wrap{
    margin-bottom: 50vh;
} */

html,
body.kursplan{
    /* height: 0; */
    height: auto;
}