﻿@charset "UTF-8";
/* @extend */
.header__search-box {
  position: relative;
  margin-top: 28px;
  margin-bottom: 0; }
  .header__search-box input {
    width: 100%;
    border-right-color: transparent;
    padding-right: 12px;
    border: 1px solid #f70617;
    border-right: 0;
    line-height: 44px;
    height: 44px;
    font-size: .9em;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px; }
  .header__search-box span.input-group-addon {
    cursor: pointer;
    background-color: #f70617;
    border: 0 none;
    padding: 0 14px;
    border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px; }
    .header__search-box span.input-group-addon:hover, .header__search-box span.input-group-addon:focus {
      background-color: #de0515; }
    .header__search-box span.input-group-addon i {
      font-size: 1.3em;
      position: relative;
      top: -1px;
      right: 2px;
      cursor: pointer;
      line-height: 44px;
      -webkit-transform: scale(-1, 1);
              transform: scale(-1, 1);
      color: #fff; }
  .header__search-box.search-box__open .search-box__result {
    visibility: visible; }
    .header__search-box.search-box__open .search-box__result #handlebars-result__header-search {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
      -webkit-box-shadow: 0 8px 6px rgba(0, 0, 0, 0.2);
              box-shadow: 0 8px 6px rgba(0, 0, 0, 0.2); }
  .header__search-box.search-box__open.search-box__empty #handlebars-result__header-search:before {
    content: 'محصولی یافت نشد.';
    display: block;
    text-align: center;
    color: #E71516;
    position: relative;
    top: -10px; }
  .header__search-box.search-box__loading:before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border-top: 2px solid #999;
    border-right: 2px solid transparent;
    -webkit-animation: loading-spin .6s linear infinite;
            animation: loading-spin .6s linear infinite;
    display: inline-block;
    margin-left: 5px;
    position: absolute;
    top: 9px;
    left: 40px;
    z-index: 9; }
  .header__search-box .search-box__result {
    position: absolute;
    width: 102%;
    right: -1%;
    overflow: hidden;
    z-index: 9999;
    visibility: hidden; }
    .header__search-box .search-box__result #handlebars-result__header-search {
      background-color: #fdfdfd;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
      -webkit-transform: translateY(-120%);
              transform: translateY(-120%);
      -webkit-transition: opacity .3s, -webkit-transform .4s;
      transition: opacity .3s, -webkit-transform .4s;
      transition: transform .4s, opacity .3s;
      transition: transform .4s, opacity .3s, -webkit-transform .4s;
      opacity: 0;
      padding-top: 20px;
      margin: 0 1% 15px 1%; }
      .header__search-box .search-box__result #handlebars-result__header-search > div {
        max-height: 50vh;
        overflow: auto; }
      .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*=col-]:first-child {
        max-height: 60px;
        overflow: hidden; }
      .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*=col-] a {
        color: #E71516; }
      .header__search-box .search-box__result #handlebars-result__header-search .clearfix small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        width: 100%; }
        @media (min-width: 768px) and (max-width: 991px) {
          .header__search-box .search-box__result #handlebars-result__header-search .clearfix small {
            display: none; } }
    .header__search-box .search-box__result i {
      position: absolute;
      width: 20px;
      height: 20px;
      cursor: pointer;
      left: 0;
      top: 0;
      z-index: 999; }
      .header__search-box .search-box__result i:before, .header__search-box .search-box__result i:after {
        position: absolute;
        top: 50%;
        left: 0px;
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background-color: #333; }
      .header__search-box .search-box__result i:before {
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg); }
      .header__search-box .search-box__result i:after {
        -webkit-transform: rotate(45deg);
                transform: rotate(45deg); }
  .header__search-box img {
    font-size: 8px;
    text-align: center;
    color: #999; }
    .header__search-box img:hover, .header__search-box img:focus {
      text-decoration: none;
      color: #555; }
