/* ==== CENTER THE SCHEDULE IN THE PAGE ==== */
#centerschedule {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Hide the mobile_schedule for desktop version */

#mobile_schedule {
    display: none;
}

/* ==== GENERAL STYLE OF THE SCHEDULE ==== */
#schedule_div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* schedule is divided into a top and bottom part */
    width: 70%;
    max-width: 900px;
    min-width: 300px;
    border-radius: 25px;
    padding: 25px;
    margin: 7vh auto;
}

/* ==== STYLING OF THE TOP PART ==== */
.top_schedule {
    display: flex;
    flex-direction: row;
    color: grey;
}

.top_schedule div {
    width: 70%;
    /* width of each timestamp cell */
    text-align: center;
}

.exception_timeline {
    padding-left: 20px;
}

#schedule_padding_fix {
    width: 55%;
    /* width of the empty top-left corner cell */
}

/* ==== STYLING OF THE BOTTOM PART ==== */
#bottom_schedule {
    /* bottom part is divided into 2 other parts:
                    the name of each day & the opening hours */
    width: 100%;
}

/* ==== STYLING OF THE DAYS DIVISION ==== */
#bottom_schedule .schedule_day {
    display: flex;
    flex-direction: row;
    height: 70px;
}

#bottom_schedule .schedule_day>span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9%;
}

.morning {
    width: 40%;
    margin-left: 4%;
    margin-right: 4%;
}

.afternoon {
    width: 44%;
    margin-left: 4%;
    margin-right: 0%;
}

.display_schedule {
    display: flex;
    height: 80%;
    border-radius: 27px;
    justify-content: space-between;
    align-items: center;
    color: white;
    background: rgba(0, 153, 51, 0.6);
    padding-left: 15px;
    padding-right: 15px;
}

.display_schedule input {
    width: 21px;
    background: rgba(0, 153, 51, 0.6);
    color: white;
    font-weight: 400;
}

.scheduleTime {
    display: flex;
}

.scheduleTime p {
    margin: auto;
    margin-left: 2px;
    margin-right: 2px;
}

.inputContainer {
    flex-direction: column;
    display: flex;
}

.arrow {
    width: 1px;
    height: 1px;
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin: auto;
}

.arrow:hover {
    cursor: pointer;
}

.arrow:active {
    box-shadow: 1px 1px #888888;
}

.arrow.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.arrow.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.closeOption {
    display: none;
    font-weight: 400;
    color: grey;
}

.closeOption.translatedToLeft {
    position: absolute;
    background-color: grey;
    color: white;
    border-radius: 30px 0px 0px 30px;
    padding: 3px 10px;
}

.closeOption.translatedToRight {
    position: absolute;
    background-color: grey;
    color: white;
    border-radius: 0px 30px 30px 0px;
    padding: 3px 10px;
}


.closed {
    /* styling of closed cabinet (important because on the same level
            as the other divisions) */
    /*justify-content: center !important;*/
    background: none !important;
    color: white !important;
    font-weight: 400;
    background: rgba(255, 112, 100, 0.5) !important;
}

.closed input {
    background: rgba(255, 112, 100, 0.5) !important;
}

.closedText {
    justify-content: center;
    margin: auto;
}

#scheduleUpdateButton {
    text-decoration: none;
    padding: 16px 12px;
    margin: 30px 5px;
    border-radius: 25px;
    font-weight: 400;
    font-size: 17px;
    width: 60%;
    min-width: 120px;
    max-width: 250px;
    transition: background-color 0.2s;
    margin-left: auto;
    margin-right: auto;
    border: 1px grey solid;
}

#scheduleUpdateButton:hover {
    background-color: rgba(0, 153, 51, 0.2);
    transition: background-color 0.3s;
    cursor: pointer;
}