#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;flex: 1;height: 475px;overflow-y: auto;direction: rtl;padding: 4px 0 0 45px;}
#department #mini-events .calendar-right{margin:0;}
#mini-events .calendar-right #events-tabs{width: 100%;}
#mini-events .mini-calendar{}
#mini-events .calendar-left {flex: 1.2;max-width:100%;position: relative;z-index: 1;}
#mini-events .calendar-right::-webkit-scrollbar {width: 5px;background:#d0d0d0;border-radius: 6px;} 
#mini-events .calendar-right::-webkit-scrollbar-thumb {background: #215D77;border-radius: 6px;}  




/* 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 {font-size: 24px;font-weight: 700;color: #173C4C;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;height: auto;line-height: 1;}
#homepage .fc-icon-chevron-left:before ,
#department .fc-icon-chevron-left:before {content: "\f0d9";font-family: 'FontAwesome';display: inline-block;line-height: 1;height: auto;}
#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;border-radius: 4px;background: rgba(23, 60, 76, 0.15) !important;font-size: 15px;width: 32px;height: 32px;color: #173C4C !important;}
#homepage .fc-button-group button:hover,
#department .fc-button-group button:hover {background: #B16106 !important;color: #fff !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: 21px;}
#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: #173C4C;text-transform: capitalize;text-decoration: none;margin: 0 0 27px;}

#homepage a.fc-daygrid-day-number,
#department a.fc-daygrid-day-number {font-size: 16px;font-weight: 600;color: #242d2e;text-decoration: none;pointer-events: none;padding: 15px 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: #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 !important;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: 38px;height: 38px;background: transparent;border-radius: 50%;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: 38px;height: 38px;background: #173C4C;border-radius: 50%;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: #757575;}
#homepage .fc-toolbar-chunk:nth-of-type(1),
#department .fc-toolbar-chunk:nth-of-type(1) {position: absolute;bottom: -29px;left: 0;width: 100%;display: flex;justify-content: flex-end}
#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: fixed;left: 13px;right: 13px;top: 0;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}

#mini-events .fc-toolbar-chunk{display: flex !important;justify-content: center !important;text-align: center !important;padding:10px 0 0 0;}
#mini-events .fc-toolbar-chunk .fc-button:not(.fc-prev-button, .fc-next-button){font-size: 16px;border:0 !important;border-radius: 10px;padding:0 20px;margin: 0;}
#mini-events .fc-toolbar-chunk .fc-button.fc-dayGridMonth-button{background: rgba(23, 60, 76, 0.15) !important;border-radius: 0px 15px 15px 0px;color: #173C4C !important;font-weight: 700;font-size: 14px;line-height: 30px;}
#mini-events .fc-toolbar-chunk .fc-button.fc-today-button {background: #173C4C !important;opacity: 1 !important;border-radius: 15px 0px 0px 15px;font-size: 14px;font-weight: 700;line-height: 30px;}


#homepage .day-has-event .fc-daygrid-day-top a,
#department .day-has-event .fc-daygrid-day-top a {color: #fff!important;font-weight: 600;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: 45px;justify-content: space-between;background: #fff;border-radius: 0px 0px 25px 25px;padding: 50px;}
#mini-events .calendar-right #events-tabs{margin:0 0 24px 0;}


/* 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;max-width:100%;padding: 5px 0;transform: rotate(0deg);}
#mini-events .mini-events-list{flex-grow:1}
#mini-events .mini-list-loaded{display: flex!important;flex-direction:column;gap: 35px;}
#mini-events .cal-content{display:flex;min-height: 90px;align-items: center;}
#mini-events .cal-event{cursor:pointer;background: #fff;display: block;transition: all .3s;border-radius: 10px;position: relative;}

#mini-events .cal-event::after{content: "\f105";font-family: 'FontAwesome';position: absolute;top: 50%;right: 20px;transform: translateY(-50%);font-size: 24px;color: #373737;font-weight: 900;display: none;}

#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: 75px;height: 75px;text-align: center;line-height: 1.2;text-transform: uppercase;color: #fff;background: #173C4C;font-size: 16px;font-weight: 400;flex-shrink: 0;border-radius: 50%;transition: all .4s;outline: 10px solid transparent;}

#mini-events .cal-event .cal-event-time span{display: block;font-size: 28px;font-weight: 800;}
#mini-events .cal-event-info{padding: 0 24px;}
#mini-events .cal-event-title{color: #173C4C;font-size: 18px;font-weight: 800;line-height: 1.5;text-align: left;text-transform: capitalize;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;word-break: break-all;}
#mini-events .cal-event-date{display: flex;align-items: center;gap:5px; color: #242d2e;font-size: 16px;font-weight: 600;line-height: 1.5;text-align: left;text-transform: capitalize;}
#mini-events .cal-event-date span{color: #00704a;}
#mini-events .cal-event-desc{color: #242d2e;font-size: 16px;font-weight: 600;line-height: 1.5;text-align: left;text-transform: capitalize;}

#mini-events .cal-event:hover .cal-event-time{outline-color: rgba(30, 106, 138, 0.15);background:#1E6A8A;}



#mini-events .tab-calendar,
#mini-events .tab-event{display: none;direction: ltr;}
#mini-events .tab-calendar.active,
#mini-events .tab-event.active{display: block;}




@media only screen and (max-width:991px) {
    #mini-events {display: block !important;}
    #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%;padding: 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;}


    #mini-events{padding: 50px 20px;}

}
@media only screen and (max-width:767px) {
    #mini-events .cal-event-date{font-size: 14px;}
}

@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;}
}