/*ADDS AFTER ONE LAYOUT WTF*/
/*DEMO3*/
/*DEMO6*/
/*DEMO7*/
/*DEMO9*/
.ui-autocomplete {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  float: left;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  max-width: 230px;
  padding: 4px 0;
  margin: 0 0 10px 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #eee;
  border-style: solid;
  border-width: 1px;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px; }
  .ui-autocomplete .ui-menu-item {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 19px; }
    .ui-autocomplete .ui-menu-item:hover {
      color: #fff; }

.ui-menu-item > a.ui-corner-all {
  display: block;
  padding: 3px 15px;
  clear: both;
  font-weight: normal;
  line-height: 18px;
  color: #555555;
  white-space: nowrap;
  text-decoration: none; }

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #ffc400;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  background-image: none; }

.woo_search .ui-autocomplete {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.06); }

.woo_search {
  position: relative; }
  .woo_search__input[type="search"] {
    padding-right: 75px; }
    .woo_search__input[type="search"]::-webkit-input-placeholder {
      color: rgba(0, 0, 0, 0.3); }
  .woo_search_with_cats [type="search"] {
    min-width: 450px;
    padding-right: 235px; }
  .woo_search__categories {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    max-width: 167px;
    right: 60px;
    top: 6px;
    height: 30px;
    z-index: 999; }
    .woo_search__categories .woo_search__category {
      flex: 0 0 100%;
      padding: 0 15px 0 15px;
      font-size: 13px;
      line-height: 33px;
      color: #a3a3a3;
      background-color: #fff;
      border-left: 1px solid #eee;
      border-right: 1px solid #eee;
      visibility: hidden;
      opacity: 0;
      cursor: pointer; }
      .woo_search__categories .woo_search__category:after {
        content: '';
        display: block;
        position: absolute;
        top: -4px;
        left: 0;
        right: 50%;
        bottom: -3px;
        background-color: #ffc400;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease;
        z-index: 10; }
      .woo_search__categories .woo_search__category span {
        display: inline-block;
        position: relative;
        z-index: 50; }
        .woo_search__categories .woo_search__category span:after {
          content: '';
          display: block;
          position: absolute;
          right: -13px;
          top: 50%;
          margin-top: -3px;
          width: 4px;
          height: 4px;
          border: 1px solid #a2a2a2;
          border-bottom: 0;
          border-left: 0;
          transform: rotate(135deg);
          opacity: 0; }
      .woo_search__categories .woo_search__category:not(.active_category) {
        padding: 10px 15px;
        font-size: 14px;
        line-height: 18px;
        border-bottom: 1px solid #eee; }
        .woo_search__categories .woo_search__category:not(.active_category):hover span {
          color: #ffc400; }
      .woo_search__categories .woo_search__category.active_category {
        order: -1;
        position: relative;
        top: -2px;
        border: 0;
        margin-right: 25px;
        visibility: visible;
        opacity: 1;
        max-width: 100%; }
        .woo_search__categories .woo_search__category.active_category:before {
          content: '';
          display: block;
          position: absolute;
          left: 0;
          top: 9px;
          height: 15px;
          width: 1px;
          background-color: #eee; }
        .woo_search__categories .woo_search__category.active_category span {
          color: #3a3a3b;
          text-transform: uppercase;
          font-size: 12px;
          white-space: nowrap;
          text-overflow: ellipsis;
          display: block;
          overflow: hidden;
          letter-spacing: 1px; }
          .woo_search__categories .woo_search__category.active_category span:after {
            opacity: 1;
            border-color: #fff; }
    .woo_search__categories.active .woo_search__category {
      opacity: 1;
      visibility: visible; }
      .woo_search__categories.active .woo_search__category.active_category {
        color: #fff; }
        .woo_search__categories.active .woo_search__category.active_category:after {
          opacity: 1;
          visibility: visible;
          right: 0; }
        .woo_search__categories.active .woo_search__category.active_category span {
          color: #fff; }
  .woo_search button[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background-color: #ffc400;
    border: 0;
    border-radius: 16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #fff;
    cursor: pointer; }
  .woo_search .ui-autocomplete {
    padding: 0;
    right: 0;
    left: 0;
    border: 0;
    width: auto !important;
    max-width: inherit;
    background-color: #fff; }

@media (max-width: 1200px) {
  .header-simple .main-header-right.has-no-iconboxes .woo_search_with_cats [type=search] {
    min-width: auto;
    max-width: 100%; } }

@media (max-width: 1280px) {
  .woo_search_with_cats [type=search] {
    min-width: 420px; } }

@media (max-width: 769px) {
  .woo_search {
    margin: 15px 0 0 !important;
    min-height: 30px;
    min-width: 30px; } }

@media (max-width: 769px) {
  .header-simple .main-header-right .woo_search {
    margin-right: 2px; }
    .header-simple .main-header-right .woo_search:not(.active) button {
      background-color: #fff; }
      .header-simple .main-header-right .woo_search:not(.active) button i {
        color: #292e38;
        font-size: 16px; }
    .header-simple .main-header-right .woo_search.active {
      position: absolute;
      right: 5px;
      min-height: 40px;
      z-index: 9999; }
      .header-simple .main-header-right .woo_search.active input {
        display: block;
        position: absolute;
        right: 0;
        width: calc(100vw - 15px);
        max-width: 300px;
        min-width: auto;
        border-radius: 0; }
      .header-simple .main-header-right .woo_search.active button {
        border-radius: 0; } }
