/* 
 * Copyright 2011-2025, The Trustees of Indiana University and Northwestern
 *   University.  Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 *   under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 *   CONDITIONS OF ANY KIND, either express or implied. See the License for the
 *   specific language governing permissions and limitations under the License.
 * ---  END LICENSE_HEADER BLOCK  ---
*/

.logo {
  @include media-breakpoint-down(md) {
    max-width: 120px;
  }
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .header-logo {
    flex-grow: 1;

    @include media-breakpoint-down(lg) {
      img {
        max-width: 120px;
        margin-right: 10px;
      }
    }
  }
  .header-search {
    flex-grow: 2;
    text-align: center;

    .avalon-search-query-form {
      display: inline-block;
    }
  }
  .header-user {
    flex-grow: 1;
  }
}

.custom-header {
  @extend .mobile-hidden;
}

header div {
  @extend .mobile-hidden;
}

.log-in-out {
  font-size: 14px;
}

.global-search-wrapper {
  width: 400px;
  font-family: $sansFontFamily;

  .global-search-input {
    background: $lightgray;
    border: 0;
  }

  @include media-breakpoint-down(lg) {
    width: inherit;
    margin: 7px 7px 0 7px;
    margin-bottom: 1rem;
  }
}
