.month_title {
    grid-column: span 7;
    color: #0F0F0F;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.month_cnt {
    display: grid;
    grid-template-columns: repeat(7, 40px);
    width: auto;
    grid-gap: 5px;
    padding: 10px;
    background: #F2F2F2;
}


.day_cell {
    position: relative;
    padding: 20px;
}

.day_of_week {
    color: #0F0F0F;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.event_marker {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 33px;
    height: 33px;
    cursor: pointer;
}

.bg_star {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    content: url(../img/star_cal_5_nov.svg);
    cursor: pointer;
}

.day_num {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    color: #0F0F0F;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    z-index: 9;
}

.day_num.text_white:hover {
    cursor: pointer;
}

.text_white {
    color: #fff;
    font-weight: 500;
}

.calendar_legend {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 0;
}

.cal_leg_item {
    width: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #0F0F0F;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-left: 20px;
}

.cal_leg_item div {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.events_wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 50px auto;
}

.events_cnt {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 990px;
}

.event_item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px 0;
    position: relative;
}


.event_item_month {
    color: #0F0F0F;
    text-align: left;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 20px;
}



.event_item_rect {
    position: absolute;
    width: 1000px;
    height: 80px;
    left: -960px;
}

.event_item_circle {
    width: 80px;
    height: 80px;
    position: relative;
}

.event_item_circle_text {
    position: absolute;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 48px;
    font-style: normal;
    line-height: normal;
    top: 9px;
    left: 0px;
    width: 80px;
}

.event_item_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 30px;
    width: calc(100% - 80px);
}


.event_item_title {
    color: #0F0F0F;
    text-align: left;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.event_item_note {
    color: #0F0F0F;
    text-align: left;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.event_item_star img {
    width: 100px;
    height: auto;
}

.event_item_star .event_item_circle_text {
    font-size: 30px;
    top: 31px;
    left: 10px;
}

.all_events_btn_cnt {
    max-width: 991px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    border-top: 1px solid #0F0F0F;
}

#all_events_btn {
    width: fit-content;
    cursor: pointer;
    color: #0F0F0F;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    text-align: right;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 10px 20px;
}

@media only screen and (min-width: 481px) {
    .calendar_cnt {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .calendar_body {
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-gap: 16px;
        justify-content: center;
    }
}

@media only screen and (min-width: 481px) and (max-width: 1024px) {
    .calendar_body {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-gap: 16px;
        justify-content: center;
    }

    .events_cnt {
        padding: 0 30px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1450px) {
    .calendar_body {
        display: grid;
        grid-template-columns: repeat(3, auto);
        grid-gap: 16px;
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .calendar_legend {
        justify-content: flex-start;
        padding: 30px 15px;
    }

    .cal_leg_item {
        justify-content: flex-start;
    }

    .calendar_body {
        display: flex;
    }

    .swiper {
        width: 100%;
        height: 100%;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .swiper_button_bg_prev {
        position: absolute;
        background-color: rgb(242, 242, 242);
        background: linear-gradient(90deg, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 1) 70%, rgba(242, 242, 242, 0) 100%);
        z-index: 9;
        top: 0;
        left: 0;
        width: 120px;
        height: 60px;
    }

    .swiper_button_bg_next {
        position: absolute;
        background-color: #F2F2F2;
        background: linear-gradient(90deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 30%, rgba(242, 242, 242, 1) 100%);
        z-index: 8;
        top: 0;
        right: 0;
        width: 120px;
        height: 60px;
    }

    .swiper-button-prev {
        top: 27px;
        left: 60px;
    }

    .swiper-button-next {
        top: 27px;
        right: 45px;
    }

    .swiper-button-next:after {
        content: 'next';
        font-size: 16px;
        font-weight: 600;
        color: #000;
    }

    .swiper-button-prev:after {
        content: 'prev';
        font-size: 16px;
        font-weight: 600;
        color: #000;
    }

    .swiper-pagination-bullet-active {
        background-color: #000;
    }

    .events_wrapper {
        margin-top: 0;
    }

    .events_cnt {
        max-width: 100%;
        padding: 0 15px;
    }

    .event_item_month {
        font-size: 32px;
    }

    .event_item_rect {
        position: absolute;
        width: 100px;
        top: 20px;
        height: 60px;
        left: -75px;
    }

    .event_item_circle {
        width: 60px;
        height: 60px;
    }

    .event_item_circle_text {
        font-size: 36px;
        top: 5px;
        left: -10px;
    }


    .event_item_text {
        padding-left: 15px;
        width: calc(100% - 60px);
    }


    .event_item_title {
        font-size: 22px;
    }

    .event_item_note {
        font-size: 18px;
    }

    .all_events_btn_cnt {
        max-width: 100%;
    }
}