html {
  --atoti-brand-color-light: rgb(255, 91, 88);
  --atoti-brand-color: rgb(227, 57, 53);
}

html[data-theme="light"] {
  --docsearch-primary-color: var(--atoti-brand-color-light);
  --pst-color-primary: var(--atoti-brand-color-light);
  --pst-color-secondary: var(--atoti-brand-color);
  --pst-color-active-navigation: var(--atoti-brand-color-light);
  --pst-color-inline-code: var(--atoti-brand-color-light);
}

html[data-theme="dark"] {
  --docsearch-primary-color: var(--atoti-brand-color-light);
  --pst-color-primary: var(--atoti-brand-color-light);
  --pst-color-secondary: var(--atoti-brand-color);
  --pst-color-active-navigation: var(--atoti-brand-color-light);
  --pst-color-inline-code: var(--atoti-brand-color-light);
  /* Lighten the background */
  --pst-color-background: #1e1e1e;
  --pst-color-on-background: #121212;
}

.DocSearch-Button {
  margin: 0 0 0 0;
  width: 100%;
}

/* Unset properties set by the PyData theme on the `img, svg` selector. */
.DocSearch-Container svg {
  vertical-align: unset;
}

/* Unset properties set by the PyData theme on the `.mark, mark` selector. */
.DocSearch-Hits mark {
  padding: unset;
  background-color: unset;
}

/* Hide Sphinx search bar modal when using the keyboard shortcut for search to avoid conflict with the DocSearch modal. */
.search-button__wrapper {
  display: none;
}
