input[type="search"] {
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
  &::-webkit-search-decoration, &::-webkit-search-cancel-button {
    -webkit-appearance: none;
  }
}

.search-wrapper {
  -webkit-transform: translateY(-400px);
  transform: translateY(-400px);
  z-index: 9999;
  &.active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.search-form {
  position: relative;
  top: 0;
  -webkit-transform: translateX(-200px);
  transform: translateX(-200px);
  z-index: 9999;
  width: 100%;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity = 0);
  opacity: 0;
  transition: all 200ms 100ms cubic-bezier(0, 0.6, 0.4, 1);
  h4 {
    margin: 0.625rem 0;
  }
  .search-field {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.625rem;
    color: #fff;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    box-shadow: none;
    background-clip: padding-box;
    -webkit-appearance: none;
    &:focus {
      outline: 0;
      box-shadow: none;
    }
  }
  &.active {
    top: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -ms-filter: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
  }
  &.hidden {
    display: none;
  }
  .icon-remove-sign {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: block;
    fill: $sec;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
  }
  &::-webkit-input-placeholder {
    font-size: 1.625rem;
  }
  .search-field {
    &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration {
      display: none;
    }
  }
  .search-list {
    position: absolute;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  h4, li, p {
    color: $sec;
  }
  a {
    color: $sec;
    &:hover {
      color: $sec;
    }
  }
}

#search-container.search-overlay:after {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9001;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  content: '';
}

.search-wrapper {
  position: fixed;
  top: 50px;
  width: 100%;
  padding-right: 10%;
  padding-left: 10%;
  &:after, &:before {
    display: table;
    line-height: 0;
    content: "";
  }
  &:after {
    clear: both;
  }
  &:before, &:after {
    display: table;
    line-height: 0;
    content: "";
  }
}

.search-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  .entry-date {
    float: right;
    display: none;
    font-size: 14px;
    text-transform: uppercase;
  }
  a {
    text-decoration: none;
    display: block;
    padding: .938rem 0;
    width: 100%;
    border-bottom: 1px solid $sec;
    &:hover {
      color: #b3b3b3;
      border-bottom: 1px solid #b3b3b3;
    }
  }
}
