/*the container must be positioned relative:*/ 
.autocomplete {
  position: relative;
  display: inline-block;
}

.banner .autocomplete-items{width: 100%;}
.autocomplete-items {
  position: absolute;
  z-index: 9999;
  /*position the autocomplete items to be the same width as the container:*/
  width: 500px;
  top: 120px !important;
  right: 0;
  background-color: #fff;
  padding: 1em;
  border: 1px solid #eeeeee;
  border-top: 0;  
}
.searchbar .autocomplete-items{
  top: 100% !important;
}
.autocomplete-items .list-group-item span{
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 5px;
}

.autocomplete-items .list-group-item p{
  display: inline;
}

.autocomplete-items .list-group-item span.icon-input-checked:before{
  font-size: 20px;
}

.text-ellipsis{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchform{ 
  position: relative;
}

#searchform .btn.btn-search{
  position: absolute;
  right: 0;
  top: -4px;
}




/* fix voor HTML dat door typeahead wordt toegevoegd */
/*
.{es_configuration(cssclasssearchform)} .twitter-typeahead {
  display: block !important;
}

span.marked {
  font-weight:bold;
  background: none;
  font-style: italic;
}
*/

.input-group>.twitter-typeahead {
     position: relative;
     -ms-flex: 1 1 auto;
     -webkit-box-flex: 1;
     flex: 1 1 auto;
     width: 1%;
     margin-bottom: 0;
 }
 .input-group>.twitter-typeahead:not(:last-child) {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .input-group>.twitter-typeahead>.tt-input {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .form-control.tt-input:focus {
     z-index: 3
 }


#searchbar .searchbox{
  width: 445px;
}
#searchbar .searchdobtn{
 margin-left: 460px !important; 
}
@media only screen and (max-width: 1200px) {
  .autocomplete-items{
    	width:100%;
  }
}
@media only screen and (max-width: 650px) {
  .text-ellipsis{
    white-space: normal;
  }
}
