/*------------------------------------*\
    CONTENTS
\*------------------------------------*/
/*
NORMALIZE BUTTON & INPUT - https://github.com/necolas/normalize.css
LAYOUT
INPUT, BUTTON & DROPDOWN
LAYOUT2
*/
/*------------------------------------*\
    NORMALIZE BUTTON & INPUT
\*------------------------------------*/
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/*------------------------------------*\
    LAYOUT
\*------------------------------------*/
.typeahead-container {
  position: relative;
  z-index: 10;
  /*margin-top:5%;*/
  /*background-color: #fff;*/
  font-family: "Helvetica Neue", "Helvetica", Arial;
  color: rgba(0, 0, 0, 0.7);
  /*font-size: 16px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  line-height: 16px;*/
}

.typeahead-container.result {
  border-radius: 4px 4px 0 0;
}

.typeahead-container.result,
.typeahead-container.filter {
  z-index: 999;
}

.typeahead-field {
  width: 100%;
  /*font-size: 16px;*/
  display: table-row;
  text-align: left;
  border-spacing: 0;
  border-collapse: separate;
}

.typeahead-field > span {
  display: table-cell;
  /*vertical-align: middle;*/
}

.typeahead-field .typeahead-query {
  width: 96%;
}

.typeahead-field .typeahead-filter {
  width: 2%;
  /*min-width: 200px;*/
}

.typeahead-field .typeahead-button {
  width: 2%;
  min-width: 50px;
}

.typeahead-result {
  position: absolute;
  /*top: 72px;*/
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 1px;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
}

.typeahead-result > ul {
  width: 100%;
  padding: 0;
  margin: 0;
  /*font-size: 16px;*/
  text-align: left;
  list-style: none;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.typeahead-result > ul > li:first-child {
  border-top: none;
}

.typeahead-result > ul > li {
  border-top: solid 1px rgba(0, 0, 0, 0.15);
}

.typeahead-result > ul > li > a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  text-decoration: none;
  color: #333;
  clear: both;
  background-color: #fff;
  position: relative;
}

.typeahead-result > ul > li.active > a {
  background-color: #ebebeb;
}

.typeahead-result > ul > li.typeahead-group a {
  /*background-color: #37a3eb;
  background: -webkit-linear-gradient(top, #37a3eb 0, #2181cf 100%);
  background: linear-gradient(to bottom, #37a3eb 0, #2181cf 100%);*/
  font-size: 13px;
  /*color: #fff;*/
  text-transform: uppercase;
  /*font-weight: bold;
  text-shadow: 0 1px 0 rgba(0,0,0,0.75);
  -moz-text-shadow: 0 1px 0 rgba(0,0,0,0.75);
  -webkit-text-shadow: 0 1px 0 rgba(0,0,0,0.75);*/
}

.typeahead-result > ul > li > a small {
  padding-left: 16px;
  color: #b6b6b6;
}

/*------------------------------------*\
    INPUT, BUTTON & DROPDOWN
\*------------------------------------*/
.typeahead-container * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.typeahead-container input[type=search],
.typeahead-container input.typeahead-hint,
.typeahead-container .typeahead-filter button {
  outline: 0 none;
  display: inline;
  min-width: 70px;
  margin: 0;
  padding: 10px 16px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.typeahead-container input[type=search] {
  border-radius: 4px 0 0 4px;
  border-right-width: 0;
  width: 100%;
}

.typeahead-container .typeahead-filter button {
  white-space: nowrap;
  background-color: #fff;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-right-width: 0;
  border-left-width: 0;
  padding-left: 0;
  padding-right: 18px;
  line-height: normal;
}

.typeahead-container .typeahead-filter button:before {
  content: "";
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  padding-left: 10px;
}

.typeahead-container .typeahead-filter {
  position: relative;
}

.typeahead-container .typeahead-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 140px;
  padding: 0.5em 0;
  margin: 2px 0 0;
  /*font-size: 16px;*/
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.typeahead-container .typeahead-filter {
  text-transform: capitalize;
}

.typeahead-container .typeahead-dropdown a {
  display: block;
  padding: 7px 16px;
  white-space: nowrap;
  text-decoration: none;
  color: #333;
  text-transform: capitalize;
}

.typeahead-container .typeahead-dropdown a:hover,
.typeahead-container .typeahead-dropdown a:focus {
  color: #262626;
  background-color: #f5f5f5;
}

.typeahead-container .caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.typeahead-container .typeahead-dropdown .divider {
  height: 1px;
  overflow: hidden;
  background-color: #e5e5e5;
}

.typeahead-container .searchBtn {
  /*.typeahead-container button[type="submit"] {*/
  padding: 11px 16px;
  /*padding: 10px;*/
  line-height: 0;
  margin: 0;
  cursor: pointer;
  vertical-align: middle;
  min-width: 60px;
  outline: none;
  border: none;
  background-color: #FAFAFA;
  text-align: center;
  text-decoration: none;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  border-radius: 0 4px 4px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, -webkit-box-shadow 0.25s ease;
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
}

.typeahead-container button[type=submit]:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
  color: rgba(0, 0, 0, 0.7);
}

.typeahead-container .search-icon {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto;
  background: url(images/icon-search-16px.png) no-repeat scroll left top transparent;
}

/*------------------------------------*\
    LAYOUT2
\*------------------------------------*/
.typeahead-container.layout2 {
  font-size: 13px;
  padding: 6px;
  background-color: #e6e6e6;
  border: none;
  line-height: 1.3em;
}

.typeahead-container.layout2 input[type=search],
.typeahead-container.layout2 .typeahead-filter button {
  border-color: rgba(0, 0, 0, 0.4);
}

.typeahead-container.layout2 .typeahead-query {
  background: #fff;
  border-radius: 4px 0 0 4px;
}

.typeahead-container.layout2 input[type=search],
.typeahead-container.layout2 input.typeahead-hint,
.typeahead-container.layout2 .typeahead-filter button {
  padding: 7px 10px;
}

.typeahead-container.layout2 button[type=submit] {
  padding: 8px 10px;
  background-color: #8b8d90;
  background: -webkit-linear-gradient(top, #eceded 0, #8b8d90 3%, #64676b 100%);
  background: linear-gradient(to bottom, #eceded 0, #8b8d90 3%, #64676b 100%);
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.35) inset;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.35) inset;
}

.typeahead-container.layout2 button[type=submit]:hover {
  background-color: #96989b;
  background: -webkit-linear-gradient(top, #eceded 0, #8b8d90 3%, #8b8d90 100%);
  background: linear-gradient(to bottom, #eceded 0, #8b8d90 3%, #8b8d90 100%);
}

.typeahead-container.layout2 .typeahead-result {
  top: 3.4em;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25) inset;
}

.typeahead-container.layout2 .typeahead-result > ul > li > a {
  font-size: 16px;
  text-transform: capitalize;
}

.typeahead-container.layout2 .typeahead-result > ul > li.typeahead-group > a {
  color: #fff;
  background-color: #e85b54;
  background: -webkit-linear-gradient(top, #e85b54 0, #b22520 100%);
  background: linear-gradient(to bottom, #e85b54 0, #b22520 100%);
}

.typeahead-container.layout2 .search-icon {
  width: 16px;
  height: 18px;
  background-position: -16px top;
}

.typeahead-container.layout2 .typeahead-dropdown {
  top: 2.8em;
}