#ics-export{margin:0 0 0 5px;}


#mini-events .calendar-wrap{display:flex;justify-content:space-between;gap: clamp(20px, 5vw, 96px);}
#mini-events .calendar-right {position: relative;z-index: 0;margin-top: -48px;}
#department #mini-events .calendar-right{margin:0;}
#mini-events .calendar-right #events-tabs{width: 100%;}
#mini-events .mini-calendar{width: 100%;min-height: 100%;background: #fff;position:relative;display: block !important;padding: 49px 10px 51px;}
#mini-events .calendar-left {width: 600px;max-width:100%;border-radius: 0 0 15px 15px;position: relative;z-index: 1;}

#homepage .cal-content::after {position: absolute;content: '';background: url(../../../images/event-arrow.png) center / cover no-repeat;width: 24px;height: 24px;right: 16px;top: unset;transform: translateY(-50%);opacity: 0;margin-top: 25px;}

#homepage .cal-content:hover::after {
    opacity: 1;
}

#mini-events .cal-content:hover .cal-event-time{background: #033B59 !important;}

#event-modal .modal-footer .btn {background: var(--brandcolor) !important;color: #fff !important;}
.fc .fc-button-group {margin-bottom: 10px;}

/* Calendar Grid Styles */
.fc-daygrid-body,
.fc-col-header {width: 100% !important;}
table.fc-scrollgrid-sync-table{width:  100% !important;}
#homepage .fc-toolbar-title,
#department .fc-toolbar-title {text-transform: capitalize;color: #1D2224;font-family: "Libre Baskerville";font-size: 24px;font-style: normal;font-weight: 700;line-height: 150%;letter-spacing: -0.48px;position: relative;}
#homepage .fc-toolbar-title:after{content: "";background: url('../../../images/dashed-line.png') center no-repeat;background-size: cover;width: 300px;height: 2px;z-index: 9;position: absolute;top: 45px;left: 0;right: 0;margin: 0 auto;filter: brightness(0) saturate(100%) invert(95%) sepia(7%) saturate(171%) hue-rotate(163deg) brightness(98%) contrast(93%);}
#homepage .fc-prev-button, 
#homepage .fc-next-button,
#department .fc-prev-button, 
#department .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,
#department .fc-prev-button .fc-icon, 
#department .fc-next-button .fc-icon {vertical-align: unset;}
#homepage .fc-icon-chevron-left:before ,
#department .fc-icon-chevron-left:before {content: "\f0d9";font-family: 'FontAwesome';display: inline-block;color: #41A3D8D9;}
#homepage .fc-icon-chevron-right:before,
#department .fc-icon-chevron-right:before {content: "\f0da";font-family: 'FontAwesome';display: inline-block;color: #41A3D8D9;}
#homepage .fc-button-group,
#department .fc-button-group {display: none}
#homepage .fc-button-group button,
#department .fc-button-group button {border-radius: unset;flex: unset;background: none;border-radius: 4px;color: #1B1B1B !important;}
#homepage .fc-dayGridMonth-view,
#department .fc-dayGridMonth-view {padding: 0 0;}
#homepage .fc-toolbar.fc-header-toolbar,
#department .fc-toolbar.fc-header-toolbar  {margin-bottom: 25px;}
#homepage .fc .fc-daygrid-day-top ,
#department .fc .fc-daygrid-day-top {justify-content: center}
#homepage .fc-theme-standard td, 
.fc-theme-standard th,
#department .fc-theme-standard td {border: none}
#homepage .fc-theme-standard .fc-scrollgrid,
#department .fc-theme-standard .fc-scrollgrid {border: none}
#homepage .fc-dayGridMonth-view .fc-daygrid-day-events,
#department .fc-dayGridMonth-view .fc-daygrid-day-events {display: none;}
#homepage .fc-col-header-cell a,
#department .fc-col-header-cell a {font-size: 16px;font-weight: 500;color: #1D2224;text-transform: uppercase;text-decoration: none;margin: 0 0 8px;}

#homepage a.fc-daygrid-day-number,
#department a.fc-daygrid-day-number {font-size: 16px;font-weight: 700;color: #1D2224;text-decoration: none;pointer-events: none;padding: 10px 0;margin: 1px}
#homepage .day-has-event.fc-day-today a.fc-daygrid-day-number,
#department .day-has-event.fc-day-today a.fc-daygrid-day-number {color: #1D2224 !important;}
#homepage .fc .fc-daygrid-day.fc-day-today,
#department .fc .fc-daygrid-day.fc-day-today {background-color: unset}
#homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a,
#department .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a {color: #1B4040;font-weight: 700;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,
#department .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;height: 100%;background: #EDF3F6;border-radius: 8px;z-index: -1;}
#homepage .day-has-event .fc-daygrid-day-top a::after,
#department .day-has-event .fc-daygrid-day-top a::after{content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;height: 100%;background: #02334D;border-radius: 8px;opacity:1;z-index: -1}
#homepage .fc-event:hover,
#department .fc-event:hover {color: #000!important}
#homepage .fc .fc-day-other .fc-daygrid-day-top,
#department .fc .fc-day-other .fc-daygrid-day-top {opacity: 1}
#homepage .fc .fc-day-other .fc-daygrid-day-top a,
#department .fc .fc-day-other .fc-daygrid-day-top a {color: #02334D;font-weight: 400;}
#homepage .fc-toolbar-chunk:nth-of-type(1),
#department .fc-toolbar-chunk:nth-of-type(1) {position: absolute;top: 0;left: 0;width: 100%;display: flex;justify-content: flex-end}
#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-today-button,
#department .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {margin-right: 75px;background: #265A49;padding: 0 5px;border-radius: unset;line-height: 1.2;height: 24px}
#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1),
#department .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {position: absolute;left: 31px;right: 31px;top: 37px;display: flex;justify-content: space-between}
#homepage .fc-toolbar-chunk:nth-of-type(3),
#department .fc-toolbar-chunk:nth-of-type(3) {width: 100%;text-align: center;padding: 0 50px;}
#homepage .fc-toolbar-chunk .fc-dayGridMonth-button,
#department .fc-toolbar-chunk .fc-dayGridMonth-button {background: #02334D !important;padding: 0 5px;position: absolute;top: 0;right: 6px;margin: 0;border: none;border-radius: 0;height: 24px}
#homepage .day-has-event .fc-daygrid-day-top a,
#department .day-has-event .fc-daygrid-day-top a {color: #fff !important;font-weight: 700;display: flex;align-items: center;justify-content: center;width: 100%;height: 100%;min-height: 100%;pointer-events: all}

#homepage .day-has-event .fc-daygrid-day-top a:hover,
#department .day-has-event .fc-daygrid-day-top a:hover {opacity: 1}


#mini-events{display: flex !important;gap: 24px;justify-content: space-between;flex-direction: row-reverse;margin-bottom: 50px;}
#mini-events .calendar-left{width: 600px;}
#mini-events .calendar-right{margin: 0;flex: 1;}
#mini-events .calendar-right #events-tabs{margin:0 0 24px 0;}
time{display: flex;gap: 10px;text-transform: uppercase;font-weight: 700;}


/* Calendar Events Style */
#mini-events .calendar-wrap{display:flex;justify-content:space-between}
#mini-events .mini-calendar{display: block !important;width: 100%;background: #fff;position:relative;padding: 40px 32px 32px;max-width:100%;border-radius: 16px;box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.10);}
#mini-events .mini-events-list{flex-grow:1}
#mini-events .mini-list-loaded{display: flex!important;flex-direction:column;gap: 24px;}
#mini-events .cal-content{display:flex;min-height: 94.5px;align-items: center;}
#mini-events .cal-event{cursor:pointer;background: #fff;display: block;transition: all .3s;border-radius: 16px;box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.05);}
#department.police #mini-events .cal-event{background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.27) 55.5%, rgba(255, 255, 255, 0.00) 100%), #D9D6D6;}
#department.riverlodge #mini-events .cal-event{background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.27) 55.5%, rgba(255, 255, 255, 0.00) 100%), #F1F1F1;}

#mini-events .cal-event:last-of-type{margin-bottom: 0;}

#mini-events .cal-event .cal-event-time{display: flex;flex-direction:column;align-items: center;justify-content: center;width: 114px;text-align: center;line-height: 1.5;text-transform: capitalize;color: #fff;background: #012A41;font-size: 14px;font-weight: 400;flex-shrink: 0;border-radius: 16px 0 0 16px;min-height: 100%;align-self: stretch;transition: all .4s;}
#mini-events .cal-event .cal-event-time span{display: block;font-size: 15px;}
#mini-events .cal-event-title{color: #02334D;font-size: 16px;font-weight: 700;padding: 0 37px 0 25px;line-height: 1.5;text-align: left;text-transform: capitalize;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;word-break: break-all;}

#mini-events .cal-event:hover .cal-event-time{background: #082A33;color: #fff;}

#mini-events .tab-calendar,
#mini-events .tab-event{display: none;}
#mini-events .tab-calendar.active,
#mini-events .tab-event.active{display: block;}




@media only screen and (max-width:991px) {
    #mini-events {display: block !important;}
    #events-tabs{width: 672px;max-width: 100%;margin: 0 auto;}
    #mini-events .calendar-left{width: 672px;margin:0 auto;max-width: 100%;}

    #mini-events .calendar-right,
    #department #mini-events .calendar-right{margin: 40px 0 0 0;width: 100%;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1),
    #department .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1){left: 15px;right: 15px;}
    #homepage .fc-dayGridMonth-view,
    #department .fc-dayGridMonth-view{padding: 0;}
}
@media only screen and (max-width:767px) {
    #mini-events .cal-content{min-height: 110px;}
}

@media only screen and (max-width:479px) {
    #mini-events h2{font-size: 28px;}

    #mini-events .cal-event-time{font-size: 18px;}
	#mini-events .cal-event-title{font-size: 17px;}
    #mini-events .cal-event-info{padding: 18px 25px 18px 15px;}
}