/* -----------------------------------------

#fonts

-----------------------------------------*/


#mini-events {
    display: flex;
    justify-content: space-between;
    gap: 46px;
}

.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(--white);
    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%; */
    border: 1px solid;
}

#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(--yellow);
    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: block!important;
}

#homepage .event {
    position: relative;
    cursor: pointer;
    padding: 32px;
    transition: .3s all;
    font-family: "poppins",sans-serif;
}
#homepage .event:hover .button.read-more{height: calc(100% + 1px);}
#homepage .event:hover .event-title{text-decoration: underline;}


.fc .fc-daygrid-day-frame {
    margin: 0 auto 16.2px;
    padding: 0 18px;
}

#homepage .event:not(:last-of-type) {
    margin-bottom: -2.3px;
    border-bottom: 1px solid #B3B3B3;
}

#homepage .event time {
    padding: 0;
    text-transform: capitalize;
    color: var(--brandcolor);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    margin: 0 0 8px;
    display: block;
}

#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;
    color: var(--primarycolor);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    position: relative;
}

.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: #708989
}

#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 {
    color: #3F5897;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 6px;
}

.cal-event-time img{width: 14px;position: relative;top: -1px;margin-right: 10px;}
span.event-month {position: relative;top: 0;left: 0;font-size: 16px;font-weight: 600;font-family: "Work Sans", sans-serif;line-height: normal;}
.calendar-box {position: relative;}
#cal_btns {margin: 30px 0 0;}

/*a.fc-event[style="border-color: rgb(237, 134, 45);"]{background: red !important}*/

.fc-event.dark-text, .dark-text{color: #fff !important;}
.fc-daygrid-dot-event .fc-event-title {font-weight: 400 !important;}


 @media(min-width:992px) and (max-width:1199px) {
    .calendar-left {width: 50%;}
    .calendar-right {width: 47%;}
    #social-media-links { left: 0;}

    .calendar-box {position: static;}
    #mini-events {gap: 50px;}
    #homepage .event{padding: 20px 0;}
 }

 @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: 5px;padding: 10px 0 20px;}
    #homepage .event time{font-size:20px;min-width:70px;}
    #homepage .event time span{font-size:17px;}
    #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;}
 }

 @media only screen and (max-width:575px){
   .calendar-right {max-width: 100%;width: 100%;}
 }

 @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;}

 }