/* Ricerca su telefono: barra piu stretta; fuori dalla home resta chiusa e si apre dall'icona nell'intestazione */
@media (max-width: 991px) {
    body .rh-mobsearch {
        padding: 6px 0 4px !important;
    }
    body .rh-mobsearch .rh-mobsearch-input {
        height: 40px !important;
        font-size: 15px !important;
        padding: 0 44px 0 16px !important;
        border-radius: 6px !important;
        outline: 0 !important;
    }
    body .rh-mobsearch button {
        width: 42px !important;
        height: 40px !important;
        background-size: 22px 22px !important;
    }
    body:not(#index) .rh-mobsearch {
        display: none !important;
    }
    body:not(#index) .rh-mobsearch.rh-open {
        display: block !important;
    }
    .mobar .bar.rh-srch {
        display: flex !important;
        flex: 0 0 10% !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        height: 100%;
    }
    .mobar .bar.rh-srch::before {
        content: "";
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cline x1='15.8' y1='15.8' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat center center / 22px 22px;
    }
    body#index .mobar .bar.rh-srch {
        display: none !important;
    }
}

/* evita il "lampo" del vecchio testo: il segnaposto resta invisibile finche lo script non lo ha sostituito */
.rh-mobsearch-input:not([data-rh-sugg])::placeholder,
#search_query_top:not([data-rh-sugg])::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* telefono: la barra del computer non deve mai vedersi (prima compariva finche il tema non caricava gli script) */
@media (max-width: 991px) {
    body #search_block_top {
        display: none !important;
    }
}
