/* Global */
.page-content p{
        margin-right: auto;
        margin-left: auto;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
        max-width: 720px;
        margin-bottom: 16px;
        margin-right: auto;
        margin-left: auto;
}

.affichage-simple #main {
        background-color: var(--main-color-light);
        background-image: url('../assets/images/roads-lines/road-chemins.png');
        background-repeat: repeat-y;
        background-position: left 15% top;
}

/* Sections texte (image) */
section.section-with-text .section-content {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1;
}

section.section-with-text .text-block {
        margin: auto 0;
        width: 45%;
}

img.img-card {
        object-fit: cover;
        border-radius: 16px;
        height: 400px;
        width: 45%;
}

.section-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
}
.section-bg .section-bg-img {
        object-fit: cover;
}
.section-bg::after {
        content: "";
}
.section-bg .section-bg-img ,
.section-bg::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
}

/* SVG road lines */
section .road-lines-svg {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
}
section .road-lines-svg svg {
        position: absolute;
}

/* pages en bandeaux */
section.bandeaux.theme-clair {
        color: var(--main-color);
}
section.bandeaux.theme-sombre {
        color: var(--light-text-color);
        background-color: var(--main-color);
}
section.bandeaux.theme-sombre .section-bg::after {
        background-color: #06160ECC;
}
section.bandeaux.theme-sombre .section-bg img {
        filter:grayscale(1);
}
section.bandeaux.no-image .section-content {
        justify-content: center;
}
section.bandeaux.text-left .section-content{
        flex-direction: row-reverse;
}


section.theme-clair .road-lines-svg svg:nth-of-type(1) {
        left: 0;
}
section.theme-sombre .road-lines-svg svg:nth-of-type(1) {
        right: 0;
}
section.theme-sombre .road-lines-svg svg:nth-of-type(2) {
        right: 40%;
        bottom: 0;
}

/* ### Contact ### */
.wpcf7-form label {
        gap: 8px;
        display: flex;
        flex-direction: column;
}
.wpcf7-form label span {
        width: 100%;
}
.wpcf7-form label span input, .wpcf7-form label span textarea {
        width: 100%;
        border-radius: 4px;
        border: 1px solid #a7a7a7;
        padding: 8px 16px;
        outline: 0;
}
.wpcf7-form label span input:focus, .wpcf7-form label span textarea:focus {
        outline: 2px solid var(--main-color);
}

.wpcf7-form .wpcf7-submit{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        background-color: var(--main-color);
        font-weight: 700;
        font-size: 14px;
        color: #fff;
        border: 0;
        border-radius: 24px
}

.wpcf7 form.invalid .wpcf7-response-output{
        max-width: 720px;
        margin: 0 auto;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
        background-color: var(--error-color);
        border: 0;
        border-radius: 8px;
        padding: 8px 16px;
        color: #fff;
}
#elevation-profile {
        margin-bottom: -40px;
}
#elevation-profile .elevation-control .background {
        background:none;
}