/*
Theme Name:     FREEDZ
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Clément MARTINEZ
Author URI:     https://www.clementmartinez.fr/
Template:       hello-elementor
Version:        0.1.0
*/
#menumob ul li ul .invert a.menu-image-title-after img {
    filter:none;
}
body.page .dernier-articles-slider .slick-track {
    display: block !important;
}
body.page .dernier-articles-slider .slick-slide {
    height: auto !important;
}
body.single-post .page-content li,
body.single-post .page-content p {
    font-size: 20px;
}

body #ajax_block_1 .post-item img,
body #ajax_block_2 .post-item img,
body .divi-articles .post-item img,
body .ressources-list .post-item img {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}
body.elementor-page .header-ressource {
    position: relative;
    margin-top: 13px;
}
body .header-ressource .the_bg {
    border-radius: 32px;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
body .header-ressource * {
    z-index: 2;
    position: relative;
}
body.single-post .site-main {
    max-width: 1140px;
    margin: 0 auto;
}

.dernier-articles-slider .slide h3 {
    margin-bottom: 20px;
}


/* ==========================================
   WEBMECANIK 
   ========================================== */

main#content .mauticform_wrapper {

    width: 100%;

    .mauticform-page-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        column-gap: 30px;
        row-gap: 20px;
    }

    /* Champs sur deux colonnes */

    .mauticform-row {
        width: calc(50% - 15px);
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Champs devant occuper toute la largeur */

    .mauticform-freetext,
    .mauticform-checkboxgrp,
    .mauticform-radiogrp,
    .mauticform-textarea,
    .mauticform-button-wrapper,
    .mauticform-hidden,
    .mauticform-row.full {
        width: 100%;
    }

    /* Labels */

    .mauticform-label {
        display: block;
        margin-bottom: 6px;
        font-size: 20px !important;
        font-weight: 500 !important;
        color: #131022 !important;
    }

    /* Champs texte, email, select */

    .mauticform-row input:not(
        [type="checkbox"]
    ):not(
        [type="radio"]
    ):not(
        [type="hidden"]
    ):not(
        [type="file"]
    ),
    .mauticform-row select,
    .mauticform-row textarea {
        display: block;
        width: 100%;
        height: 52px;
        padding: 0 20px;
        outline: 0;
        box-shadow: none;
        border: 1px solid #D4D7E5;
        border-radius: 32px;
        background-color: #fff;
        color: #131022;
        font-size: 20px;
        box-sizing: border-box;
    }

    .mauticform-row textarea {
        height: 250px;
        padding: 15px 20px;
        resize: vertical;
    }

    /* Focus */

    .mauticform-row input:focus,
    .mauticform-row select:focus,
    .mauticform-row textarea:focus {
        border-color: #4c2680;
        outline: 2px solid transparent;
    }

    /* Champs obligatoires */

    .mauticform-required > .mauticform-label::after {
        content: " *";
    }

    /* Texte RGPD */

    .mauticform-freetext {
        font-size: 20px;
        line-height: 1.5;
        color: #131022;

        div {
            font-size: inherit !important;
            text-align: left !important;
        }

        a {
            color: #4c2680;
        }
    }

    /* Cases à cocher */

    .mauticform-checkboxgrp-row,
    .mauticform-radiogrp-row {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .mauticform-checkboxgrp-checkbox,
    .mauticform-radiogrp-radio {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        margin: 5px 0 0;
        accent-color: #e62d4d;
    }

    .mauticform-checkboxgrp-label,
    .mauticform-radiogrp-label {
        display: block;
        flex: 1;
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 1.4;
        color: #131022 !important;
        cursor: pointer;
    }

    /* Bouton */

    .mauticform-button-wrapper {
        margin-top: 10px;
        position: relative;
    }

    .mauticform-button {
        background-color: #e62d4d !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        border: 0;
        border-radius: 32px;
        min-height: 48px;
        padding: 0 30px;
        cursor: pointer;
        transition: background-color .2s ease;
    }

    /* Rond animé à droite du bouton */

    .mauticform-button-wrapper::after {
        content: "\f054";
        display: flex;
        align-items: center;
        justify-content: center;

        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0;

        width: 16px;
        height: 16px;
        position: absolute;
        left: 140px;
        top: 16px;

        background-color: #e62d4d;
        color: #e62d4d;
        border-radius: 50%;

        pointer-events: none;
        transition: all .2s ease-in;
        transform: scale(1);
        transform-origin: center;
    }

    .mauticform-button-wrapper:hover::after {
        transform: scale(3);
        color: white;
        font-size: 5px;
    }

    /* Messages d'erreur */

    .mauticform-errormsg,
    .mauticform-error {
        color: #d82345;
        font-size: 14px;
        margin-top: 5px;
    }

    .mauticform-message {
        font-size: 18px;
    }

    /* Mobile */

    @media (max-width: 767px) {

        .mauticform-page-wrapper {
            column-gap: 0;
            row-gap: 18px;
        }

        .mauticform-row {
            width: 100%;
        }

        .mauticform-label,
        .mauticform-checkboxgrp-label,
        .mauticform-radiogrp-label {
            font-size: 16px !important;
        }

        .mauticform-row input:not(
            [type="checkbox"]
        ):not(
            [type="radio"]
        ):not(
            [type="hidden"]
        ):not(
            [type="file"]
        ),
        .mauticform-row select,
        .mauticform-row textarea {
            font-size: 16px;
        }

        .mauticform-freetext {
            font-size: 16px;
        }
    }
}

