body::before {
    content: "";
    z-index: 1;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    background-image: linear-gradient(135deg, #ffffff 15%, #ffffff00 40%);
}

main {
    padding: 5% 0 0 0;
}

/* MapBox */

#mapbox {
    width: 100%;
    height: 600px;
}

.marker {
    background: url("https://static.zoan.fr/themes/zoan/img/marker.svg")
        no-repeat;
    background-size: contain;
    width: 36px;
    height: 50px;
    cursor: pointer;
}

.mapboxgl-popup {
    max-width: 200px;
}

.page .mapboxgl-popup-content {
    padding: 20px;
    font-size: 14px;
    font-weight: 300;
}

.page .mapboxgl-popup-content strong {
    font-weight: 800;
}

.page .mapboxgl-popup-content p,
.page .mapboxgl-popup-content ul {
    margin: 0;
}

.page .mapboxgl-popup-content ul {
    padding-left: 20px;
}

.page .mapboxgl-popup-content .phone,
.page .mapboxgl-popup-content .url {
    margin: 10px 0;
    display: block;
}

.page .mapboxgl-popup-content a {
    color: var(--z-global-color-primary);
    font-weight: bold;
    text-decoration: none;
}

.mapboxgl-marker {
    z-index: 12;
}

.mapboxgl-popup {
    z-index: 13;
}

.page .mapboxgl-popup-close-button {
    right: 5px;
    top: 5px;
    font-size: 20px;
}

.wpcf7 {
    position: relative;
    max-width: 650px;
    background-color: var(--z-global-color-primary);
    color: #fff;
    display: flex;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    padding: 40px;
    z-index: 50;
}

h1 {
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #666666;
    font-size: 22px;
    font-weight: lighter;
    opacity: 1;
    padding-left: 5px;
    padding-top: 5px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 5px 14px;
    min-height: 40px;
    font-family: "Outfit", Sans-serif;
    font-size: 22px;
    font-weight: lighter;
}

.wpcf7 input[type="checkbox"] {
    margin-bottom: 0px;
    margin-top: 0px;
}

.wpcf7-not-valid-tip {
    font-size: 15px;
}

.wpcf7 textarea[name="your-message"] {
    width: 100%;
    height: 150px;
}

.wpcf7-list-item {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0;
}

.wpcf7-acceptance a {
    color: white;
}

.wpcf7-form p {
    margin: 5px 0 25px;
    text-align: center;
    line-height: 1.4em;
}

.wpcf7-form p a,
.wpcf7-form p strong {
    color: white;
    display: block;
}

.wpcf7-submit {
    position: relative;
    background-color: #ffffff;
    font-family: Outfit, Sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-decoration: none;
    color: #2a065a;
    border-style: solid;
    border-width: 2px;
    border-color: #2a065a;
    border-radius: 50px 50px 50px 50px;
    min-height: 30px;
    padding: 12px 24px;
}

.page .wpcf7-spinner {
    padding: 0 calc((100% - 24px) / 2);
}

.page .wpcf7 form .wpcf7-response-output {
    margin: 0;
    color: var(--z-global-color-accent);
    border-color: var(--z-global-color-accent);
}

.altcha-label {
    font-size: 16px;
}

footer {
    z-index: 10;
}

@media (min-width: 1030px) {
    main {
        height: 1080px;
        padding: 0 0 5% 12%;
    }
    #mapbox {
        position: absolute;
        top: 0;
        left: 0;
        height: 1280px;
    }
    .wpcf7 label:not(.fullwidth) {
        width: calc(50% - 15px / 2);
    }
}
