/* NEWS */
#news-page .filters {
    margin-top: 60px;
    box-shadow: 0px 1px 10px rgb(0 0 0 / 6%), 0px 4px 5px rgb(0 0 0 / 6%), 0px 2px 4px rgb(0 0 0 / 10%);
    position: relative;
    display: flex;
    flex-flow: row nowrap;
}

#news-page .filters .filter-date-text,
#news-page .filters .filter-thematique-text,
#news-page .filters .filter-theme-text,
#news-page .filters .filter-energy-source-text,
#news-page .filters .filter-sector-text {
    width: 100%;
    cursor: pointer;
    padding: 20px 0;
    border: 1px solid var(--grey200);
    text-align: center;
    font-size: 16px;
    color: var(--black);
    background-color: var(--white);
}
#news-page .filters .filter-date-text.show,
#news-page .filters .filter-thematique-text.show,
#news-page .filters .filter-theme-text.show,
#news-page .filters .filter-energy-source-text.show,
#news-page .filters .filter-sector-text.show {
    background: var(--grey200);
}
#news-page .filters .filter-date-text > span,
#news-page .filters .filter-thematique-text > span,
#news-page .filters .filter-theme-text > span,
#news-page .filters .filter-energy-source-text > span,
#news-page .filters .filter-sector-text > span {
    position: relative;
}
#news-page .filters .filter-date-text > span:after,
#news-page .filters .filter-thematique-text > span:after,
#news-page .filters .filter-theme-text > span:after,
#news-page .filters .filter-energy-source-text > span:after,
#news-page .filters .filter-sector-text > span:after {
    content: '';
    width: 14px;
    height: 14px;
    background: url(/wp-content/uploads/chevron-bottom.svg) no-repeat center center;
    display: inline-block;
    position: absolute;
    right: -25px;
    top: 4px;
}
#news-page .filters .filter-date-text.up > span:after,
#news-page .filters .filter-thematique-text.up > span:after,
#news-page .filters .filter-theme-text.up > span:after,
#news-page .filters .filter-energy-source-text.up > span:after,
#news-page .filters .filter-sector-text.up > span:after {
    background: url(/wp-content/uploads/chevron-top.svg) no-repeat center center;
}

/*#news-page .filters .filter-thematique-text {*/
/*    width: 100%;*/
/*    cursor: pointer;*/
/*    padding: 20px 0;*/
/*    border: 1px solid #E0E0E0;*/
/*    text-align: center;*/
/*    font-size: 16px;*/
/*    color: var(--black);*/
/*}*/
/*#news-page .filters .filter-thematique-text span {*/
/*    position: relative;*/
/*}*/
/*#news-page .filters .filter-thematique-text.show {*/
/*    background: var(--grey200);*/
/*}*/
/*#news-page .filters .filter-thematique-text > span:after {*/
/*    content: '';*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    background: url(/wp-content/uploads/chevron-bottom.svg) no-repeat center center;*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    right: -25px;*/
/*    top: 4px;*/
/*}*/
/*#news-page .filters .filter-thematique-text.up > span:after {*/
/*    background: url(/wp-content/uploads/chevron-top.svg) no-repeat center center;*/
/*}*/


#news-page .filters .filter-date1-content,
#news-page .filters .filter-date2-content,
#news-page .filters .filter-thematique-content,
#news-page .filters .filter-theme-content,
#news-page .filters .filter-energy-source-content,
#news-page .filters .filter-sector-content {
    display: none;
    padding: 65px 30px 40px;
    /*padding: 50px 20px;*/
    overflow-y: auto;
}
#news-page .filters .filter-date-content {
    padding: 110px 20px;
}
#news-page .filters .filter-date-content.show,
#news-page .filters .filter-thematique-content.show,
#news-page .filters .filter-theme-content.show,
#news-page .filters .filter-energy-source-content.show,
#news-page .filters .filter-sector-content.show {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: var(--grey200);
    box-shadow: 0px 1px 10px rgb(0 0 0 / 6%), 0px 4px 5px rgb(0 0 0 / 6%), 0px 2px 4px rgb(0 0 0 / 10%);
}
#news-page .filters .filter-thematique-content .term-list,
#news-page .filters .filter-theme-content .term-list,
#news-page .filters .filter-energy-source-content .term-list,
#news-page .filters .filter-sector-content .term-list {
   text-align: center;
}
#news-page .filters .filter-thematique-content .term-list > .form-item,
#news-page .filters .filter-theme-content .term-list > .form-item,
#news-page .filters .filter-energy-source-content .term-list > .form-item,
#news-page .filters .filter-sector-content .term-list > .form-item {
    display: inline-block;
    margin-right: 32px;
    /*margin-bottom: 32px;*/
    margin-bottom: 0;
}
#news-page .filters .filter-thematique-content .term-list > .form-item input,
#news-page .filters .filter-theme-content .term-list > .form-item input,
#news-page .filters .filter-energy-source-content .term-list > .form-item input,
#news-page .filters .filter-sector-content .term-list > .form-item input {
    display: none;
}
#news-page .filters .filter-thematique-content .term-list > .form-item input:checked ~ label,
#news-page .filters .filter-theme-content .term-list > .form-item input:checked ~ label,
#news-page .filters .filter-energy-source-content .term-list > .form-item input:checked ~ label,
#news-page .filters .filter-sector-content .term-list > .form-item input:checked ~ label {
    color: var(--white);
    background-color: var(--color);
}
#news-page .filters .filter-thematique-content .term-list > .form-item label,
#news-page .filters .filter-theme-content .term-list > .form-item label,
#news-page .filters .filter-energy-source-content .term-list > .form-item label,
#news-page .filters .filter-sector-content .term-list > .form-item label {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
    /*text-transform: uppercase;*/
    color: var(--black);
    background-color: var(--white);
    padding: 15px 30px;
    border-radius: 40px;
    cursor: pointer;
}

#news-page .filters .filter-date-content .filter-date-close .term-close-button,
#news-page .filters .filter-thematique-content .filter-term-close .term-close-button,
#news-page .filters .filter-theme-content .filter-term-close .term-close-button,
#news-page .filters .filter-energy-source-content .filter-term-close .term-close-button,
#news-page .filters .filter-sector-content .filter-term-close .term-close-button {
    position: relative;
    top: -4px;
    cursor: pointer;
}
#news-page .filters .filter-date-content .filter-date-close,
#news-page .filters .filter-thematique-content .filter-term-close,
#news-page .filters .filter-theme-content .filter-term-close,
#news-page .filters .filter-energy-source-content .filter-term-close,
#news-page .filters .filter-sector-content .filter-term-close {
    height: 56px;
    background: var(--white);
    box-shadow: 0px 4px 6px rgb(0 0 0 / 15%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3002;
    padding: 20px;
    z-index: 9999999;
}

#news-page .filters .filter-date-content .daterangepicker {
    display: flex !important;
    position: relative;
    background: none;
    border: none;
    top: 0 !important;
    left: 0 !important;
    margin: auto;
    margin-top: 20px;
    flex-direction: column;
}
#news-page .filters .filter-date-content .daterangepicker:before,
#news-page .filters .filter-date-content .daterangepicker:after {
    position: relative;
    border: none;
    top: 0;
}
#news-page .filters .filter-date-content .daterangepicker .ranges {
    display: none;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar {
    padding: 0;
    max-width: none;
    background: none;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table {
    background: none;
    border: none;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table {
    background: none;
    border: none;
    border-collapse: separate;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody {
    background: none;
    border: none;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead tr,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody tr {
    margin-bottom: 10px;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead tr,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody tr,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead th,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody th,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead td,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody td {
    border: none;
    background: none;
    font-size: 24px;
    color: var(--black);
    font-family: 'Lato', sans-serif;
    padding: 8px 6px;
    max-width: 46px;
    width: 46px;
    height: 46px;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .next,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .prev {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black);
    border: 1px solid var(--grey400);
    cursor: pointer;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .next:hover,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .prev:hover {
    color: var(--white);
    background: var(--blue-bolt);
    border-color: var(--blue-bolt);
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead th,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody th {
    color: var(--grey400);
    text-align: center;
}
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead th.month,
#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody th.month {
    font-size: 28px;
    color: var(--black);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-align: center;
}
#news-page .filters .filter-date-content .form-type-textfield {
    display: none;
}

#news-page .filter-buttons {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
#news-page .filter-buttons input.button-submit {
    width: fit-content;
    padding: var(--nj-btn-pad);
}
#news-page .filter-buttons input.button-cancel {
    width: fit-content;
    margin-left: 1em;
    padding: var(--nj-btn-pad);
    background: var(--grey300);
    border: none;
    color: var(--black);
}
#news-page .filter-buttons input.button-cancel:hover {
    background: var(--grey500);
}

/* DATE RANGE PICKER */
.lightpick {
    display: block !important;
    box-shadow: none !important;
    background: transparent !important;
}
.lightpick .lightpick__toolbar {
    position: relative;
    display: block;
}
.lightpick .lightpick__month-title-bar {
    box-shadow: none;
    display: block;
    text-align: center;
    padding: 8px 6px;
    margin: 20px 0;
}
.lightpick .lightpick__month {
    margin: 0 auto;
    min-width: 415px;
    background-color: transparent;
}
.lightpick .lightpick__month-title select {
    border: transparent !important;
    font-size: 28px !important;
    color: var(--black) !important;
    font-family: 'Lato', sans-serif !important;
    font-weight: bold !important;
    text-align: left !important;
    padding: 0 !important;
    margin: auto !important;
    width: auto !important;
    background: transparent !important;
    /*display: unset !important;*/
    display: none !important;
}
/*#date-range-picker-year-month1,*/
/*#date-range-picker-year-month2 {*/
/*    position: absolute;*/
/*    top: 65px;*/
/*    font-size: 28px;*/
/*    font-weight: 700;*/
/*    z-index: 999999;*/
/*}*/
/*#date-range-picker-year-month1 {*/
/*    left: 20%;*/
/*}*/
/*#date-range-picker-year-month2 {*/
/*    right: 20%;*/
/*}*/
.lightpick__day-of-the-week {
    font-size: unset !important;
    margin: 0 0 20px 0;
}
.lightpick .lightpick__days-of-the-week {
    font-size: 24px !important;
    color: var(--grey400) !important;
    font-family: 'Lato', sans-serif !important;
}
.lightpick .lightpick__day {
    font-size: 24px;
    height: 55px;
}
.lightpick .lightpick__day.is-today {
    background: none;
    background: var(--blue-bolt);
    border-radius: 50%;
    color: var(--white);
}
.lightpick__previous-action,
.lightpick__next-action,
.lightpick__close-action {
    width: 46px !important;
    height: 46px !important;
    color: var(--black) !important;
    background: transparent !important;
    border: 1px solid var(--grey400) !important;
    cursor: pointer;
}
.lightpick__previous-action svg,
.lightpick__next-action svg,
.lightpick__close-action svg {
    pointer-events: none;
}
.lightpick__previous-action:hover,
.lightpick__next-action:hover,
.lightpick__close-action:hover {
    color: #FFFFFF !important;
    background: var(--blue-bolt) !important;
    border-color: var(--blue-bolt) !important;
}
.lightpick__previous-action {
    position: absolute;
    left: 0;
    top: 0;
}
.lightpick__next-action {
    position: absolute;
    right: 0;
    top: 0;
}
.lightpick__day.is-start-date,
.lightpick__day.is-end-date,
.lightpick__day.is-start-date:hover,
.lightpick__day.is-end-date:hover {
    font-weight: normal;
}
.lightpick__day.is-available:not(.is-in-range):hover {
    color: var(--blue-bolt);
    background: transparent;
}
.lightpick__day.is-in-range {
    border-radius: 0;
    background-color: rgba(0,157,233,0.3);
    background-image: none;
    color: #FFF;
}
.lightpick__day.is-start-date.is-in-range,
.lightpick__day.is-end-date.is-in-range {
    position: relative;
    /*border-top-left-radius: 50%;*/
    /*border-top-right-radius: 50%;*/
    /*border-bottom-right-radius: 50%;*/
    /*border-bottom-left-radius: 50%;*/
    background-color: var(--blue-bolt);
    background-image: none;
    z-index: 1;
}
/*.lightpick__day.is-start-date.is-in-range:not(.is-disabled):before,*/
/*.lightpick__day.is-end-date.is-in-range:not(.is-disabled):before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    background: rgba(0,157,233,0.3);*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    width: 25px;*/
/*    display: block;*/
/*    z-index: -1;*/
/*}*/
.lightpick__day.is-start-date.is-in-range:not(.is-disabled):before {
    right: 0
}
.lightpick__day.is-end-date.is-in-range:not(.is-disabled):before {
    left: 0
}

@media only screen and (min-width: 768px) {
    #news-page .filters .filter-date-content,
    #news-page .filters .filter-thematique-content,
    #news-page .filters .filter-theme-content,
    #news-page .filters .filter-energy-source-content,
    #news-page .filters .filter-sector-content {
        padding: 0 0 40px 0;
    }
    #news-page .filters .filter-date-content {
        padding: 40px 0 40px 0;
    }
}
@media only screen and (min-width: 992px) {
    #news-page .filters .filter-date-text,
    #news-page .filters .filter-thematique-text,
    #news-page .filters .filter-theme-text,
    #news-page .filters .filter-energy-source-text,
    #news-page .filters .filter-sector-text {
        padding: 30px 0;
        flex: 1 1 100%;
    }
    #news-page .filters .filter-thematique-content,
    #news-page .filters .filter-theme-content,
    #news-page .filters .filter-energy-source-content,
    #news-page .filters .filter-sector-content {
        padding: 50px 90px;
    }
    #news-page .filters .filter-date-content {
        padding: 50px;
    }
    #news-page .filters .filter-date-content .daterangepicker {
        margin-top: 0;
        flex-direction: row;
        justify-content: space-between;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table {
        border-spacing: 0 10px;
        width: 370px;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .next,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .prev {
        left: 30px;
        width: 46px;
        height: 46px;
    }
}

#news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .next {
    left: auto;
    right: 0;
}

@media only screen and (min-width: 992px) {
    /* NEWS */
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table .next {
        right: 30px;
    }
}
@media only screen and (max-width: 1200px) {
    /* DATE RANGE PICKER */
    .lightpick__months {
        display: block;
    }
    .lightpick .lightpick__month {
        min-width: 350px;
    }
    .lightpick .lightpick__month:last-of-type {
        margin-top: 35px;
    }

    /*#date-range-picker-year-month1 {*/
    /*    left: 50%;*/
    /*    transform: translateX(-50%);*/
    /*}*/
    /*#date-range-picker-year-month2 {*/
    /*    left: 50%;*/
    /*    transform: translateX(-50%);*/
    /*    right: auto;*/
    /*    top: 450px !important;*/
    /*}*/

    /*#date-range-picker-year-month1,*/
    /*#date-range-picker-year-month2 {*/
    /*    position: absolute;*/
    /*    top: 65px;*/
    /*    font-size: 28px;*/
    /*    font-weight: 700;*/
    /*    z-index: 999999;*/
    /*}*/
    .lightpick__day-of-the-week {
        font-size: 18px !important;
        margin: 0 0 20px 0;
    }
    .lightpick .lightpick__day {
        font-size: 18px;
        width: 49px;
        height: 49px;
    }
    .lightpick__previous-action,
    .lightpick__next-action,
    .lightpick__close-action {
        width: 40px !important;
        height: 40px !important;
    }
}
@media only screen and (max-width: 991px) {
    /* NEWS */
    #news-page .filters .filter-thematique-content .term-list,
    #news-page .filters .filter-theme-content .term-list,
    #news-page .filters .filter-energy-source-content .term-list,
    #news-page .filters .filter-sector-content .term-list {
        margin-top: 40px;
    }
    #news-page .filters .filter-thematique-content .term-list > .form-item,
    #news-page .filters .filter-theme-content .term-list > .form-item,
    #news-page .filters .filter-energy-source-content .term-list > .form-item,
    #news-page .filters .filter-sector-content .term-list > .form-item {
        margin: 0;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    #news-page .filters .filter-thematique-content .term-list > .form-item label,
    #news-page .filters .filter-theme-content .term-list > .form-item label,
    #news-page .filters .filter-energy-source-content .term-list > .form-item label,
    #news-page .filters .filter-sector-content .term-list > .form-item label {
        font-size: 14px;
        font-weight: 700 !important;
        padding: 10px 15px;
    }

    #news-page .filter-buttons input.button-submit {
        font-size: 20px;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar {
        margin: auto;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table {
        border-spacing: 0 6px;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead tr,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody tr,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead th,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody th,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead td,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody td {
        font-size: 18px;
        width: 42px;
        height: 42px;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table thead th.month,
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table tbody th.month {
        font-size: 22px;
    }
    #news-page .filters .filter-date-content .daterangepicker .drp-calendar .calendar-table table {
        border-spacing: 0 6px;
    }
}

@media (max-width: 767px) {
    #news-page .filters {
        flex-flow: column nowrap;
    }
    #news-page .filters .filter-date-content.show,
    #news-page .filters .filter-thematique-content.show,
    #news-page .filters .filter-theme-content.show,
    #news-page .filters .filter-energy-source-content.show,
    #news-page .filters .filter-sector-content.show {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
}