.header-search-input {
  min-width: 288px;
}

.header-search-results {
  top: 100%;
  width: 100%;
  z-index: 10;

  a {
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    background: transparent;

    span {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }
  }

  a:hover {
    background: inherit;
    color: inherit;
  }
}

.header-search-result {
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #eee;

  &:hover {
    background-color: #edeff0!important;
  }

  a {
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    background: transparent;
    display: inline-block;

    span {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }
  }

  .has-relation-icon {
    position:absolute;
    right:10px;
    top:50%;
    margin-top:-8px;
    color:#4dadf7;
  }

  &:last-child {
    border-bottom: initial;
  }
}

@media (max-width: 767px) {
  .header-search-input {
    min-width: 100%;
  }
}
