#mini-events {
    display: flex;
    justify-content: space-between;
    column-gap: 23px;
    max-width: 1294px;
    margin: 50px auto;
}

.calendar-left {
    max-width: 560px;
    width: 100%;
    background: #FFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
}

.calendar-right {
   max-width: 684px;
   width: 100%;
}

#homepage .calendar-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-height: 550px;
    padding: 0px 45px 11px 0;
    flex-direction: column
}

#homepage .mini-calendar {
    display: block!important;
    position: relative
}

#homepage .mini-list-loaded {
    display: block!important;
    position: relative
}

#homepage .fc-view > table {
    border-style: hidden
}

#homepage .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0
}

#homepage .fc-button-group {
    position: absolute;
    top: 31px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 32px
}

#homepage .fc-icon-chevron-left:before {
    content: "\f0d9";
    display: inline-block;
    font-family: "FontAwesome"
}

#homepage .fc-icon-chevron-right:before {
    content: "\f0da";
    display: inline-block;
    font-family: "FontAwesome"
}

#homepage #mini-events .fc-day-number {
    display: inline-block
}

#homepage .fc-toolbar {
    display: block
}

#mini-events .fc-widget-header {
    font-size: 0
}

#mini-events .fc-widget-header.fc-sun:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'S'
}

#mini-events .fc-widget-header.fc-mon:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'M';
}

#mini-events .fc-widget-header.fc-tue:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'T'
}

#mini-events .fc-widget-header.fc-wed:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'W'
}

#mini-events .fc-widget-header.fc-thu:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'T'
}

#mini-events .fc-widget-header.fc-fri:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'F'
}

#mini-events .fc-widget-header.fc-sat:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'S'
}

#mini-events .fc-widget-header.fc-sun:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-mon:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-tue:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-wed:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-thu:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-fri:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-sat:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    color: #000000;
    font-size: 20px;
    font-weight: 900;
}

#homepage .fc-button-group > .fc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 0;
    flex: none;
    background: #F2F2F2!important;
    color: #1B1B1B!important;
    width: 30px;
    height: 30px;
    font-size: 10px
}

#homepage .fc-button-group > .fc-button:hover,.fc-button-group > .fc-button:focus {
    background: transparent!important
}

#homepage .fc-button-group > .fc-button:not(:last-child) {
    margin-left: 0;
    margin-right: 10px
}

#homepage .fc-button-group > .fc-button:not(:first-child) {
    float: right;
    margin-right: 0
}

#homepage .fc-left .fc-button-group .fc-today-button {
    margin-right: 76px
}

#homepage .fc-center {
    display: none
}

#homepage .fc-right {
    display: block;
    text-align: left;
    position: relative;
    pointer-events: none
}

#homepage .fc-dayGridMonth-view .fc-day-header>span {
    display: inline-block;
    white-space: nowrap;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    font-size: 0;
    color: #000;
    text-transform: capitalize
}

#homepage .fc-right h2 {
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 36px;
    color: #023948;
    text-align: center;
    padding: 50px 9px 21px;
}

#homepage .fc-view-container {
    border-top: none;
    margin-top: 20px
}

#homepage .fc-unthemed td {
    border: none
}

#homepage .fc-widget-content {
    border-top: none
}

#homepage .fc-content-skeleton .fc-day-number {
    color: #000000;
    text-decoration: none
}

#homepage #mini-events .fc-row.fc-widget-header {
    border: none;
    border-radius: 0 0 6px 6px;
    padding: 0 22px;
}

#homepage .fc .fc-row .fc-content-skeleton td {
    border: none;
    position: relative
}

.fc-unthemed td.fc-today {
    background: none
}

#homepage .fc-scroller.fc-day-grid-container {
    height: 100%!important;
    padding: 25px 32px 18px;
    text-align: center
}

#homepage .fc-unthemed td.fc-today a:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #DFDFDF;
    height: 33px;
    width: 33px;
    border-radius: 50%;
    z-index: -1;
}

#homepage .fc-unthemed td.fc-today a {
    position: relative
}

#homepage #mini-events .fc-day-number {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    color: #000000;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: 37px;
    border-radius: 5px;
    font-size: 16px
}

#homepage .fc-widget-header th {
    text-align: center;
    border: none
}

#homepage .fc-day-top.fc-other-month {
    opacity: 1
}

#homepage .fc-day-top.fc-other-month a {
    color: #757575 !important;
    font-weight: 400!important
}

#homepage #mini-events .fc-dayGrid-view .fc-body .fc-row {
    min-height: auto;
    height: 46px!important;
    line-height: 28px
}

.time-wrap {
    background-color: #013121;
    min-width: 80px;
    height: 100%;
    padding: 15px;
    text-align: center;
    display: grid;
    align-content: center;
    line-height: 1.1;
    color: #ffffff
}

#homepage .event .event-month {
    display: block;
    width: 100%;
    text-align: center;
    font: 700 14px 'Poppins',sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 -4px;
    align-self: flex-end
}

#homepage #mini-events .event:hover .event-title {
    text-decoration: underline
}

#homepage #mini-events .mini-list-loaded .event .event-date:last-child {
    margin: 0
}

#homepage .event-time {
    font: 500 16px 'Poppins',sans-serif;
    color: #787676;
    align-self: flex-end;
    display: none
}

#homepage .event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal;
    line-height: 30px;
    font-size: 18px;
    font-weight: 700;
    color: #1B1B1B;
    letter-spacing: -0.4px
}

#homepage a.fc-day-number {
    cursor: auto;
    text-decoration: none;
    pointer-events: none;
    font-family: "Montserrat",sans-serif
}

#homepage .fc-day-top.day-has-event.fc-today a.fc-day-number {
    color: #ffffff!important
}

#homepage .fc-day-top.day-has-event a.fc-day-number {
    cursor: pointer;
    pointer-events: all
}

#homepage .fc-left .fc-button-group+.fc-button-group {
    position: absolute;
    top: -30px;
    right: 0;
    left: auto;
    margin: 0;
    width: auto;
    opacity: 0;
    transition: opacity 320ms;
    padding: 0
}

#homepage .fc-left .fc-button-group+.fc-button-group button {
    background: rgb(23 86 143) !important;
    padding: 10px;
    border-radius: 0;
    pointer-events: all;
    cursor: auto;
    margin-left: 1px;
    position: absolute;
    right: 5px;
    top: 30px;
    width: 70px;
    height: 35px;
    font-size: 14px;
    color: #ffffff!important
}

#homepage .fc-dayGridMonth-view .fc-day-grid-event {
    display: none
}

#homepage .fc-day-top.day-has-event a {
    color: #591719;
    text-decoration: underline;
    text-underline-offset: 3px
}

#calendar .fc-button-primary {
    background-color: #009448!important;
    border-color: #009448;
    margin: 0 2px 5px 0
}

#calendar .fc-button-primary:not(:disabled):active,#calendar .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #009448!important;
    border-color: #009448
}

#calendar.fc-unthemed td.fc-today {
    background: #2c368f
}

#calendar td.fc-today a.fc-day-number {
    color: #fff
}

.day {
    color: #FFF;
    font-family: 'Inter';
    font-size: 23.118px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
    text-transform: uppercase
}

#mini-events .fc-day-number .day-has-event a {
    pointer-events: all;
    color: #fff!important;
    border-radius: 5.779px
}

.event-data {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 24px
}

.mini-events-list.mini-list-loaded .cal-event:not(:last-child) {
    margin-bottom: 14px;
}



.mini-events-list.mini-list-loaded .cal-event:hover {
    left: 10px;
}

.mini-events-list.mini-list-loaded .cal-event {
    position: relative;
    left: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.cal-content {
    background: #ECEFF0;
    border-left: 2px solid #F7BC19;
    padding: 28px 28px;
    /* height: 118px; */
}

.cal-content time {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    color: #354751;
}
.cal-content time img {
    width: 14px;
}
.cal-content time img {
    width: 14px;
    position: relative;
    top: -1px;
    margin-right: 7px;
}

.cal-content time span:first-child {
    margin-right: 33px;
}
#homepage .event {
    display: flex;
    justify-content: space-between;
    background: rgb(255,255,255);
    min-height: 101px;
    margin-bottom: 24px;
    transition: 0.3s all;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.05)
}

#homepage .event:last-child {
    margin-bottom: 0
}

#homepage #mini-events .day-has-event .fc-day-number {
    text-decoration: none;
    background: none;
    color: #F26D25;
    font-weight: 700;
    text-decoration: underline;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}
.cal-content>span {
    display: block;
    font-size: 20px;
    font-weight: 300;
    color: #000000;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* -webkit-line-clamp: 1; */
    -webkit-box-orient: vertical;
}
#homepage .fc-day-top.day-has-event::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    margin: 0 auto;
    background: transparent;
}

span.event-date {
    font-style: normal;
    font-size: 14px;
    display: block;
    margin-bottom: 5px
}

span.event-day {
    font-size: 24px;
    font-weight: 700
}

#event-modal .modal-footer .btn {
    color: #ffffff;
    margin: 0
}

#tabs-button {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

#tabs-button .tab {
    background: #D4DDDF;
    color: #023948;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    padding: 13px 20px;
    cursor: pointer;
    /* width: calc(33.33% - 10px); */
    border-radius: 30px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.tab-calendar:not(.active) {
    display: none
}

.tab-event:not(.active) {
    display: none
}

#tabs-button .tab.active {
    background: #F7BC19;
    color: #000000;
}

#tabs-button .tab:not(:last-child) {
    border-right: 1px solid #fff
}

@media only screen and (max-width: 991px) {
    #homepage .fc-toolbar.fc-header-toolbar {
        width:100%
    }

    #homepage .mini-calendar {
        border-right: none;
        height: auto;
        margin: 0 auto;
        padding: 25px 0;
    }
    #homepage .fc-right h2 {
    padding-top: 3px;
    font-size: 32px;
}
    #homepage .mini-events-list {
        padding: 15px 0;
        margin: 15px 0
    }

    #mini-events {
        display: block
    }

    .calendar-right {
        width: 100%;
        max-width: initial;
        margin: 50px auto 0;
    }

    .calendar-left {
        width: 100%;
        max-width: 600px;
        margin: 0 auto
    }
}

@media only screen and (max-width: 580px) {
    #homepage #mini-events .fc-row.fc-widget-header {
        padding:0 10px
    }

    #homepage .fc-scroller.fc-day-grid-container {
        padding-left: 10px;
        padding-right: 10px
    }

    #homepage .fc-button-group {
        top: 30px;
    }
}

@media only screen and (max-width: 479px) {
    #homepage .fc-day-top.day-has-event a::after {
        left:5px
    }

    #homepage .fc-button-group {
        padding: 0 14px
    }
}

@media only screen and (max-width: 430px) {
    #mini-events .fc-widget-header.fc-sun:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-mon:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-tue:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-wed:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-thu:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-fri:not(.fc-future):not(.fc-today):not(.fc-past) span:after, #mini-events .fc-widget-header.fc-sat:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
        font-size:14px
    }

    #homepage #mini-events .fc-day-number {
        font-size: 14px
    }

    #homepage .event-title {
        font-size: 17px;
        line-height: 25px
    }

    .event-data {
        padding-left: 20px;
        padding-right: 20px
    }
    #homepage .fc-right h2 {
    font-size: 26px;
    padding-top: 5px;
}
}

@media only screen and (max-width:414px){
    div#tabs-button {
        flex-direction: column-reverse;
    }
}
