/* -----------------------------------------

#fonts

-----------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


#mini-events {
    display: flex;
    justify-content: space-between;
    gap: 26px;
}

.calendar-left {
    width: 660px;
    text-align: start;
}

.calendar-right {
    width: 684px;
    padding-top: 0;
}

#homepage .mini-calendar {
    display: block!important;
    height: 100%;
    position: relative;
    z-index: 1;
    padding: 49px 30px 36px;
    overflow: hidden;
    border-radius: 0 20px 20px 20px;
    background: #fff;
}

#homepage .mini-calendar::after {
    content: '';
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: -1
}

#homepage .mini-calendar::before {
    content: '';
    /*! background: #002d89; */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1;
}

#homepage .fc-toolbar-title {
    text-transform: capitalize;
    color: var(--primarycolor);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family:
    "Inter", sans-serif;
    position: relative;
    top: -17px;
}

#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: 24px;
    height: 24px;
}

#homepage .fc-icon-chevron-left:before {content: "";display: inline-block;font-family: FontAwesome;color: rgb(3, 106, 18);font-size: 35px;font-weight: bold;background: url(../../../images/cal-left-arrow.png);width: 24px;height: 24px;background-size: cover;}

#homepage .fc-icon-chevron-right:before {content: "";display: inline-block;font-family: FontAwesome;color: rgb(3, 106, 18);font-size: 35px;font-weight: bold;background: url(../../../images/cal-right-arrow.png);width: 24px;height: 24px;background-size: cover;}

#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: 20px;
}

#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 {
    text-decoration: none;
    margin: 0 0 15px;
    color: var(--primarycolor);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
}

#homepage a.fc-daygrid-day-number {
    text-decoration: none;
    pointer-events: none;
    padding: 7px 0;
    margin: 1px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primarycolor);
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
}

#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: #ffffff;
    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: #3F5897;
    width: 100%;
    height: 34px;
    border-radius: 0;
}

#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: var(--darkgray);
    font-weight: 500;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {
    margin-right: 4px;
    margin-top: 15px;
    background: #708989;
    padding: 0 5px;
    border-radius: unset;
    line-height: 1.2;
    height: 24px;
    /* position: absolute; */
    /* left: 42%; */
    /* top: auto; */
    bottom: -420px;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {
    position: absolute;
    left: 23px;
    top: 45px;
    width: 92.5%;
    display: flex;
    justify-content: space-between;
    right: 20px;
}

#homepage .fc-toolbar-chunk:nth-of-type(3) {
    width: 100%;
    text-align: center;
    padding: 0 50px;
}

#homepage .fc-toolbar-chunk .fc-dayGridMonth-button {
    background: #708989!important;
    padding: 0 5px;
    /* position: absolute; */
    /* right: 17px; */
    margin: 15px 20px 0 0;
    /* border: none; */
    /* border-radius: 0; */
    height: 24px;
    /* left: 53%; */
    /* top: auto; */
    /* bottom: -420px; */
}

#homepage .day-has-event .fc-daygrid-day-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    pointer-events: all;
    text-decoration: none;
    color: var(--white);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration-line: none;
    background: var(--brandcolor);
}

#homepage .day-has-event .fc-daygrid-day-top a::after {
    content: '';
    /* background: #1441A6; */
}
#homepage .fc-daygrid-day-top a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: auto;
    /*! background: #FFF; */
    border-radius: 0;
    z-index: -1;
}
#homepage .day-has-event .fc-daygrid-day-top a:hover {
    opacity: 1
}

#homepage .mini-list-loaded {
    display: block!important;
}

#homepage .event {
    position: relative;
    cursor: pointer;
    background-color: var(--brandcolor);
    padding: 10px 29px;
    height: 159px;
    display: flex;
    column-gap: 31px;
    align-items: center;
    border-bottom: 4px solid var(--accentcolor);
    transition: .3s all;
}
#homepage .event:hover{background-color:#759CD3;border-bottom: 4px solid var(--accectdarkcolor);}
/* #homepage .event:hover .event-title{text-decoration:underline;} */
/* #homepage .event .event-arrow{position: absolute;right: -12px;top: 50%;transform: translateY(-50%);background: #002D89;width: 38px;height: 38px;border-radius: 50%;border: 2px solid #ffffff;opacity: 0;transition: all 0.3s;}
#homepage .event .event-arrow:before{content: "";position: absolute;right: 4px;top: 50%;transform: translateY(-50%);background: url(../../../images/angle-right.png);background-size: contain;background-repeat: no-repeat;width: 20px;height: 20px;}
#homepage .event:hover .event-arrow {
    opacity: 1;
    right: -19px;
} */

.fc .fc-daygrid-day-frame {
    margin-bottom: 13px;
}



#homepage .event:not(:last-of-type) {
    margin-bottom: 12px;
}

#homepage .event time {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 0;
    min-width: 60px;
    height: 135px;
    align-items: center;
    padding: 0;
    justify-content: center;
    
/* Body/Regular Bold */
     /* 24px */
    border-radius: 0;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    margin: 0 0 -14px;
}

#homepage .event-num {
    text-transform: capitalize;
    color: #fff;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: "Work Sans", sans-serif;
}

#homepage .event-title-time-wrap {
    align-self: flex-end
}

#homepage .event-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-transform: capitalize;
    word-break: break-all;
    color: var(--white);
/* Header/Header 6 Bold */
    font-family: 'Inter';
    font-size: 20px;
    font-weight: 700;
    line-height: 24px; /* 24px */
    text-decoration: none;
    position: relative;
    top: 1px;
}


#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}

.cal-event-time {
    color: #3F5897;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 6px;
}

.cal-event-time img{width: 14px;position: relative;top: -1px;margin-right: 10px;}
span.event-month {position: relative;top: -10px;left: 1px;}

/* .fc-button-group ~ .fc-today-button,
.fc-button-group ~ .fc-dayGridMonth-button{display: none;}
 */


 @media(min-width:992px) and (max-width:1199px) {
    .calendar-left {width: 50%;}
    .calendar-right {width: 50%;}
 }

 /* @media only screen and (max-width:1048px){
    .calendar-right {width: 480px;}
 }

 @media only screen and (max-width:1048px){
    .calendar-right {width: 100%;}
 }

 @media only screen and (max-width:1000px){
   .calendar-left {width: 450px;}
 } */

 @media only screen and (max-width:991px){
    #mini-events {flex-wrap: wrap;/*! flex-direction: column-reverse; */}
    .calendar-left {width: 100%;}
    #homepage .event .event-arrow{display: none;}
    #homepage .fc-toolbar-title {font-size: 24px;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {left: 0;top: 45px;width: 100%;}
    #homepage .mini-calendar {padding: 49px 0 36px;}
    #homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a::after {width: 100%;height: 100%;}
    .calendar-right {padding: 0;width: 100%;}
    #homepage .event:not(:last-of-type) {margin-bottom: 25px;}
    #homepage .event time{font-size:20px;min-width:100px;}
    #homepage .event time span{font-size:20px;}
    #homepage .event {padding: 10px 15px;column-gap: 15px;}
 }

 @media only screen and (max-width:575px){
   .calendar-right {max-width: 100%;width: 100%;}
 }

 @media only screen and (max-width:460px){
    #homepage a.fc-daygrid-day-number {padding: 12px 0;}
    #homepage .fc-daygrid-day-top a::after {width: 35px;height: 33px;}
    #homepage .fc-toolbar-title {font-size: 18px;margin: 3px 0;}
    #homepage .event-title{font-size: 16px;}
 }
 @media only screen and (max-width:390px){
    #homepage .fc-daygrid-day-top a::after {width: 33px;}
    #homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {width: calc(100% - 50px);left: 25px;}
    #homepage .fc-col-header-cell a,#homepage a.fc-daygrid-day-number{font-size: 12px;}
    #homepage .fc-toolbar-title {margin-bottom: 5px;}

 }
