span.twitter-typeahead{
    max-width: 100%;
}

div .typeahead, div .tt-query, div .tt-hint
{
    max-width: 100%;
}


.twitter-typeahead{
	vertical-align: middle;
	background: white;
	border-radius: 3px;
}
.tt-hint{
	display: none;
}


#srch-term.form-control.tt-query
{
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	width: 100%;
}

.text-fadeout-overflow-3{
  position: relative;
  height: 1.9em; 
  font-size: 0.8em;
  overflow: hidden;
}
.text-fadeout-overflow-3:after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 1.6em;
  /*background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 95%);*/
}

.tt-is-under-cursor .text-fadeout-overflow-3:after{
	/*background: linear-gradient(to right, rgba(0, 151, 207, 0), rgba(0, 151, 207, 1) 95%);*/
}



.srch-term-container .twitter-typeahead
{
	width: 100%;
}





/* custom styles for the typeahead */


.typeahead,
.tt-query,
.tt-hint {
  width: 396px;
  height: 30px;
 /* padding: 8px 12px; */
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 1px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-menu {
  z-index: 9998 !important;
  text-align: left;
  /*width: 422px;*/
  margin-top: 12px;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
  margin: 0px !important;
}

.tt-suggestion:hover{
cursor: pointer;
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

 