/* ///////////// SEARCH-BUTTON ///////////////// */

div#search p {
  padding: 15px;
  cursor: pointer;
  float: left;
}

div#search form {
  right: 4px;
  top: 3px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.1s linear 0.3s, opacity 0.1s linear;
  position: absolute;
}

div#search input.textfield, div#mobsearch input.textfield {
  padding: 10px 9px 10px 10px;
  width: auto;
  font-size: 1em;
  font-family: 'Lato', Arial, sans-serif;
  color: black;
  background: #FFFFFF;
  border: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: inline;
  -webkit-border-radius: 10px;
  border-radius: 10px;
	background: #eeeeee;
}

div#search input.submit, div#mobsearch input.submit {
  position: absolute;
  cursor: pointer;
  width: 30px;
  height: 30px;
  top: 4px;
  right: 4px;
  z-index: 3;
  background: url(/_local/images/icon-lupe.svg) no-repeat;
  background-size: contain;
  border: 0;
  display: inline;
}

div#search.show form {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.1s;
}

/* ///////// SEARCH-BUTTON IN MOBILER NAVIGATION //////////// */

@media only screen and (max-width: 970px) {
  #mobsearch {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
  }
  #mobsearch>p {
    display: none !important;
  }
  #mobsearch form {
    width: 84%;
    padding: 10px;
    box-sizing: border-box;
    border: 0 !important;
    margin: 0 7% 0 7%;
  }
  #mobsearch input.textfield {
    width: 100% !important;
  }
  #mobsearch input.submit {
    top: 21px !important;
    left: 36px !important;
  }

  div#search input.textfield, div#mobsearch input.textfield {
    padding: 5px 9px 5px 40px;
    width: auto;
    font-size: 1em;
    font-family: 'Lato', Arial, sans-serif;
    color: black;
    background: #FFFFFF;
    border: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  	background: #eeeeee;
  }

  div#search input.submit, div#mobsearch input.submit {
    width: 24px;
    height: 24px;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
  }
}

/* //////////////////// SEARCH-RESULTS ////////////// */

ol.cmsSearchResults {
  padding: 0 0 0 28px !important;
  margin: 0 !important;
}

li.cmsSearchResult {
  margin-top: 25px !important;
  border-bottom: 1px solid #969696;
  padding-bottom: 25px !important;
}

li.cmsSearchResult:first-child {
  margin-top: 0 !important;
}

li.cmsSearchResult:last-child {
  border: none;
}

ol.cmsSearchResults li.cmsSearchResult {
  margin-bottom: 25px;
}

img.cmsSearchIcon {
  vertical-align: text-bottom;
  padding-right: 5px;
  border: 0;
}

span.cmsSearchTitle {
  font-weight: bold;
}

span.cmsSearchRating {
  font-size: 80%;
}

p.cmsSearchLink {
  margin-bottom: 10px;
}

p.cmsSearchPreview em, span.cmsSearchTitle em {
  font-weight: bold;
  background-color: #b6e9da;
}

.navigation_bar {
  border-top: 1px solid black;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  line-height: 1.25em;
  margin-top: 30px;
  padding-top: 15px;
  overflow: visible !important;
}

.navigation_bar div.results {
  float: left;
  width: 49%;
  line-height: ;
}

.navigation_bar div.navigation {
  float: right;
  width: 49%;
  text-align: right;
}

.navigation_bar div.navigation a {
  padding: 4px 8px;
  background-color: #ececec;
  -webkit-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
  color: black !important;
}

.navigation_bar div.navigation a:hover {
  background-color: #b6e9da;
  color: black !important;
  text-decoration: none !important;
}

.navigation_bar div.navigation a:first-child, .navigation_bar div.navigation em:first-child {
  margin-left: 5px;
}

.navigation_bar div.navigation em {
  padding: 4px 8px;
  background-color: #b6e9da;
  -webkit-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
  color: black !important;
  font-style: normal !important;
}
