/* widget event */

.event-box {
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.event-box:hover {
    box-shadow: 0px 2px 3px 0px #0000004D;

    box-shadow: 0px 6px 10px 4px #00000026;
}

.event-box .features-box {
    position: relative;
}

.event-box .features-box .meta-date {
    font-weight: 500;
    font-size: 11px;
    color: #fff;
    background: #00000080;
    backdrop-filter: blur(16px);
    padding: 8px 12px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 12px;
}

.event-box .features-box .author-box {
    position: absolute;
    bottom: 12px;
    right: 13px;
    font-weight: 500;
    font-size: 11px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.event-box .features-box::after {
    content: '';
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 56.77%, #000000 100%);
    height: 82px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.event-box .features-box .author-box img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-box .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 9px;
    font-family: "Poppins", sans-serif;
}

.event-box .title a {
    color: #B31E25;
}

.event-box .title a:hover {
    color: #141414;
}

.event-box .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1F1F1F;
}

.event-box .bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.event-box .content {
    padding: 16px 24px;
    padding-bottom: 22px;
    background: #fff;
}

.event-box .location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8C8C8C;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
}

.event-box .location i {
    flex-shrink: 0;
    font-size: 16px;
}

.event-box .btn-read {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    background: #141414;
    border-radius: 8px;
    padding: 4px 15px;
}

.event-box .btn-read:hover {
    background: #B31E25;
    color: #fff;
}

.widget-event .group-box-event {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget-event .content-data-event {
    display: flex;
    flex-wrap: wrap;
    margin-left: -32px;
}

.widget-event .content-data-event>* {
    width: calc(33.33333% - 32px);
    margin-left: 32px;
}

.widget-event .group-calendar-event #calendars {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 22px 16px;
}

.calendar-container .title-calendar {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #1F1F1F;
    margin-bottom: -17px;
}

.calendar-container .fc-scrollgrid {
    background: #F5F5F5;
    border-radius: 8px;
}

.calendar-container .fc-daygrid-day-events,
.calendar-container .fc-theme-standard td,
.calendar-container table,
.calendar-container .fc-theme-standard th {
    border: none !important;
}

.calendar-container .fc-daygrid-day-events {
    display: none;
}

.calendar-container .fc-daygrid-day-top {
    justify-content: center;
}

.calendar-container .fc-col-header-cell-cushion {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    text-transform: uppercase;
    padding-top: 8px !important;
    padding-bottom: 25px !important;
}

.calendar-container .fc-daygrid-day.fc-day-today {
    background-color: #A8071A !important;
    border-radius: 100px;
}

.calendar-container .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    color: #fff;
}

.calendar-container .fc-view-harness {
    height: 343px !important;
}

.calendar-container .fc-daygrid-day-frame {
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-event .tab-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.widget-event .tab-month .prev-month,
.widget-event .tab-month .next-month {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    color: #B31E25;
    gap: 16px;
}

.widget-event .tab-month .prev-month .prev-label {
    min-width: 110px;
    text-align: right;
    text-transform: capitalize;
}

.widget-event .tab-month .next-month .next-label {
    min-width: 110px;
    text-align: left;
    text-transform: capitalize;
}

.widget-event .tab-month .divide {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #B31E25;
}

.widget-event .navigation-month {
    width: 44px;
    height: 44px;
    border: 1px solid #BFBFBF;
    background: #fff;
    color: #1F1F1F;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.widget-event .navigation-month:hover {
    background: #B31E25;
    color: #fff;
    border-color: #B31E25;
}

.widget-event .tab-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.widget-event .tab-month .divide {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #B31E25;
}

.widget-event .fc-view-harness {
    height: 100% !important;
}

.widget-event .fc-daygrid-body,
.widget-event .fc-scrollgrid-sync-table {
    width: 100% !important;
}

.widget-event .tf-event-tooltip {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #000000;

    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0px 2px 4px 0px #0C0C0D0D, 0px 2px 4px 0px #0C0C0D1A;
}

.widget-event .tf-event-tooltip {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    display: none;
    /* transition: opacity 0.2s ease; */
    z-index: 9999;
    transform: translate(-50%, -80px);
    left: 50%;
}

.widget-event #calendars .fc-daygrid-day {
    position: relative;
}

.widget-event .tf-event-tooltip.show,
.widget-event .tf-has-event-bg:hover .tf-event-tooltip,
.widget-event .tf-event-tooltip.hover {
    opacity: 1;
    display: block;
}

.widget-event .tf-event-tooltip:after {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border: 1px solid #D9D9D9;
    border-left: 0;
    border-top: 0;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    bottom: -4px;
    left: 50%;
    background: #FFF;
}

/* .widget-event .fc-day-past,
.widget-event .fc-day-future {
    color: #BFBFBF;
} */

.widget-event .navigation-month {
    width: 44px;
    height: 44px;
    border: 1px solid #BFBFBF;
    background: #fff;
    color: #1F1F1F;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.widget-event .navigation-month:hover {
    background: #B31E25;
    color: #fff;
    border-color: #B31E25;
}

.widget-event #calendars {
    gap: 40px;
    justify-content: center;
}

.widget-event #calendars .fc-scrollgrid {
    padding: 8px 16px;
    background: #F5F5F5;
    border-radius: 8px;
    width: 100% !important;
}

.widget-event .fc-col-header {
    width: 100% !important;
}

.widget-event .fc-toolbar-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #1F1F1F;
    margin-bottom: 8px;
}

.widget-event .fc-col-header-cell-cushion {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    text-transform: uppercase;
}

.widget-event #calendars .fc-col-header-cell {
    padding: 7px 5px;
    padding-bottom: 20px;
    text-align: center;
}

.widget-event #calendars .fc-daygrid-day-frame {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    color: #1F1F1F;
}

.widget-event #calendars .fc-day-past .fc-daygrid-day-frame {
    color: #BFBFBF;
}

.widget-event #calendars .fc-daygrid-day {
    width: 48px;
    height: 48px;
}

.widget-event #calendars .fc-daygrid-day .fc-daygrid-day-frame,
.widget-event #calendars .fc-daygrid-day .fc-daygrid-day-top {
    position: relative;
}

.widget-event #calendars .fc-daygrid-day .fc-daygrid-day-top {
    z-index: 999;
}

.widget-event #calendars .tf-has-event-bg .fc-daygrid-day-bg::after {
    content: '';
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.widget-event #calendars .tf-single-day-event .fc-daygrid-day-number {
    color: #fff;
}

.widget-event #calendars .tf-single-day-event.tf-has-event-bg .fc-daygrid-day-bg::after {
    border-radius: 50%;
}

.widget-event #calendars .tf-has-event-bg .fc-daygrid-day-bg::after {
    background: #A8071A;
}

.widget-event #calendars .tf-has-event-bg .fc-daygrid-day-number {
    color: #fff;
}

.widget-event #calendars .tf-multi-day-start .fc-daygrid-day-bg::after {
    background: #A8071A;
    border-radius: 100px 0 0 100px;
}

.widget-event #calendars .tf-multi-day-start .fc-daygrid-day-number {
    color: #fff;
}

.widget-event #calendars .tf-multi-day-end .fc-daygrid-day-bg::after {
    background: #A8071A;
    border-radius: 0 100px 100px 0;
}

.widget-event #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    content: '';
    width: calc(100% + 10px);
    height: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #A8071A;
    display: none;
}

.widget-event #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    display: block;
}

.widget-event #calendars .tf-single-day-event.tf-has-event-bg .fc-daygrid-day-bg::before,
.widget-event #calendars .tf-multi-day-start .fc-daygrid-day-bg::before,
.widget-event #calendars .tf-multi-day-end .fc-daygrid-day-bg::before {
    display: none;
}

.widget-event #calendars .tf-multi-day-end .fc-daygrid-day-number {
    color: #fff;
}

.widget-event .fc-scrollgrid {
    width: 100%;
}

.widget-event .wrap-list-event .card-event-calendar {
    width: calc(100% - 32px);
}

.widget-event .card-event-calendar .features-post a>img {
    height: 208px;
}

.widget-event .card-event-calendar .title a {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.widget-event .card-event-calendar .description {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 48px;
}

.widget-event #calendars .fc-daygrid-day {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* widget event */

@media (max-width: 1300px) {
    .widget-event .content-data-event {
        margin-left: -20px;
    }
    .widget-event .content-data-event>* {
        width: calc(30% - 20px);
        margin-left: 20px;
    }
    .widget-event .content-data-event>*:nth-child(2) {
        width: calc(40% - 20px);
    }
}

@media (max-width: 1200px) {

    .widget-event .tab-month .prev-month,
    .widget-event .tab-month .next-month {
        font-size: 18px;
    }

    .widget-event .navigation-month {
        width: 40px;
        height: 40px;
    }

    .widget-event #calendars .fc-col-header,
    .widget-event #calendars .fc-scrollgrid,
    .tf-calendar .fc-daygrid-body .fc-scrollgrid-sync-table {
        width: 100% !important;
    }

    .widget-event #calendars .fc-scrollgrid {
        margin: 0 auto;
    }
}

@media (max-width: 991px) {

    .widget-event .group-calendar-event #calendars {
        flex-direction: unset;
        gap: 40px;
    }

    .widget-event .content-data-event>* {
        width: calc(50% - 20px);
        margin-left: 20px;
    }

    .group-calendar-event {
        order: -1;
        width: calc(100% - 20px) !important;
        margin-left: 20px;
        flex-direction: unset !important;
        margin-bottom: 30px;
    }

    .group-calendar-event .calendar-container {
        flex: 1;
    }

    .widget-event .content-data-event>* {
        width: calc(50% - 20px);
        margin-left: 20px;
    }

    .widget-event .content-data-event {
        margin-left: -20px;
    }


}

@media (max-width: 700px) {
    .widget-event .group-calendar-event #calendars {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .group-calendar-event {
        flex-direction: column !important;
    }

    .widget-event .content-data-event>* {
        width: calc(100% - 20px);
    }

    .widget-event .tab-month .prev-month,
    .widget-event .tab-month .next-month {
        font-size: 16px;
    }
}