@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


#mini-events {
    display: block;
    background: unset!important;
}
div#mini-events .tab-ctn {
    background: #D0E6EB;
    border-radius: 0 0 8px 8px;
}
.mini-events-list  {
    display: block!important;
    margin-top: 24px;
    margin-bottom: 31px;
}

#homepage .mini-calendar{
    display: block!important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 29px 20px 27px;
    background: #ffffff;
}
#homepage .calendar-left {padding: 96px 118px 96px 0;margin-right: -15px;position: relative;z-index: 0;}
#homepage .calendar-right  {padding: 95px 0 100px 49px;}

#homepage .calendar-left:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 62, 97, 0.80);
    z-index: -1;
}

#homepage .fc-toolbar-title {
    color: #000;
    font-family: "Bebas Neue", serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}

#homepage .fc-prev-button, #homepage .fc-next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D1E1EA!important;
    border-color: transparent;
    padding: 0;
    height: 58px;
    width: 40px;
}

#homepage .fc-prev-button .fc-icon, #homepage .fc-next-button .fc-icon {
    vertical-align: unset;
    font-size: unset;
    width: 30px;
    height: 30px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

#homepage .fc-icon-chevron-left:before {content: "\f0d9";display: inline-block;font-family: FontAwesome;color: #000000;font-size: 22px;}

#homepage .fc-icon-chevron-right:before {content: "\f0da";display: inline-block;font-family: FontAwesome;color: #000000;font-size: 22px;}

#homepage .fc-button-group {
    display: none
}

#homepage .fc-button-group button {
    border-radius: unset;
    flex: unset;
    transition: 0.3s;
}
#tabs-button .tab:not(.active):hover {
    border-color: #FFCC00;
}

#homepage .fc-prev-button:hover, #homepage .fc-next-button:hover {
    background: #016AAC!important;
}

#homepage .fc-prev-button:hover .fc-icon-chevron-left:before, #homepage .fc-next-button:hover .fc-icon-chevron-right:before {
    color: #ffffff;
}
.fc .fc-scrollgrid-section-header>th {
    background: transparent;
}

#homepage .fc-toolbar.fc-header-toolbar {
    margin-bottom: 22px;
}

#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 {
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    font-family: "Bebas Neue", serif;
    padding: 9px 0;
    text-transform: uppercase;
}

#homepage a.fc-daygrid-day-number {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    pointer-events: none;
    padding: 16px 0;
    margin: 1px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#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) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    text-decoration: none;
    font-weight: 700;
}

#homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a::after {
    background: #FFCC00 !important;
    opacity: 1;
}

#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(0, 0, 0, 0.60);
    font-weight: 400;
}

#homepage .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 {
    margin-right: 75px;
    background: tan;
    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) {
    position: absolute;
    right: 40px;
    top: 32px;
    display: flex;
    justify-content: space-between;
    gap: 3px;
}

#homepage .fc-toolbar-chunk:nth-of-type(3) {
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

#homepage .fc-toolbar-chunk .fc-dayGridMonth-button {
    background: #708989!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 {
    color: #016AAC!important;
    font-weight: 700!important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    text-decoration: none;
    pointer-events: all;
    text-decoration: underline;
}

#homepage .day-has-event .fc-daygrid-day-top a::after {
    background: #D1E1EA !important;
}
#homepage .fc-daygrid-day-top a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 47px;
    height: 47px;
    background: transparent;
    z-index: -1;
    border-radius: 30px;
    transition: all 0.3s;
    opacity: 0;
}

#homepage .day-has-event .fc-daygrid-day-top a:hover:after {
    opacity: 1
}

#homepage .event {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    height: 120px;
    background: #ffffff;
    transition: 0.3s;
    z-index: 0;
    overflow: hidden;
}

#homepage .event:hover {
    border-color: #155EA1;
}
#homepage .event:not(:last-of-type) {
    margin-bottom: 12px;
}

#homepage .event time {
    display: grid;
    align-content: center;
    font-size: 24px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Bebas Neue", serif;
    background: var(--lightred);
    text-align: center;
    min-width: 100px;
    width: 100px;
    height: 100%;
    padding: 5px;
    transition: 0.3s;
}

#homepage .event time span.event-num{display:block;font-size: 48px;margin-top: 12px;line-height: 0.8;}

#homepage .event-title {
    font-size: 20px;
    font-weight: 600;
    color: #303649;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    transition: 0.3s;
    padding-right: 20px;
}
#homepage .event:hover:before {
    background: rgba(0, 0, 0, 0.80);
}

#homepage .event:hover time {
    background: #016AAC;
}

#homepage .event:hover .event-title {text-decoration: underline;}
#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}


/* .fc-button-group ~ .fc-today-button,
.fc-button-group ~ .fc-dayGridMonth-button{display: none;}
 */
.calendar-box {
    border-radius: 8px;
}
.mini-events-list.mini-list-loaded h3 {color: #000919;font-size: 20px;font-weight: 700;letter-spacing: 1px;text-transform: uppercase;text-align: center;}
#tabs-button {display: flex;gap: 8px;margin-bottom: 8px;}
#tabs-button .tab {color: #ffffff;font-size: 16px;font-weight: 700;text-align: center;cursor: pointer;flex: 1;display: flex;align-items: center;justify-content: center;min-height: 51px;padding: 10px;border: 2px solid #ffffff;transition: all 0.3s;}
#tabs-button .tab.active {background: rgba(255, 255, 255, 0.20)}
#tabs-button .tab.active {background: rgba(255, 255, 255, 0.20);}
#homepage .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:first-child > button {opacity: 0;}
.tab-calendar:not(.active) {display: none;}
.tab-event:not(.active) {display: none;}
#mini-events h2 {font-size: 80px;}

tr.fc-scrollgrid-section.fc-scrollgrid-section-header.fc-scrollgrid-section-sticky .fc-scroller-harness {background: #d1e1ea;margin: 0 -20px;padding: 0 30px;}
.calendar-left .title {display: none;}

@media only screen and (max-width:1400px){
    #homepage .calendar-left { padding-right: 65px;}
}
@media only screen and (max-width:1140px){
    #homepage .fc-daygrid-day-top a::after {min-width: 38px;}
}
@media only screen and (max-width:1100px){
    #homepage .mini-calendar {padding-left: 15px;padding-right: 15px;}
    #homepage .fc-daygrid-day-top a::after {min-width: 30px;}
}

 @media only screen and (max-width: 991px){
    #homepage .event {gap: 22px;}
    #homepage .mini-calendar {padding-left: 15px;padding-right: 15px;}
    #homepage .fc-col-header-cell a {padding: 18px 0;}
    #tabs-button .tab {font-size: 16px;min-height: 60px;}
    #homepage .calendar-left {padding-right: 15px;padding-top: 70px;padding-bottom: 70px;margin: 0 -15px!important;}
    #homepage .calendar-right {padding-left: 0;padding-top: 60px;padding-bottom: 80px;}
    .calendar-left .title {display: block;text-align: center;margin-bottom: 15px;}
    .calendar-left .title h2{color: #ffffff;}
    .calendar-right .title {display: none;}
 }
 @media only screen and (max-width:768px){
    #homepage .calendar-left {width: unset;}
    #homepage .calendar-right {width: 100%;}
    #mini-events {display: block;padding: 0;}
    #homepage .fc-daygrid-day-top a::after {height: 50px;padding-bottom: 0;/* margin-top: -2px; */}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {top: 32px;}
    .calendar-right .title {display: none;}
    #homepage .event-title {font-size: 18px;}

}
 @media only screen and (max-width:440px){
    #homepage a.fc-daygrid-day-number {font-size: 14px;padding: 9px 0;}
    #homepage .fc-col-header-cell a{font-size: 20px;}
    #homepage .event {gap: 15px;height: 100px;}
    #homepage .event-title {font-size: 18px;}
    #homepage .fc-daygrid-day-top a::after {padding-bottom: unset;margin-top: 0px;min-width: unset;min-height: unset;width: 36px;height: 36px;}
    #homepage .fc-toolbar-title {font-size: 36px;}
    #tabs-button .tab {font-size: 16px;min-height: 50px;}
    #homepage .fc-prev-button, #homepage .fc-next-button {height: 43px;}
    #homepage .fc-icon-chevron-right:before,#homepage .fc-icon-chevron-left:before {font-size: 20px;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {top: 29px;right: 25px;}
    #homepage .fc-toolbar-chunk:nth-of-type(3){padding: 0 12px;}
    tr.fc-scrollgrid-section.fc-scrollgrid-section-header.fc-scrollgrid-section-sticky .fc-scroller-harness{padding: 0 15px;}
    #homepage .event time{min-width: 86px;width: 86px;}
    #homepage .event time span.event-num{font-size: 45px;}
}


