.search {
  width: 100%;
  height: auto;
  position: fixed;
  top: 80px;
  z-index: 997;
  padding: 32px 0 48px;
  background: var(--nav-default-bgcolor);
  transform: translateY(-200%);
  -webkit-transition:  .4s ease 0s;
  -moz-transition: transform .4s ease 0s;
  -o-transition: transform .4s ease 0s;
  -ms-transition: transform .4s ease 0s;
  transition: transform .4s ease 0s;
}


.search-mobile {
  width: 100%;
  height: auto;
  position: fixed;
  top: 80px;
  z-index: 997;
  padding: 32px 0 48px;
  background: var(--nav-default-bgcolor);
  display: none;
  opacity: 0;
  -webkit-transition:  .4s ease 0s;
  -moz-transition: transform .4s ease 0s;
  -o-transition: transform .4s ease 0s;
  -ms-transition: transform .4s ease 0s;
  transition: transform .4s ease 0s;
}

.search-mobile.active {
  display: block;
  opacity: 1;
  -webkit-transition:  .4s ease 0s;
  -moz-transition: transform .4s ease 0s;
  -o-transition: transform .4s ease 0s;
  -ms-transition: transform .4s ease 0s;
  transition: transform .4s ease 0s;
}

.search.active {
  transform: translateY(0px);
}

.search-input-wrap {
  width: 70%;
  margin: 0 auto;
}

.search-input {
  display: flex;
  align-items: center;
}

.search-input .input-box {
  flex: 1;
  margin-right: 16px;
  position: relative;
}

.search-input .input-box input {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  border: 1px solid var(--dark-default-color);
  border-radius: 5px;
  padding: 0 10px 0 45px;
  background: transparent;
  font-size: 20px;
  color: var(--dark-default-color);
}

.search-input .input-box i {
  position: absolute;
  left: 12px;
  top: 0;
  font-size: 26px;
  height: 54px;
  line-height: 54px;
  color: var(--dark-default-color);
}

.search-input .btn {
  width: 112px;
  height: 54px;
  line-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 20px;
  color: var(--dark-default-color);
  background: var(--dark-nav-bgcolor);
}

.search-mask {
  background: var(--light-nav-bgcolor);
}

.search-mask .search-input input {     
  box-sizing: border-box;
  height: 54px;
  border: 1px solid #000000;
  border-radius: 5px;
  margin-right: 8px;
  padding: 0 10px 0 45px;
  background: transparent;
  font-size: 20px;
  color: #000;
}

.search-mask .search-input .input-box i {
  position: absolute;
  left: 12px;
  top: 0;
  font-size: 26px;
  height: 54px;
  line-height: 54px;
  color: #000;
}

.search-mask .search-input .btn {
  width: 112px;
  height: 54px;
  line-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 20px;
  color: #fff;
  border-radius: 4px;
  background: var(--light-main-color);
}
@media (max-width: 1199px) {
  .search-mobile {
    background-color: #fff;
  }
  .search-mobile .search-input input {
    color: #000;
    border: 1px solid #000;
  }
  .search-mobile .search-input input:focus {
    font-size: 20px !important;
  }
  .search-mobile .search-input .input-box i {
    color: #000;
  }
}
@media (max-width: 991px) {
  .search-input .input-box {
    margin-right: 0;
  }
  .search-mobile {
    --pagePadding: 35px;
    padding: 20px 0 35px;
    top: 60px;
  }
  .search-mobile .search-input input {
    height: 40px;
    padding: 0 10px 0 46px;
    margin: 0;
    font-size: 16px;
    color: #000;
  }
  .search-mobile .search-input input:focus {
    font-size: 16px !important;
  }
  .search-mobile .search-input .input-box i {
    position: absolute;
    left: 12px;
    top: 4px;
    font-size: 24px;
    height: 32px;
    line-height: 32px;
    color: #000;
  }

  .search-mobile .search-input .btn {
    display: none;
  }

  .search-input-wrap { 
    width: 100%;
    padding: 0 var(--pagePadding);
  }
}

@media (max-width: 767px) {
  .search-mobile{
    --pagePadding: 27px;
  }
}

@media (max-width: 575px) {
  .search-mobile {
    --pagePadding: 16px;
    top: 52px;
  }
  .search-mobile .search-input input:focus {
    font-size: 16px !important;
  }
}