@import url('../../views/products/products_list.css');

.search_wrap {
    float: right;
    margin-top: 25px;
    display: inline-block;
    position: absolute;
    left: 11%;
    z-index: 999;
}

.content_block .search_wrap{
    position: relative;
    top: auto;
    right: auto;
    vertical-align: middle;
    width: 50%;
    text-align: right;
}

.search {
    font-size: 12px;
    font-family: 'Arial', Helvetica, sans-serif;
}

.search input {
    height: 28px;
    margin: 0;
    padding: 0 10px;
    background-color: white;
    vertical-align: top;
}

.search input[type="text"] {
    width: 177px;
}

.search #search_icon {
    display: inline-block;
    background-image: url('search.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #FFF;
    width: 30px;
    height: 32px;
}

.search_result {
    position: absolute;
    z-index: 999;
    background-color: white;
    width: 227px;
    margin-top: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.5);
    box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.5);
}

.search_result ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.search_result li {
    padding: 5px 10px;
    border-bottom: 1px solid #CCC;
}

.search_result li:hover {
    background-color: #EEE;
    cursor: pointer;
}

.search_result a {
    vertical-align: middle;
    display: inline-block;
    color: #666;
    width: 207px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    text-align: left;
}

.search_result a:hover {
    color: #333;

}

.search_result li.clean {
    margin: 0;
    padding: 10px;
    list-style-type: none;
    text-align: center;
    border-bottom: 0;
}

.search_result li.clean:hover {
    background-color: transparent;
}

.search_result li.clean #search_total {
    color: #222;
    font-size: 11px;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.search_result li.clean:hover #search_total {
    color: #386d97;
    background-color: #FFF !important;
}
@media screen and (max-width: 750px) {
  .search input[type="text"] {
      width: 60%;
  }
}

@media screen and (max-width: 600px) {
      .search_wrap {
        float: none;
        position: relative;
        left: 0;
        text-align: left;
      }

}

@media screen and (max-width: 567px) {
  .search_wrap {
    left: 0;
    text-align: center;
    display: block;
  }

  .search input[type="text"] {
    width: 70%;
  }
}
