body{
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight:300;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
}
h1,h2,h3,h4,h5,h6{
    font-family:'Montserrat', 'Arial', sans-serif;

}
.img-responsive{display:inline-block;}
.shadow{box-shadow:0 0 20px 0 rgba(0,0,0,0.3)}
.justify-content-center{
    display:flex;
    justify-content:center;
}

.btn-primary{
    font-size: 10px;
    font-weight: 400;
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 15px 8px;
    text-transform: uppercase;
    margin: 25px auto 40px auto;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.05);
    /* background-image: url(../img/pdf-white.png);*/

}
.btn-inscription{
    background-image: url(../img/inscription-n.png);
    background-repeat: no-repeat;
    background-position: center;
    background-position: 55% 35%;
}
.btn-primary:hover,
.btn-primary:focus{
    background-color: #127133;
    text-decoration: none;
    color:#ffffff;
}
.btn-primary > span.scroll{
    display: block;
    background: transparent url(../img/scroll-down.png) no-repeat center center;
    text-indent: -999em;
    overflow: hidden;
}
.btn-primary img{
    margin-top: 25px;
    margin-bottom: 10px;
}
.btn-primary p{
    font-weight:bolder;
    padding-top:60%;
}
#main .btn-primary{
    padding: 10px 30px 5px 30px;
    margin: 25px auto 10px auto;
}
.pdf-logo{
    width:30px;
}
.info-pj{
    color:#ffffff;
    background-color:#363636;
    display:flex;
    flex-direction: row;
}
.info-pj a{
    width:100%;
    color:#ffffff;
    display:flex;
    flex-direction: row;
    justify-content: center;
}
header{
    background: transparent url(images/header-gex2026-min.jpg) no-repeat center center / cover;
    padding: 20px 0 0 0;
    position: relative;
    height: 50vh;
    /*aspect-ratio: 2.74;*/
    font-family: 'Montserrat', 'Arial', sans-serif;
}
header img{
    width:250px;
}

.header-title{
    position: relative;
    background-color: #005f21;
    padding: 50px 25px 30px 25px;
    margin-top: -30%;
    margin-bottom: 20px;
    border-radius: 20px;
}
.header-title .img-title{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}
.header-title p {
    color:#add576;
    font-weight: 600;
    margin: 0;
}
.header-title h1{
    font-weight: 700;
    color: #ffffff;
    font-size: 28px;
    line-height:1;
    margin: 10px 0 0 0;
}


section#main{
    padding: 0 0 50px 0;
}
section#main h2{
    font-size:18px;
    line-height:20px;
    font-weight:700;
    position:relative;
    padding-bottom:0;
    margin-bottom:15px;
    text-align:center;
}
section#main .content .fieldset{
    margin-top: 50px;
    background-color: #f4f3f0;
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
}
section#main .content .fieldset h2{
    margin-top: 0;
}
section#main .content .fieldset .fieldset-intro p:last-of-type{
    margin-bottom: 0;
}
section#main .content .fieldset .surprime{
    background-color: #ffffff;
    padding: 30px 15px;
    border-radius: 20px;
    text-align: left;
    margin-top: 30px;
}
section#main .content .fieldset .surprime h3{
    color: #005f21;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0;
}
section#main .content .fieldset .surprime .wpcf7-checkbox{
    display: flex;
    flex-direction: column;
    align-items: start;
}
section#main .content .fieldset .fieldset-footer{
    text-align: left;
}


.div-center{
    margin:0 auto;
}

.contact .row div h4{
    font-weight:bold;
}
label{
    font-weight:lighter;
}

.red {
    color:#d02a4c;
}
.red:hover{
    color:#d02a4c;
}

.form-control{
    /*border: solid 1px darkgray;*/
    border-radius: 7px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:focus{
    border:none;
    text-decoration: none;
}
form input{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked{
    position:relative;
    left:-14px;
}
.wpcf7-text:-moz-read-only:hover {
    cursor: not-allowed;
}
.wpcf7-text:read-only:hover{
    cursor: not-allowed;
}
/*.wpcf7-list-item label span,
.wpcf7-list-item-label{
    margin-left:-14px;
}*/
form .rgpd{
    margin-left:35px;
}
 a {
    color:black;

}
 a:hover {
    color:#127133;
}
form .guarantee .wpcf7-list-item-label{
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 16px;
}
form .comment-guarantee{
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 400;
    display: none;
}
form .guarantee .wpcf7-list-item-label,
form .newsletter .wpcf7-list-item-label,
form .js-acceptance .wpcf7-list-item-label{
    cursor: pointer;

}


.form-footer{
    margin-top: 30px;
    text-align: center;
}
.form-footer > p{
    font-style: italic;
    font-size: 12px;
}
.form-footer .btn-form{
    margin: 20px auto 0 auto;
}
.form-footer .btn-form p{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-footer .btn-form input{
    background-color:#005f21;
    color:#fff;
    border: 2px solid #005f21;
    padding: 10px 30px;
    border-radius: 50px;
    white-space: normal;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 500;
    max-width: 300px;
    font-size: 14px;
    line-height: 1;
}
.btn-form input:not(:disabled):hover,
.btn-form input:not(:disabled):focus{
    cursor:pointer;
    background-color:#fff;
    color:#005f21;
}

section .form .choice{
    background-color: #f5f5f5;
    color: #127133;
    padding: 30px;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}
section .form .choice input[type="text"] {
    width: 100%;
}
form .choice{
    margin-bottom: 20px;
}
form .small-text{
    margin-left: 15px;
    font-size: 13px;
    color: #7e7e7e;
}


/* Cases à cocher personnalisées dans les blocs surprime */
.wpcf7-list-item {
    display: block;
    margin-left: 0;
}
.wpcf7-list-item label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    line-height: 22px;
}
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    left: 0;
    top: 1px;
    margin: 0;
}
.wpcf7-list-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border: 1px solid #dadada;
    background-color: #ffffff;
    border-radius: 3px;
    box-sizing: border-box;
}
.wpcf7-list-item label:has(input[type="checkbox"]:checked)::before {
    background-color: #d02a4c;
    border-color: #d02a4c;
}
.wpcf7-list-item label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
    opacity: 0;
}
.wpcf7-list-item label:has(input[type="checkbox"]:checked)::after {
    opacity: 1;
}

footer{
    background-color:#005f21;
    padding: 40px;
    text-align: center;
}
footer p{
    font-size:10px;
    line-height: 12px;
    color: #ffffff;
}
footer p a, footer p a:hover, footer p a:focus{
    color: #ffffff;
}

@media (min-width:576px) {
    header{
        height: 60vh;
    }
    .header-title{
        margin-top: -81px;
    }
    .header-title h1{
        font-size: 26px;
    }

    section#main h2{
        font-size:22px;
        line-height:24px;
    }
    section .form .choice input[type="text"] {
        width: 200px;
    }
    section .form .choice input[type="text"].input-md {
        width: 100%;
    }

}

@media (min-width:768px) {
    header{
        padding-top: 30px;
    }
    .header-title{
        margin-top: -87px;
        padding: 50px 40px 30px 40px;
    }
    .header-title h1{
        font-size: 32px;
    }
    form .guarantee .wpcf7-list-item-label{
        font-size: 14px;
        line-height: 18px;
    }
    section .form .choice input[type="text"].input-md {
        width: 400px;
    }


    footer {
        padding: 50px;
    }
    footer p{
        font-size:11px;
        line-height: 16px;
    }
}

@media (min-width:992px) {
    body {
        font-size: 16px;
    }
    header{
        height: 70vh;
        padding-top: 40px;
    }
    .header-title{
        margin-top: -105px;
        padding: 60px 40px 35px 40px;
    }
    .header-title .img-title{
        width: 120px;
    }
    .header-title h1{
        font-size: 42px;
    }
    section#main h2{
        font-size:26px;
        line-height:30px;
    }

    section#main .content .fieldset .fieldset-intro p{
        max-width: 90%;
        margin: 0 auto 10px auto;
    }
}

@media (min-width:1200px) {
    header{
        height: 80vh;
    }
    header img{
        width:350px;
    }
    .header-title{
        margin-top: -124px;
        padding: 70px 50px 40px 50px;
    }
    .header-title .img-title{
        width: auto;
    }
    .header-title h1{
        font-size: 54px;
    }

    section#main h2{
        font-size:30px;
        line-height:34px;
    }
    section#main .content .fieldset .fieldset-intro p{
        max-width: 80%;
    }
    section#main .content .fieldset {
         padding: 30px 20px;
     }

    form .guarantee .wpcf7-list-item-label{
        font-size: 16px;
        line-height: 20px;
    }
    .form-footer > p {
        font-size: 14px;
    }
    .form-footer .btn-form input{
        padding: 15px 40px;
        max-width: 360px;
        font-size: 16px;
    }

    footer {
        padding: 60px;
    }
}

@media (min-width:1800px) {
    header{
        height: 90vh;
    }
    .header-title {
        margin-top: -160px;
    }
    footer {
        padding: 70px;
    }
}

.success{
    margin-top:50px;
    display: none;
    flex-direction: column;
}
.success img{
    max-width: 10rem;
    margin: 0 auto;
}
