#dailyCalendar .calendar_wrapper {
    width: 458px;
    position: sticky;
    top: 192px;
}

.calendar_window {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.calendar_sub_wrapper {
    position: relative;
}

#dailyEventsWrapper {
    width: calc(100% - 458px - 96px);
}

#dailyEvents {
    width: 100%;
    box-sizing: border-box;
}

.daily_calendar_heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.daily_events_header {
    margin: -8px 0 0;
    font-size: 37px;
    line-height: 1.2;
    color: var(--black);
    font-weight: 400;
    z-index: 2;
    width: calc(100% - 20px);
    margin-right: 20px;
}

.daily_calendar_nav {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.daily_calendar_nav .buttons_container {
    margin-left: auto;
}

.navigation_cal_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--black);
    color: var(--black);
    box-sizing: border-box;
    transition: 0.2s all ease-in-out;
}

.navigation_cal_button:hover {
    background-color: var(--black);
    color: var(--white);
    transition: 0.2s all ease-in-out;
}

.navigation_cal_button:active {
	transform: scale(0.96);
	background-position: 500px;
    transition: 0.1s all ease-in-out;
}

#prev_button {
    margin-right: 15px;
}

#dailyCalendar .calendar .month_header,
#dailyCalendar .calendar .year_header {
    text-align: center;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 15px;
    color: var(--black);
    font-size: 30px;
}

#dailyCalendar .calendar .week_header,
#dailyCalendar .calendar .monthly_header {
    /* margin: 0; */
    display: flex;
    justify-content: center;
    /* width: 100%; */
    color: var(--black);
}

#dailyCalendar .week_header h3,
#dailyCalendar .monthly_header h3 {
    text-align: center;
    width: calc(100% / 7);
    margin-top: 0;
    margin-bottom: -10px;
    font-size: 20px;
}

#dailyCalendar .calendar .month_header {
    text-align: left;
}

#dailyCalendar .calendar_week,
#dailyCalendar .months {
    display: flex;
    align-items: center;
}

#dailyCalendar .calendar_day,
#dailyCalendar .non_calendar_day {
    position: relative;
    width: calc(100% / 7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 3px;
    box-sizing: border-box;
}

#dailyCalendar .calendar_day h4 {
    width: 46px;
    height: 46px;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0px;
}

#dailyCalendar .calendar_day input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

#dailyCalendar .calendar_day h4:hover,
#dailyCalendar .calendar_day h4:focus,
#dailyCalendar .calendar_day h4:active {
    border: 2px solid var(--black);
    color: var(--black);
}

#dailyCalendar .calendar_day .selected + label h4 {
    background-color: var(--black);
    color: var(--white);
}

#dailyCalendar .calendar_day label {
    position: relative;
}

.date_dots {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

.date_dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    margin: 0 1px;
}

#dailyEvents h3 {
    margin: -5px 0 -10px;
}

.no_events_notice {
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    padding: 30px 15px;
    margin-top: 30px;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 1450px) {
    #dailyEventsWrapper {
        width: calc(100% - 458px - 30px);
    }
}

@media (max-width: 1050px) {
    .calendar_window {
        flex-direction: column;
    }

    #dailyCalendar .calendar_wrapper {
        width: 100%;
        position: relative;
        top: unset;
    }

    #dailyEventsWrapper {
        width: 100%;
    }

    #dailyEventsWrapper h3,
    .no_events_notice {
        text-align: center;
    }
}

@media (max-width: 650px) {
    #dailyEventsWrapper h3 {
        font-size: 36px;
    }
}

@media (max-width: 525px) {
    #dailyCalendar .calendar_day h4 {
        width: 32px;
        height: 32px;
        color: var(--black);
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        cursor: pointer;
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 0px;
    }

    #dailyCalendar .calendar_day,
    #dailyCalendar .non_calendar_day {
        padding: 0;
    }

    #dailyCalendar .calendar .month_header,
    #dailyCalendar .calendar .year_header {
        font-size: 20px;
    }

    .navigation_cal_button {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 500px) {
    .daily_calendar_nav .buttons_container {
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 365px) {
    #dailyCalendar .calendar_day h4 {
        width: 26px;
        height: 26px;
        color: var(--black);
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        cursor: pointer;
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 0px;
    }
}