/* ==========================================================================
   Header / Branding
   ========================================================================== */
.site-branding__logo img {
  /* width: 287px; */
}
.logo-wrapper {
  background: #33333399;
}
.logo--oliveskspaces h1 {
  border: none;
}
div#site-header__inner {
  border-right: 1px solid #eee;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.main-content {
  /* border-right: 1px solid #eee; */
  /* border-left: 1px solid #eee; */
}

/* ==========================================================================
   Grid / Views
   ========================================================================== */

.grid-item {
  margin-bottom: 2em;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
  display: flex;
  gap: 1em;
}

.grid-item .image {
  flex: 0 0 175px; /* don't grow, don't shrink, base width 175px */
  width: 175px; /* belt-and-suspenders, some browsers want this too */
  img {
    width: 100%;
    border: 1px solid #ccc;
    padding: 4px;
  }
}
.grid-item .metadata {
  flex: 1 1 auto; /* grow to fill remaining space */
  min-width: 0; /* prevents text/content overflow issues in the flex item */
}
.grid-item .views-field-did-image img {
  width: 100%;
}
.grid-item .title {
  display: block;
  padding: 0.5em 0;
  line-height: 1.2;
  margin: 5px 0 6px 0;
  font-weight: bold;
  border-bottom: 1px dotted #574938;
  overflow-wrap: anywhere;

  a {
    text-decoration: none;
    font-family: var(--font-serif);
    color: #ba7d2b;
    font-size: 1.5rem;
  }
}
.views-label,
.field__label {
  font-weight: bold;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  display: inline-block;
}
.grid-item {
  .views-field.views-field-field-abstract {
    display: flex;
  }

  .views-field.views-field-field-abstract li {
    list-style-type: none;
  }
}
/* ==========================================================================
   Search & Facets
   ========================================================================== */
div#block-oliveskspaces-solrsearchcontentsearchresultspagerforpage {
  margin-bottom: 0;
}

.facets-widget-links {
  li {
    list-style-type: none;
  }
  a {
    text-decoration: none;
  }
  .facet-active,
  li:hover {
    background: #fff;
    border-radius: 4px;
  }
  li.facet-item i.fa-solid.fa-ban {
    color: darkred;
  }
  .facet-active {
    padding-inline-start: 4px;
  }
  ul {
    margin: 0;
  }
}

button#toggle-facets {
  background: #013735;
}

.facet-wrapper .advanced-search-form {
  input[type="submit"] {
    padding-inline: 1rem;
    margin-inline-end: 0.5rem;
    transition: all 0.3s ease;
  }
  input[type="submit"]:focus,
  input[type="submit"]:hover {
    background: #fff;
    box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
  }
  input[type="submit"].advanced-search-form__search:hover,
  input[type="submit"].advanced-search-form__add:hover {
    background: lightgreen;
  }
  input[type="submit"].advanced-search-form__reset:hover,
  input[type="submit"].advanced-search-form__remove:hover {
    background: lightpink;
  }
  select {
    margin-bottom: 1.125rem;
    margin-inline-end: 0.5rem;
    padding-inline-end: 1.5rem;
    min-width: 5.5rem;
  }
  input[type="text"] {
    width: 100%;
  }
}

/* ==========================================================================
   Mirador Viewer
   ========================================================================== */
span#override-default-display-mode {
  display: none;
}
.mirador16.mirador15 {
  border-top: 2px solid #004744 !important;
}
.MuiToolbar-root.MuiToolbar-dense.mirador16.mirador15.mirador-window-top-bar {
}
.mirador28 {
  display: none;
}

.advanced_search_result_pager .pager__group {
  background: #f6f7f8;
}
.pager__link--is-active {
  border-color: #003a37;
}
.collection-view .view-header {
  margin: 0;
}
.book-grid .view-header,
.people-grid .view-header {
  margin: 0;
}

.book-grid .view-filters,
.people-grid .view-filters {
  margin-block-end: var(--sp2);
}

.book-grid .view-header,
.people-grid .view-header {
  margin: 0;
}

.field--name-field-media-image img {
  border: 1px solid #ccc;
  padding: 4px;
}

.field__item {
}

iframe.pdf {
  border: 1px solid #ccc;
  padding: 4px;
}
