/*------------------------------------------------------------------
Search
-------------------------------------------------------------------*/
.etww-search-wrap {
  position: relative; }
  .etww-search-wrap .search-submit {
    color: #333;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    padding: 0 12px;
    border-radius: 5px; }
    .etww-search-wrap .search-submit:focus, .etww-search-wrap .search-submit:hover {
      color: #333; }
  .etww-search-wrap .etww-ajax-loading {
    display: none;
    background: transparent url("../../img/loader.svg") no-repeat center center;
    background-size: 100%;
    position: absolute;
    top: 50%;
    right: 60px;
    margin-top: -8px;
    width: 16px;
    height: 16px; }
  .etww-search-wrap .etww-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden; }
    .etww-search-wrap .etww-search-results ul {
      list-style: none;
      padding: 0;
      margin: 0; }
      .etww-search-wrap .etww-search-results ul li a.search-result-link {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center; }
      .etww-search-wrap .etww-search-results ul li a {
        position: relative;
        font-size: 14px;
        line-height: 1;
        padding: 10px 34px 10px 13px;
        border-bottom: 1px solid #eaeaea;
        letter-spacing: 0.6px; }
        .etww-search-wrap .etww-search-results ul li a img {
          float: left;
          max-width: 30px;
          margin-right: 10px; }
        .etww-search-wrap .etww-search-results ul li a .result-title {
          display: block;
          line-height: 1.3;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis; }
        .etww-search-wrap .etww-search-results ul li a i.icon {
          position: absolute;
          top: 50%;
          right: 13px;
          margin-top: -6px;
          font-size: 12px;
          color: #aaa;
          -webkit-transition: all 0.3s ease;
          -moz-transition: all 0.3s ease;
          -ms-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          transition: all 0.3s ease; }
        .etww-search-wrap .etww-search-results ul li a:hover i.icon {
          color: #666; }
        .etww-search-wrap .etww-search-results ul li a.all-results {
          display: block;
          font-size: 12px;
          font-weight: 600;
          letter-spacing: 0.6px;
          text-align: center; }
          .etww-search-wrap .etww-search-results ul li a.all-results span {
            display: inline-block;
            padding-bottom: 3px;
            border-bottom: 1px solid; }
            .etww-search-wrap .etww-search-results ul li a.all-results span i {
              padding-left: 5px; }
      .etww-search-wrap .etww-search-results ul li a.search-result-link:hover {
        background-color: #f8f8f8;
        color: #555; }
      .etww-search-wrap .etww-search-results ul li:last-child a {
        border-bottom: 0; }
  .etww-search-wrap .etww-no-search-results {
    position: relative;
    font-size: 14px;
    line-height: 1;
    padding: 18px 18px; }
    .etww-search-wrap .etww-no-search-results h6 {
      margin: 0 0 10px; }
    .etww-search-wrap .etww-no-search-results p {
      margin: 0; }

form.etww-searchform {
  width: 100%;
  height: auto;
  position: relative; }
  form.etww-searchform,
  form.etww-searchform input.field {
    min-height: 40px; }
  form.etww-searchform input.field:focus {
    -webkit-box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1); }

.etww-align-left .etww-search-wrap {
  margin: 0 auto 0 0; }

.etww-align-center .etww-search-wrap {
  margin: 0 auto; }

.etww-align-right .etww-search-wrap {
  margin: 0 0 0 auto; }

@media (max-width: 1024px) {
  .etww-tablet-align-left .etww-search-wrap {
    margin: 0 auto 0 0; }
  .etww-tablet-align-center .etww-search-wrap {
    margin: 0 auto; }
  .etww-tablet-align-right .etww-search-wrap {
    margin: 0 0 0 auto; } }

@media (max-width: 767px) {
  .etww-mobile-align-left .etww-search-wrap {
    margin: 0 auto 0 0; }
  .etww-mobile-align-center .etww-search-wrap {
    margin: 0 auto; }
  .etww-mobile-align-right .etww-search-wrap {
    margin: 0 0 0 auto; } }

/* RTL */
body.rtl .etww-search-wrap .etww-ajax-loading {
  left: 60px;
  right: auto; }

body.rtl .etww-search-wrap .etww-search-results {
  right: 0;
  left: auto; }

body.rtl .etww-search-wrap .etww-search-results ul li a {
  padding-left: 34px;
  padding-right: 13px; }
  body.rtl .etww-search-wrap .etww-search-results ul li a .result-thumb {
    margin-left: 10px;
    margin-right: 0; }
  body.rtl .etww-search-wrap .etww-search-results ul li a i.icon {
    left: 13px;
    right: auto; }
  body.rtl .etww-search-wrap .etww-search-results ul li a.all-results span i {
    padding-right: 5px;
    padding-left: 0; }

body.rtl .etww-search-wrap form.etww-searchform button {
  left: 0;
  right: auto; }
