/* -----------------------------------------

#fonts

-----------------------------------------*/


#mini-events {
    position: relative;
    z-index: 2;
}

.calendar-left {
    width: 608px;
    text-align: start;
    margin: 0;
}

.calendar-right {
    /* padding-top: 36px; */
    padding-top: 0;
    position: relative;
    left: 0;
    /* width: 754px; */
}

/* #homepage .mini-calendar {
    display: block!important;
    height: 100%;
    position: relative;
    z-index: 1;
    padding: 50px 37px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--mdblue);
    margin-bottom: 0;
} */

#homepage .fc-toolbar-title {
    position: relative;
    top: 0;
    left: 0px;
    color: var(--white);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: "poppins",sans-serif;
}

#homepage .fc-prev-button, #homepage .fc-next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: unset!important;
    border-color: transparent;
    padding: 0
}

#homepage .fc-prev-button .fc-icon, #homepage .fc-next-button .fc-icon {
    vertical-align: unset;
    font-size: unset;
    width: 24px;
    height: 24px;
}

#homepage .fc-icon-chevron-left:before {content: "";display: inline-block;font-family: FontAwesome;color: rgb(3, 106, 18);font-size: 35px;font-weight: bold;background: url(../../../images/cal-left-arrow.png);width: 11px;height: 14px;background-size: 100%;}

#homepage .fc-icon-chevron-right:before {content: "";display: inline-block;font-family: FontAwesome;color: rgb(3, 106, 18);font-size: 35px;font-weight: bold;background: url(../../../images/cal-right-arrow.png);background-size: 100%;width: 11px;height: 14px;}

#homepage .fc-button-group {
    display: none
}

#homepage .fc-button-group button {
    border-radius: unset;
    flex: unset
}

.fc .fc-scrollgrid-section-header>th {
    background: transparent;
}

#homepage .fc-toolbar.fc-header-toolbar {
    margin-bottom: 30px;
}

#homepage .fc .fc-daygrid-day-top {
    justify-content: center
}

#homepage .fc-theme-standard td, .fc-theme-standard th {
    border: none
}

#homepage .fc-theme-standard .fc-scrollgrid {
    border: none;
}

#homepage .fc-dayGridMonth-view .fc-daygrid-day-events {
    display: none
}

#homepage .fc-col-header-cell a {
    text-decoration: none;
    margin: 0 0 22px;
    color: var(--white);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    font-family: "poppins", sans-serif;
}

#homepage a.fc-daygrid-day-number {
    text-decoration: none;
    pointer-events: none;
    padding: 7px 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    font-size: 16px;
}

#homepage .day-has-event.fc-day-today a.fc-daygrid-day-number {
    color: #fff
}

#homepage .fc .fc-daygrid-day.fc-day-today {
    background-color: unset
}

#homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a {
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    text-decoration: none
}

#homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a::after {
    background: var(--accentcolor);
    width: 41px;
    height: 41px;
    border-radius: 50%;
}

#homepage .fc-event:hover {
    color: #000!important
}

#homepage .fc .fc-day-other .fc-daygrid-day-top {
    opacity: 1
}

#homepage .fc .fc-day-other .fc-daygrid-day-top a {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {
    margin-right: 4px;
    margin-top: 15px;
    background: #708989;
    padding: 0 5px;
    border-radius: unset;
    line-height: 1.2;
    height: 24px;
    /* position: absolute; */
    /* left: 42%; */
    /* top: auto; */
    bottom: -420px;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {
    position: absolute;
    /* left: 23px; */
    top: 83px;
    width: 65.9%;
    display: flex;
    justify-content: space-between;
    right: 104px;
    z-index: 9;
}

#homepage .fc-toolbar-chunk:nth-of-type(3) {
    width: 100%;
    text-align: center;
    padding: 0 50px;
}

#homepage .fc-toolbar-chunk .fc-dayGridMonth-button {
    background: #708989!important;
    padding: 0 5px;
    /* position: absolute; */
    /* right: 17px; */
    margin: 15px 20px 0 0;
    /* border: none; */
    /* border-radius: 0; */
    height: 24px;
    /* left: 53%; */
    /* top: auto; */
    /* bottom: -420px; */
}

#homepage .day-has-event .fc-daygrid-day-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    pointer-events: all;
    color: var(--white);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}



#homepage .day-has-event .fc-daygrid-day-top a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0);
}

#homepage .day-has-event .fc-daygrid-day-top a:hover::after {border: 1px solid rgba(255,255,255,.3);}

#homepage .fc-daygrid-day-top a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: auto;
    border-radius: 0;
    z-index: -1;
}
#homepage .day-has-event .fc-daygrid-day-top a:hover {
    opacity: 1
}

#homepage .mini-list-loaded {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

#homepage .event {
    position: relative;
    cursor: pointer;
    padding: 46px 44px 42px;
    transition: .3s all;
    background: var(--white);
    margin-bottom: 0;
    left: 0;
    border: 4px solid transparent;
}

#homepage .event:hover{
    border-color: var(--yellow);
}

#homepage .event img{opacity: 1;}
/* #homepage .event:hover .button.read-more{height: calc(100% + 1px);} */
#homepage .event:hover .event-title{text-decoration: underline;}
#homepage .event:hover time{color: var(--yellow);}


.fc .fc-daygrid-day-frame {
    margin: 0 auto 16.2px;
    padding: 0 18px;
}

/* #homepage .event:not(:last-of-type) {
} */

#homepage .event time {
    position: relative;
    margin: 0;
    text-align: center;
    line-height: normal;
    padding: 0;
}

#homepage .event-title-time-wrap {
    align-self: flex-end
}

#homepage .event-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-decoration: none;
    position: relative;
    margin-bottom: 22px;
     /* 26.4px */
    word-break: break-all;
    color: var(--black);
    font-family: "Plus Jakarta Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 31.2px; /* 31.2px */
    position: relative;
    top: 7px;
    padding-right: 3px;
    margin-bottom: 40px;
    min-height: 63px;
}

.event-time {
    font-size: 16px;
    color: var(--accentcolor);
    font-weight: 500;
}


#calendar .fc-button-primary {
    background-color: #708989!important;
    border-color: #708989
}

#calendar .fc-button-primary:not(:disabled):active,#calendar .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #3787D8!important;
    border-color: #3787D8
}

#calendar td.fc-day-today {
    background-color: rgba(22, 115, 159,.3);
}

#calendar td.fc-day-today a {
    color: #fff
}

#ics-export {
    margin-top: 4px
}

.tab-event:not(.active) {
    display: none;
}

.tab-calendar:not(.active) {
    display: none;
}
.tab.button.active {
    background: #0B7CE5;
}
table.fc-col-header,.fc-daygrid-body.fc-daygrid-body-unbalanced.fc-daygrid-body-natural,table.fc-scrollgrid-sync-table  {
    width: 100%!important;
}
#event-modal-dialog {margin: 0 auto;padding: 10px}

.cal-event-time {
    margin: 0 0 9px;
    color: var(--drak-grey);
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.cal-event-time img{width: 24px;position: relative;top: -1px;margin-right: 8px;}
span.event-month {position: relative;left: 0;color: rgba(30, 30, 30, 0.60);font-family: "Plus Jakarta Sans";font-size: 16px;font-style: normal;font-weight: 800; /* 24px */}
.calendar-box {position: relative;}
#cal_btns {margin: 21px 0 0;text-align: center;}
.cal-location {
    color: var(--drak-grey);
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}
.cal-location img{width: 24px;position: relative;top: -1px;margin-right: 8px;}
.event-data {padding-right: 20px;}


 @media(min-width:992px) and (max-width:1199px) {
    .calendar-left {width: 50%;}
    .calendar-right {width: 100%;}
    #social-media-links { left: 0;}

    .calendar-box {position: static;}
    #mini-events {gap: 50px;}

 }

 @media only screen and (max-width:991px){
    #mini-events {flex-wrap: wrap;gap: 20px;}
    .calendar-left {width: 100%;}
    #homepage .event .event-arrow{display: none;}
    #homepage .fc-toolbar-title {font-size: 24px;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {left: 0;top: 68px;width: 100%;}
    #homepage .mini-calendar {padding: 49px 0 36px;}
    .calendar-right {padding: 0;width: 100%;position: static;}
    /* #homepage .event:not(:last-of-type) {margin-bottom: 15px;} */
    #homepage .event time{font-size:20px;min-width:90px;height: 100%;}
    #homepage .event {padding: 0 40px 0 0;column-gap: 10px;}
    .site-events .button.read-more {width: 30px;height: 30px;right: 0;}
    #homepage a.fc-daygrid-day-number{padding: 7px 17px;}
    #homepage .fc-col-header-cell a {margin: 0 0 5px;font-size: 14px;}
    #homepage .fc-toolbar.fc-header-toolbar {margin-bottom: 5px;}

    .calendar-box {position: static;}
    #homepage .mini-list-loaded {grid-template-columns: repeat(2, 1fr);}
    #homepage .event{width: 100%;padding: 15px;}
 }

 @media only screen and (max-width:575px){
   .calendar-right {max-width: 100%;width: 100%;}
   #homepage .mini-list-loaded {grid-template-columns: repeat(1, 1fr);}
 }

 @media only screen and (max-width:460px){
    #homepage .fc-daygrid-day-top a::after {width: 35px;height: 33px;}
    #homepage .fc-toolbar-title {font-size: 18px;margin: 3px 0;}
    #homepage .event-title{font-size: 16px;}
 }
 @media only screen and (max-width:390px){
    #homepage .fc-daygrid-day-top a::after {width: 33px;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {width: calc(100% - 50px);left: 25px;}
    #homepage .fc-toolbar-title {margin-bottom: 5px;}
 }

 #homepage .event-title {
word-break: break-word;
}