@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


#mini-events {
    margin-bottom: 47px;
}

.mini-events-list  {
    display: block!important;
}

#homepage .mini-calendar{
    display: block!important;
    background: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 28px 21px;
    border-radius: 0 0 8px 8px;
}
#homepage .calendar-left {margin-right: -11px;border-radius: 16px;overflow: hidden;background: #FFFFFF;}
#homepage .calendar-right  {margin-left: -11px;}

#homepage .calendar-left::after {
    content: '';
}

#homepage .calendar-left::before {
    content: '';
}

#homepage .fc-toolbar-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #1B1B1B;
    text-transform: capitalize;
    font-family: "Arimo", 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: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

#homepage .fc-icon-chevron-left:before {content: "\f104 ";display: inline-block;font-family: FontAwesome;color: #000000;font-size: 30px;}

#homepage .fc-icon-chevron-right:before {content: "\f105";display: inline-block;font-family: FontAwesome;color: #000000;font-size: 30px;}

#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: 10px;
}

#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: 16px;
    font-weight: 700;
    color: #1A1A1A;
    font-family: "Arimo", sans-serif;
    text-decoration: none;
    padding: 23px 0;
}

#homepage a.fc-daygrid-day-number {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
    font-family: "Arimo", sans-serif;
    text-decoration: none;
    pointer-events: none;
    padding: 17px 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: #1B1B1B;
    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: #D7D7E9;
}

#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: #808285;
    font-weight: 400;
    letter-spacing: -0.28px;
}

#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: #708989;
    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;
    left: 18px;
    top: 24px;
    width: calc(100% - 36px);
    display: flex;
    justify-content: space-between
}

#homepage .fc-toolbar-chunk:nth-of-type(3) {
    width: 100%;
    text-align: center;
    padding: 0 35px;
}

#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: #BC440A !important;
    font-weight: 700!important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    pointer-events: all;
    text-decoration: underline;
    text-decoration-color: #F47C43;
    text-underline-offset: 6px;
}
#homepage .day-has-event .fc-daygrid-day-top a:hover {
    color: #1E5F30 !important;
    text-decoration-color: #1E5F30 !important;
}

#homepage .day-has-event .fc-daygrid-day-top a::after {
    content: '';
    /* background: #343A57!important; */
}
#homepage .fc-daygrid-day-top a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: transparent;
    z-index: -1;
}
#homepage .day-has-event .fc-daygrid-day-top a:hover:after {
    background: #D5DBD1;
}

#homepage .event {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    cursor: pointer;
    background-color: #EFEFEF;
    border-radius: 16px;
    border: 4px solid #ffffff;
    padding: 8px 60px 8px 8px;
    height: 132px;
    transition: all 0.3s;
}

#homepage .event:hover{
    background: #D5DBD1;
}
#homepage .event:not(:last-of-type) {
    margin-bottom: 8px;
}

#homepage .event time {
    display: block;
    font-size: 16px;
    color: #1A1A1A;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 0.9;
    border-radius: 4px;
    background: var(--bluechalk);
    padding: 20px 31px;
    text-align: center;
    letter-spacing: -0.28px;
}
#homepage .event:hover time{
    background: #EFEFEF;
}
#homepage .event time span.event-num{color: #BC440A;display:block;font-size: 40px;letter-spacing: -0.8px;font-family: "Tinos", serif;margin-top: 5px;}
#homepage .event:hover time span.event-num{
    color: #1E5F30;
}
#homepage  .cal-date img {
    width: 16px;
    margin-right: 7px;
    margin-top: -2px;
}
#homepage .event:hover .cal-date img {
    filter: invert(48%) sepia(28%) saturate(1157%) hue-rotate(84deg) brightness(55%) contrast(90%);
}

#homepage .cal-date {
    color: #4D4D4D;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.28px;
    margin-bottom: 4px;
}
#homepage .event-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.48px;
    font-family: "Tinos", serif;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    line-height: 1.2;
}
#homepage .event:hover .event-title{}
#homepage  img.cal-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
}
#homepage .event:hover .cal-arrow {
    filter: invert(50%) sepia(28%) saturate(1157%) hue-rotate(84deg) brightness(48%) contrast(90%);
}
#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;}
 */

 .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: 4px;
    margin: 4px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

#tabs-button .tab {
    background: var(--bluechalk);
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    width: calc(100%/3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}
#tabs-button .tab:hover {
    background: #D5DBD1;
}
#tabs-button .tab.active {
    background: #ffffff;
    color: #1B1B1B
}

#homepage .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:first-child > button {
    opacity: 0;
}

 @media only screen and (max-width:991px){
	#homepage .event time span.event-num {font-size: 34px;}
     #homepage .event-title{font-size: 22px;}
 }
 @media only screen and (max-width:768px){
    #homepage .calendar-left { margin-right: 0;}
    #homepage .calendar-right  {margin-top: 30px;margin-left: 0;}
    #mini-events { display: block;}
    #homepage .event{height: auto;}
    #homepage .event-title{font-size: 20px;}
 }
 @media only screen and (max-width:480px){
    #homepage .mini-calendar { padding-left: 15px;padding-right: 15px;}
    #tabs-button .tab {min-height: 45px;}
 }
 @media only screen and (max-width:430px){
    #homepage a.fc-daygrid-day-number {font-size: 14px;padding: 10px 0;}
    #homepage .fc-col-header-cell a{font-size: 14px;}
    #homepage .fc-daygrid-day-top a::after {height: 100%;}
    #homepage .event-title {font-size: 16px;}
    #homepage .event {gap: 16px;}
    #homepage .event time span.event-num {font-size: 30px;}
    #homepage .event time {padding-left: 25px;padding-right: 25px;}
 }
