/*=============== GOOGLE FONTS ===============*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
    --bg-blue: #204d99;
    --bg-grey: #f7f5f5;
    --color-white: #ffffff;
    --blue-light: #234187;
    --blue-dark: #1f164c;
    --blue-nav: #17387e;
    --container-width-lg: 85%;
    --container-width-md: 90%;
    --containter-width-sm: 92%;
    --transition: all 400ms ease;
}


/* For mobile phones: */

[class*="col-"] {
    width: 100%;
}

@media only screen and (min-width: 900px) {
    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }
    .col-2 {
        width: 16.66%;
    }
    .col-3 {
        width: 25%;
    }
    .col-4 {
        width: 33.33%;
    }
    .col-5 {
        width: 41.66%;
    }
    .col-6 {
        width: 50%;
    }
    .col-7 {
        width: 58.33%;
    }
    .col-8 {
        width: 66.66%;
    }
    .col-9 {
        width: 75%;
    }
    .col-10 {
        width: 83.33%;
    }
    .col-11 {
        width: 91.66%;
    }
    .col-12 {
        width: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

@media (max-width: 900px) {
    .container {
        width: 90%;
        margin: 0 auto;
    }
}

h1 {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-top: 4rem;
    color: var(--blue-dark)
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: var(--blue-light)
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}


/*NAV BAR*/

nav {
    top: 0;
    width: 100vw;
    height: 5rem;
    align-items: center;
    transition: 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.88);
    z-index: 100;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0));
}

.nav_container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_menu {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bx-prev,
.bx-next {
    display: none;
}


/* .bx-viewport {
    min-height: 800px;
} */

.slide_holder {
    overflow: hidden;
    height: min-content;
}


/* .slider_item {
    height: 700px;
    width: 100%;
} */

@media (max-width: 900px) {
    .nav_menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav_menu a {
    font-size: 1.1rem;
    color: var(--blue-dark);
    font-weight: 500;
}

.nav_menu a:hover {
    color: var(--bg-blue);
    font-weight: 600;
}

.nav_logo {
    width: 150px;
    margin-bottom: -4rem;
}

@media (max-width: 650px) {
    .nav_logo {
        width: 80px;
        margin-bottom: 0;
    }
}

.nav_rs {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    li {
        background-color: var(--blue-dark);
        color: var(--color-white);
        border: none;
        border-radius: 25px;
        i {
            margin: 2px 5px;
            font-size: 13px;
        }
    }
}

.nav_burger {
    display: none;
}

@media (max-width: 1070px) {
    .nav_menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: -webkit-fill-available;
        height: auto;
        display: none;
        flex-direction: column;
        background-color: #fffffff7;
        padding: 20px 0;
    }
    .nav_menu.active {
        display: flex;
    }
    .nav_menu li {
        text-align: center;
    }
    .nav_burger {
        display: block;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    .nav_burger i {
        font-size: 24px;
    }
    .nav_rs {
        margin-left: 4rem;
    }
}


/*FOOTER*/

footer {
    background-color: var(--bg-grey);
    padding-top: 2rem;
}



.border {
    height: 4rem;
    background-color: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: space-around;
    p {
        color: white;
        font-size: 12px;
    }
}

@media (max-width: 650px) {
    .border{
        display: inline-table;
        padding: 0px 20px 20px 20px;

    p {
        text-align: center;
        margin-top: 20px;
    }
    };
}

.footer {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
    width: var(--container-width-lg);
    h3 {
        font-size: 20px;
        color: var(--blue-dark);
        margin-bottom: 1rem;
    }
    p {
        font-size: 14px;
        color: var(--blue-dark);
        padding: 1rem 0;
    }
    b {
        color: var(--blue-dark);
        font-size: 15px;
        margin: 1rem 0;
    }
    .left {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .left {
            margin: 0;
            padding-bottom: 2rem;
        }
    }
    .right {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .right {
            margin: 0;
        }
    }
    .soutenir {
        background-color: var(--blue-dark);
        color: var(--color-white);
        border-radius: 12px;
        padding: 8px 25px;
        border: none;
        font-weight: 400;
        float: right;
    }
    .form-group {
        display: flex;
        label {
            width: 20%;
            text-align: right;
            margin-right: 1rem;
            margin-bottom: 1rem;
            color: var(--blue-dark);
            padding: 10px;
        }
        @media (max-width: 900px) {
            label {
                text-align: left;
            }
        }
        input {
            width: 80%;
            margin-bottom: 1rem;
            padding: 10px;
            border-radius: 15px;
            border-color: var(--blue-dark);
            border-style: solid;
            border-width: 0.4px;
        }
        select {
            width: 83%;
            margin-bottom: 1rem;
            padding: 10px;
            border-radius: 15px;
            border-color: var(--blue-dark);
            border-style: solid;
            border-width: 0.4px;
        }
    }
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        width: 90%;
    }
}


/*Contact*/

.contactSection {
    border-bottom: solid 4rem var(--blue-dark);
}

.contact {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
    h3 {
        font-size: 20px;
        color: var(--blue-dark);
        margin-bottom: 1rem;
    }
    b {
        color: var(--blue-dark);
        font-size: 15px;
        margin: 1rem 0;
    }
    p {
        font-size: 14px;
        color: var(--blue-dark);
        padding: 1rem 0;
    }
    .left {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .left {
            margin: 0;
            padding-bottom: 2rem;
        }
    }
    .right {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .right {
            margin: 0;
        }
    }
    .soutenir {
        background-color: var(--blue-dark);
        color: var(--color-white);
        border-radius: 12px;
        padding: 8px 25px;
        border: none;
        font-weight: 400;
        float: right;
    }
    .form-group {
        display: flex;
        label {
            width: 20%;
            text-align: right;
            margin-right: 1rem;
            margin-bottom: 1rem;
            color: var(--blue-dark);
            padding: 10px;
        }
        @media (max-width: 900px) {
            label {
                text-align: left;
            }
        }
        input {
            width: 80%;
            margin-bottom: 1rem;
            padding: 10px;
            border-radius: 15px;
            border-color: var(--blue-dark);
            border-style: solid;
            border-width: 0.4px;
        }
        select {
            width: 83%;
            margin-bottom: 1rem;
            padding: 10px;
            border-radius: 15px;
            border-color: var(--blue-dark);
            border-style: solid;
            border-width: 0.4px;
        }
        textarea {
            width: 80%;
            margin-bottom: 1rem;
            padding: 10px;
            border-radius: 15px;
            border-color: var(--blue-dark);
            border-style: solid;
            border-width: 0.4px;
            row: 10;
        }
    }
}

@media (max-width: 900px) {
    .contact {
        flex-direction: column;
    }
}


/*ACCUEIL*/

.banner {
    img {
        width: 100%;
        object-fit: cover;
        margin-top: -6rem;
    }
}

@media (max-width: 900px) {
    .banner img {
        margin: 0;
    }
}

.secondarybanner {
    img {
        width: 100%;
        object-fit: cover;
        margin-top: -6rem;
        max-height: 400px;
    }
}

@media (max-width: 900px) {
    .secondarybanner img {
        margin: 0;
    }
}

.card_commune {
    background-color: var(--bg-blue);
    color: white;
    display: none;
}

.text_commune {
    width: var(--container-width-lg);
    display: flex;
    justify-content: left;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: baseline;
}

@media (max-width: 900px) {
    .text_commune {
        flex-direction: column;
    }
}

.text_commune .left {
    box-sizing: border-box;
    padding: 10px;
    h2 {
        color: var(--color-white);
        text-align: left;
        font-size: 25px;
        margin-top: 0;
        font-weight: 700;
    }
}

.text_commune .right {
    box-sizing: border-box;
    padding: 10px;
    p {
        font-weight: 700;
        font-size: 19px;
        color: var(--color-white);
    }
}

.card {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    width: var(--container-width-lg);
    margin: 0 auto;
}

@media (max-width: 900px) {
    .card {
        flex-direction: column;
    }
}

.right {
    box-sizing: border-box;
    ul {
        padding-left: 20px;
    }
    ol {
        padding-left: 20px;
    }
    li {
        list-style: disc;
        color: var(--blue-dark);
    }
    h3 {
        color: var(--blue-light);
        margin-right: 6rem;
    }

    @media (max-width: 650px) {
        h3 {
            margin-right: 0px;
        }
    }
    .bold {
        color: var(--blue-dark);
        font-weight: 700;
        margin-bottom: 2rem;
        margin-top: 2rem;
        font-size: 20px;
    }
    p {
        font-weight: 400;
        font-size: 16px;
        color: var(--blue-dark);
    }
}

.card .left {
    box-sizing: border-box;
    padding: 10px;
    .point {
        display: flex;
        justify-content: space-between;
        padding-top: 20px;
        padding-bottom: 20px;
        .icon {
            width: 20%;
            color: var(--blue-light);
            font-size: 25px;
            font-weight: 400;
        }
    }
    .icon-text {
        width: 80%;
        text-transform: uppercase;
        color: var(--blue-light);
        h4 {
            font-size: 24px;
            font-weight: 400;
        }
        p {
            font-size: 20px;
            font-weight: 700;
        }
    }
}


/*PROGRAMME*/

.card_programme {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .card_programme {
        flex-direction: column;
    }
}

.card_programme .left {
    box-sizing: border-box;
    margin: 3rem;
}

@media (max-width: 900px) {
    .card_programme .left {
        margin: 0;
    }
}

.card_programme .right {
    box-sizing: border-box;
    margin: 3rem;
    p {
        font-size: 14px;
        font-weight: 400;
        color: var(--blue-dark);
    }
    h3 {
        font-size: 16px;
        font-weight: 600;
        color: var(--blue-dark);
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    ul {
        padding-left: 20px;
    }
    ol {
        padding-left: 20px;
    }
    li {
        list-style: disc;
        margin-bottom: 2rem;
        font-size: 16px;
        font-weight: 400;
        color: var(--blue-dark);
    }
    .candidat {
        display: flex;
        justify-content: left;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-right: 3rem;
        align-items: center;
        .photo {
            width: 20%;
            margin-right: 3rem;
            img {
                width: 100px;
                height: 100px;
                display: block;
                object-fit: cover;
                border-radius: 50%;
            }
        }
        .info {
            width: 50%;
            color: var(--blue-light);
            p {
                font-size: 15px;
                font-weight: 600;
            }
        }
    }
}

@media (max-width: 900px) {
    .card_programme .right {
        margin: 0;
    }
}


/* ACCORDION */

.accordion {
    display: flex;
    margin-bottom: 5rem;
    .accordion-plain {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .accordion {
        display: block;
    }
}

.accordion-left {
    width: 100%;
    background: #FFF;
    margin: 0 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
}

@media (max-width: 900px) {
    .accordion-left {
        margin: 0;
        padding: 0;
    }
}

.accordion-right {
    width: 100%;
    background: #FFF;
    margin: 0 1rem;
    padding: 1rem;
}

@media (max-width: 900px) {
    .accordion-right {
        margin: 0;
        padding: 0;
    }
}

. {
    width: 100%;
}

.accordion .accordion-content {
    margin: 10px 0;
    overflow: hidden;
}

.accordion-content-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    display: flex;
    p {
        color: #d4daee;
        font-size: 25px;
        font-weight: 800;
    }
    h4 {
        color: var(--blue-dark);
        font-size: 20px;
        font-weight: 600;
        margin-left: 1rem;
    }
}

.accordionContent {
    font-size: 13px;
    color: #000000;
    font-weight: 400;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 0 0 25px 25px;
    padding: 50px 2rem 30px 2rem;
    background-color: var(--bg-grey);
    margin-top: -2.5rem;
    h5 {
        color: var(--blue-light);
        font-size: 20px;
        font-weight: 400;
        margin-bottom: 1rem;
    }
    p {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    ul {
        padding-left: 20px;
    }
    ol {
        padding-left: 20px;
    }
    li {
        list-style: disc;
        margin-bottom: 1rem;
        font-size: 14px;
    }
}

.accordionTitle {
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    min-height: 70px;
    padding: 0 15px;
    margin: 1rem;
    z-index: 33;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s linear;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    background-color: var(--color-white);
    position: relative;
}

@media (max-width: 900px) {
    .accordionTitle {
        margin: 0;
    }
}

.accordionTitle+.accordionContent {
    display: none;
}

.accordionTitle.is-open+.accordionContent {
    display: block;
}

.accordionTitle.is-open+.accordionContentBilan {
    display: flex;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .accordionTitle.is-open+.accordionContentBilan {
        display: block;
    }
}

.accordionTitle+.accordionContentBilan {
    display: none;
}

.accordionTitle.is-open+.accordionContentProgramme {
    display: flex;
}

@media (max-width: 900px) {
    .accordionTitle.is-open+.accordionContentProgramme {
        display: block;
    }
}

.accordionTitle+.accordionContentProgramme {
    display: none;
}

.accordionContentRight {
    width: 50%;
    .candidat {
        display: flex;
        justify-content: left;
        margin-right: 3rem;
        align-items: center;
    }
    .photo {
        width: 20%;
        margin-right: 3rem;
        img {
            width: 100px;
            height: 100px;
            display: block;
            object-fit: cover;
            border-radius: 50%;
        }
    }
    .info {
        width: 50%;
        color: var(--blue-light);
    }
}

@media (max-width: 900px) {
    .accordionContentRight {
        width: 100%;
    }
}

.accordionContentLeft {
    width: 50%;
    padding-right: 2rem;
}

@media (max-width: 900px) {
    .accordionContentLeft {
        width: 100%;
    }
}

.containerSlider {
    max-width: 1000px;
    margin: auto;
    position: relative;
}

.slides {
    display: none;
}

.prev,
.dot {
    cursor: pointer;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    margin: 10px 2px 0 2px;
    display: inline-block;
    background: #1f164c;
    border: solid 2px #1f164c;
    transition: all .3s;
}

.dot {
    .active,
    .dot:hover {
        border: solid 2px red;
        background-color: #1f164c;
    }
}

.slides {
    .descripton {
        color: #1f164c;
        font-weight: 700;
        text-align: center;
        margin-top: 1.2rem;
    }
}

p.descripton {
    color: #1f164c;
    font-weight: 700;
    text-align: center;
    margin-top: 1.2rem;
}

.accordionContentBilan,
.accordionContentProgramme {
    font-size: 13px;
    color: #000000;
    font-weight: 400;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 0 0 25px 25px;
    padding: 60px 2rem 30px 2rem;
    margin-top: -2.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    h5 {
        color: var(--bg-blue);
        font-weight: 500;
        font-size: 20px;
        margin-bottom: 1rem;
    }
    h5.lil-title {
        color: var(--blue-dark);
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    h6 {
        color: var(--blue-dark);
        font-weight: 700;
        font-size: 18px;
    }
    h7 {
        color: var(--blue-dark);
        font-weight: 700;
        font-size: 18px;
    }
    p {
        color: var(--blue-dark);
        font-size: 14px;
    }
    ul {
        padding-left: 20px;
    }
    ol {
        padding-left: 20px;
    }
    li {
        list-style: disc;
        margin-bottom: 1rem;
        color: var(--blue-dark);
        font-size: 14px;
    }
}

.citation-slides {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-dark);
}

hr.solid {
    border-top: 1px solid #1f164c;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.citation {
    font-weight: 600;
    color: var(--blue-dark);
    margin-top: 0.7rem;
}

.accordion-plain {
    .accordion-content-title {
        .number {
            font-size: 35px;
        }
    }
}

.title {
    h4 {
        text-transform: uppercase;
        font-weight: 700;
        color: var(--blue-dark);
    }
    p {
        font-size: 15px;
        font-weight: 500;
        color: var(--bg-blue);
        margin-left: 16px;
    }
    @media (max-width: 650px) {
        p {
            display: none;
        }
    }
}

@media (max-width: 900px) {
    .accordionItem {
        margin-bottom: 30px;
    }
}


/*Liste*/

.profilsCandidats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 40px;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

@media only screen and (min-width: 650px) and (max-width: 1000px) {
    .profilsCandidats {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1450px) {
    .profilsCandidats {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .profilsCandidats {
        grid-template-columns: 1fr;
    }
}

.profilCandidat {
    width: 100%;
    img {
        width: 100%;
        height: 300px;
        display: block;
        object-fit: cover;
        border-radius: 15px;
        margin-bottom: 1rem;
    }
    @media (max-width: 900px) {
        img {
            width: 100%;
            height: 450px;
        }
    }
    .name {
        font-weight: 800;
        font-size: 22px;
        color: var(--blue-dark);
        margin-bottom: 0.2rem;
    }
    .fonction {
        margin-bottom: 1rem;
    }
    button {
        font-size: 15px;
        position: relative;
        padding: 9px 22px;
        background: #fff;
        border: 0.1em solid #1f164c;
        transition: all 0.1s linear;
        border-radius: 25px;
    }
    button:hover {
        background-color: var(--blue-dark);
        color: white;
    }
    i {
        color: var(--blue-dark);
        background: none;
        padding: 10px 12px;
        border-radius: 25px;
    }
    .RS {
        display: flex;
        justify-content: space-between;
    }
}


/*Candidat*/

.card_programme {
    h3 {
        font-weight: 700;
        color: var(--blue-dark);
        font-size: 24px;
        margin: 2rem 0;
        line-height: 1.8rem;
    }
    p {
        font-size: 15px;
        line-height: 1.3rem;
        color: var(--blue-dark);
    }
    div {
        font-size: 14px;
        font-weight: 400;
        color: var(--blue-dark);
        line-height: 17px;
    }
    .right {
        h3 {
            font-weight: 700;
            color: var(--blue-dark);
            font-size: 24px;
            margin: 2rem 0;
        }
    }
}

.resume {
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin: 2rem 0;
    ul {
        li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            i {
                color: var(--blue-light);
                padding-right: 10px;
                font-size: 15px;
            }
            p {
                color: var(--blue-dark);
                font-weight: 500;
                font-size: 15px;
            }
        }
    }
}

.contactInfo {
    display: flex;
    justify-content: space-between;
    button {
        background-color: var(--bg-blue);
        color: var(--color-white);
        border: none;
        border-radius: 8px;
        padding: 5px 30px 5px 10px;
        i {
            margin-right: 10px;
        }
    }
    .fa-brands,
    .fa-regular {
        color: var(--color-white);
        background-color: var(--bg-blue);
        padding: 10px 12px;
        border-radius: 25px;
    }
}

@media (max-width: 1400px) {
    .contactInfo {
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        button {
            width: 90%;
            margin: 0.5rem;
        }
    }
}

.right {
    .engagement {
        display: flex;
        align-items: center;
        margin-top: 1rem;
        p {
            font-size: 25px;
            font-weight: 900;
            color: var(--bg-blue);
            padding-right: 10px;
        }
        .info {
            p {
                font-size: 14px;
                font-weight: 400;
                color: var(--blue-dark);
                line-height: 17px;
            }
        }
        .title-engag {
            margin-bottom: 0.5rem;
        }
        .title-engagement {
            font-size: 18px;
        }
    }
}

.navCandidat {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin: 0 auto;
    .left {
        background-color: var(--bg-blue);
        display: flex;
        justify-content: center;
    }

    @media (max-width: 650px) {
        .left {
            padding: 10px;
            justify-content: center;
            
        }
    }
    .right {
        background-color: var(--blue-nav);
        display: flex;
        justify-content: center;
    }
    .candidat {
        display: flex;
        justify-content: left;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-right: 3rem;
        align-items: center;
    }

    @media (max-width: 650px) {
        .candidat {
            margin-right: 1rem;
            
        }
    }

    
    .photo {
        img {
            width: 100px;
            height: 100px;
            display: block;
            object-fit: cover;
            border-radius: 50%;
        }
    }

    .info {
        width: 70%;
        color: var(--color-white);
        p {
            color: var(--color-white);
        }
        .name {
            color: var(--color-white);
            font-size: 20px;
            font-weight: 800;
        }
    }
}

@media (max-width: 900px) {
    .navCandidat {
        flex-direction: column;
    }
}


/*REFRENDUM*/

.form-header {
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
}

.progress-bar {
    margin: 3rem 0;
    width: 100%;
    height: 8px;
    background-color: #E6EBF6;
    margin-right: -5rem;
}

.result {
    width: 100%;
    height: auto;
    margin-left: -5rem;
}

@media (max-width: 900px) {
    .result {
        margin-left: -1rem;
    }
}

.filler {
    background: var(--blue-light);
    height: 100%;
    width: 10%;
}

.form-step {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    div {
        border-radius: 25px;
        padding: 10px 25px 50px 25px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        margin: 2rem auto;
        width: 50%;
        .smiley {
            display: flex;
            justify-content: center;
            margin: 0 auto;
            box-shadow: none;
            padding: 0;
        }
        label {
            margin-bottom: 0.8rem;
            font-size: 20px;
            font-style: italic;
            img {
                width: 30px;
                height: 30px;
                margin: 1rem;
                border: 2px solid;
                border-color: white;
            }
            img:hover {
                border: 2px solid;
                border-color: var(--blue-nav);
                border-radius: 50px;
            }
            img:focus {
                border: 2px solid;
                border-color: var(--blue-nav);
                border-radius: 50px;
            }
        }
        /* HIDE RADIO */
        [type=radio] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
        /* IMAGE STYLES */
        [type=radio]+img {
            cursor: pointer;
        }
        /* CHECKED STYLES */
        [type=radio]:checked+img {
            border: 2px solid;
            border-color: black;
            border-radius: 50px;
            -webkit-filter: grayscale(0%);
            /* Pour les navigateurs Chrome, Safari, Opera */
            filter: brightness(5);
            /* Firefox */
        }
        h3 {
            color: #23418763;
            font-size: 36px;
            margin-bottom: 10px;
        }
        h4 {
            color: var(--blue-dark);
            text-align: center;
            margin-bottom: 2rem;
            font-size: 18px;
            padding: 20px;
        }
        textarea {
            height: 150px;
            padding: 12px 20px;
            box-sizing: border-box;
            border: 0.5px solid #1f164c;
            border-radius: 25px;
            font-size: 16px;
            margin: 1rem;
            width: 95%;
        }
        .field {
            width: 80%;
            display: flex;
            padding: 0;
            margin: 0 auto;
            box-shadow: none;
            input {
                width: 75%;
                border-radius: 25px;
                border: 0.5px solid #1f164c;
                margin: 0.6rem 0;
                padding: 5px 10px;
            }
            #rgpd {
                width: auto;
                margin-right: 1rem;
            }
        }
        .label {
            margin: 1rem 0;
            padding: 0;
            width: 25%;
            box-shadow: none;
            color: var(--blue-dark);
            font-weight: 500;
            font-size: 16px;
        }
    }
    button {
        background-color: var(--blue-nav);
        border-radius: 25px;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        color: var(--color-white);
        font-size: 20px;
        font-weight: 500;
        border: none;
        width: 20%;
        margin: 0 auto;
    }
    input[type='radio'] {
        accent-color: var(--bg-blue);
        margin-right: 10px;
        margin-left: 2rem;
    }
}

@media (max-width: 900px) {
    .form-step {
        grid-template-columns: 1fr;
        div {
            grid-template-columns: 1fr;
            width: 80%;
            margin: 0 auto;
        }
        button {
            width: 50%;
            margin-top: 2rem;
        }
    }
}

.containerMaintenance {
    background-image: url("/images/Fond.jpg");
    background-size: cover;
    margin: 0 auto;
    height: 100vh;
    .logo-commune {
        width: 130px;
        padding: 2rem 0;
        margin: 0 auto;
    }
    .maintenance {
        width: 40%;
        margin: 0 auto;
        margin-top: 40vh;
        transform: translateY(-50%);
    }
}


/*Résultats référendum*/

.chart-container {
    position: relative;
}

.chart-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.contentRef {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 40px;
    margin-top: 5rem;
    h3 {
        text-align: center;
        color: var(--blue-dark);
        font-size: 30px;
        font-weight: 900;
    }
    .content-right {
        margin: 2rem 5rem;
    }
}

@media (max-width: 1200px) {
    .contentRef {
        display: grid;
        grid-template-columns: 2fr;
        .content-right {
            margin: auto;
        }
    }
}

.progress-bar-chart {
    margin: 3rem auto;
    width: 98%;
    height: 8px;
    background-color: #E6EBF6;
}

.filler-chart {
    background: var(--c);
    height: 100%;
    width: 25%;
}

.vous:after {
    content: 'vous';
    text-transform: uppercase;
    font-style: italic;
    font-size: .75em;
    color: grey;
    position: absolute;
    bottom: -1.75em;
}

.vous {
    position: absolute;
    left: calc(var(--vous) - 15px);
    top: -8px;
    width: 30px;
    height: 30px;
    background: var(--c);
    border-radius: 50%;
    z-index: 50;
}

.vosreponses:after {
    content: 'Vos réponses';
    text-transform: uppercase;
    font-style: italic;
    font-size: .75em;
    color: grey;
    position: absolute;
    bottom: -1.75em;
    white-space: nowrap;
    left:-30px;
}

.vosreponses {
    position: absolute;
    left: calc(var(--vosreponses) - 15px);
    top: -8px;
    width: 30px;
    height: 30px;
    background: var(--c);
    border-radius: 50%;
    z-index: 50;
}

.chart-result {
    border-radius: 25px;
    padding: 10px 25px 30px 25px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin: 3rem auto;
    .chart-text {
        display: flex;
        align-items: center;
        h4 {
            color: #E6EAF6;
            font-size: 45px;
            margin-bottom: 10px;
            margin-right: 1rem;
        }
        h5 {
            color: var(--blue-dark);
            font-size: 20px;
        }
    }
}

.middle {
    position: absolute;
    background: #E6EAF6;
    height: 25px;
    width: 3px;
    right: 50%;
    top: 0;
    margin-top: -8px;
}

.icom:after {
    content: 'icom';
    text-transform: uppercase;
    font-style: italic;
    font-size: .75em;
    color: grey;
    position: absolute;
    bottom: -1.75em;
}

.icom {
    position: absolute;
    left: calc(var(--icom) - 15px);
    top: -8px;
    width: 30px;
    height: 30px;
    background: var(--blue-nav);
    border-radius: 50%;
    z-index: 50;
}

.start {
    width: 30px;
    position: absolute;
    left: 0px;
    height: 30px;
    background: var(--c);
    border-radius: 50%;
    top: -8px;
}

.start:after {
    content: 'contre';
    text-transform: uppercase;
    font-style: italic;
    font-size: .75em;
    color: grey;
    position: absolute;
    top: -1.75em;
}

.end {
    width: 30px;
    position: absolute;
    right: -2px;
    height: 30px;
    background: #E6EAF6;
    border-radius: 50%;
    top: -8px;
}

.end:after {
    content: 'pour';
    text-transform: uppercase;
    font-style: italic;
    font-size: .75em;
    color: grey;
    position: absolute;
    top: -1.75em;
    left: -50%;
}


/*PIE*/

@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.startdot {
    border-radius: 50%;
    background: #E6EAF6;
    border: 4px var(--c) solid;
    position: absolute;
    left: calc(50% - 24px);
    top: -13px;
    width: 40px;
    height: 40px;
}

.pouce {
    position: absolute;
    border-radius: 50%;
    inset: calc(50% - var(--b)/2);
    transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2)) scale(1.9);
    z-index: 25;
}

.pouce-inner {
    background-size: cover;
    background-image: url("../../images/graph-pouce.png");
    width: 100%;
    height: 100%;
    transform: rotate(calc(var(--p)*(-3.6deg)));
}

.pie {
    --p: 20;
    --b: 22px;
    --w: 250px;
    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    margin: 4rem;
    place-content: center;
    font-size: 45px;
    font-weight: 900;
    color: var(--blue-dark);
}

.pie:before {
    inset: 0;
    background: radial-gradient(farthest-side, var(--c) 98%, #E6EAF6) top/var(--b) var(--b) no-repeat, conic-gradient(var(--c) calc(var(--p)*1%), #E6EAF6 0);
    -webkit-mask: radial-gradient(farthest-side, #E6EAF6 calc(99% - var(--b)), #000 calc(100% - var(--b)));
    mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}

.pie:after {
    inset: calc(50% - var(--b)/2);
    transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2)) scale(1.9);
}

.pie:before,
.pie:after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.pie:before {
    inset: 0;
    background: radial-gradient(farthest-side, var(--c) 98%, #E6EAF6) top/var(--b) var(--b) no-repeat, conic-gradient(var(--c) calc(var(--p)*1%), #E6EAF6 0);
    -webkit-mask: radial-gradient(farthest-side, #E6EAF6 calc(99% - var(--b)), #000 calc(100% - var(--b)));
    mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}

.pie:after {
    inset: calc(50% - var(--b)/2);
    background: var(--c);
    transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
}

.animate {
    animation: p 1s .5s both;
}

.no-round:before {
    background-size: 0 0, auto;
}

.no-round:after {
    content: none;
}

@keyframes p {
    from {
        --p: 0
    }
}


/*CONTACTSENT*/

#contactsent .slogan {
    margin: 2rem auto;
}

.contactsent {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
    width: var(--container-width-lg);
    h3 {
        font-size: 20px;
        color: var(--blue-dark);
        margin-bottom: 1rem;
    }
    p {
        font-size: 14px;
        color: var(--blue-dark);
        padding: 1rem 0;
    }
    b {
        color: var(--blue-dark);
        font-size: 15px;
        margin: 1rem 0;
    }
    .left {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .left {
            margin: 0;
            padding-bottom: 2rem;
        }
    }
    .right {
        box-sizing: border-box;
        margin: 3rem;
    }
    @media (max-width: 900px) {
        .right {
            margin: 0;
            padding: 0;
        }
    }
    .form-group {
        display: flex;
    }
    label {
        width: 20%;
        text-align: right;
        margin-right: 1rem;
        margin-bottom: 1rem;
        color: var(--blue-dark);
        padding: 10px;
    }
    @media (max-width: 900px) {
        label {
            text-align: left;
        }
    }
    input {
        width: 80%;
        margin-bottom: 1rem;
        padding: 10px;
        border-radius: 15px;
        border-color: var(--blue-dark);
        border-style: solid;
        border-width: 0.4px;
    }
    select {
        width: 83%;
        margin-bottom: 1rem;
        padding: 10px;
        border-radius: 15px;
        border-color: var(--blue-dark);
        border-style: solid;
        border-width: 0.4px;
    }
    .soutenir {
        background-color: var(--blue-dark);
        color: var(--color-white);
        border-radius: 12px;
        padding: 8px 25px;
        border: none;
        font-weight: 400;
        float: right;
        width: 30%;
    }
    @media (max-width: 900px) {
        .soutenir {
            width: 60%;
        }
    }
}

@media (max-width: 900px) {
    .contactsent {
        flex-direction: column;
    }
}

.btn-ambassadeur {
    background-color: var(--blue-dark);
    color: var(--color-white);
    border-radius: 12px;
    padding: 8px 25px;
    border: none;
    font-weight: 500;
    font-size: 15px;
}

#contactsent .header {
    padding: 8rem;
    background-image: url("/images/banner-contact.png");
    background-size: cover;
    h1 {
        margin-top: 0;
    }
}

#refrendum .header {
    padding: 8rem;
    background-image: url("/images/banner-contact.png");
    background-size: cover;
    h1 {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    #refrendum .header {
        padding: 10rem 3rem;

        h1{
            margin-bottom: 2rem
        }
    }
}

#refrendum .fa-brands {
    color: var(--color-white);
    background-color: var(--blue-dark);
    padding: 10px 12px;
    border-radius: 25px;
}

.btnsRefe {
    display: flex;
    box-shadow: none !important;
    margin: 0;
    justify-content: space-between;
}

.btnRefrendumpre {
    background-color: var(--blue-dark) !important;
}

.container-contact {
    background-color: var(--bg-grey);
    padding-top: 2rem;
    .contact {
        width: var(--container-width-lg);
    }
}

.grecaptcha-badge {
    visibility: hidden;
}

#RGPD {
    .container {
        padding-bottom: 3rem;
        h2 {
            font-size: 1.5rem;
            font-weight: 500;
            text-align: center;
            color: var(--blue-light)
        }
        h3 {
            font-size: 1.6rem;
            color: var(--blue-light);
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--blue-nav);
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        h5 {
            font-size: 1rem;
            margin-bottom: 1rem;
        }
        p {
            margin-bottom: 1rem;
        }
        li {
            list-style: disc;
            margin-bottom: 10px;
        }
        ul {
            padding-left: 1rem;
        }
    }
}