@charset "UTF-8";

.dropdown-toggle::after {
  border: none;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #005272;
  border-bottom: 2px solid #005272;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: absolute;
  right: 20px;
  top: 12px;
}

.dropdown-toggle[aria-expanded=true]::after {
  transform: rotate(-135deg) !important;
  top: 18px;
}

.facet-area-main .facets.d-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.facet-area-main .facet {
  flex: 1 1 auto;
}

.facet-area-main .dropdown-toggle {
  text-align: left;
}

.dropdown-menu.facet-type-options.fluidfacet.show {
  width: 100%;
  background-color: #ffffff;
  border-color: #005272;
}

.dropdown-menu > li {
  border-bottom: 1px solid #005272;
}

.facet-count {
  font-weight: 700;
}

/* Auf Handy: volle Breite */
@media (max-width: 768px) {
  .facet-area-main .facet {
    flex: 1 1 100%;
  }
  .facet-area-main .dropdown-toggle {
    white-space: normal !important;
    /* ← Pfeil wieder sichtbar */
    width: 100% !important;
    position: relative !important;
    overflow: visible !important;
  }
}
.d-grid {
  display: block !important;
}

.alert {
  font-size: larger;
  margin-bottom: 24px;
  margin-top: 24px;
  font-weight: 600;
  padding: 0;
}

.tx-solr-search-form button[type=submit],
.tx-solr-search-form input[type=submit] {
  margin-left: -20px;
}

#tx-solr-facets-in-use p {
  margin-top: 1.5rem;
  margin-bottom: -1.5rem;
}

.btn-sm {
  margin-bottom: 3px;
}

/* Dropdown-Item Text umbrechen */
.facet-area-main .dropdown-item {
  white-space: normal;
  word-wrap: break-word;
}

.autocomplete-suggestions.tx-solr-autosuggest {
  width: 100% !important;
  overflow-y: auto;
  box-sizing: border-box;
  left: 0;
  top: 100%;
}

.form-group {
  position: relative;
}

.tx-solr-search-form .col:first-child {
  position: relative;
}

#tx-solr-search .th-mta {
  color: #575757;
}
#tx-solr-search .search-image {
  position: relative;
}
#tx-solr-search .search-image .copyright-container {
  position: absolute;
  bottom: 5px;
  left: 8px;
  z-index: 2;
  color: #000;
  padding: 4px 0 4px 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}
#tx-solr-search .search-image .copyright-container .fa-fw {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0px 5px 1px 6px;
  border-radius: 5px;
  transition: 0.3s ease;
  font-size: 20px;
}
#tx-solr-search .search-image .copyright-container .copyright-text {
  max-width: 250px;
  opacity: 0;
  display: inline-flex;
  overflow: hidden;
  transition: 0.3s ease;
}
#tx-solr-search .search-image .copyright-container:hover {
  cursor: context-menu;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
}
#tx-solr-search .search-image .copyright-container:hover .copyright-text {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  opacity: 1;
  padding-right: 8px;
}
#tx-solr-search .search-image .copyright-container:hover .fa-fw {
  box-shadow: none;
  background: none;
}
#tx-solr-search .search-result {
  padding-top: 3.125rem;
}
#tx-solr-search .search-result > a {
  display: block;
  color: #00668F;
  text-decoration: none;
  border-bottom: none;
}
#tx-solr-search .search-result > a img {
  transition: 0.3s ease;
}
#tx-solr-search .search-result > a .search-text-block h3.th-hdl {
  color: inherit;
}
#tx-solr-search .search-result > a .search-text-block p.th-tsr {
  color: #333;
}
#tx-solr-search .search-result > a:visited {
  color: #757575;
}
#tx-solr-search .search-result > a:hover, #tx-solr-search .search-result > a:focus {
  text-decoration: none;
}
#tx-solr-search .search-result > a:hover img, #tx-solr-search .search-result > a:focus img {
  transition: 0.3s ease;
  transform: scale(1.02);
}
#tx-solr-search .search-result > a:hover .search-text-block h3.th-hdl, #tx-solr-search .search-result > a:focus .search-text-block h3.th-hdl {
  text-decoration: underline;
}
#tx-solr-search .search-result:nth-child(1) {
  padding-top: 1.125rem;
  border-top: none;
}
#tx-solr-search .results-highlight {
  background: rgba(0, 0, 0, 0);
}