/*
 * The Algolia search field, see .templates/searchbox.html
 *
 * The theme styles every text input, which also applies to the input
 * inside the search field of Algolia: it draws a second box with a
 * border and an inset shadow inside the field and shrinks the text to
 * 80%. The input is reset to the plain input Algolia designs it as,
 * with the text in the size of the body text
 */
#autocomplete .ais-AutocompleteInput {
    border: 0;
    box-shadow: none;
    padding: 0;
    font-size: 16px;
}

/*
 * The floating button which opens the Algolia AI chat
 *
 * Algolia places the button with position: fixed in the bottom right
 * corner, but on narrow screens (max-width: 680px) it switches it to
 * position: relative. The button lives in a container appended to the
 * end of <body>, and in this theme the whole page is positioned
 * absolutely, so the button falls back to the top left corner of the
 * page, partially outside of the viewport. There it covers the button
 * of the theme which opens the navigation menu on narrow screens.
 * Keep the button fixed in the bottom right corner on all screen sizes.
 * The body prefix raises the specificity above the Algolia rule, which
 * is injected after this file and would otherwise win
 */
body .ais-ChatToggleButton--floating {
    position: fixed;
}
