/* Independent Css */

.wpss-wrapper {
  position: relative;
  z-index: 1;
}

.wpss-search button {
  position: absolute;
  width: 35px;
  height: 35px;
  border: none;
  background: transparent;
  transform: rotateY(180deg);
  left: 8px;
  top: 10px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(71%) saturate(5694%)
    hue-rotate(195deg) brightness(89%) contrast(101%);
}

.wpss-bar {
  transition: 0.4s all ease-in-out;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transition: 0.4s all ease-in-out;
  transform: translateY(0px);
}

.wpss-bar.wpss-bar-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.wpss-trigger {
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  padding: 6px;
  transition: 0.4s all ease-in-out;
  flex: 0 0 auto;
}

.wpss-search {
  display: flex;
  align-items: center;
}

.wpss-input:focus-visible {
  outline: none;
  border-color: #005faa;
}

.wpss-trigger:focus {
  outline: none;
}

.wpss-input {
  width: 100%;
  padding: 14px 42px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 18px;
  background: #f3f3f3;
}

.wpss-results {
  margin-top: 10px;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  padding: 10px;
  left: 0px;
  right: 0;
  z-index: 1;
  overflow-y: auto;
  border: 1px solid #005faa;
  height: auto;
  max-height: 400px;
  position: relative;
  display: none;
}

.ps-thumb {
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
}

.ps-thumb img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-item a {
  display: flex;
  align-items: start;
  column-gap: 10px;
  transition: 0.4s all ease-in-out;
  text-decoration: none !important;
}

.ps-item:last-child {
  border-bottom: none;
}

.ps-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: -webkit-fill-available;
}

.ps-item + .ps-item {
  margin-top: 10px;
  border-top: 1px solid #005faa;
  padding-top: 10px;
}

.ps-item a:hover .ps-title {
  color: #0a58ca;
}

.ps-title {
  margin-bottom: 3px;
  color: #000;
  text-transform: capitalize;
  text-decoration: none !important;
  transition: 0.4s all ease-in-out;
  font-size: 18px;
  line-height: 1.1;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wpss-results:has(.ps-no-results) {
  height: auto;
  padding: 0;
}

.ps-excerpt {
  color: #666;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.2;
}

.ps-no-results {
  padding: 12px;
  text-align: center;
  color: #777;
}

.ps-footer {
  text-align: center;
  padding: 10px 6px;
}

button.wpss-clear-input {
  position: absolute;
  right: 8px;
  top: 12px;
  background-color: transparent;
  border: none;
  align-items: revert-layer;
  justify-content: center;
  display: none;
  left: unset;
  font-size: 27px;
}

/* Independent Css */

/* Responsive Css */

@media (max-width: 1899px) {
  button.wpss-clear-input {
    top: 10px;
  }
}

@media (max-width: 1399px) {
  .ps-title {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .ps-item a {
    align-items: start;
  }

  .ps-thumb {
    width: 85px;
    height: 85px;
  }
}

@media (max-width: 1199px) {
  .ps-thumb {
    width: 70px;
    height: 70px;
  }

  .wpss-input {
    font-size: 14px;
  }

  button.wpss-clear-input {
    top: 8px;
    right: 0px;
    font-size: 22px;
  }

  .wpss-search button {
    width: 30px;
    height: 30px;
    top: 12px;
  }

  .ps-title {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .body_search {
    overflow: hidden;
  }

  .wpss-trigger {
    z-index: 101;
    position: relative;
  }

  .body_search .wpss-trigger::after {
    content: "\f060";
    position: absolute;
    font-family: "fontawesome";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.14s all ease-in-out;
  }

  .body_search .wpss-trigger i {
    font-size: 0;
  }

  .wpss-search button {
    top: 10px;
    margin-left: -3px;
  }

  .wpss-input {
    margin-bottom: 15px;
    width: 100%;
    font-size: 16px;
    height: 50px;
    padding: 14px 32px;
  }

  .wpss-results {
    border: none;
    height: auto;
    padding: 0;
    padding-right: 5px;
    max-height: 390px;
  }

  .body_search header .container {
    max-width: 100%;
  }

  .ps-title {
    font-size: 15px;
  }

  .body_search .custom-ajax-search-wrapper {
    padding-top: 11px;
    margin: 0 0 0 15px;
    display: block;
    width: 89%;
  }

  .body_search .custom-ajax-search-wrapper {
    display: block;
  }

  .body_search .sudipti__header .wpss-trigger {
    right: 10px;
    top: 20px;
  }

  .wpss-input-wrap {
    position: relative;
  }

  button.wpss-clear-input {
    position: absolute;
    right: 8px;
    top: 23px;
    transform: translateY(-50%) !important;
    font-size: 25px;
  }
}

/* Responsive Css */
