/* Events page */
.w1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.vivenu__events {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.88rem;
    list-style: none;
    margin: 1.88rem 0;
    padding: 0;
    --bg-color: #6FA3C0;
}
.vivenu__event {
    position: relative;
    width: calc(33% - 1.125rem);
    cursor: pointer;
    border: 1px solid var(--Couleur-Neutral-Gris, #C2BECA);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.12);
}
.vivenu__events.top {
    flex-wrap: wrap;
    align-items: flex-start;
}
.top .vivenu__event {
    border: none;
}
.vivenu__events.top li:first-child:nth-last-child(1) {
/* -or- li:only-child { */
    width: 100%;
}

/* two items */
.vivenu__events.top li:first-child:nth-last-child(2),
.vivenu__events.top li:first-child:nth-last-child(2) ~ li,
.vivenu__events.top li:first-child:nth-last-child(3) ~ li,
.vivenu__events.top li:first-child:nth-last-child(4) ~ li,
.vivenu__events.top li:first-child:nth-last-child(4) {
    width: calc(50% - 1rem);
}
/* three items */
.vivenu__events.top li:first-child:nth-last-child(3) {
    width: 100%;
}
/* END Spesial position for 1 - 5 elements  */

.vivenu__event__visuel {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F2F2F2;
}
/*.vivenu__event__visuel:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    background: rgba(0, 0, 0, .3);
    transition: all .3s;
    cursor: pointer;
    z-index: 1;
}*/
.vivenu__event__visuel:hover:before {
    opacity: 1;
}
.vivenu__event__visuel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s,transform .8s;
}
.vivenu__event:hover img {
    transform: scale(1.05);
}
.vivenu__event__visuel p {
    font-family: 'Bebas Neue';
    font-size: 1rem;
    color: #DDD;
}
.vivenu__event__description {
    background: #FFF;
    padding: 1.5rem 1.5rem 2rem;
    transition: transform .5s;
}
.vivenu__event__description h3 {
    color: #000;
    font-family: 'Bebas Neue';
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}
.vivenu__event__description h3 a {
    color: inherit;
    transition: all .3s;
}
.vivenu__event:hover .vivenu__event__description h3 a,
.vivenu__event__description h3 a:hover,
.vivenu__event__description h3 a:focus {
    color: var(--hover-color);
}
.vivenu__event__description p {
    margin: 0;
}
.vivenu__event__description p:last-child,
.vivenu__eventPage p:last-child {
    margin-bottom: 0;
}
.vivenu__link {
    font-family: 'Bebas Neue', sans-serif;
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 24px;
    padding: .5rem 1.5rem;
    background-color: var(--bg-color);
    border: 2px solid var(--bg-color);
    transition: all .5s;
}
.vivenu__link:link, .vivenu__link:visited {
    color: #fff;
}
.vivenu__link:hover {
    background-color: #fff;
    color: var(--bg-color);
}
.vivenu__link:hover svg path {
    fill: var(--bg-color);
}
.vivenu__link.degrade:hover svg path {
    fill: #fff;
}
.top .vivenu__event__visuel {
    height: 450px;
}
.top .vivenu__event__visuel::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%; 
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 46.89%, rgba(0, 0, 0, 0.95) 91.33%);
    position: absolute;
    top: 0;
    left: 0;
}
.top .vivenu__event__description{
    min-height: auto;
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    background: none;
    border: none;
    padding: 0;
}
.top .vivenu__event__description h3 {
    font-size: 2.25rem;
    color: #fff;
}
.top .vivenu__event__description p {
    font-size: 1.25rem;
    color: #fff;
}
/* END events page */


.vivenu__eventPage,
.vivenu__agendaPage {
    margin: 3rem auto !important;
}
.vivenu__agendaPage h1,
.vivenu__eventPage h1 {
    color: #202020;
    font-family: 'Bebas Neue';
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 110% !important;
    margin: 0;
}
.vivenu__eventPage h2 {
    color: #202020;
    font-family: 'Montserrat';
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}
.vivenu__eventPage__content {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin: 2.5rem auto;
}
.vivenu__eventPage p {
    color: #202020;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0 0 1rem;
}
.vivenu__eventPage p a {
    text-decoration: underline;
}
.vivenu__eventPage img {
    max-width: 40%;
}
.vivenu__eventPage__btn.degrade {
    border-radius: 0;
    padding: .625rem 2rem;
}
.vivenu__eventPage__btn,
.vivenu__eventPage__btn:link,
.vivenu__eventPage__btn:visited {
    font-family: 'Bebas Neue';
    font-size: 1.5rem;
    padding: .625rem 2rem;
    border: 2px solid var(--bg-color);
    background: var(--bg-color);
    color: #fff;
    text-transform: uppercase;
    transition: all .4s;
}
.vivenu__eventPage__btn:hover,
.vivenu__eventPage__btn:focus {
    background: #FFF;
    color: var(--bg-color);
}

.vivenu__eventPage__btn.degrade:hover,
.vivenu__eventPage__btn.degrade:focus {
    background: linear-gradient(92.58deg, #FF163D 1.94%, #6503D3 96.48%);
}

.calendarLoader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.calendarLoader__spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007ABC;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Calendar */
:root {
    
    --fc-border-color: #BABABA;

    --fc-event-bg-color: transparent;
    --fc-event-border-color: transparent;
    --fc-event-text-color: #202020;
    

    --fc-button-text-color: #202020;
    --fc-button-bg-color: transparent;
    --fc-button-border-color: transparent;
    --fc-button-hover-bg-color: transparent;
    --fc-button-hover-border-color: transparent;
    --fc-button-active-bg-color: transparent;
    --fc-button-active-border-color: transparent;
    
    --fc-today-bg-color: transparent;
    /*
    --fc-small-font-size: .85em;
    --fc-page-bg-color: #fff;
    --fc-neutral-bg-color: rgba(208, 208, 208, 0.3);
    --fc-neutral-text-color: #808080;
  
    
  
    --fc-event-text-color: #fff;
    --fc-event-selected-overlay-color: rgba(0, 0, 0, 0.25);
  
    --fc-more-link-bg-color: #d0d0d0;
    --fc-more-link-text-color: inherit;
  
    --fc-event-resizer-thickness: 8px;
    --fc-event-resizer-dot-total-width: 8px;
    --fc-event-resizer-dot-border-width: 1px;
  
    --fc-non-business-color: rgba(215, 215, 215, 0.3);
    --fc-bg-event-color: rgb(143, 223, 130);
    --fc-bg-event-opacity: 0.3;
    --fc-highlight-color: rgba(188, 232, 241, 0.3);
    --fc-now-indicator-color: red; */
}
/* Calendar nav */
.fc .fc-toolbar {
    background: #F8F8F8;
    margin: 0 !important;
    padding: .625rem .625rem 1.25rem;
    border-bottom: 1px solid #202020;
}
h2.fc-toolbar-title {
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    text-transform: uppercase;
}
.fc table {
    border-collapse: separate;
    margin: 0;
}
.fc thead th {
    border: none;
}
.fc .fc-scrollgrid-liquid {
    border: none;
}
/* Calendar header */
.fc .fc-col-header {
    background: #F8F8F8;
    border-spacing: 10px;
}
.fc .fc-col-header thead th {
    background: #FFF;
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    text-transform: capitalize;
}
/* Calendar body */
.fc .fc-scrollgrid-section-liquid > td {
    border: none;
}
.fc .fc-scrollgrid-sync-table {
    border-spacing: 10px;
}
.fc-body .fc-row { min-height: 45px; }

.fc .fc-daygrid-day.fc-day-today {
    border-color: #202020;
}
.fc .fc-daygrid-day-number {
    text-align: right;
    font-family: "Bebas Neue";
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: .4;
}
.fc .fc-day-today .fc-daygrid-day-number {
    color: #202020;
}
.fc-daygrid-day-events::after, 
.fc-daygrid-day-events::before, 
.fc-daygrid-day-frame::after, 
.fc-daygrid-day-frame::before, 
.fc-daygrid-event-harness::after, 
.fc-daygrid-event-harness::before {
    display: none;
}
.fc-daygrid-day-bottom {
    display: none;
}
.fc .fc-event {
    cursor: pointer;
    padding: 5px;
    margin: 0 !important;
    background-color: transparent;
    transition: all .3s;
    white-space: normal;
    word-break: break-word;
}
.fc .fc-event-title {
    color: #202020;
    font-family: 'Montserrat';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.fc .fc-event:hover,
.fc .fc-event:focus {
    background-color: rgba(0, 128, 0, 32%);
}
/* .fc .fc-event:hover .fc-event-title,
.fc .fc-event:focus .fc-event-title {
    color: #FFF;
} */
/* .fc .fc-daygrid-day-top {
    height: 80px;
} */
.fc-daygrid-day-frame.green {
    border-bottom: 5px solid green;
}
.fc-daygrid-day-frame.yellow {
    border-bottom: 5px solid orange;
}
.fc-daygrid-day-frame.red {
    border-bottom: 5px solid red;
}
.fc-daygrid-day-frame.grey {
    border-bottom: 5px solid #d3d3d3;
}
.fc-day.disabled .fc-daygrid-day-frame {
    background-color: #EEE;
}

.calendar__section {
    position: relative;
}
.horaires {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 1;
    overflow: auto;
    display: none;
}
.horaires__header {
    background: #F8F8F8;
    padding: .625rem;
}
.horaires__header h2 {
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    border-top: 1px solid #202020;
    padding: .625rem 0;
}
.horaires__header h2::first-letter {
    text-transform: capitalize;
}
.horaires__header h3 {
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    text-transform: uppercase;
    padding-bottom: 1.25rem;
}
.horaires__close {
    color: #000;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.horaires__close:hover,
.horaires__close:focus {
    color: #007ABC;
}
.horaires__columns {
    display: flex;
    justify-content: space-between;
    gap: .625rem;
    margin-top: 1.25rem;
}
.horaires__column {
    flex: 1;
    border: 1px solid #BABABA;
    padding: .625rem;
}
.horaires h4 {
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
}
.horaires__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.horaires__column .status {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
}
.horaires__column .status--green {
    background-color: green;
}
.horaires__column .status--orange {
    background-color: orange;
}
.horaires__column .status--red {
    background-color: red;
}
.horaires__column button {
    color: #202020;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    border: 1px solid #BABABA;
    background: transparent;
    text-align: center;
    padding: 0.625rem;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: .625rem;
    gap: .625rem;
    transition: all .3s;
}
.horaires__column button:hover,
.horaires__column button:focus {
    background: #F8F8F8;
}

@media (max-width: 900px) {
    .vivenu__eventPage, 
    .vivenu__agendaPage {
        margin: 0 auto !important;
        font-size: .875rem;
    }
    .vivenu__agendaPage h1,
    .vivenu__eventPage h1 {
        font-size: 3rem !important;
    }
    .vivenu__event__visuel {
        height: 300px;
    }
    .vivenu__event__description h3 {
        line-height: 110%;
    }
    .vivenu__event__description p,
    .vivenu__eventPage p {
        font-size: .875rem;
    }
    .vivenu__events {
        gap: 1rem;
    }
    .vivenu__event {
        width: calc(33% - .75rem);
    }
    .vivenu__eventPage__content {
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .vivenu__agendaPage h1,
    .vivenu__eventPage h1 {
        font-size: 2rem !important;
        margin: 0 0 .5rem !important;
    }
    .vivenu__eventPage h2 {
        font-size: 1rem;
    }
    .vivenu__eventPage__content {
        flex-direction: column;
        margin: 1.5rem auto;
    }
    .vivenu__eventPage img {
        width: 100%;
        max-width: 100%;
        height: 250px;
        object-fit: cover;
    }
}
@media (max-width: 700px) {
    .vivenu__event {
        width: calc(50% - .5rem);
    }
    .fc .fc-event-title {
        font-size: .75rem;
    }
    .fc .fc-scrollgrid-sync-table {
        border-spacing: 5px;
    }
    .fc .fc-daygrid-day-number {
        font-size: 1.5rem;
    }
    .fc .fc-toolbar {
        padding: .625rem .625rem 0;
    }
    .fc .fc-toolbar-title {
        font-size: 1.25rem;
    }
    .fc .fc-col-header thead th {
        font-size: .875rem;
    }
    .vivenu__event__description {
        position: static;
        padding: 0.625rem 1rem;
        transform: none;
    }
    .vivenu__event__description h3 {
        font-size: 1.5rem;
    }
    .vivenu__event__visuel {
        height: 145px;
    }
    .vivenu__events.top {
        flex-direction: column;
    }
    .top .vivenu__event__visuel {
        height: 300px;
    }
    .top .vivenu__events li {
        width: 100%;
    }
    .vivenu__events.top li:first-child:nth-last-child(2),
    .vivenu__events.top li:first-child:nth-last-child(2) ~ li {
        width: 100%;
    }
    .vivenu__link.degrade {
        padding: .5rem 1rem;
    }
    .top .vivenu__event__description {
        position: static;
        padding: 1rem;
    }
    .top .vivenu__event__description h3,
    .top .vivenu__event__description p {
        color: #000;
    }
    .top .vivenu__event__description h3 {
        font-size: 1.85rem;
    }
    .top .vivenu__event__description p {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .fc .fc-daygrid-day-number {
        padding: 4px 4px 0 0;
    }
    .fc .fc-event {
        padding: 2px;
        height: 25px;
    }
    .fc .fc-daygrid-day-number {
        line-height: 1;
    }
    .fc .fc-event-title {
        opacity: 0;
        font-size: .35rem;
    }
    .vivenu__agendaPage h1,
    .vivenu__eventPage h1 {
        font-size: 2.375rem !important;
        margin: 0 0 .625rem !important;
    }
    .vivenu__eventPage h2 {
        font-size: .875rem;
    }
    .fc .fc-col-header thead th {
        background-color: transparent;
    }
    .vivenu__link {
        padding: 0.5rem 1rem;
    }
}
@media (max-width: 380px) {
    .vivenu__link svg{
        display: none;
    }
}