/**
 * Styles pour le composant newsletter
 */

.atom-newsletter {
    margin: auto !important;
}

.atom-newsletter .wpcf7 p label span input {
    display: flex !important;
    padding: 0px 16px !important;
    justify-content: space-between !important;
    align-items: center !important;
    align-self: stretch !important;
    border-radius: var(--L, 20px) !important;
    border: 1px solid var(--Tertiary, #1F0FFF) !important;
    background: var(--White, #FFF) !important;
    font-size: var(--M, 18px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    font-family: var(--wp--preset--font-family--lato) !important;
    height: 42px !important;
    box-sizing: border-box;
    width: 100%;
}

.atom-newsletter .input-100 {
    width: 100% !important;
}

.atom-newsletter .input-submit {
    position: relative;
    padding-top: 27px !important
}

.atom-newsletter .wpcf7 .wpcf7-submit {
    width: 209px !important;
    display: flex !important;
    padding: 10px 30px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    border-radius: var(--L, 20px) !important;
    background: var(--Tertiary, #1F0FFF) !important;
    color: var(--Button-Text, #FFF) !important;
    font-family: var(--wp--preset--font-family--lato) !important;
    font-size: var(--M, 18px) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    box-shadow: none !important;
    border: solid 1px var(--Tertiary, #1F0FFF) !important;
    cursor: pointer;
}

.atom-newsletter .wpcf7 p label span input::placeholder {
    color: var(--black-500, var(--Black, #000)) !important;
    font-size: var(--M, 18px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    font-family: var(--wp--preset--font-family--lato) !important;
}

.atom-newsletter .wpcf7 p label span {
    margin-top: 6px;
    display: block;
}

.atom-newsletter .wpcf7 input[type="checkbox"] {
    accent-color: var(--Tertiary, #1F0FFF) !important;
    width: 24px !important;
    margin: 0px;
    flex-shrink: 0 !important;
}

.atom-newsletter .wpcf7 p label {
    color: white !important;
    font-weight: 400 !important;
}

.atom-newsletter .input-newsletter {
    display: flex;
    gap: 10px;
}

.atom-newsletter .wpcf7-acceptance label {
    display: flex !important;
    gap: 10px !important;
}

.atom-newsletter .wpcf7-acceptance span {
    margin: 0px !important;
}

.atom-newsletter .wpcf7 .input-50 p,
.atom-newsletter .wpcf7 .input-100 p {
    margin: 0px 0px !important;
}

.atom-newsletter .wpcf7-spinner {
    margin: 0px;
    position: absolute;
    right: -12px;
    top: 4px;
}

.atom-newsletter .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px !important;
    font-weight: 100 !important;
}

.atom-newsletter .wpcf7 .wpcf7-form {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.atom-newsletter .wpcf7 form .wpcf7-response-output {
    color: black !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    min-height: 38px !important;
}


@media (max-width: 1023px) {
    .atom-newsletter .newsletter {
        padding: 40px 0px !important;
    }
}

@media (max-width: 768px) {
    .atom-media-texte .wrapper-content .content-media-texte {
        padding: 20px !important;
    }

    .atom-newsletter .input-newsletter {
        flex-direction: column;
    }

    .atom-newsletter .input-submit {
        padding-top: 0px !important;
        position: absolute;
        bottom: 0px;
        width: 100%;
    }

    .atom-newsletter .wpcf7 .wpcf7-submit {
        margin: auto !important;
    }

    .atom-newsletter .wpcf7 .wpcf7-form {
        padding-bottom: 64px;
        position: relative;
    }

    .atom-newsletter.newsletter {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}