.calendar {
    width: 100%;
    box-shadow: 0px 4px 9px 0px rgba(214, 214, 214, 0.2509803922);
    border-radius: 8px;
    background-color: #fff;
    padding: 7px 16px;
}

@media (max-width: 768px) {
    .calendar {
        padding: 11px 19px;
        border-radius: 12px;
    }
}

.calendar:not(:last-child) {
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .calendar:not(:last-child) {
        margin-bottom: 20px;
    }
}

.calendar__top {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.calendar__top-buttons {
    display: flex;
    flex-wrap: nowrap;
    margin-right: 10px;
}

.calendar__date {
    font-size: 18px;
    font-weight: 600;
    line-height: 23.44px;
    margin-right: 10px;
		white-space: nowrap;
}

@media (max-width: 768px) {
    .calendar__date {
        font-size: 30px;
        font-weight: 600;
        line-height: 35.16px;
        margin-right: 15px;
    }
}

.calendar__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: unset;
    border: unset;
    padding: 0;
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .calendar__button {
        width: 24px;
        height: 24px;
    }
}

.calendar__year {
    font-size: 16px;
    font-weight: 600;
    line-height: 18.75px;
    margin-left: auto;
    color: #676767;
}

@media (max-width: 768px) {
    .calendar__year {
        font-size: 24px;
        font-weight: 600;
        line-height: 28.13px;
    }
}

.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 5px;
    margin-bottom: 5px;
}

.calendar__grid--weeks {
    grid-template-rows: 1fr;
    margin-bottom: 10px;
}

.calendar__week {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.75px;
}

.calendar__day {
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    color: #676767;
}

.calendar__day--has-event {
    cursor: pointer;
    color: var(--primary);
    font-weight: 700;
}

.calendar__day--active {
    z-index: 2;
    position: relative;
    color: #fff;
}

.calendar__day--active::before {
    z-index: -1;
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translate(-50%, 0);
    width: 24px;
    height: 24px;
    border-radius: 100px;
    background-color: var(--primary);
}

.calendar__day--active:hover {
    color: #fff;
}

.calendar__soon {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
}

/*# sourceMappingURL=calendar.css.map */
