/* Styles that apply to the HRSA Cobranded Header */

.hrsa-cobranded-header {
  background-color: #0b4778;
  font-family: Helvetica;
  font-size: 16px;
  line-height: 1;
  position: relative;
  z-index: 500;
}

.hrsa-cobranded-header__layout {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 980px;
  min-height: 42px;
  padding: 0 10px;
  width: 100%;
}

.hrsa-cobranded-header__logo {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin-right: auto;
  padding-right: 30px;
}

@media screen and (max-width: 500px) {
  .hrsa-cobranded-header__logo {
    font-size: 13px;
  }
}

.hrsa-cobranded-header__logo-image {
  background: url(../img/hhs-bird-logo.png);
  display: inline-block;
  height: 30px;
  margin: 5px 10px 5px 0;
  overflow: hidden;
  width: 25px;
  z-index: 500;
}

.hrsa-cobranded-header__logo-image::before {
  content: '';
  display: block;
  height: 150%;
  width: 0;
}

.hrsa-cobranded-header__logo-name {
  color: #ffffff;
  display: inline-block;
}

.hrsa-cobranded-header__logo-name a {
  color: #fff !important;
  display: inline-block;
  font-weight: bold;
  height: auto;
  text-decoration: none;
  width: auto;
  z-index: 2000;
}

.hrsa-cobranded-header__menu {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

@media screen and (min-width: 800px) {
  .hrsa-cobranded-header__menu-toggle {
    display: none;
  }
}

.hrsa-cobranded-header__menu-toggle a {
  align-items: center;
  background-image: url(../img/expand-collapse-icon.png);
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: auto 15px;
  color: #fff !important;
  display: flex;
  font-size: 14px;
  padding-right: 20px;
  text-decoration: none;
}

.hrsa-cobranded-header__menu-toggle a.is-active {
  background-image: url(../img/close-icon.png);
}

.hrsa-cobranded-header__menu > ul {
  background-color: transparent;
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  white-space: nowrap;
}

/* mobile menu list styling */
@media screen and (max-width: 799px) {
  .hrsa-cobranded-header__menu > ul {
    background-color: #185394;
    left: 0;
    max-height: 0;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 42px;
    transition: all 0.5s ease;
    width: 100%;
    white-space: normal;
    display: none;
  }
  .hrsa-cobranded-header__menu > ul.is-open {
    display: block;
    max-height: 100%;
  }
}

.hrsa-cobranded-header__menu > ul > li {
  border: none;
  display: inline-block;
  line-height: 1;
  list-style: none;
  margin: 0;
  max-width: none;
  padding: 0;
}

.hrsa-cobranded-header__menu > ul > li:after {
  color: #fff;
  content: '|';
}

.hrsa-cobranded-header__menu > ul > li:last-child:after {
  content: '';
}


/* mobile menu list item styling */
@media screen and (max-width: 799px) {
  .hrsa-cobranded-header__menu > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.25);
    display: block;
    font-size: 17px;
    margin-left: 12px;
    margin-right: 12px;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .hrsa-cobranded-header__menu > ul > li:after {
    display: none;
  }
}

.hrsa-cobranded-header__menu li a {
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
}

.hrsa-cobranded-header__menu li a:hover,
.hrsa-cobranded-header__menu li a:focus {
  text-decoration: underline;
}

/* mobile menu list item link styling */
@media screen and (max-width: 799px) {
  .hrsa-cobranded-header__menu li a {
    font-size: 17px;
    line-height: 2;
  }
}
