*{
    margin: 0;
    inset: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Noto sans', sans-serif;
}
body{
    height: auto;
}
input{
    width: 95%;
    height: 1.8rem;
    font-size: 1rem;
}
:root{
    --darkest-color:#5585b5;
    --dark-color:#3b8e9b;
    --light-color:#79c2d0;
    --lightest-color:#ccf5fb;
    --shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
                rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
                rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}
.loading-animation-index{
    width: 100px;
    height: 100px;
    animation: spin 500ms linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    50%{ transform: rotate(180deg);}
    100% { transform: rotate(360deg); }
}
#bookingPage-calendar{
    width: 95%;
    max-width: 900px;
    background-color: white;
    height: 700px;
    margin: 10px auto 0px auto;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
    border-radius: 15px;
}
#calendar-header{
    width: 95%;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    background-color: whitesmoke;
    align-items: center;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}
#calendar-container{
    background-color: whitesmoke;
    height: 75%;
    margin-top: 5px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 95%;
    margin-bottom: 20px;
    overflow-y:scroll;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(16, 2.2rem);
    grid-auto-rows: 2rem;
    grid-auto-flow: row;
    column-gap: 5px;
}
#calendar-text-header{
    font-size: 1.3rem;
    text-align: center;
}
#calendar-button-left{
    width: 20%;
    display: flex;
    justify-content: center;
}
#calendar-button-right{
    width: 20%;
    display: flex;
    justify-content: center;
}
img{
    width: 50px;
    height: 50px;
}
img:hover{
    cursor: pointer;
}
.button-container{
    height: 4rem;
    width: 95% !important;
    margin-top: 15px;
    margin-bottom: 5px;
    background-color: whitesmoke;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    align-items: center;
}
.button-container>button{
    width: 49.5%;
    border: 0;
    background-color: transparent;
}
.day-slot{
    background-color: #5585b5;
}
.day-slot-header{
    background-color: lightgrey;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8rem;
}
.time-slot, .time-slot-daily{
    text-align: center;
    line-height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgb(120,120,120)
}
.time-slot-daily{
    font-size: 1.2rem;

}
.time-slot:hover, .time-slot-daily:hover{
    background-color: lightgrey;
    color: white;
    cursor: pointer;
}
.time-slot-no-event{
    background-color: darkgray;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid lightgray;
    border-left: 2px solid lightgray;
    border-right: 2px solid lightgray;
    color: gray;
}
.time-slot-within-bh{
    background-color: rgb(200,200,200);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid lightgray;
    border-left: 2px solid lightgray;
    border-right: 2px solid lightgray;
    color: rgb(160,160,160);
}
.time-slot-blocked{
    background-color: rgb(130,130,130);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid lightgray;
    border-left: 2px solid lightgray;
    border-right: 2px solid lightgray;
    color: rgb(90, 90, 90);
    text-decoration: line-through;
}
.time-slot-within-bh:first-child{
    border-radius: 5px 5px 0 0;
}
.time-slot-within-bh:last-child{
    border-radius: 0 0 5px 5px;
}
.time-slot-blocked:first-child{
    border-radius: 5px 5px 0 0;
}
.time-slot-blocked:last-child{
    border-radius: 0 0 5px 5px;
}
.time-slot-no-event:hover{
    background-color: darkgrey;
    cursor: pointer;
    border-bottom: 2px solid lightblue;
    color: white;
}
.time-slot-within-bh:hover{
    background-color: rgb(220,220,220);
    cursor: pointer;
    border-bottom: 2px solid lightblue;
    color: white;
}
.time-slot-blocked:hover{
    cursor: pointer;
    border-bottom: 2px solid rgb(255, 170, 170);
    color: white;
    text-decoration: none;
}
.calendar-event, .calendar-termin{
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow:hidden;
    text-wrap:wrap;
}
.calendar-event{
    border: 3px solid blue;
    border-radius: 5px;
    background-color: rgba(84, 84, 255, 0.7);
    z-index: 1;
    color: whitesmoke;
}
.calendar-event>li, .calendar-termin>li{
    font-size: 13px;
}
.calendar-event:hover{
    background-color: rgba(53, 53, 249, 0.8);
    cursor: pointer;
}
.calendar-termin{
    border: 3px solid red;
    border-radius: 5px;
    background-color: rgba(254, 103, 103, 0.7);
    z-index: 1;
    color: whitesmoke;
}
.calendar-termin:hover{
    background-color: rgba(245, 76, 76, 0.8);
    cursor: pointer;
}
.display-none{
    border: 3px solid red;
    display: none;
}
.time-display-event, .time-display-termin{
    width: 6.5rem;
    height: 6rem;
    border-radius: 8px;
    font-size: 2rem; 
    right: 5px;
    margin: 5px;
    padding: 10px;
}
.time-display-event{
    background-color: rgba(53, 53, 249, 0.299);
}
.time-display-termin{
    background-color: rgba(125, 0, 0, 0.234);
}
.event-content{
    border-radius: 5px;
    margin: 5px;
    height: calc(100% - 10px);
    box-sizing: border-box;
}
.kalender-termin-modal-box, .kalender-kunden-modal-box{
    width: 100%;
}  
.info-content-container-calendar-modal{
    width: 100%;
    height: 100%;
} 
.kalender-termin-modal-box{
    padding: 15px;
}
.kalender-kunden-modal-box{
    background-color: whitesmoke;
    padding: 15px;
}
#event-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#event-form > *{
    width: 90%;
    font-size: 0.9rem;
}
.event-details-container{
    background-color: whitesmoke;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow: scroll;
}
.event-availability-container{
    background-color: white;
    margin: 5px 0 5px 0;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: gray;
}
.event-sign-up-box{
    background-color: white;
    border-radius: 3px;
    display: flex;
    padding: 10px;
    height: 4rem;
    align-items: center
}
#event-sign-up-mail-input{
    margin: 0 3px 0 0;
}
.event-sign-up-button{
    width: 8rem;
    margin: 3px;
    text-align: center;
    background-color: rgba(53, 53, 249, 0.299);
    border-radius: 3px;
    height: 3.5rem;
    padding: 10px 0 10px 0;
}
.event-sign-up-box-hidden{
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
}
.event-sign-up-button:hover{
    transition: all 150ms linear;
    background-color: rgba(53, 53, 249, 0.462);
    cursor: pointer;
}
.event-parts-display{
    background-color: white;
    padding: 5px 15px 10px 15px;
    border-radius: 3px;
    margin: 5px 0 5px 0;
    max-height: 8rem;
    overflow:scroll;
    height: auto;
    min-height: 2rem;
}
#bookable-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#bookable-checkbox{
    width: 3rem;
    margin-left: 1rem;
}
@media screen and (max-width: 768px){
    .event-sign-up-box{
        flex-direction: column;
        height: auto;
    }
    #bookingPage-calendar{
        height: 95vh;
        margin: 10px auto 0 auto;
    }
}