/home/smartbloks/www/help.smartbloks.ai/wp-content/plugins/eazydocs/src/search-banner/style.scss
/* Search Banner area
============================================================================================ */
.ezd_search_banner {
  background-color: #fafafa;
  padding-top: 120px;
  padding-bottom: 70px;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;

  &.no_keywords #ezd-search-results {
    top: calc(100% + 10px)
  }

  &.has_bg_dark {
    background-size: cover;
    background-repeat: no-repeat;

    .ezd_search_keywords {
      .label {
        color: #d6d9dc;
      }

      ul li a {
        color: #ebebeb;
        text-decoration: none;
      }
    }

    &.no_cs_bg {
      background-image: url("../images/search-bg.jpeg");
    }
  }

  .input-wrapper label {
    position: absolute;
    top: 48%;
    left: -2px;
  }

  .banner_shap_img {
    li {
      &:first-child {
        top: auto;
        bottom: 0
      }

      &:last-child {
        top: auto;
        bottom: 0;
        left: auto;
        right: 0;
      }
    }
  }
}

form.ezd_search_form {
  max-width: 650px;

  .form-group {
    margin-bottom: 0;
    padding-bottom: 0;

    .input-wrapper {
      input {
        font-size: 14px;
        font-weight: 400;
        height: 50px;
        line-height: 50px;
        box-shadow: 0 1px 1px rgba(11, 80, 115, 0.3), 0 1px 5px rgba(60, 64, 67, 0.1);
        padding-right: 30px;
        margin-bottom: 0;

        &::-webkit-search-cancel-button {
          padding-right: 28px;

          &:hover {
            cursor: pointer;
          }
        }

        &:focus, &:hover {
          box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 2px 6px 2px rgba(60, 64, 67, .15);
        }

        &:focus {
          background: #fff;
          color: #242729;
          outline: none;

          &::placeholder {
            color: var(--black_500);
          }

          + label i {
            color: #242729;
          }
        }

        &::placeholder {
          color: #ebebeb;
          font-size: 14px;
          font-weight: 400;
        }
      }
    }
  }
}

.ezd_search_keywords {
  text-align: center;
  justify-content: center;

  .label {
    color: #54595d;
    font-weight: 400;
  }

  ul {
    li {
      margin-left: 0;
      margin-bottom: 0;
      margin-top: 0;

      a {
        background: transparent;
        padding: 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        transition: all 300ms linear 0s;
        border-radius: 0;
        color: #54595d;
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2;
        display: inline;
      }

      &:hover {
        a {
          border-color: rgba(255, 255, 255, 0.5);
        }
      }
    }
  }
}

/** === Doc search form result === **/
.doc_banner_text .banner_search_form {
  transition: all .4s;
}

.doc_banner_text .banner_search_form {
  margin-top: 45px;
}

.ezd_search_form, .doc_banner_text .banner_search_form {
  position: relative;
}

#ezd-search-results {
  padding: 0;
  border: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 4px 0 rgba(4, 73, 89, 0.06);
  font-size: 14px;
  font-weight: 400;
  display: none;
  transition: all .4s;
  z-index: 99;
  top: calc(100% - 28px);

  a {
    text-decoration: none;
  }

  &.ajax-search {
    display: block;
  }

  &::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #fff;
    position: absolute;
    top: -6px;
    transform: rotate(45deg);
    left: 40px;
    border-left: 1px solid #e6eeef;
    border-top: 1px solid #e6eeef;
  }

  .error.title {
    margin-bottom: 0;
    text-align: left;
    color: #dc3545;
    padding: 15px;
  }

  .doc-section {
    border-right: none;
    padding-left: 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: initial;
    margin-bottom: 5px;
  }

  .search-result-item {
    padding: 10px 20px;
    position: relative;
    border-bottom: 1px solid rgb(245 245 250);
    transition: .3s all;
    cursor: pointer;

    a.title {
      display: flex;
      color: var(--black_700);
    }

    &:last-child {
      border-bottom: none
    }

    &:hover svg.block.h-auto.w-16 {
      display: block;
    }

    &:hover {
      background: var(--ezd_brand_color);

      .breadcrumb-item, a {
        color: #fff;
      }
    }

    img, svg.block.h-full.w-auto {
      position: absolute;
      top: 12px;
      margin: auto;
    }

    svg.block.h-auto.w-16 {
      position: absolute;
      right: 20px;
      top: 0;
      bottom: 0;
      margin: auto;
      display: none;
    }

    .breadcrumb .breadcrumb-item {
      a {
        display: inline-flex;
      }
    }
  }
}

.eazydocs-breadcrumb-root-title li.breadcrumb-item {
  color: rgb(119 122 175) !important;
  background: rgb(245 245 250);
  width: 100%;
  padding: 5px 15px !important;
}

#ezd-search-results .breadcrumb .breadcrumb-item {
  padding-left: 0;
}

ol.eazydocs-search-wrapper .breadcrumb .breadcrumb-item:first-child {
  display: none;
}

#ezd-search-results .breadcrumb.eazydocs-search-wrapper {
  padding-left: 30px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}

#ezd_searchInput ~ .spinner {
  position: absolute;
  right: 27px;
  display: none;
  background: #fff;
  z-index: 999;
  bottom: 17px;
  border-width: 2px;
  width: 18px;
  height: 18px;
  vertical-align: -0.125em;
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  border: 0.25em solid rgba(0, 0, 0, .14);
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: .75s linear infinite spinner-border;
  animation: .75s linear infinite spinner-border;

  &.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
  }

  .visually-hidden {
    visibility: hidden;
  }
}

@keyframes spinner-border {
  100% {
    transform: rotate(360deg);
  }
}

.alert-danger {
  background: rgba(255, 243, 244, .7);
  border-color: #fbadb3;
}

.alert-success {
  background: rgba(241, 253, 243, .7);
  border-color: #94e3a1;
}

.has_drop #ezd_searchInput {
  + .spinner {
    right: 130px;
  }

  &::-webkit-search-cancel-button {
    right: 130px;
    position: absolute;
  }
}

.ezd_search_form {
  margin: 10px auto 0;

  .form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .input-wrapper {
    position: relative;
    flex: 1;

    i.left-icon {
      position: absolute;
      left: 25px;
      font-size: 16px;
      color: #fff;
      top: 50%;
      transform: translateY(-50%) rotate(-90deg);
    }

    input {
      background: #fff;
      border: 0;
      height: 60px;
      font-size: 16px;
      padding-left: 52px;
      width: 100%;
      border-radius: 45px;
      padding-right: 155px;
      background: rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.7);

      &:hover {
        background: rgba(255, 255, 255, 0.27);
      }
    }
  }
}

/** === Focust Search Form === **/
body.ezd-search-focused {
  .focus_overlay {
    opacity: 1;
    visibility: visible;
  }

  .banner_search_form {
    position: relative;
    z-index: 999 !important;
  }
}

body:not(.ezd-search-focused) #ezd-search-results.ajax-search {
  display: none;
}

.focus_overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  visibility: hidden;
  z-index: 99;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.3s linear;
  width: 100% !important;
  max-width: 100% !important;
}

.header_search_form_info {
  position: relative;

  &.search_form_wrap {
    .search_submit_btn {
      position: absolute;
      right: 0;
      box-shadow: none !important;
      height: 100%;
      width: 50px;
      border: none;
      background: var(--ezd_brand_color);
      display: flex;
      align-items: center;
      justify-content: center;
      top: 0;

      > i {
        font-size: 16px;
      }

      > svg {
        width: auto;
        max-width: 20px;
        height: auto;
        max-height: 100%;
        min-width: 18px;
        object-fit: cover;
      }
    }
  }
}

.ezd_search_keywords {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
  justify-content: center;
  margin-top: 10px;

  span {
    font-size: 14px;
    color: #fff;
    margin-right: 10px;
  }

  ul {
    margin-bottom: 0;
    margin-left: 0;

    li {
      display: inline-block;
      margin-right: 7px;
    }
  }
}


.breadcrumb .breadcrumb-item + .breadcrumb-item:before {
  content: "5";
  font-family: eleganticons;
  color: #b7b9be;
  padding: 0 2px;
}

.header_search_keyword {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
  justify-content: center;
  margin-top: 10px;

  .search_keyword_label {
    font-size: 14px;
    margin-right: 10px;
    color: var(--black_100);
  }

  ul {
    margin: 0;

    li {
      display: inline-block;
      margin: 0 3px 0;

      a {
        display: block;
        font-size: 13px;
        padding: 0 19px;
        border-radius: 45px;
        background: var(--ezd_brand_color);
        color: #fff;
      }
    }
  }
}

.header_search_form_info {
  input[type="search"] {
    padding-right: 0 !important;
  }

  &.search_form_wrap {
    .form-group {
      padding-bottom: 0;
    }

    input[type="search"] {
      height: 75px;
      background: #fff;
      border: 0;

      &:focus {
        outline: none;
      }
    }
  }
}

.spinner {
  &.search_form_spinner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-55%);
    display: none;
    background: #fff;
    z-index: 999;

    > img {
      max-width: 22px;
    }
  }
}

body.ezd-search-focused {
  .ezd_click_capture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    z-index: 110;
    opacity: 0;
    background: rgba(0, 0, 0, .4);
    transition: all .3s linear;
  }
}