.search {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color-blue);
  opacity: 0;
  transition: opacity 0.5s ease-in-out, z-index 0.6s ease-in-out;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.search label {
  display: none;
}
.search .views-exposed-form {
  display: flex;
  flex-direction: row-reverse;
  margin: 0 auto;
}
@media screen and (-ms-high-contrast: none) {
  .search .views-exposed-form {
    justify-content: center;
  }
}
.search .form-text {
  width: 70vw;
  color: white;
  padding: 0 0 5px 70px;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid white;
  background-color: var(--color-blue);
  font-size: 39px;
  font-weight: 400;
  line-height: 55px;
  font-family: var(--font-heading);
}
.search .form-text:focus {
  outline: none;
}
.search .form-text::placeholder {
  color: white;
}
.search .form-text::-ms-input-placeholder {
  color: white;
}
.search .button {
  font-size: 0 !important;
  background-color: transparent;
  padding: 20px 25px;
  border: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("../../../media/icons/suche.svg");
}
@media screen and (-ms-high-contrast: none) {
  .search .button {
    padding: 20px 23px;
  }
}
.search .form-actions {
  position: relative;
  left: 50px;
  bottom: 0;
}

.search--open {
  opacity: 1;
  z-index: 10000;
}

.search--mobile-menu {
  position: relative;
  opacity: 1;
  top: 0;
  left: 0;
  right: unset;
  bottom: unset;
  width: 100%;
  z-index: -1;
}
.search--mobile-menu .views-exposed-form {
  width: 100%;
}
.search--mobile-menu .form-actions {
  position: absolute;
  left: 0;
}
.search--mobile-menu .form-text {
  font-size: 20px;
  line-height: 35px;
  padding: 0 0 5px 45px;
  border-radius: 0;
  width: 100%;
  background-color: var(--color-blue);
}
@media screen and (max-width: 650px) {
  .search--mobile-menu .form-text {
    font-size: 17px;
  }
}
.search--mobile-menu input:-webkit-autofill {
  padding: 0px 0px 5px 45px !important;
  background-color: var(--color-blue) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--color-blue) inset;
  -webkit-text-fill-color: white;
}
.search--mobile-menu input:-webkit-autofill::first-line {
  font-size: 17px;
}
.search--mobile-menu .form-item {
  width: 100%;
}
.search--mobile-menu .button {
  padding: 10px 15px;
}
