#new-search {
  position: relative;
  height: 70px;
  width: 30px;
  overflow: hidden;
}

#icon-container {
  position: absolute;
  display: grid;
  grid-template-rows: 70px 70px;
  align-items: center;
  justify-items: center;
  transform: translateY(-70px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

#new-search #icon-container div {
  display: flex;
  width: 30px;
  height: 70px;
  cursor: pointer;
}

#new-search #icon-container div img {
  width: 18px;
  margin: auto;
}

#icon-container.searching {
  transform: translateY(0);
}

header {
  position: absolute;
  height: 70px;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-on nav {
  overflow: unset;
}

.header-search {
  box-shadow: none;
}

.header-search #navContainer {
  box-shadow: none;
}

#search-container {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 15px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2000;
  transform: translate3d(0, calc(-100% - 85px), 0);
}

#search-content {
  display: grid;
  position: relative;
  grid-template-columns: 2fr;
  gap: 20px;
  max-width: 1200px;
  width: 95%;
  margin: auto;
  height: 100%;
}

@media screen and (max-width: 740px) {
  #search-content {
    width: 100%;
  }
}

#search-container.search-on {
  transform: translateZ(0);
}

body {
  overflow-y: scroll;
}

nav {
  box-shadow: unset !important;
  max-width: 1200px;
  width: 95% !important;
  right: 0;
  position: fixed;
  top: 0;
  left: 0;
  /* overflow: hidden; */
}

nav .navbar {
  width: auto !important;
}

#navContainer {
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 71px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 3px 10px 4px rgba(0, 0, 0, 0.1);
  margin: auto;
  z-index: 2001 !important;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

/*---------------------------------------------
-------------------  new  ---------------------
---------------------------------------------*/

#search-container #srchResult {
  background: #fff;
  position: absolute;
  bottom: 58px;
  top: 48px;
  max-height: 100%;
}

.search-on #search {
  transform: translateY(0);
  opacity: 100;
  overflow: hidden;
}

#searchPic {
  display: flex;
  position: absolute;
  top: 48px;
  bottom: 0;
  text-align: center;
  width: 100%;
  align-items: center;
  margin: auto;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

#searchPic img {
  width: 85%;
  max-width: 350px;
  margin: auto;
}

.display-none {
  visibility: hidden;
  z-index: -10;
  transform: translateY(70px);
  position: relative !important;
}

@media (max-width: 600px) {
  #search-content {
    display: grid;
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 200px;
  }

  #search {
    position: absolute;
    top: 0;
    bottom: 2.5vw;
    right: 0;
    left: 0;
    /* grid-row: 1/2; */
  }

  #ads-content {
    grid-column: 1/2 !important;
    grid-row: 2/3 !important;
  }
}

#ads-content {
  position: absolute;
  background: #888;
  border-radius: 4px;
  grid-column: 2/3;
  grid-row: 1/2;
  top: 0;
  bottom: 2.5vw;
  right: 0;
  left: 0;
}

/*---------------------------------------------
-------------------search----------------------
---------------------------------------------*/

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--color-neutral-300);
  opacity: 1; /* Firefox */
  font-variation-settings: "wght" 300, "dots" 3;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--color-neutral-300);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--color-neutral-300);
}

#search-container input {
  border: none;
  border-radius: 4px 4px 0 0;
  outline: none;
  background-color: #fcfcfc !important;
  border-bottom: 1px solid #f3f3f3;
  height: 48px;
  padding: 0 12px;
  padding-right: 40px;
  max-width: 100%;
}

#search-parent {
  flex-basis: 100%;
}

#search {
  position: absolute;
  top: 0;
  bottom: 2.5vw;
  right: 0;
  left: 0;
  grid-column: 1/2;
  border-radius: 8px;
  box-shadow: 0px 3px 12px 0px rgba(121, 146, 177, 0.15);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  background: #fff;
  opacity: 0;
}

@media screen and (max-width: 740px) {
  #search {
    bottom: 0;
  }
}

.noResult {
  display: flex;
  gap: 15px;
  padding: 0 10px;
}

/* #search:focus-within {
  border: 1px solid transparent;
  box-shadow: 0px 0px 6px rgba(0, 67, 105, 0.4);
} */

#search #search-ico {
  width: 32px;
  height: 48px;
  padding-right: 12px;
}

#search svg {
  width: 26px;
  height: 48px;
  margin-right: 12px;
}

#search-box {
  max-height: 48px !important;
  width: 100%;
  padding-right: 40px;
}

#search-box.loading {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="L9" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve"> <path fill="%2370c542" d="M100,50c0-27.6-22.4-50-50-50S0,22.4,0,50 M8.5,50C8.5,27.2,27,8.5,50,8.5S91.5,27.2,91.5,50" > <animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s" from="0 50 50" to="360 50 50" repeatCount="indefinite" /> </path></svg>') !important;
}

/* width */
#srchResult::-webkit-scrollbar {
  width: 4px !important;
}

/* Track */
#srchResult::-webkit-scrollbar-track {
  background: transparent !important;
}

/* Handle */
#srchResult::-webkit-scrollbar-thumb {
  background: #888 !important;
  border-radius: 12px !important;
}

/* Handle on hover */
#srchResult::-webkit-scrollbar-thumb:hover {
  background: #555 !important;
}

#srchResult {
  position: relative;
  overflow-y: auto;
  max-height: 40vh;
  right: 0;
  left: 0;
  border-radius: 0 0 8px 8px;
}

.searchResult {
  display: grid;
  grid-template-columns: 3px 32px 1fr max-content;
  column-gap: 15px;
  padding: 10px;
  padding-right: 0;
  width: 100%;
  color: inherit;
}

.searchResult .updateDate {
  display: flex;
  line-height: 1;
  align-self: center;
  background: #ffb400;
  grid-row: 1/2;
  grid-column: 6/7;
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 3px;
  padding-top: 5px;
  border-radius: 5px;
  color: #1d1d1d;
  font-variation-settings: var(--font-var-seting-600);
  font-size: 12px !important;
}

.searchResult .updateDate img {
  height: 11px;
  width: 19px;
  padding: 0;
  padding-right: 6px;
  padding-left: 2px;
  margin-top: -4px;
}

.searchResult:hover div {
  height: 0;
  width: 3px;
  background-color: var(--blue);
  border-radius: 10px;
  grid-row: 1/3;
}

@media (hover: hover) {
  .searchResult:hover div {
    height: 100%;
  }

  .searchResult:hover {
    background-color: #f3f5f9;
    cursor: pointer;
  }
}

#srchResult > div:first-of-type {
  border: none;
}

#search:focus-within > .line {
  margin: 0;
  border: 1.5px solid #f3f3f3;
}

.line {
  border-top: 1px solid #f3f3f3;
  margin: 0 20px;
}

#search.noChild .line {
  border: none;
}

.searchResult p {
  margin: 0;
  grid-column: 3/4;
  font-size: var(--small-font) !important;
}

.searchResult p:first-of-type {
  font-feature-settings: "ss01";
}

.searchResult img {
  grid-column: 2/3;
  grid-row: 1/3;
  width: 44px;
  align-self: center;
  justify-self: center;
  padding: 3px;
}

.process-info {
  color: var(--color-neutral-500);
}

mark {
  background-color: unset;
  font-variation-settings: var(--font-var-seting-bold);
}

.noResult {
  display: flex;
  padding: 0 12px;
  gap: 10px;
}

#moreResult {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 0 0 4px 4px;
  background: #f9f9f9;
  height: 56px;
  justify-content: end;
  box-shadow: 0px 0px 14px 7px rgba(0, 0, 0, 0.1);
}

#moreResult a {
  display: flex;
  width: fit-content;
  margin: 0;
  padding: 0 40px;
  height: 100%;
  border-radius: 0 0 0 4px;
  color: #fff;
  background: #1a73e8;
  text-align: center;
  align-items: center;
  gap: 15px;
}

@media (max-width: 600px) {
  #moreResult a {
    padding: 0 20px;
    width: 100%;
    justify-content: center;
  }
}

#moreResult img {
  max-height: 24px;
}

.no-scroll {
  overflow-y: hidden;
}

/*-----------------------------
-------------------------------
-------------------------------
-------------------------------
-------------------------------
------------------------------*/
