/*------------- #POPUP-SEARCH --------------*/


.popup-search {
  width: auto;
  padding: 40px 30px 10px 30px;
  border-radius: 5px;
  position: absolute;
  top: 38px;
  right: 0;
  left: auto;
  background-color: $white-color;
  z-index: 111;
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.16);
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  transition: all .3s ease;

  &.open {
    visibility: visible;
    opacity: 1;
    max-height: 50vh;
  }

  @media (max-width: 460px) {
    padding: 20px;
  }

  .search {
    background-color: $border-color;
    padding: 17px 40px;
    font-size: 16px;
    color: #797676;
    border-color: transparent;
    border-radius: 50px 0 0 50px;
    float: left;
    width: 85%;
  }

  .search-btn {
    display: inline-block;
    background-color: $heading-color;
    padding: 20px 5px;
    border-radius: 0 50px 50px 0;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    color: $white-color;
    width: 60px;
    height: 64px;

    i:hover {
      color: var(--secondary-accent-color);
    }
  }

  .search-inline {
    position: relative;
    margin-bottom: 30px;

    input {
      width: 100%;
      margin-bottom: 0;

      @media (max-width: 460px) {
        margin-bottom: 0;
      }
    }

    .search-btn {
      position: absolute;
      right: 0;
      top: 0;
      text-align: center;
      height: 100%;

      i {
        margin-left: 0;
      }
    }
  }
}

.no-results.no-found {
  .page-header {
    margin-bottom: 30px;
  }

  .page-content p {
    margin-bottom: 30px;
  }
}