/* CSS Document */
@import "https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cabin", sans-serif;
    overflow-x: hidden;
}

h2 {
    font-size: 40px;
    color: #002F57;
}

.flex {
    display: flex;
}

.turbo-progress-bar {
    background-color: #0f71b4;
    height: 15px;
}

nav:not(.Pagination) {
    background-color: #96BF0D;
    color: white;
}
.nav-toggler{
    display: none;
}

nav.Pagination ul {
    display: flex;
    justify-content: center;
    li{
        padding: 10px;
        border: #eeeeee 1px solid;
        margin-right: 10px;
        border-radius: 6px;
        a{
            text-decoration: none;
        }

    }
}

nav {
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

nav div.connect svg {
    color: #fff;
    font-size: 30px;
}
nav div.connect{
    width: 30px;
}

#menu {
    align-items: center;
    justify-content: space-around;
    padding: 0 5px;
    width: 40%;
}

#menu li {
    padding: 5px;
    display: inline;
}

#menu a {
    color: white;
    text-decoration: none;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 2px, transparent 2px) no-repeat;
    background-size: 0 100%;
    transition: background-size .3s;
}

#menu a:hover {
    background-size: 100% 100%;
}

#menu .underline {
    font-weight: 700;
}

main {
    font-size: 1.2em;
    min-height: 800px;
}

.txt-center {
    text-align: center;
}

#intro {
    clip-path: polygon(100% 0, 100% 100%, 75% 100%, 65% 88%, 0 88%, 0 0);
    background: url("../images/couverture-vNTOprV.jpg") no-repeat 0;
    position: relative;
    background-size: cover;
}

#intro div {
    padding: 280px 40px;
    width: 30%;
}

#intro h1 {
    padding-bottom: 10px;
}

#intro a {
    color: #002F57;
    padding-top: 50px;
    display: block;
    text-decoration: none;

}

#intro a i, .infos a i, #blanc a i {
    transition: transform 0.3s;
}

#intro a:hover i, .infos a:hover i, #blanc a:hover i {
    transform: scale(1.2);
}


#implant {
    text-align: center;
    width: 70%;
}

div[data-controller=symfony--ux-leaflet-map--map] {
    height: 600px;
    margin: 40px auto;
    width: 86%;
}


.bouton {
    border: solid 1px;
    border-radius: 15px;
    color: #0E71B4;
    display: inline-block;
    padding: 10px 50px;
    text-decoration: none;
    transition: linear .2s;
}

.bouton:hover {
    background-color: #0E71B4;
    color: white;
}

#bleu {
    background-color: #0E71B4;
    border-radius: 0 0 0 115px;
    color: white;
    margin-top: -100px;
    text-align: center;
    width: 50%;
}

#bleu h3 {
    padding-top: 220px;
}

#bleu div.presentation {
    line-height: 27px;
    margin: auto;
    padding-top: 80px;
    width: 70%;
}

.mt-60 {
    margin-top: 60px;
}

#various{
    padding: 10px;
    margin: 80px auto 20px auto;
    width: 80%;
}

h3 {
    border-bottom: 1px solid;
    display: inline-block;
    font-size: 30px;
    letter-spacing: 4px;
    margin: auto;
    padding-bottom: 50px;
}

#partenaires {
    padding: 10px;
}

#partenaires .flex {
    align-content: center;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

#partenaires .flex img {
    max-width: 220px;
    margin-right: 40px;
}

#partenaires h3 {
    display: table;
    margin: auto;
    padding-top: 80px;
    text-align: center;
}

#fid {
    background: url("../images/fidelite-vXfrSS3.jpg") center center no-repeat;
    color: white;
    text-align: right;
}

#fid div.fid {
    line-height: 25px;
    margin-left: 70%;
    padding-top: 70px;
}

#fid div:not(.fid) {
    padding: 15px 50px;
}

#contact div {
    background-color: #96BF0D;
    border-radius: 0 100px 0 0;
    color: white;
    margin-top: -70px;
    padding: 80px;
    width: 80%;
    z-index: 99999;
}

#contact2 {
    margin-top: 0 !important;
}

#contact div p:nth-child(2) {
    font-weight: bolder;
    font-size: 23px;
    padding-top: 40px;
    text-transform: uppercase;
}

#contact p {
    font-size: 1.2em;
    line-height: 30px;
    padding-top: 20px;
}

#contact img {
    margin: auto;
    max-width: 100%;
    padding: 0 50px;
}

#actu h3 {
    display: table;
    margin: auto;
    padding: 80px;
    text-align: center;
}

#actu1 {
    background-size: cover;
    margin-top: 70px;
    padding: 70px;
    background-repeat: no-repeat;
}

#actu1 p {
    line-height: 30px;
}

#actu1 h2 {
    line-height: 46px;
    padding: 40px 0;
}

#actu1 {
    position: relative;
}

#blanc {
    background-color: white;
    border-radius: 50px;
    padding: 50px;
    position: relative;
    width: 30%;
}

#blanc h2, #blanc p {
    text-wrap: balance;
}


#blanc a {
    color: #96BF0D;
    display: block;
    margin-top: 90px;
    text-decoration: none;
}

i {
    padding-left: 10px;
}

#c_bleu {
    background-color: #0E71B4;
    border-radius: 0 50px 50px 0;
    height: 100%;
    left: -10px;
    position: absolute;
    top: 0;
    width: 30%;
    z-index: 0;
}

#swup img {
    max-width: 100%;
    border-radius: 20px;
    height: 350px;
    object-fit: cover;
}

#swup {
    padding-bottom: 120px;
}

#swup .flex {
    flex-wrap: wrap;
    justify-content: space-around;
}

#swup .bouton {
    display: table;
    margin: 40px auto auto auto;
}

.mini_actu {
    display: flex;
    justify-content: center;
    margin: 40px;
    position: relative;
    width: 400px;
}

.infos {
    position: absolute;
    background-color: white;
    width: 80%;
    bottom: 0;
    left: 0;
    height: 15vh;
    border-top-right-radius: 30px;
}

.infos .flex {
    bottom: 0;
    position: absolute;
}

.infos a {
    color: #96BF0D;
    text-decoration: none;
    padding-left: 20px;
}

.titre_inf {
    font-size: 30px;
    color: #002F57;
    padding: 18px 0;
}

.login {
    height: 500px;
}

.login h3 {
    margin-bottom: 40px;
}

.login form {
    align-items: center;
    display: flex;
    margin-top: 100px;

    justify-content: center;
    flex-direction: column;
}

.login form div {
    padding: 10px
}

.login form input {
    border: #aaa 1px solid;
    border-radius: 6px;
    font-size: 1em;
    height: 40px;
    padding-left: 5px;
    width: 300px;
    font-family: "Cabin", sans-serif;
}

.login form label {
    display: none;
}

.login form button {
    border: #aaa 1px solid;
    background-color: #ddd;
    border-radius: 6px;
    font-family: "Cabin", sans-serif;
    font-size: 1em;
    padding: 10px;
}

article {
    font-size: 1.2em;
    margin-top: 00px;
    min-height: 1400px;
    text-align: center;
}

article div#actu1 {
    height: 400px;
    background-repeat: no-repeat;
    background-size: contain;
}

article div#c_bleu {
    height: 482px;
}

article div#blanc h2 {
    padding: 10px;
}

article div#blanc {
    text-align: left;
    height: 160px;
}

article div.content {
    width: 70%;
    margin: 40px auto;
}


@media (max-width: 1199px) {
    .nav-toggler {
        align-items: center;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        height: 40px;
        justify-content: center;
        margin: auto;
        padding: 0;
        position: fixed;
        right: 20px;
        top: 20px;
        width: 40px;
        z-index: 400;
    }

    button.nav-toggler:hover {
        background-color: transparent;
    }

    .nav-toggler .line {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: transform 0.3s ease-out, opacity 0.1s ease-out;

    }

    .nav-toggler .l1 {
        transform: translateY(-10px);
    }

    .nav-toggler .l3 {
        transform: translateY(+10px);
    }

    .nav-toggler.active .l1 {
        transform: translateY(0px) rotate(135deg);
    }

    .nav-toggler.active .l2 {
        opacity: 0;
    }

    .nav-toggler.active .l3 {
        transform: translateY(0px) rotate(-135deg);
    }

    .navigation {
        position: fixed;
        top: 0;
        width: 100vw;
        min-height: 100%;
        /*   display: flex; */
        left: 0;
        justify-content: center;
        flex-direction: column;
        padding: 20px 40px;
        transform: translatex(100%);
        transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
        z-index: 300;
    }

    nav.navigation.active {
        transform: translate(0);
    }

    #menu {
        position: relative;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-left: 0;
        padding: 0;
        width: 100%;
    }

    #menu li {
        padding: 30px 10px;
        text-align: center;
        font-size: 1.4em;
        width: 100%;
    }

    #implant img {
        width: 80%;
    }

    #bleu {
        width: 60%;
        padding-bottom: 120px;
    }

    h3 {
        font-size: 25px;
    }

    #bleu p {
        padding-top: 40px;
    }

    #partenaires img {
        max-width: 100%;
    }

    #partenaires img {
        max-width: 15%;
    }

    #fid div {
        padding: 70px 50px 110px;
    }

    #fid p {
        margin-left: 20%;
    }

    #actu1 h2 {
        font-size: 30px;
        line-height: 35px;
    }

    #actu1 {
        padding: 40px;
        background-size: cover;
    }
/*
    .titre_inf {
        font-size: 20px;
    }

 */
}

@media (max-width: 991.98px) {
    .flex {
        display: block;
    }

    #menu .flex {
        display: flex;
    }

    #implant {
        width: 100%;
    }

    #bleu {
        margin-top: 60px;
        width: 100% !important;
        border-radius: 0;
    }

    #bleu h3 {
        padding-top: 100px;
    }

    #partenaires .flex {
        display: block;
        text-align: center;
        margin: auto;
    }

    #partenaires img {
        max-width: 25%;
        padding: 20px;
    }

    #blanc {
        width: 50%;
    }

    #swup .flex {
        display: table-cell;
    }

    #swup .infos a {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    /* passer body (et tous les éléments de largeur fixe) en largeur automatique */
    body {
        width: auto;
        margin: 0;
        padding: 0;
    }

    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video,
    header,
    main {
        max-width: 100%;
    }

    .titre_inf{
        font-size: 30px;
    }

    #partenaires .flex{
        width: 100%;
    }
    #partenaires .flex img{
        width: 100%;
        max-width: 80%;
    }
    #bleu {
        margin-top: 0;
        padding-bottom: 10px;
    }

    h3 {
        width: 90%;
    }
    #bleu h3{
        padding-top: 20px;
    }

    div[data-controller=symfony--ux-leaflet-map--map] {
        height: 400px;
        margin: 40px auto auto auto;
        width: 98%;
        z-index:1;
    }
/*
    .nav-toggler {
        align-items: center;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        height: 40px;
        justify-content: center;
        margin: auto;
        padding: 0;
        position: fixed;
        right: 20px;
        top: 20px;
        width: 40px;
        z-index: 400;
    }

    button.nav-toggler:hover {
        background-color: transparent;
    }

    .nav-toggler .line {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: transform 0.3s ease-out, opacity 0.1s ease-out;

    }

    .nav-toggler .l1 {
        transform: translateY(-10px);
    }

    .nav-toggler .l3 {
        transform: translateY(+10px);
    }

    .nav-toggler.active .l1 {
        transform: translateY(0px) rotate(135deg);
    }

    .nav-toggler.active .l2 {
        opacity: 0;
    }

    .nav-toggler.active .l3 {
        transform: translateY(0px) rotate(-135deg);
    }

    .navigation {
        position: fixed;
        top: 0;
        width: 100vw;
        min-height: 100%;

        left: 0;
        justify-content: center;
        flex-direction: column;
        padding: 20px 40px;
        transform: translatex(100%);
        transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
        z-index: 300;
    }

    nav.navigation.active {
        transform: translate(0);
    }

    #menu {
        position: relative;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-left: 0;
        padding: 0;
        width: 100%;
    }

    #menu li {
        padding: 30px 10px;
        text-align: center;
        font-size: 1.4em;
        width: 100%;
    }


*/
    .connect {
        display: none;
    }

    #intro div {
        padding: 100px 40px;
        background: #0E71B4;
        color: white;
        border-top-right-radius: 100px;
    }

    #intro h2, #intro a {
        color: white;
    }

    #intro {
        clip-path: inherit;
        background-position: 100px;
    }

    #implant {
        padding-top: 70px;
    }

    #fid {
        background-size: cover;
    }

    #actu1 {
        background-size: cover;
    }

    #contact div{
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {

    #intro div {
        position: absolute;
        bottom: 0;
        width: 90%;
        border-radius: 0;
        padding: 25px;
    }

    #intro {
        position: relative;
        height: 70vh;
        background-position: center -100px;
    }

    #intro h2 {
        font-size: 30px;
    }

    #fid div {
        text-align: center;
    }

    #fid p {
        margin-left: 0;
    }

    #actu1 h2 {
        padding: 20px 0;
    }

    #blanc a {
        margin-top: 40px;
    }

    #blanc {
        padding: 30px;
        width: 70%;
    }

    #actu1 {
        background-size: cover;
    }

    .titre_inf {
        font-size: 17px;
    }

    #contact {
        flex-direction: column-reverse;
    }

    #contact div {
        border-radius: 0;
    }

    #contact img {
        padding-top: 50px;
    }
/*
    .infos p, .infos a {
        font-size: 12px;
        text-wrap: balance;
    }

 */

    .infos {
        bottom: -1px;
        height: 13vh;
    }

    #bleu p {
        width: 90%;
    }

    #swup {
        padding-bottom: 10px;
    }
}