#event-modal .modal-footer{gap:5px;}

#event-modal .modal-footer .btn{color: #fff !important;}
#event-modal .modal-footer .btn:hover{color: #000 !important;}

#mini-events .calendar-wrap{display:flex;justify-content:space-between;gap: clamp(20px, 5vw, 96px);}
#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: 530px;}




/* Calendar Grid Styles */
.fc-daygrid-body,
.fc-col-header {width: 100% !important;}
table.fc-scrollgrid-sync-table{width:  100% !important;}


#mini-events .fc-scrollgrid-section-header  .fc-scroller-harness {background:#25a4b1;border-radius: 0 0 10px 10px;padding: 0 26px;}
#mini-events .fc-daygrid-body{padding: 16px 31px;}


#homepage .fc-toolbar-title,
#department .fc-toolbar-title {font-size: 24px;font-weight: 800;color: #fff;text-transform: uppercase;}
#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}
#homepage .fc-icon-chevron-right:before,
#department .fc-icon-chevron-right:before {content: "\f0da";font-family: 'FontAwesome';display: inline-block;}
#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: #F2F2F2 !important;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;background: #00509d;border-radius: 10px 10px 0 0;padding: 26px 0;margin: 0;}
#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: 700;color: #fff;text-transform: capitalize;text-decoration: none;padding: 9px 0;}

#homepage a.fc-daygrid-day-number,
#department a.fc-daygrid-day-number {font-size: 16px;font-weight: 400;color: #1B1B1B;text-decoration: none;pointer-events: none;padding: 7px 0;width: 50px;height: 35px;max-width: 100%;display: block;margin: 0 auto 19px;text-align: center;background: #fff;border-radius: 5px;}
#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: #fff}
#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: #000;font-weight: 700;display: flex;align-items: center;justify-content: center;min-height: 100%;text-decoration: none;background: #8bc53f !important;}
#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: #F2F2F2;border-radius: 4px;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: var(--primary-color, #0A485C);border-radius: 4px;opacity:1;z-index: -1;display: none;}
#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: #757575;}
#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: #265A49 !important;padding: 0 5px;position: absolute;top: 0;right: 17px;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 {background:#25a4b1 !important;color: #fff !important;font-weight: 700;display: flex;align-items: center;justify-content: center;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;flex-direction: row-reverse;justify-content: space-between;}
#mini-events .calendar-right{position: relative;width: 536px;background: #f0f6f7;border-radius: 10px;}
#mini-events .mini-list-loaded::-webkit-scrollbar {width: 10px;background:#c7dce2;border-radius: 6px;} 
#mini-events .mini-list-loaded::-webkit-scrollbar-thumb {background: #00509d;width:8px;border-radius: 6px;}  




/* Calendar Events Style */
#mini-events .calendar-wrap{display:flex;justify-content:space-between}
#mini-events .mini-calendar{display: block !important;width: 100%;background: #f0f6f7;position:relative;padding: 11px 10px;max-width:100%;border-radius: 10px;}
#mini-events .mini-events-list{flex-grow:1}
#mini-events .mini-list-loaded{display: block!important;height:100%;overflow-y: auto;height: 479px;padding:10px 15px;}
#mini-events .cal-content{padding: 20px;position: relative;}
#mini-events .cal-event:not(:first-of-type) .cal-content::after{content:"";position: absolute; top:0;left: 0;width: 100%;background:rgb(69, 140, 158, 0.502);height: 2px;}
#mini-events .cal-event{cursor:pointer;display: block;transition: all .3s;border-radius: 10px;}
#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: block;color: #00509d;font-size: 12px;font-weight: 700;}
#mini-events .cal-event .cal-event-time span{display: block;font-size: 24px;font-family: "Kaisei HarunoUmi", serif;}
#mini-events .cal-event-title{color: #2f2f2f;font-size: 18px;font-weight: 600;text-align: left;text-transform: capitalize;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;/* word-break: break-all; */display: block;margin: 5px 0 0 0;}

#mini-events .cal-event:hover{box-shadow: 0px 4px 20px 0px rgba(44, 44, 44, 0.29);}
#mini-events .cal-event:hover .cal-content::after{opacity: 0;}
#mini-events .cal-event:hover + .cal-event .cal-content::after{opacity: 0;}
#mini-events .cal-event:hover .cal-event-time{color: #8bc53f;}


#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:1100px) {
    #mini-events {display: block !important;}
    #mini-events .calendar-left{width: 672px;margin:0 auto;max-width: 100%;}
    #mini-events .calendar-right{width: 100%;}
    
}
@media only screen and (max-width:991px) {

    #mini-events .fc-daygrid-body{padding: 16px 0;}

    #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;}
}