/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
   Component: Search
 ========================================================================== */
/*
 * 1. Create position context for dropdowns
 * 2. Needed for `form` element
 */
.cw-search {
  display: inline-block;
  /* 1 */
  position: relative;
  /* 2 */
  margin: 0;
}
/*
 * Icon
 */
.cw-search:before {
  content: "\f002";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  line-height: 30px;
  text-align: center;
  font-family: FontAwesome;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.2);
}
/* Sub-object `cw-search-field`
 ========================================================================== */
/*
 * Removes inner padding and border in Firefox 4+.
 */
.cw-search-field::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/*
 * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
 */
.cw-search-field::-webkit-search-cancel-button,
.cw-search-field::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
 * Removes cancel button in IE10
 */
.cw-search-field::-ms-clear {
  display: none;
}
/*
 * Removes placeholder transparency in Firefox.
 */
.cw-search-field::-moz-placeholder {
  opacity: 1;
}
/*
 * 1. Define consistent box sizing.
 * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
 * 3. Remove `border-radius` in iOS.
 * 4. Correct `font` properties and `color` not being inherited.
 * 5. Remove default style in iOS.
 * 6. Style
 */
.cw-search-field {
  /* 1 */
  box-sizing: border-box;
  /* 2 */
  margin: 0;
  /* 3 */
  border-radius: 0;
  /* 4 */
  font: inherit;
  color: #444;
  /* 5 */
  -webkit-appearance: none;
  /* 6 */
  width: 120px;
  height: 30px;
  padding: 0 0 0 30px;
  border: 1px solid rgba(0, 0, 0, 0);
  background: rgba(0, 0, 0, 0);
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  vertical-align: middle;
}
/* Placeholder */
.cw-search-field:-ms-input-placeholder {
  color: #999 !important;
}
.cw-search-field::-moz-placeholder {
  color: #999;
}
.cw-search-field::-webkit-input-placeholder {
  color: #999;
}
/* Focus */
.cw-search-field:focus {
  outline: 0;
}
/* Focus + Active */
.cw-search-field:focus,
.cw-search.cw-active .cw-search-field {
  width: 180px;
}
/* Dropdown modifier: `cw-dropdown-search`
 ========================================================================== */
.cw-dropdown-search {
  width: 300px;
  margin-top: 0;
  background: #fff;
  color: #444;
}
.cw-open > .cw-dropdown-search {
  -webkit-animation: cw-slide-top-fixed 0.2s ease-in-out;
  animation: cw-slide-top-fixed 0.2s ease-in-out;
}
/*
 * Dependency `cw-navbar-flip`
 */
.cw-navbar-flip .cw-dropdown-search {
  margin-top: 12px;
  margin-right: -16px;
}
/* Nav modifier `cw-nav-search`
 ========================================================================== */
/*
 * Items
 */
.cw-nav-search > li > a {
  color: #444;
}
/*
 * Active
 * 1. Remove default focus style
 */
.cw-nav-search > li.cw-active > a {
  background: #00a8e6;
  color: #fff;
  /* 1 */
  outline: none;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
}
/*
 * Sub-object: `cw-nav-header`
 */
.cw-nav-search .cw-nav-header {
  color: #999;
}
/*
 * Sub-object: `cw-nav-divider`
 */
.cw-nav-search .cw-nav-divider {
  border-top: 1px solid #ddd;
}
/*
 * Nested items
 */
.cw-nav-search ul a {
  color: #07D;
}
.cw-nav-search ul a:hover {
  color: #059;
}
/* Search in offcanvas
 ========================================================================== */
.cw-offcanvas .cw-search {
  display: block;
  margin: 20px 15px;
}
.cw-offcanvas .cw-search:before {
  color: #777;
}
.cw-offcanvas .cw-search-field {
  width: 100%;
  border-color: rgba(0, 0, 0, 0);
  background: #1a1a1a;
  color: #ccc;
}
.cw-offcanvas .cw-search-field:-ms-input-placeholder {
  color: #777 !important;
}
.cw-offcanvas .cw-search-field::-moz-placeholder {
  color: #777;
}
.cw-offcanvas .cw-search-field::-webkit-input-placeholder {
  color: #777;
}
