
.solution {
    position: relative;
    width: 300px;
    background-color: var(--blanc);
    padding: 18px;
}
.contact_solution  {
    /* max-width: 1311px; */
    position: relative;
    /* margin: 0 auto; */
}
.titre_solution h2 {
    margin: 0;
    margin-top: 10px;
}
.image_contact_solution > img {
    width: 100%;
    height: 175px;
    width: 370px;
}

.image_et_texte_solution .partie_texte {
    padding-top: 20px;
}
@media (max-width: 980px) {
    .pao_conseils_malins  {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 10px;
    }
    .pao, .conseils_malins  {
        width: 100%;
        height: auto;
    }
}

@media (min-width : 1350px) {
    .container_coup_doeil {
        padding-left: 0!important;
        padding-right: 0!important;
    }
}
@media (max-width: 500px) {
    .pao {
        padding: 20px 40px 180px 50px;
        font-size: 25px;
    }
    .conseils_malins {
        font-size: 22px;
    }
    .mini_teaser_p1  {
        display: none;
    }
    .mini_teaser_p2 {
        padding: 10px;
    }
}


.image_contact_solution {
    display: block;
    height: 175px;
    width: 370px;   
    position: relative;
}
.texte_contact_solution {
    font-size: 24px;
    padding-left: 40px;
    padding-right: 10px;
}
.texte_contact_solution  p {
    margin-top: 0;
    /* line-height: 42px; */
}
.texte_contact_solution h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.texte_projet {
    margin-bottom: 0;
}

@media (max-width:800px) {
    .image_contact_solution {
        display: none;
    }
    .texte_contact_solution {
    padding-left: 30px;
    padding-bottom: 30px;
    padding-top: 30px;
    }
}
.image_contact_solution::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,71,19,0)), color-stop(60%, rgba(255,71,19,0.27)), to(rgba(255,71,19,0.8)));
    background: -o-linear-gradient(top, rgba(255,71,19,0) 0%, rgba(255,71,19,0.27) 60%, rgba(255,71,19,0.8) 100%);
    background: linear-gradient(180deg, rgba(255,71,19,0) 0%, rgba(255,71,19,0.27) 60%, rgba(255,71,19,0.8) 100%);
}
.titre_solution {
    font-size: 28px;
    border-top: 1px solid var(--gris-3);
    width: 264px;
    /* padding-bottom: 90px; */
}

.liste_solutions {
    gap: 28px;
}

#results .contact_solution {
    width:300px;
    max-width:calc(100% - 20px);
}

@media (min-width: 480px) {
     #results .contact_solution, 
    .solution {
        width: 420px;
    }
    #results .contact_solution .image_contact_solution  {
        height:unset;
        width:unset;
    }
    #results .contact_solution .image_contact_solution > img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
    }
     #results .contact_solution .image_contact_solution {
        display:none;
    }

    .titre_solution {
        width: 384px;
    }
}
@media(min-width:868px) {
    #results .contact_solution {
        width: 868px;
    }
    #results .contact_solution:nth-child(2n) {
        width: 420px;
    }
    #results .contact_solution .image_contact_solution {
        display:block;
    }
     #results .contact_solution:nth-child(2n) .image_contact_solution {
        display:none;
    }
}
@media(min-width:1316px) {
     #results .contact_solution {
        width: 100%;
    }
     #results .contact_solution:nth-child(2n) {
        width: 840px;
    }
     #results .contact_solution:nth-child(3n) {
        width: 420px;
    }
     #results .contact_solution .image_contact_solution,
     #results .contact_solution:nth-child(2n) .image_contact_solution{
        display:block;
    }
     #results .contact_solution:nth-child(3n) .image_contact_solution {
        display:none;
    }

}

.en_savoir_plus a {
    position: relative;
}

.en_savoir_plus a::before, .contact_solution_bouton::before {
    content: url(/wp-content/themes/wpkr/images/fleche_lire_article.png);
    position: absolute;
    bottom: -2px;
    right: -16px;
}

.picto_solution {
    position: absolute;
    left:0;
    bottom: 10px;
}

.categorie_solution {
    position: relative;
    font-size: 16px;
    padding: 10px 0px 10px 35px;
}

.en_savoir_plus a:hover, .contact_solution_bouton:hover {
    color: var(--orange);
    -webkit-transition-duration: 0.3s;
         -o-transition-duration: 0.3s;
            transition-duration: 0.3s;
}
.en_savoir_plus a {
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    right: 35px;
    bottom: 25px;
    color: black;
}

.contact_solution_bouton {
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    right: 48px;
    bottom: 20px;
    color: black;
}

.contact_solution_container {
    padding-left: 15px;
    padding-right: 15px;
}



/* Filtres archives solution */


.archive_solution .container_filtres .chosen-container .chosen-drop {
    position: relative;
}

.archive_solution .searchandfilter select.sf-input-select {
    width: 100%;
}
.archive_solution .searchandfilter select.sf-input-select option, .container_filtres li.sf-field-taxonomy-solution .sf-level-0 label {
    width: auto;
    padding: 15px 15px 15px 13px;
    background-color: #868686;
    color: var(--blanc);
    /* height: 50px; */
    cursor: pointer;
}



.archive_solution .container_filtres .sf-field-taxonomy-solution > ul > li:first-child {
    position: relative;
}
@media (min-width:500px) {
    .archive_solution .container_filtres .sf-field-taxonomy-solution > ul > li:not(:last-child) {
        margin-right: 15px;
    }
    
}



.container_filtres li.sf-field-taxonomy-solution .sf-level-0 input {
display: none;
}

.container_filtres {
    text-align: center;
}
.container_filtres li.sf-field-taxonomy-solution .sf-level-0 label:hover, .sf-option-active label {
    background-color: var(--orange)!important;
    -webkit-transition-duration: 0.3s;
         -o-transition-duration: 0.3s;
            transition-duration: 0.3s;
}





.enfants_solution {
    font-size: 14px;
    color: #707070;
    position: absolute;
    width: 60%;
    padding-top: 10px;
}

.solution > .container_texte_solution   {

    height: 170px;
    
}
.titre_solution {
     position: relative;
}


.container_image_solution {

    width: 100%;
}
.container_image_solution > img {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 380 / 222!important;
}

.differents_types:not(:last-child) {
    margin-bottom: 50px;
}




.partie_texte {
    position: relative;
}

.differents_types  h3::before, .differents_types h2::before {
    content: url(/wp-content/themes/wpkr/images/rectangle_orange.jpg);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 30px;
}

.differents_types  h3, .differents_types  h2 {
    padding-left: 30px;
}
.differents_types {
    position: relative;
}


.lien_differents_types::after {
    content: url(/wp-content/themes/wpkr/images/fleche_lire_article.png);
    position: absolute;
    bottom: -2px;
    right: -16px;
}
.lien_differents_types {
    text-decoration: none;
    color: black;
    position: relative;
}
.lien_differents_types:hover, .bloc_texte_decouvrez_real a:hover {
    color: var(--orange);
    -webkit-transition-duration: 0.3s;
         -o-transition-duration: 0.3s;
            transition-duration: 0.3s;
}
@media (min-width: 980px) {
    .differents_types {
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
    .differents_types .partie_texte {
        margin-left: 65px;
    }
    .differents_types + .differents_types .partie_texte::before {
        position: relative;
        content: url(/wp-content/themes/wpkr/images/separateur_image.png);
        position: absolute;
        left: 0px;
        top: -80px;
    }
    .lien_differents_types {
        bottom: 0;
        position: absolute;
        right: 0;
    }
    .differents_types:not(:first-child) {
        padding-top: 30px;
    }
}

/* Bloc coup d'oeil */

@media (min-width: 801px) {
    .container_coup_doeil {
        height: 330px;
    }
}
.bloc_rea_solu {
    height: 330px;
}
.bloc_texte_coup_doeil {
    background-color: #0A1E25;
    color: white;
    font-size: 30px;
    padding: 30px;
    min-width: 280px;
    width: 330px;
}

.bloc_texte_coup_doeil p {
    line-height: 41px;
}

.oeil_hedicom {
    width: 74px;
}

.bloc_texte_decouvrez_real {
    background: url(/wp-content/themes/wpkr/images/voir_rea.jpg) center center no-repeat;
    padding: 30px;
    position: relative;
    padding-top: 170px;
    width: 244px;
    min-width: 244px;
}

.bloc_texte_decouvrez_real a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    width: 100%;
    display: block;
    text-align: right;
    position: relative;
}

.bloc_texte_decouvrez_real::before {
    top: 0;
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    height: 100%;

    background: -webkit-gradient(linear, left top, left bottom, from(rgba(10,30,37,0.72)), to(rgba(10,30,37,1)));

    background: -o-linear-gradient(top, rgba(10,30,37,0.72) 0%, rgba(10,30,37,1) 100%);

    background: linear-gradient(180deg, rgba(10,30,37,0.72) 0%, rgba(10,30,37,1) 100%)
}

.bloc_texte_decouvrez_real a::after {
    content: url(/wp-content/themes/wpkr/images/fleche_lire_article.png);
    position: absolute;
    bottom: -2px;
    right: -16px;
}


.realisation.bloc_rea_solu {
    margin-bottom: 0;
    position: relative;
}

.realisation.bloc_rea_solu .voir_plus {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
}
.realisation.bloc_rea_solu .image_realisation {
    z-index: 1;
}

.container_coup_doeil  {
    gap: 3px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

@media (max-width: 800px) {
    .coup_doeil .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 20px;
    }
    .bloc_rea_solu.realisation, .bloc_texte_decouvrez_real, .bloc_texte_coup_doeil  {
        width: 100%;
        max-width: 500px;
    }
}

.bloc_rea_solu.realisation > a {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
}

/* .bloc_rea_solu.realisation > a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 5;
    left: 0;
    display: block;
    background-color: rgba(30,37,10,0.25);
} */

.bloc_rea_solu .link_lightbox::before {
z-index: 5;
}

.bloc_rea_solu .voir_plus {
    z-index: 6!important;
}

.link_lightbox:hover .image_realisation {
    -webkit-transform: translate3d(-50%, -50%,0) scale(1.1);
            transform: translate3d(-50%, -50%,0) scale(1.1);
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}