/*
 * Typeahead dropdown styling
 */


/* Ensure the search bar doesn't change size due to typeahead.js */
.twitter-typeahead{
  width: auto;
  display: block !important;
}

.ie9 #searcheverything .twitter-typeahead{
  display: inline !important;
  width: 83% !important;
}
.ie9 #searcheverything .twitter-typeahead #searchall{
  width: 100% !important;
}
.ie9 .tt-menu{
  background: #FFFFFF;
  border: 1px solid #DDD;
  padding: 10px;
}
.ie9 .tt-cursor{
  background: #DDD;
}



/* styling for the dropdown menu */
.tt-menu {
  padding: 0;
  width: 100%;
  background-color: white;
  font-size: 12px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 3px 5px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.5);
  z-index: 80 !important;
}

/* styling for each section of the dropdown menu (eg. bestbets, faqs, etc)*/
/*div[class*='tt-section-']
  padding: 0.25em;
}*/

div[class*='tt-dataset-'] hr {
  margin: 0;
}

.cat-header span {
  font-weight: bold;
  color: #999;
}

/* styling when you hover over a suggestion */
.tt-suggestion:hover {
  background-color: #DDD;
}

.tt-cursor {
  background-color: #DDD;
}

/*styling for each header*/
.cat-header {
  padding: 0.7rem;
}
/* styling for individual suggestions */
.tt-suggestion {
  font-size: 1.25em;
  /*margin-bottom: 0.7rem;*/
  padding: 0.35em 0.7rem;
  margin-left: 0;
  margin-right: 0;
}
.tt-suggestion p {
    line-height: 1.2;
    margin-bottom: 0;
}
.suggestion-title {
  font-weight: bold;
  display: block;
}

#searcheverything .tt-menu {
  top: 4.75em !important;
}

#utility-search #search-form .tt-menu {
  top: 2.6em !important;
} 

.tt-dataset-titles .tt-suggestion {
  margin-bottom: 0.5em;
}

.visuallyhidden {
  display: none;
}

/*
 * Styling for specific types of suggestions
 */

/* TODO: fix the sizing of the image for smaller interfaces */

.bestbet-container {
}

.space-container {
  width: 100%;
  height: 4em;
}

.space-image {
  float: left;
  /*max-width: 70%;*/
  height: 3.25em;
  width: 4.5em;
  display: inline;
  margin-right: 0.75em;
}

.space-footer {
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ddd;
  font-size: 1.25em;
  padding:0.5em;
  text-align: center;
}

@media only screen and (max-width: 40em) {
  .bestbet-description {
    display: none;
  }
  .space-image {
    display: none;
  }
  .greybox {
    display: none;
  }
  .tt-dataset-faqs {
    display: none;
  }
  .tt-dataset-spaces {
    display:none;
  }
  .tt-suggestion {
    padding: 0.5em;
  }
}

