/*Created by David Germain 19/12/2024*/
/*The file schedule.css is the css related to the schedules part of the website*/
.scheduleContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 2px;
    background-color: var(--LighterGreen);
    position: relative;
}
.scheduleDayContainer{
    width: 13.9%;
    position: relative;
}
/*Colonne Time*/
.scheduleTimeContainer{
    width: 2.7%;
    border: 1px solid var(--LightGreen);
    border-collapse: collapse;
}
.scheduleTimeContainer > .scheduleDayHoursContainer > .scheduleHourContainer{
    border: none !important;
    height: 52px;
}
.scheduleTimeContainer > .scheduleDayHoursContainer > .scheduleHourContainer > .scheduleHourTitleContainer{
    display: flex;
    justify-content: right;
    margin-right: 5px;
}
.scheduleTimeContainer > .scheduleDayTitleContainer{
    height: 12px;
}
.scheduleDayHoursContainer{
    position: relative;
}
.scheduleHourContainer{
    height: 50px;
    border: 1px solid var(--LightGreen);
    border-collapse: collapse;
}
#today > .scheduleHourContainer, .today > .scheduleDayTitleContainer { /*change border if today*/
    border: 1px solid var(--LighterGreen);
} 
.scheduleHourTitleContainer{
    max-width: 95%;
    max-height: 20px;
    overflow: hidden;
}
.scheduleHour{
    font-family: var(--OverLock);
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    padding-left: 5px;
    color: var(--Corduroy);
    margin-bottom: 25px;
}
.scheduleDayTitleContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--LightGreen);
    border-collapse: collapse;
}
.scheduleDayTitle{
    font-family: var(--OverLock);
    font-weight: 700;
    font-size: 1.1em;
}
.today{
    background-color: #c8d3a6;
}
#today{
    font-weight: 900;
}
/*Events*/
.eventAlignement{
    position: absolute;
    z-index: 5;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.eventContainer{
    background-color: var(--Corduroy);
    height: 50px;
    width: 95%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    /* padding-left: 1%;
    padding-right: 1%;
    padding-top: 1%; */
    border-radius: 7px;

}
.eventTitle{
    color: white;
    font-size: 1.15em;
    font-weight: 600;
    font-family: var(--OverLock);
    margin-left: 5px;
    margin-top: 5px;
}
#previousWeekCmd{
    margin-left: auto;
}
/*Form Event*/
.formContainer{
    width: 300px;
    background-color: var(--LightGreen);
    position: absolute;
    z-index: 10;
    border: solid 3px var(--DarkGreen);
    border-radius: 10px;
}
.formIcon{
    color: var(--DarkGreen);
}
.formIcon:hover{
    background-color: var(--Green);
}
.formEvent{
    display: flex;
    flex-direction: column;
    /* padding: 20%; */
    margin: 5px;
}
.formTitle{
    font-family: var(--OverLock);
    font-size: 1.3em;
    font-weight: 800;
    text-align: left;
}
.formEvent > input, .inputGroup > input{
    height: 40px;
    border-radius: 5px;
    border: 2px solid var(--Corduroy);
}
.formEvent > input:not(:last-of-type){
    padding-left: 5px;
    padding-right: 5px;
    font-family: var(--OverLock);
    font-size: 1.2em;
    font-weight: 500;
    background-color: var(--LighterLighterGreen);
}
.formEvent > label{
    margin-top: 15px;
    font-family: var(--OverLock);
    font-weight: 800;
}
.submitInput{
    margin-top: 40px;
    background-color: var(--DarkGreen);
    font-family: var(--OverLock);
    font-weight: 700;
    font-size: 1.25em;
    color: white;
}
.formError{
    margin-top: 20px;
    font-family: var(--OverLock);
    font-weight: 500;
    font-size: 1.1em;
    color: crimson;
}
.stylesInputContainer{
    margin-top: 10px;
    display: flex;
    flex-direction: row;
}
.stylesInput{
    height: 40px;
    width: 40px;
    border-radius: 3px;
    box-sizing: border-box;
    background: white;
    border: 2px solid #333;
    appearance: none;
}
.stylesInput:checked{
    outline: 2px solid grey;
}
.inputGroup{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.inputGroup > input{
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 5px;
    margin-right: 5px;
    font-family: var(--OverLock);
    font-size: 1.1em;
    font-weight: 500;
    flex-grow: 1;
    flex-basis: 0;
    background-color: var(--LighterLighterGreen);
}