.content.box-bg-transparent .ab1dsearch--plugin {
  margin-top: -49px;
}
.content .intro-box .intro .header .intro-header__headline,
.content .intro-box .intro .header h2#ab1dsearch_real_headline {
  font-size: 1.5rem;
  font-weight: 400;
  font-family: "TheSansC4s-ExtraBold", Verdana, sans-serif;
}

@media (min-width: 576px) {
  .content .intro-box .intro .header .intro-header__headline,
  .content .intro-box .intro .header h2#ab1dsearch_real_headline {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .content .intro-box .intro .header .intro-header__headline,
  .content .intro-box .intro .header h2#ab1dsearch_real_headline {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .content .intro-box .intro .header .intro-header__headline,
  .content .intro-box .intro .header h2#ab1dsearch_real_headline {
    font-size: 3.438rem;
    margin-bottom: 0.5rem;
  }
}

.ab1dsearch--plugin .filter-box {
  margin-top: 0;
}

.search-filter .select-wrapper {
  position: relative;
  max-width: 420px;
}

.search-filter .select-wrapper button {
  width: 100%;
}

.search-filter .select-wrapper .filter-list {
  width: 100%;
}

.search-filter--label {
  font-weight: normal;
  margin-bottom: 0.5em;
}

.custom-control-label {
  cursor: pointer;
}

.ab1dsearch--query-wrap .input-wrap {
  position: relative;
  display: flex;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.ab1dsearch--query-wrap label {
  margin-bottom: 0;
  background: white;
  flex-grow: 1;
}

.ab1dsearch--query-wrap button[type="submit"] {
  background-color: #005f87;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding-left: 2em;
  padding-right: 1.5em;
  border-top-right-radius: 1.8rem;
  letter-spacing: 0.1em;
}

.ab1dsearch--query-wrap button[type="submit"]:focus strong,
.ab1dsearch--query-wrap button[type="submit"]:hover strong {
  border-bottom: 1px solid currentColor;
}

i.icon-search {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  position: relative;
}

.ab1dsearch--query-wrap button[type="submit"] .icon-search {
  margin-left: 0.5em;
}

i.icon-search::before {
  content: url(/typo3conf/ext/ab1d_menu/Resources/Public/css/Images/suche_weiss.svg);
  position: absolute;
  width: 150%;
  height: 150%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

.ab1dsearch--query-wrap input[type="text"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid currentColor;
}

.search-query-wrap.ac-input-focused {
  box-shadow: inset 0 0 0 3px #005f87;
}

.ab1dsearch--query-wrap .search-query-wrap {
  padding: 2em 3em 1em 3em;
}

.search-query-wrap .label-text {
  position: absolute;
  top: 0.5em;
  left: 3em;
  visibility: hidden;
}

.search-query-wrap .label-text>span {
  font-size: 0.9em;
}

.search-query-wrap.ac-input-focused .label-text,
.search-query-wrap .search-query:focus+.label-text {
  visibility: visible;
}

.ab1dsearch--query-wrap.filter-wrapper .filter-header {
  padding-top: 36px;
  padding-bottom: 20px;
}

.ab1dsearch--result-sentence,
.ab1dsearch--section {
  margin-left: auto;
  margin-right: auto;
}

.ab1dsearch--result-sentence {
  max-width: 1080px;
}

.ab1dsearch--section {
  max-width: 840px;
}

.ab1dsearch--result-sentence {
  margin-top: 1.5em;
}

.ac-em,
.ab1dsearch--result-container em {
  background-color: #c8d200;
  font-style: normal;
}

.ab1dsearch--plugin .filter-wrapper .filter-body .checkbox-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.ab1dsearch--plugin .filter-wrapper .filter-body .checkbox-wrapper .custom-checkbox {
  flex-shrink: 0;
  width: 31%;
}

@media (max-width: 768px) {
  .ab1dsearch--plugin .filter-wrapper .filter-body .checkbox-wrapper .custom-checkbox {
    width: 48%;
  }
}

.ab1dsearch--load-more-placeholder {
  border-top: 1px solid #a3a3a3;
  margin-top: 2em;
  margin-bottom: 1em;
  padding: 40px;
  text-align: center;
}

.ab1dsearch--load-more {
  border: none;
  background: none;
  font-family: TheSansC4s-ExtraBold, Verdana, sans-serif;
  cursor: pointer;
  color: #005f87;
}

.ab1dsearch--load-more:hover,
.ab1dsearch--load-more:focus {
  color: #00293b;
  text-decoration: underline;
}

.ab1dsearch--result-container h3 {
  margin-bottom: 0.5em;
}

.ab1dsearch--result-container {
  margin-top: 2.5em;
}

.ab1dsearch--result-container:first-child {
  margin-top: 1em;
}

.search-result-label {
  display: block;
  margin-bottom: 0.3em;
  font-size: 90%;
}

.autocomplete__hint,
.autocomplete__input {
  -webkit-appearance: none;
  border: 2px solid;
  border-radius: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin-bottom: 0;
  width: 100%
}

.autocomplete__input {
  background-color: white;
  position: relative
}

.autocomplete__hint {
  color: #bfc1c3;
  position: absolute
}

.autocomplete__input--default {
  padding: 0
}

.autocomplete__input--focused {
  outline-offset: 0;
}

.autocomplete__input--show-all-values {
  padding: 4px 34px 4px 4px;
  cursor: pointer
}

.autocomplete__dropdown-arrow-down {
  z-index: -1;
  display: inline-block;
  position: absolute;
  right: 8px;
  width: 24px;
  height: 24px;
  top: 10px
}

.autocomplete__menu.autocomplete__menu.autocomplete__menu {
  text-align: left;
  margin: 0;
  padding: 0.5em 0;
  width: 100%;
  background: #f1f1ea;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.autocomplete__menu--visible {
  display: block
}

.autocomplete__menu--hidden {
  display: none
}

.autocomplete__menu--overlay {
  left: 0;
  position: absolute;
  top: 100%;
  z-index: 100
}

.autocomplete__menu--inline {
  position: relative
}

.autocomplete__option {
  border-width: 1px 0;
  cursor: pointer;
  display: block;
  position: relative;
}

.autocomplete__option>* {
  pointer-events: none
}

.autocomplete__option:first-of-type {
  border-top-width: 0
}

.autocomplete__option:last-of-type {
  border-bottom-width: 0
}

.autocomplete__option--focused,
.autocomplete__option:hover {
  background-color: #005f87;
  border-color: #005f87;
  color: #fff;
  outline: 0
}

.autocomplete__option--no-results {
  background-color: #f1f1ea;
  color: #646b6f;
  cursor: not-allowed
}

.autocomplete__hint,
.autocomplete__input,
.autocomplete__option {
  font-size: 16px;
  line-height: 1.25
}

.autocomplete__hint.autocomplete__hint,
.autocomplete__option.autocomplete__option {
  padding: 0.4em 3em;
}

@media (min-width: 641px) {

  .autocomplete__hint,
  .autocomplete__input,
  .autocomplete__option {
    font-size: 19px;
    line-height: 1.31579
  }
}

.autocomplete__input:-moz-ui-invalid:not(output) {
  box-shadow: none;
}

#page-header .mini-search--active-link {
  background-color: transparent;
  border-bottom: 16px solid #C8D200;
  color: #222;
  text-decoration: none;
}

.ab1dsearch--plugin--minisearch {
  background-color: #C8D200;
  padding-top: 1.5em;
  padding-bottom: 2em;
  position: relative;
}

.mini-search--heading {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.ab1dsearch--minisearch-close {
  border: none;
  background: transparent;
  position: absolute;
  top: 0.5em;
  right: 1em;
  cursor: pointer;
  padding: 0.5em;
}

.ab1dsearch--minisearch-close::after {
  content: "";
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 109 109' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='1.414'%3E%3Cpath d='M57.3 55.9l19.4-19.4c.8-.8.8-2.1 0-2.9-.8-.8-2.1-.8-2.9 0L54.3 53 34.9 33.6c-.8-.8-2.1-.8-2.9 0-.8.8-.8 2.1 0 2.9l19.4 19.4-19.3 19.3c-.8.8-.8 2.1 0 2.9.4.4 1.3.4 1.7.4.4 0 1.3 0 1.3-.4l19.4-19.4 19.4 19.4c.4.4 1.3.4 1.7.4.4 0 1.3 0 1.3-.4.8-.8.8-2.1 0-2.9L57.3 55.9z' fill='%23222' fill-rule='nonzero'/%3E%3Cpath d='M54 106.4c-28.6 0-51.8-23.3-51.8-51.8C2.2 26.1 25.4 2.7 54 2.7c28.6 0 51.8 23.3 51.8 51.8 0 28.5-23.2 51.9-51.8 51.9zM54 9C28.9 9 8.4 29.4 8.4 54.5s20.4 45.6 45.6 45.6c25.1 0 45.6-20.4 45.6-45.6C99.6 29.4 79.1 9 54 9z' fill='%23222' fill-rule='nonzero'/%3E%3C/svg%3E");
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-left: 1em;
}

.ab1dsearch--minisearch-close:hover span,
.ab1dsearch--minisearch-close:focus span {
  text-decoration: underline;
}

.ab1dsearch--plugin--minisearch .ab1dsearch--query-wrap.filter-wrapper .filter-header {
  padding-top: 1em;
}

.ab1dsearch--load-more {
  position: relative;
  padding-top: 60px;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.ab1dsearch--load-more::before {
  position: absolute;
  top: 5px;
  left: calc(50% - 24px);
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg id='Ebene_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 139.3 139.3'%3E%3Cstyle%3E.st0%7Bfill:%2304658f%7D%3C/style%3E%3Cpath class='st0' d='M20.4 20.4c-27.2 27.2-27.2 71.4 0 98.6 27.2 27.2 71.4 27.2 98.6 0 27.2-27.2 27.2-71.4 0-98.6-27.2-27.2-71.4-27.2-98.6 0zm90.1 90.1C88 133 51.3 133 28.8 110.5s-22.5-59.2 0-81.7 59.2-22.5 81.7 0 22.5 59.2 0 81.7zm0 0'/%3E%3Cpath class='st0' d='M69.7 31.5c-3.3 0-6 2.7-6 6v26.2H37.5c-3.3 0-6 2.7-6 6s2.7 6 6 6h26.2v26.2c0 3.3 2.7 6 6 6 1.6 0 3.1-.7 4.2-1.8s1.8-2.6 1.7-4.2V75.7h26.2c1.6 0 3.1-.7 4.2-1.7 1.1-1.1 1.7-2.6 1.7-4.2 0-3.3-2.7-6-6-6H75.5V37.6c.1-3.4-2.5-6.1-5.8-6.1zm0 0'/%3E%3C/svg%3E");
  transition: transform 0.5s ease-in-out;
}

.ab1dsearch--load-more:focus::before,
.ab1dsearch--load-more:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg id='Ebene_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 139.3 139.3'%3E%3Cstyle%3E.st0%7Bfill:%2300293b%7D%3C/style%3E%3Cpath class='st0' d='M20.4 20.4c-27.2 27.2-27.2 71.4 0 98.6 27.2 27.2 71.4 27.2 98.6 0 27.2-27.2 27.2-71.4 0-98.6-27.2-27.2-71.4-27.2-98.6 0zm90.1 90.1C88 133 51.3 133 28.8 110.5s-22.5-59.2 0-81.7 59.2-22.5 81.7 0 22.5 59.2 0 81.7zm0 0'/%3E%3Cpath class='st0' d='M69.7 31.5c-3.3 0-6 2.7-6 6v26.2H37.5c-3.3 0-6 2.7-6 6s2.7 6 6 6h26.2v26.2c0 3.3 2.7 6 6 6 1.6 0 3.1-.7 4.2-1.8s1.8-2.6 1.7-4.2V75.7h26.2c1.6 0 3.1-.7 4.2-1.7 1.1-1.1 1.7-2.6 1.7-4.2 0-3.3-2.7-6-6-6H75.5V37.6c.1-3.4-2.5-6.1-5.8-6.1zm0 0'/%3E%3C/svg%3E");
}

.ab1dsearch--load-more.ab1dsearch--load::before {
  transform: rotate(360deg);
}

.search-result-info {
  position: relative;
  margin-left: 28px;
  margin-bottom: 0.5em;
}

.search-result-info a {
  font-family: TheSansC4s-Bold, Verdana, sans-serif;
}

.search-result-info a:hover {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.search-result-info::before {
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  left: -28px;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 1.5px;
}

.search-result-info--address::before {
  background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/ort.svg');
}

.search-result-info--phone::before {
  background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/telefon.svg');
  background-size: 80% auto;
}

.search-result-info--fax::before {
  background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/fax.svg');
  background-size: 80% auto;
}

.search-result-info--email::before {
  background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/mail.svg');
  background-size: 80% auto;
}

#content .search-result-contact .date-info-bar p {
  line-height: 1.2;
  margin-bottom: 0.6em;
}

.search-item--flex {
  display: flex;
}

.search-item--flex .search-item--image {
  width: calc(100% * (5 / 16));
  margin-right: calc(100% * (0.5 / 16));
  flex-shrink: 0;
}

.search-item--flex .search-item--info {
  flex-grow: 1;
}

.search-item--image img {
  max-width: 100%;
}

@media (max-width: 767px) {
  .ab1dsearch--query-wrap .search-query-wrap {
    padding: 1.2em 1em 0.6em 1em;
  }

  .search-query-wrap .label-text {
    left: 1em;
    top: 0px;
  }

  .search-query-wrap .label-text>span {
    font-size: 11px;
  }

  .ab1dsearch--query-wrap button[type="submit"] {
    padding: 0 5vw;
    border-top-right-radius: 20px;
  }

  .ab1dsearch--query-wrap button[type="submit"] .icon-search {
    margin-left: 0;
  }

  .ab1dsearch--query-wrap button[type="submit"] strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 639px) {
  .search-item--flex {
    display: block;
  }

  .search-item--flex .search-item--image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1em;
  }
}