/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/





.post-area .row .col h1,
.material .wpb_text_column h1,
.row .col .wpb_text_column h1 { margin-bottom: 0.5rem; }

.post-area .row .col h2,
.material .wpb_text_column h2,
.row .col .wpb_text_column h2 { margin-bottom: 0.8rem; }

.post-area .row .col h3,
.material .wpb_text_column h3,
.row .col .wpb_text_column h3 { margin-bottom: 0.7rem; }

.post-area .row .col h4,
.material .wpb_text_column h4,
.row .col .wpb_text_column h4 { margin-bottom: 0.7rem; }

.post-area .row .col h5,
.material .wpb_text_column h5,
.row .col .wpb_text_column h5 { margin-bottom: 0.7rem; }

.post-area .row .col h6,
.material .wpb_text_column h6,
.row .col .wpb_text_column h6 { margin-bottom: 0.7rem; }

.post-area .row .col p,
.material .wpb_text_column p,
.row .col .wpb_text_column p { padding-bottom: 1.2rem; }

.material .wpb_text_column p:last-child,
.row .col .wpb_text_column p:last-child { margin-bottom: 2rem; }

.material .wpb_text_column blockquote p:last-child { margin-bottom: 0; padding-bottom: 0.4rem; }

.row .col .wpb_text_column blockquote,
.row .col .post-area .type-post blockquote { margin-bottom: 1rem; }
.row .col .wpb_text_column ul,
.material .wpb_text_column ul,
.row .col .post-area .type-post ul { margin-bottom: 1rem; }
.row .col .wpb_text_column ul li,
.material .wpb_text_column ul li,
.row .col .post-area .type-post ul li { padding-bottom: 0.3rem; }

.material #avis .wpb_text_column p:last-child,
.row .col #avis .wpb_text_column p:last-child { margin-bottom: 0; padding-bottom: 0; }

.material .nectar-fancy-box h3,
.row .col .nectar-fancy-box h3 { font-size: 1.7rem; }


#to-top {
  height: 40px;
  width: 40px;
}
#to-top i {
  line-height: 40px;
  width: 40px;
  height: 40px;
}
body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up.top-icon,
body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up,
body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up.top-icon,
body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up {
  -webkit-transform: translate(0,-40px);
  transform: translate(0,-40px);
}


/* Conteneur principal */
.cf7-grid-layout {
    width: 100%;
    max-width: 800px;
}

/* Ligne avec 2 colonnes */
.cf7-row-2-cols {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

/* Comportement des colonnes */
.cf7-col {
    flex: 1; /* Assure que les deux colonnes prennent 50% de l'espace */
}

/* Espacement des autres champs */
.cf7-row-full, 
.cf7-row-submit {
    margin-bottom: 15px;
}

/* Forcer les champs à prendre 100% de leur conteneur */
.cf7-grid-layout input[type="text"],
.cf7-grid-layout input[type="email"],
.cf7-grid-layout textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Passage sur une seule colonne pour les téléphones */
@media screen and (max-width: 600px) {
    .cf7-row-2-cols {
        flex-direction: column;
        gap: 0;
    }
    .cf7-col {
        margin-bottom: 15px;
    }
}