:root{
    /* bottom recherche */
    --bt-recherche: white;

    /* espace de recherche */
    --input-bd: black;
    --input-text: black;
    --input-bg: white;
    --input-exit: red;

    /* div avec les resultas */
    --resulta-bg: white;

    /* segestion de recherche */
    --suges-bg: #ededed;
    --suges-text: black;
    --suges-bt-bg: white;
    --suges-bt-text: black;
    --suges-bt-bg-hover: rgb(1, 1, 114);
    --suges-bt-text-hover: white;

    /* chaque resulta  */
    --article-bg: white;
    --article-bd: rgb(129, 129, 129);
    --article-text: black;
    --artcile-titre-hover: rgb(1, 1, 114);
    --article-autor: rgb(1, 1, 65);
}

/* .moteurelastic2{
    max-width: 200px;
} */

.region-topbar{
    display: flex;
    justify-content: flex-end;
    align-items: start;
}

#block-moteurelastic2{
    /* max-width: min-content; */
    max-height: min-content;
    padding: 0px;
    margin: 0px;
    z-index: 9999;
}

#block-moteurelastic2 .block_illicosearch2:has(input[style="display: block;"]) {display: block}

.block_illicosearch2{
    min-height: 35px;
    max-height: 35px;

    min-width: 300px;
    max-width: 500px;

    margin: 0px;
    padding: 0px;
    position: relative;

    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: row-reverse;
}



.bt_image_recherche2{
    width: min-content;
    float: right;
    /* margin-top: 5px;
    margin-right: 5px; */
}

.bt_image_recherche2 svg{
    fill: var(--bt-recherche);
}

.illicosearch-search2 {
    border: solid 2px var(--input-bd);
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    display: none;
    background-color: var(--input-bg);
    color: var(--input-text);
    min-width: 200px;
    width: 100%;
}

 .illicosearch-response2 {
    min-width: 0;
    min-height: 0;
    margin-top: 10px;
    max-height: 70vh !important;
    max-width: 100% !important;
    overflow: auto !important;
    /* padding: 15px; */
    background-color: var(--resulta-bg);
    
}


.illicosearch-response2 .suggestionrecherche {
    padding: 15px;
    background-color: var(--suges-bg);
    border-radius: 10px;
    margin-bottom: 10px;
    color: var(--suges-text);
    margin: 10px;
}

.illicosearch-response2 .illicosearch-resulta{
    margin: 10px;
}

.illicosearch-response2 .suggestionrecherche p {
    display: inline-block;
    margin: 5px;
    background-color: var(--suges-bt-bg);
    padding: 10px;
    border-radius: 7px;
    cursor: pointer;
    color: var(--suges-bt-text);
}

.illicosearch-response2 .suggestionrecherche p:hover {
    background-color: var(--suges-bt-bg-hover);
    color: var(--suges-bt-text-hover);
}

.illicosearch-response2 .titlerecherche {
    color: var(--article-text);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 5px;
    line-height: 1.2em;
}

.illicosearch-response2 .articlerecherche {
    border: 2px solid var(--article-bd);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    padding: 15px;
    overflow: hidden;
    width: 100%;
    margin-top: 5px;
}



.illicosearch-response2 .articlerecherche:hover .titlerecherche {
    color: var(--artcile-titre-hover);
}


.illicosearch-response2 .articlerecherche .autor {
    display: flex;
    gap: 10px;
    color: var(--article-autor);
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 5px;

}

.illicosearch-response2 .articlerecherche .html {
    color: var(--article-text);
    margin-top: 4px;
    font-size: 12px;
    line-height: 18px;
    margin: 0px;
}

.illicosearch-response2 .imagerecherche {
    height: 110px;
    width: 110px;
    min-height: 80px;
    min-width: 80px;
    top: 0px;
    margin-right: 15px;
    float: left;
    display: flex;
    justify-content: center;
    align-content: center;
}

.illicosearch-response2 .imagerecherche img {
    object-fit: cover;
    border-radius: 7px !important;


}


@media (max-width: 720px) {

    .illicosearch-response2 .imagerecherche {
        max-width: 80px;
        max-height: 80px;
        display:flex;
        justify-content: center;
        margin-bottom: 10px;

    }

    .illicosearch-response2 .articlerecherche a {
        width: 100%;
        overflow: hidden;
    }

    .illicosearch-response2 .articlerecherche .titlerecherche {
        font-size: 14px;
    }

    .illicosearch-response2 .articlerecherche .autor {
        font-size: 12px;
    }



    .illicosearch-response2 .articlerecherche .html {
        font-size: 12px;
    }
}