.searchwp-live-search-results {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background: #fff;
	-webkit-box-shadow: 0 0 2px 0 rgba(30,30,30,0.4);
	box-shadow: 0 0 2px 0 rgba(30,30,30,0.4);
	border-radius: 3px;
	width: 315px;
	min-height: 65px;
	max-height: 80%;
}

.searchwp-live-search-no-min-chars .spinner {
	opacity: 0.3;
}

.searchwp-live-search-result p {
	font-size:13.5px;
	padding: 3px 2px;
	margin:0;

}

.searchwp-live-search-result-wrapper {

  padding: 5px 7px 5px 7px;
  border-bottom:1px solid #e8e8e8;  

}

.searchwp-live-search-result:hover {
  background: #faf5e1;
}

.searchwp-live-search-result--focused {
	background: #DDD;
}

.searchwp-live-search-result--focused a {
	color: #000;
}

.searchwp-live-search-result:last-of-type p {
	border-bottom:0;
}

.searchwp-live-search-result a {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media only screen and (max-width: 954px) {
  .searchwp-live-search-result a {
  	white-space: normal;
  	text-overflow: clip;
    overflow:  auto;   
  }
}

.searchwp-live-search-result a:hover {
  color: rgb(51, 51, 51);
}

/* Bullet proof Screen Reader Only text */
.searchwp-live-search-instructions {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

/* custom styles */
.header-search {
    width: 65.0882%;   
}

.site-header .header-search .form-control {
  height: 38px;
  padding: 5px;
  width: 100%; 
}   

.search-result-header {
  background: #0061a1;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  padding: 1px 7px;
  margin: 0 !important;
}

.search-result-textsearch {
  font-weight: bold;
  border: 0 !important;
}

.search-result-textsuche {
  overflow-y: scroll;
  max-height: 300px;
}

.search-result-headline {
  border: 0 !important;
  padding: 0 !important; 
	white-space: nowrap;
	text-overflow: ellipsis;
  overflow: hidden;   
} 

.search-result-excerpt {
	white-space: normal;
	overflow: auto;
  font-size: 12px !important;
  padding: 0 !important;
  padding-bottom: 8px !important;
  line-height: 13px !important;  
}

.search-form .form-control {      
  color: rgb(51, 51, 51);
  font-size: 24px !important;
  height: 36.8px;
}

.search-form .form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 16px !important;
}
.search-form .form-control::-moz-placeholder { /* Firefox 19+ */
  font-size: 16px !important;
}
.search-form .form-control:-ms-input-placeholder { /* IE 10+ */
  font-size: 16px !important;
}
.search-form .form-control:-moz-placeholder { /* Firefox 18- */
  font-size: 16px !important;
}

#search_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(229,238,244, 0.9);
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.header-search {
  position: relative;
}

.header-search .close-icon {
  position: absolute;
  top: 7px;
  right: 28px;
  width: 26px;
  height: 22px;
  background-image: url(../img/close.png);
  cursor: pointer;
}

.header-search-wrapper {
  position: fixed;
  padding-top: 9px;
  right: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;   
}

.header-search-offspace {
  margin-left: 29.4118%;
  width: 70.5882%;
}

.header-search {
  width: 100%;
  padding: 0 2% 0 8%;  
}

.header-search .form-control {
  padding: 5px 5px 5px 10px;
  background-image: url(../img/search.png);
  background-position: right 8px center;
  background-repeat: no-repeat;
  border: 1px solid #999999;
  background-color: #fff;
  font-size: 13px;
  line-height: 25px;                                                                         
}

@media only screen and (max-width: 954px) {
  .header-search .form-control {
    display: none;
  }
  
  .header-search-wrapper {
  
    position: static;
    padding-top: 0;
  
  }
  
  .search-result-headline a {
    line-height: 17px;
    margin-bottom: 2px;
  }
}

