/*BG BLACK*/
body {
    background-color: #333333;
    color: white;
}
body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar {
    display: none;
}
.corporate--home-slideshow {
    display: none !important;
}

.agenda {
    position: relative;
}
.agenda__content__header{
    padding-top: 260px;
    position: relative;
    padding-bottom: 40px;
}
.agenda__content__header__title{
    position: relative;
    z-index: 99;
}
.layer-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.6);
}
.image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.image-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.agenda__content {
    position: relative;
    z-index: 99;
}
.agenda-items--wrapper {
    padding-top: 70px;
    padding-bottom: 90px;
    columns: 2;
    column-gap: calc(100vw * 60 / 1440);
}
.agenda-items__item {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    margin-top: -2px;
}
.agenda-items__item a {
    padding: 15px 10px 14px;
    display: flex;
}

.item__data {
    width: 20%;
}
.item__where {
    width: 15%;
}
.item__where__content {
    padding-right: 30px;
}
.item__title {
    width: 65%;
}

.whats-new {
    background-color: white;
    color: #333333;
    padding: 60px 0 90px;
}

.news-items {
    margin: 0 -5px;
}

/*GRID*/
* {
    box-sizing: border-box;
}

/* clear fix */
.grid:after {
    content: "";
    display: block;
    clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
    width: 33.33%;
}
.grid-item {
    float: left;
}
.grid-item.news-items__items-featured {
    width: 66.66%;
}

.news-items__items a {
    display: block;
    padding: 0 5px 10px;
}
.news-items__items__img {
    height: 200px;
    overflow: hidden;
}
.news-items__items__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}
.news-items__items a:hover .news-items__items__img img {
    transform: scale(1.05);
}
.news-items__items__info {
    padding: 20px;
    color: #333333;
    background: #e8e8e8;
    height: 370px;
    overflow: hidden;
    padding-bottom: 25px;
}
.news-items__title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-items__text {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-items__title--wraper {
    border-bottom: 1px solid;
    padding-bottom: 10px;
}

.news-items__text {
    margin-top: 18px;
}
.filtres--wrapper {
    margin-top: 10px;
    margin-bottom: 25px;
}
.filtres {
    display: flex;
    justify-content: flex-end;
}
.filtres > div {
    margin-left: 10px;
}

.filtres__button {
    border: 1px solid;
    color: #333333;
    padding: 17px 20px 14px;
    width: 100%;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.filtres__button svg path {
    transition: stroke 0.2s ease;
}
.filtres__button svg {
    margin-left: 12px;
    transition: transform 0.2s ease;
}
.filtres__button:hover {
    background-color: #333333;
    color: white;
}
.filtres__button:hover svg path {
    stroke: white;
}

.filtres__items {
    position: relative;
}
.filtres__list {
    padding: 0 20px 0;
    background-color: white;
    position: absolute;
    z-index: 99;
    width: 100%;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    margin-top: -1px;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition:
        padding 0.3s ease,
        visibility 0.2s ease,
        opacity 0.2s ease;
}
.filtres__items.filtres-open .filtres__list {
    padding: 5px 20px 15px;
    height: auto;
    visibility: visible;
    opacity: 1;
    transition:
        padding 0.4s ease,
        visibility 0s ease,
        opacity 0.3s ease;
}

.filtres__items.filtres-open .filtres__button {
    background-color: white;
    color: #333333;
}
.filtres__items.filtres-open .filtres__button svg path {
    stroke: #333333;
}
.filtres__items.filtres-open .filtres__button svg {
    transform: rotate(-180deg);
}

.filtres__list li.btn-filter__active {
    color: #e21b2e !important;
    opacity: 1 !important;
}

.filtres__list li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #333333;
}
.filtres__list li:last-child {
    border-bottom: 0;
}
.filtres__list li:hover {
    opacity: 0.4;
}
.filtres__button span.filtre-all {
    display: initial;
}
.filtres__button span.filtre-active-1 {
    display: none;
}
.filtres__button-filtre span.filtre-active-1 {
    display: initial;
}
.filtres__button-filtre-all span.filtre-active-1 {
    display: none;
}
.filtres__button span.filtre-active-2 {
    display: none;
}
.filtres__button-filtre span.filtre-active-2 {
    display: initial;
}
.filtres__button-filtre-all span.filtre-active-2 {
    display: none;
}

.filtres__button-filtre span.filtre-all {
    display: none;
}

.filtres__button-filtre-all span.filtre-all {
    display: initial;
}

.filtres__items {
    width: 275px;
}

.news-items__items {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.6);
}
.news-items__items.visible {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition:
        visibility 0s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
}
.news-items__items.visible-on-filtres {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1250px) {
    .news-items__items__img {
        height: calc(100vw * 200 / 1250);
    }
}

@media (max-width: 1024px) {
    .agenda-items--wrapper {
        columns: 1;
        column-gap: 0;
    }
    .draw-acf-content--title-h2 > .border-left {
        width: 60px;
    }
    .draw-acf-content--title-h2 > .text-and-right-border {
        width: calc(100% - 60px);
    }
    .whats-new {
        padding: 40px 0 90px;
    }
}

@media (max-width: 992px) {
    .grid-sizer,
    .grid-item {
        width: 50%;
    }
    .grid-item.news-items__items-featured {
        width: 50%;
    }
    .news-items__items__img {
        height: 180px;
    }
}
@media (max-width: 700px) {
    .grid-sizer,
    .grid-item {
        width: 100%;
    }
    .grid-item.news-items__items-featured {
        width: 100%;
    }
    .news-items__items__img {
        height: calc(100vw * 160 / 390);
    }
    .news-items__items__info {
        padding: 15px 15px 25px;
        height: auto;
    }
    .news-items__title--wraper {
        padding-bottom: 7px;
    }
    .news-items__text {
        margin-top: 15px;
    }
    .draw-acf-content--title-h2 > .border-left {
        width: 25px;
    }
    .draw-acf-content--title-h2 > .text-and-right-border {
        width: calc(100% - 25px);
    }
    .draw-acf-content--title-h2 > .text-and-right-border > .table > span {
        padding: 0 15px;
    }
    .agenda__subtitle {
        padding: 10px 20px 0 0;
    }
    .agenda__content__header{
        padding-top: 215px;
    }
    .agenda-items__item a {
        flex-wrap: wrap;
        align-items: baseline;
    }
    .item__data {
        width: auto;
        padding-right: 15px;
    }
    .item__where {
        width: auto;
    }
    .item__title {
        width: 100%;
        padding-top: 10px;
    }
    .agenda-items--wrapper {
        padding-top: 60px;
        padding-bottom: 70px;
    }
    .news-items__title,
    .news-items__text {
        display: inherit;
        -webkit-line-clamp: inherit;
        -webkit-box-orient: inherit;
        overflow: inherit;
    }
}

@media (max-width: 560px) {
    .filtres__button {
        white-space: nowrap;
    }
    .filtres__items {
        width: inherit;
    }
    .filtres__items.comunidades {
        margin-left: 0;
    }
    .filtres__items {
        flex: 1;
    }
    .filtres__button {
        padding: 12px 10px 8px;
    }
}
