@charset "UTF-8";

/* Header search button */
.nav-item-search {
  margin-right: 20px !important;
}

.search-wrapper {
  position: absolute;
  -webkit-transform: translate(-35px, -50%);
  -moz-transform: translate(-35px, -50%);
  transform: translate(-35px, -50%);
  top: 50%;
  right: -35px;
}

.search-wrapper.active {
}

.search-wrapper .input-holder {
  height: 35px;
  width: 35px;
  background: rgba(255, 255, 255, 0);
  border-radius: 6px;
  border: 0 solid #e4e7ea;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.search-wrapper.active .input-holder {
  border-radius: 50px;
  width: 350px;
  background: #fff;
  border: 1px solid #e4e7ea;
  -webkit-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  -moz-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  box-sizing: content-box;
}

.search-wrapper .input-holder .search-input {
  display: none;
  width: 100%;
  height: 35px;
  padding: 0 50px 0 50px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5c6873;
  -webkit-transform: translate(0, 60px);
  -moz-transform: translate(0, 60px);
  transform: translate(0, 60px);
  -webkit-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  -moz-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);

  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

/* IE */
.search-wrapper .input-holder .search-input:-ms-input-placeholder {
  font-size: 0.8rem !important;
}
.search-wrapper .input-holder .search-input::-ms-clear {
  display: none !important;
}

.search-wrapper.active .input-holder.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 300px;
  border-radius: 50px;
  -webkit-transition: unset;
  -moz-transition: unset;
  transition: unset;
}

.search-wrapper.active .input-holder .search-input {
  display: inline-block;
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  transform: translate(0, 0);
}

.search-wrapper .input-holder .search-icon {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 6px;
  padding: 0;
  outline: none;
  position: relative;
  z-index: 2;
  float: right;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.search-wrapper.active .input-holder .search-icon {
  width: 35px;
  height: 35px;
  margin: 0;
  border-radius: 30px;
}

.search-wrapper .input-holder .search-icon span {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);
  -moz-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);
  transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);

}

.search-wrapper.active .input-holder .search-icon span {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: -3px;
  left: 1px;
}

.search-wrapper .input-holder .search-icon span::before, .search-wrapper .input-holder .search-icon span::after {
  position: absolute;
  content: '';
}

.search-wrapper .input-holder .search-icon span::before {
  width: 3px;
  height: 6px;
  left: 10px;
  top: 16px;
  border-radius: 0.25rem;
  background: #fff;
}

.search-wrapper .input-holder .search-icon span::after {
  width: 10px;
  height: 10px;
  left: 1px;
  top: 1px;
  border-radius: 16px;
  border: 3px solid #fff;
  box-sizing: content-box;
}

.search-wrapper .close {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 5px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
  -webkit-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
  -moz-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
  transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.search-wrapper.active .close {
  right: 315px;
  top: 6px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  -moz-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.search-wrapper .close::before, .search-wrapper .close::after {
  position: absolute;
  content: '';
  border-radius: 2px;
}

.search-wrapper .close::before {
  width: 5px;
  height: 25px;
  left: 10px;
  top: 0;
}

.search-wrapper .close::after {
  width: 25px;
  height: 5px;
  left: 0;
  top: 10px;
}
