:root {
    --primary-color: #00be64;
    --secondary-color: #000e60;
    --tertiary-color: #0000000d;
    --quaternary-color: #D4F5E9;
    --quinary-color: #F5FF00;
}

html {
    scroll-behavior: smooth;
}

main {
    position: relative;
}

.qenergy {
    position: relative;
    overflow: hidden;
}

.one-page .one-page-introduction .heading-borderCol {
    padding-top: 2rem;
}

.qenergy > div {
    margin: 2rem 0 1rem 0;
}

.one-page .one-page-introduction {
    margin: 0rem 0 1rem 0;
}

.qenergy h1 {
    font-size: 3.375rem;
    color: var(--secondary-color);
    font-weight: 700;
    word-break: break-word;
}

.one-page .h1-one-page {
    font-family: proxima nova extra bold;
    font-weight: bold;
}
@media (min-width: 992px) {
    .one-page .h1-one-page {
        font-size: 5rem;
    }
}

.qenergy h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 700;
    word-break: break-word;
}

.qenergy h3 {
    font-size: 1.6875rem;
    color: var(--secondary-color);
    font-weight: 700;
    word-break: break-word;
}

.qenergy a {
    color: var(--primary-color);
    text-decoration: none;
}

.qenergy a:hover {
    text-decoration: underline;
}

.qenergy .banner-thumbnail {
    width: 93%;
    max-height: 25rem;
    overflow: hidden;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
}

.qenergy .banner-thumbnail img {
    width: 100%;
    height: 100%;
}

.category-progress-status-project {
    background-color: var(--quinary-color);
    padding: 1rem 2rem;
    display: inline-block;
    border-radius: 35px;
    margin-top: 2rem;
}

.category-progress-status-project p {
    display: inline;
}

.qenergy ul li {
    font-size: 24px;
    margin-bottom: 0rem;
}

.qenergy ul li::marker {
    color: var(--primary-color);
}

.qenergy .frame-inner {
    border-radius: 50px;
}

.qenergy .frame-background-none .frame-inner {
    border-radius: 0px;
}

.qenergy .frame-background-primary .frame-inner {
    background-color: var(--primary-color);
    padding: 2rem;
}

.qenergy .frame-background-secondary .frame-inner {
    background-color: var(--secondary-color);
    padding: 2rem;
}

.qenergy .frame-background-tertiary .frame-inner {
    background-color: var(--tertiary-color);
    padding: 2rem;
}

.qenergy .frame-background-quaternary .frame-inner {
    background-color: var(--quaternary-color);
    padding: 2rem;
}

.qenergy .frame-background-quinary .frame-inner {
    background-color: var(--quinary-color);
    padding: 2rem;
}

.qenergy .frame-background-primary .frame-inner h2, .qenergy .frame-background-primary .frame-inner li::marker, .qenergy .frame-background-secondary .frame-inner h1, .qenergy .frame-background-secondary .frame-inner h2, .qenergy .frame-background-secondary .frame-inner h3, .qenergy .frame-background-secondary .frame-inner h4, .qenergy .frame-background-secondary .frame-inner h5, .qenergy .frame-background-secondary .frame-inner li, .qenergy .frame-background-secondary .frame-inner p {
    color: white;
}

.frame-inner {
    overflow-x: auto;
}

figcaption {
    font-size: .9rem;
    font-weight: 300;
}

.qenergy .contenttable {
    width: 100%;
    border-spacing: 0 1rem;
    border-collapse: collapse;
    overflow-x: auto;
}

.qenergy .contenttable td {
    padding: 1.5rem 1.5rem;
    border: 1px solid lightgrey;
    font-size: 1.5rem;
}

.concertation .contenttable td {
    padding: 0.5rem 0.5rem;
    border: none;
    border-bottom: 1px solid lightgrey;
}

.qenergy .ce-table td {
    position: relative;
    border: 1px solid lightgrey;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 2rem 30px;
}

.qenergy .ce-table td::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.qenergy .contenttable td p {
    margin: 0;
}

.qenergy .ce-column .image a {
    display: block;
    position: relative;
}

.qenergy .ce-column .image a::after {
    content: '';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../Images/plus-large.svg');
    top: 5%;
    right: 5%;
    font-size: 2rem;
    border-radius: 50%;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: #c5e0c1;
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
    transition: .1s;
}

.qenergy .ce-column .image a:focus:after {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.qenergy .ce-column .image a:hover::after {
    background-size: 90%;
}

.qenergy .ce-column .image img {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.qenergy .container-carousel-one-page {
    margin: -2rem 0 5rem;
}

.qenergy .items {
    width: 90%;
    margin: 0px auto;
    margin-top: 100px;
}

.qenergy .slick-slide {
    margin:10px;
    border-radius: 50px;
    overflow: hidden;
}

.qenergy .slick-dots {
    position: relative;
}

.qenergy .slick-dots li {
    margin: 0;
}

.qenergy .slick-dots li button:before {
    content: "";
    background-color: var(--primary-color);
    border-radius: 50px;
    height: 15px;
    width: 15px;
}

.qenergy .slick-dots .slick-active {
    margin: 0 20px 0 0px;
}

.qenergy .slick-dots .slick-active button:before {
    content: "";
    width: 35px;
    background-color: var(--primary-color);
}

.qenergy .slick-slide img {
    width: 100%;
    border: 0px solid #fff;
    object-fit: cover;
}

.slick-prev, .slick-next {
    z-index: 1;
}

.slick-next:before, .slick-prev:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    content: '';
    background-image: url('../Images/arrow-prev-next.svg');
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #c5e0c1;
    border-radius: 50%;
    opacity: 1;
    transition: .5s;
}

.slick-prev:focus:before, .slick-next:focus:before {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.slick-next:hover:before, .slick-prev:hover:before {
    background-color: #a7cba2;
}

.slick-next {
    transform: translateY(-50%) rotate(180deg);
}

.one-page-index-section {
    display: none;
}

@media (min-width: 992px) {
    .one-page-index-section {
        position: fixed;
        z-index: 10;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-right: -400px;
        transition: margin-right 0.3s ease;
    }
    .one-page-index-section:hover {
        margin-right: 0;
    }
    .one-page-index-section li {
        list-style: none;
        margin-bottom: 10px;
        margin-bottom: 0rem;
        width: 400px;
        height: 40px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        background: var(--primary-color);
        padding: 2rem 0 2rem 2rem;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    .one-page-index-section li a::before {
        position: absolute;
        content: '';
        width: 10px;
        height: 10px;
        background-color: #c5e0c1;
        left: -85px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        transition: background-color 0.3s;
    }
    .one-page-index-section li a {
        position: relative;
        display: block;
        border-radius: 50%;
    }
    .one-page-index-section li a span {
        font-size: 18px;
        line-height: 25px;
        display: block;
        color: #fff;
    }
    .one-page-index-section li a.active::before {
        transform: scale(1.85);
        background-color: var(--primary-color);
    }
    .one-page-index-section li a.active {
        font-weight: bold;
    }
}

.footer-qenergy .container-footer .container .infos-footer a:hover {
    color: var(--primary-color);
}

.footer-qenergy .container-footer .container .infos-footer .active a {
    font-weight: bold;
}

@media (max-width: 992px) {
    .footer-qenergy .container-footer .container .infos-footer {
        -webkit-box-pack: start;
        -webkit-justify-content: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
}

.lightbox-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.lightbox-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    z-index: 1001;
    display: none;
}

.lightbox-content img {
    width: 100%;
    height: auto;
}

.svg-container {
    width: 50vw;
    max-width: 500px;
    transition: rotate 0.25s ease-out;
}

.qenergy .static {
    max-width: 350px;
}

.one-page .lotti-animation {
    text-align: center;
}

.svg-container.left-top {
    position: absolute;
    z-index: -1;
    left: -15%;
    transform: translateY(-25rem);
    padding-top: 0;
}
.svg-container.left-bottom {
    position: absolute;
    z-index: -1;
    left: -15%;
    transform: translateY(20rem);
    padding-top: 0;
}
.svg-container.right-top {
    position: absolute;
    z-index: -1;
    right: -10%;
    transform: translateY(-25rem);
    padding-top: 0;
}
.svg-container.right-bottom {
    position: absolute;
    z-index: -1;
    right: -15%;
    transform: translateY(20rem);
    padding-top: 0;
}

.fonds-dotation header {
    height: inherit;
}

.fonds-dotation .menu {
    top: 125px;
}

.fonds-dotation .entete {
    margin-top: 8rem;
}

.fonds-dotation .logo-group img {
    height: 125px;
    width: auto;
    padding: 0;
}

.fonds-dotation .infos-footer {
    justify-content: center !important
}

.fonds-dotation .menu-footer {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .fonds-dotation .menu-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .fonds-dotation .logo-group img {
        height: 115px;
    }
}

.btn {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.5s ease;
}

.btn-default {
    color: #fff;
    background-color: #000e60;
    border-color: #000e60;
}

.btn-default:hover, .btn-default:focus {
    color: #000e60;
    background-color: #fff;
    border-color: #000e60;
}

.btn-primary {
    color: #fff;
    background-color: #00BE64;
    border-color: #00BE64;
}

.btn-primary:hover, .btn-primary:focus {
    color: #000e60;
    background-color: #F5FF00;
    border-color: #F5FF00;
}

.btn-secondary {
    color: #000e60;
    background-color: #F5FF00;
    border-color: #F5FF00;
}

.btn-secondary:hover, .btn-secondary:focus {
    color: #000e60;
    background-color: #00BE64;
    border-color: #00BE64;
}
/* TYPO3 v14 : EXT:form enveloppe les champs dans .form-element (et non plus .form-group comme en v11) */
.frame-type-form_formframework .form-element {
    margin-bottom: 1rem;
}

.frame-type-form_formframework .form-element label {
    font-family: proxima nova regular;
    font-size: 23px;
    color: #000;
}

.frame-type-form_formframework .form-element input::placeholder,
.frame-type-form_formframework .form-element textarea::placeholder {
    font-family: proxima nova regular;
}

/* TYPO3 v14 : la case à cocher est dans .form-check-wrapping-label (et non plus .form-check) */
.frame-type-form_formframework .form-check-wrapping-label {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}
