#defi-search-fullpage {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 200;
}

#search-searchbar {
  text-align: center;
}
.header-content-menu #defi-search {
  top:0;
}
#defi-search {
  background-color: #fff;
  position: relative;
  z-index: 200;
  margin: auto;
  margin-top: 60px;
  max-width: 730px;
  .header-content-menu & {
    display: none;
    margin-top: 0;
    position: absolute;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, 0);
    width: 80%;
    min-width: 300px;
    max-width: 730px;
  }
}

#custom-searchbox {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 10px;
  > svg {
    circle,
    path {
      stroke: #8f68fc;
    }
  }
  &:hover > svg {
    circle,
    path {
      stroke: #05d2dd;
    }
  }
}

/*.defi-searchbox-root {
    height: 48px !important;
}*/

.defi-search-inputbox {
  box-shadow: none !important;
  padding-left: 58px !important;
  padding-top: 6px !important;
  height: 57px !important;
  font-family: Open Sans;
  font-style: normal;
  border-radius: 0 !important;
  font-weight: normal;
  font-size: 18px;
  line-height: 160%;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #8b8bb8 !important;
  background: transparent !important;
  color: #292984 !important;
  &::placeholder {
    color: #8b8bb8 !important;
  }
  &:focus {
    border-bottom-color: #8b8bb8 !important;
  }
}

.searchbox-opened {
  background: #fff !important;
}

#search-container {
  position: absolute;
  display: none;
  transform: translateX(-50%);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 730px;
  background: #fff;
  top: 57px;
}

.searchpost-link {
  padding-left: 58px;
  padding-right: 46px;
  display: block;
  transition: 0.2s ease-in-out background;
  margin: 20px 0;
  &:hover {
    background: #05d2dd;
  }
  h2 {
    font-family: Open Sans;
    margin-bottom: 3px;
    font-size: 18px;
    line-height: 160%;
    color: #292984;
    letter-spacing: 0;
    text-transform: none;
  }
}

.searchpost-data {
  font-family: Open Sans;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 160%;
  color: #292984;
}

.defi-search-no-records {
  background: #8b8bb8;
  color: #ffffff;
  font-family: Open Sans;
  height: 52px;
  font-size: 16px;
  padding-top: 10px;
  padding-left: 58px;
  position: relative;
  #search-hits-defiprime &.empty {
    display: none;
  }
}

.defi-search-submit {
  top: -2px !important;
  left: 14px !important;
  &:hover {
    background: transparent;
  }
  path {
    fill: #8b8bb8;
  }
}

.ais-SearchBox-resetIcon {
  width: 14px !important;
  height: 14px !important;
}

.active_magnifying_icon svg {
  circle,
  path {
    stroke: #8f68fc;
  }
  &:hover {
    circle,
    path {
      stroke: #05d2dd;
    }
  }
}

.ais-search-box--reset {
  top: 1px !important;
  &:hover {
    background-color: transparent;
  }
  svg {
    fill: #8f68fc;
  }
}

.category_searchitem {
  color: #ff961c;
  font-family: Open Sans;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 160%;
  padding-left: 58px;
  height: 58px;
  padding-top: 18px;
}

.defi-search-form {
  max-width: 300px;
  margin: 0 auto;
}

.defi-clear-searchbox {
  display: none;
  top: -2px !important;
  right: 13px !important;
  &:hover {
    background: transparent;
  }
}

.defi-search-separator {
  border: 1px solid #e0e0e0;
  margin: 21px 0;
  transform: scaleY(0.5);
}

#search-powered-by {
  z-index: 1;
  position: absolute;
  right: auto !important;
  top: 75px !important;
  background: #fff;
  padding: 2px;
  border-radius: 1px;
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2);
  display: none;
  &.inner-powered-by {
    display: inline-block;
  }
}
header p {
  margin-top: 0em;
}
// #search-hits-defiprime{
//   display: none;
// }
