/* -----------------------------------------
   UTILITY HEADER
   /src/styles/components/structural/utility-header.scss
----------------------------------------- */

header.global-header{
  .utility-header {
    width: 100%;
    min-height: 42px;
    transition: all 0.3s ease;
    background: var(--bs-alt, $alt);
    color: $black;
  
    a {
      display: inline-block;
      padding: 0;
      text-decoration: underline;
      color: $black;
  
      &:hover,
      &:focus,
      &.hovered {
        text-decoration: none;
        color: $gray-800;
      }
    }
  
    .settings-links {
      font-size: $font-size-base;
      text-align: right;
  
      display: flex;
      flex-wrap: wrap;
      margin-left: auto; // justify to the right
      align-items: center; // make items vertically centered
      justify-content: flex-end;
      min-height: 38px;
  
      a {
        margin: 0;
        margin-left: 1rem;
        font-size: 0.95rem;
  
        &:last-child {
          margin-right: 0;
        }
      }
  
      button {
        margin: 0;
        padding-right: 0;
        font-size: 0.95rem;
        color: $black;
  
        &:hover,
        &:focus {
          text-decoration: none;
          color: $gray-800;
        }
      }
    }
  
  
    .social-media-links {
      
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      min-height: 38px;
      align-items: center; // make items vertically centered
  
      
      a {
        margin: 0 10px;
        color: $black;
        text-decoration: none;
  
        &:hover,
        &:focus {
          color: $gray-800;
        }
      }
  
      .header-cagov-logo {
        margin-right: 0.5rem;
  
        .ca-gov-logo-svg {
          vertical-align: middle;
        }
  
        a {
          margin: 0;
          padding-top: 0;
        }
      }
  
      .official-tag {
        margin: 0 1rem 0 0;
        font-size: 0.95rem;
  
        /*@media (max-width: $screen-xs-max) {
          margin-right: 0;
  
          .desktop-only {
            display: none;
          }
        }*/
      }
    }
  }
}