/* -----------------------------------------
#fonts
-----------------------------------------*/


#mini-events {
    display: flex;
    justify-content: space-between;
    /* gap: 96px; */
}

.calendar-left {
    text-align: start;
    margin: 0;
}

.calendar-right {
    width: 532px;
    padding-top: 0;
    position: relative;
    top: -53px;
}

#homepage .mini-calendar {
    display: block!important;
    position: relative;
    z-index: 1;
    padding: 25px 17px 20px 13px;
    /*! overflow: hidden; */
    background: #fff;
    width: 600px;
    border-radius: 25px;
    height: 580px;
}



#homepage .fc-toolbar-title {
    text-align: center;
    position: relative;
    
/* Header/Header 5 Bold */
    
    
     /* 28.8px */
    top: 10px;
    margin: 20px 0 10px;
    font-style: normal;
    line-height: normal; /* 36.4px */
    font-size: 30px;
    color: rgb(30, 43, 74);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    left: 1px;
    z-index: 9;
}

#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: 14px; */
    /* height: 14px; */
}

#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.png);width: 15px;height: 22px;background-size: 100%;background-repeat: no-repeat;}

#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.png);width: 15px;height: 22px;background-size: 100%;}

#homepage .fc-button-group {
    display: none
}

#homepage .fc-button-group button {
    border-radius: unset;
    flex: unset;
    box-shadow: none;
    filter: grayscale(1);
}

#homepage .fc-button-group button:hover{filter: grayscale(0);}

#homepage .fc-button-group button:focus{box-shadow: none;}

.fc .fc-scrollgrid-section-header>th {
    background: transparent;
}

#homepage .fc-toolbar.fc-header-toolbar {
    margin-bottom: 26px;
}

#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: 48px 0 0px;
    
    
     /* 21.6px */
    text-transform: capitalize;
    color: var(--dark-gray);
/* body/p lg */
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal; /* 28.6px */
    text-transform: uppercase;
}

#homepage a.fc-daygrid-day-number {
    text-decoration: none;
    pointer-events: none;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: normal;
    color: var(--dark);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

#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 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-height: 100%;
    text-decoration: none;
    background: var(--blue) !important;
    position: relative;
    top: 10px;
    border-radius: 50%;
    border: 3px solid var(--white);
    color: var(--white);
    background: var(--red);
}

#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: #707070;
    font-weight: 500;
    
/* Body/Caption Norm */
    
     /* 18.9px */
}

#homepage .fc-toolbar-chunk:nth-of-type(1) {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 99;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-today-button {
    margin-right: 0;
    /*! margin-top: 15px; */
    background: #708989;
    padding: 0 5px;
    border-radius: unset;
    line-height: 1.2;
    height: 40px;
    /* position: absolute; */
    /* left: 42%; */
    /* top: auto; */
    bottom: -420px;
    width: 102px;
    border-radius: 25px 0 0;
}

#homepage .fc-toolbar-chunk:nth-of-type(1) .fc-button-group:nth-of-type(1) {
    column-gap: 10px;
    position: absolute;
    left: 20px;
    top: 80px;
    width: 94%;
    display: flex;
    justify-content: space-between;
}

#homepage .fc-toolbar-chunk:nth-of-type(3) {
    width: 100%;
    text-align: center;
    padding: 0 50px;
    background: var(--brand);
    border-radius: 70px 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

#homepage .fc-toolbar-chunk .fc-dayGridMonth-button {
    background:var(--blue) !important;
    padding: 0 5px;
    /* position: absolute; */
    /* right: 17px; */
    margin: 0 20px 0 0;
    /* border: none; */
    /* border-radius: 0; */
    height: 40px;
    /* left: 53%; */
    /* top: auto; */
    /* bottom: -420px; */
    width: 102px;
    border-radius: 0 25px 0 0;
    border: 0;
}

#homepage .day-has-event .fc-daygrid-day-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    min-height: 100%;
    pointer-events: all;
    text-align: center;
    color: #ffffff;
}

#homepage .day-has-event .fc-daygrid-day-top a::after{content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: -1;background: var(--red);width: 39px;height: 39px;border-radius: 50%;}



#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;
    padding-left: 0;
    margin-top: 0;
    padding-right: 0;
}

#homepage .event {
    position: relative;
    cursor: pointer;
    column-gap: 0;
    align-items: center;
    transition: .3s all;
    width: 100%;
    padding: 0 35px 0 95px;
    background: var(--white);
/* body/p lg */
    font-size: 20px;
    font-style: normal;
    line-height: 24px; /* 28.6px */
    height: 105px;
    border-radius: 25px;
    display: flex;
    color: var(--dark-gray);
    font-weight: 700;
}
#homepage .event:hover .button.read-more{height: calc(100% + 1px);}
#homepage .event:hover .event-title{/* color: var(--green); */}

.fc .fc-daygrid-day-frame {
    margin: 0 auto 2px;
    padding: 0 11px;
    min-height: 60px;
}

#homepage .event:not(:last-of-type) {
    margin-bottom: 52px;
}

#homepage .event time {
    padding: 0;
    position: absolute;
    margin: 0;
    padding-top: 0;
    transition: .3s all;
    font-style: normal;
    line-height: 130%; /* 20.8px */
    letter-spacing: -0.16px;
    width: 103px;
    height: 103px;
    background: var(--red);
    border-radius: 50%;
    font-size: 25px;
    font-family: "Poppins";
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    /* top: 0; */
    display: flex;
    justify-content: center;
    flex-direction: column;
    outline: 15px solid transparent;
    transition: .3s all;
}

#homepage .event:hover time{outline: 12px solid rgba(237, 29, 37, .5);}




.time-wrap {
    background: rgba(237, 29, 37, 0);
    z-index: 1;
    position: absolute;
    display: flex;
    min-width: 98px;
    height: 98px;
    margin: 0 auto;
    border-radius: 50%;
    transition: .3s all;
    left: -40px;
    justify-content: center;
    align-items: center;
}

#homepage .event .time-wrap {background: rgba(237, 29, 37, 0);}

#homepage .event:hover .time-wrap {background: rgba(237, 29, 37, .5);}

#homepage .event:hover time{background: var(--blue);}

#homepage .event:hover .more span{background: var(--blue);}

#homepage .event-num {
    text-transform: capitalize;
    position: relative;
    font-size: 35px;
}

#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: #3f59a840;
}

#calendar td.fc-day-today a {
    color: #fff
}

#ics-export {
    margin-top: 4px
}

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-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;text-align: center;
/* Body/Paragraph Norm */ /* 21.6px */}


#mini-events .fc-scrollgrid-section-header .fc-scroller-harness {
    background: var(--matblue);
    border-radius: 10px;
    border: 3px solid var(--lightblue);
    padding: 0;
    margin: 0 0 11px;
}

.cal-more{
    color: #146F51;
    font-family: "Playfair", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: -0.16px;
    text-transform: uppercase;
}

.event-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    /* margin-bottom: 15px; */
}

#cal_btns {
    margin: 57px 0 0;
    position: relative;
    left: -25px;
}

.calendar-box .fc .fc-button:disabled {
    opacity: 1;
  }

@media (min-width:1200px) and (max-width:1367px){
#mini-events {gap: 25px;}
.calendar-wrap{padding: 25px;}
#homepage .mini-list-loaded {width: 100%;}
#welcome .container {left: 0;}
.welcome-card {padding: 20px;}
#slider .tns-controls {z-index: 99;}
#homepage .site-news .tns-controls {right: 0;left: 0;margin: 0;}
.site-qlinks .container {width: 1180px;}
#slider .container {width: 1170px;}
.site-header[mega] #nav > li > ul {width: 1000px;}
}

@media (min-width:992px) and (max-width:1367px){
#homepage .mini-list-loaded {width: 100%;}
#mini-events {gap: 25px;}
/* .tab-calendar {width: 510px;} */

#homepage .mini-list-loaded {    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #homepage .mini-calendar {
    width: 100%;
  }

  .calendar-left{width: 46%;}
  .calendar-right{width: 46%;}

  #homepage .event:not(:last-of-type) {
    margin-bottom: 25px;
    padding-bottom: 12px;
  }
  #homepage .event time {margin: 0 0 5px;}
  #homepage .day-has-event .fc-daygrid-day-top a::after {
    width: 54px;
    height: 54px;}


    .time-wrap {
        min-width: 100px;
        height: 100px;
        left: -20px;
        top: 5px;
        }

}

 @media only screen and (max-width:991px){
    #mini-events {flex-wrap: wrap;gap: 30px;}
    .calendar-left {width: 100%;order: 2;}
    #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: 20px;top: 75px;width: 90%;}
    #homepage .mini-calendar {padding: 50px 15px;width: 100%;height: auto;padding-bottom: 0;}
    /* #homepage .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-top a::after {width: 100%;height: 100%;} */
    .calendar-right {padding: 0;width: 100%;top: 0;}
    #homepage .event:not(:last-of-type) {margin-bottom: 25px;/*! padding: 15px; */}
    #homepage .event time{font-size:20px;min-width:70px;margin: 0;width: 105px;height: 105px;}
    /* #homepage .event time span{font-size:14px;} */
    #homepage .event {column-gap: 10px;padding: 0;background: var(--white);padding: 15px 45px 15px 105px;border-radius: 55px 15px 15px 55px;}
    .site-events .button.read-more {width: 30px;height: 30px;right: 0;}
    #homepage a.fc-daygrid-day-number{padding: 7px 17px;}
    #homepage .fc-col-header-cell a {margin: 0 0 5px;}
    #homepage .fc-toolbar.fc-header-toolbar {margin-bottom: 25px;}
    #homepage .fc-toolbar-title::after {width: 180px;bottom: -8px;}
    #homepage .day-has-event .fc-daygrid-day-top a::after {width: 44px;height: 44px;}

    .calendar-wrap {padding: 0;}
    #homepage .mini-list-loaded {width: 100%}
    #homepage .mini-list-loaded {width: 100%;direction: unset;padding: 0;}
    .time-wrap{position:static;width: 98px;height: 98px;left: 0;position: absolute;}
    #cal_btns {position: static;text-align: center;}
    #homepage .site-news .news-box {padding: 0;}
    .event-data {word-break: break-word;}
    
 }

 @media only screen and (max-width:575px){
   .calendar-right {max-width: 100%;width: 100%;top: 0;margin-bottom: 140px;}
   #homepage .mini-list-loaded{width: 100%;margin: 0;padding: 0;}
 }

 @media only screen and (max-width:460px){
    #homepage .fc-daygrid-day-top a::after {width: 35px;height: 33px;}
    #homepage .fc-toolbar-title {font-size: 18px;margin: 25px 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: 100%;left: 0;}
    #homepage .fc-toolbar-title {margin-bottom: 5px;}

 }
