html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

.ncbi-header {
  background-color: rgba(22, 74, 138, 0.95);
  z-index: 10; }
  .ncbi-header a {
    color: inherit;
    text-decoration: none; }
  .ncbi-header a:hover {
    color: #ffffff;
    text-decoration: underline; }
  .ncbi-header .desktop-only {
    display: none; }
    @media screen and (min-width: 1201px) {
      .ncbi-header .desktop-only {
        display: inherit; } }
  .ncbi-header .header-button {
    width: auto;
    margin: 1.5rem 0.3rem;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    font-weight: normal;
    white-space: nowrap;
    padding: 0.8rem; }
    .ncbi-header .header-button:hover {
      background-color: #0071bc;
      text-decoration: none; }
    .ncbi-header .header-button .fa {
      margin: 0; }
    @media screen and (min-width: 600px) {
      .ncbi-header .header-button {
        font-size: 1.7rem; }
        .ncbi-header .header-button .fa {
          margin: 0 0.2rem; } }
    @media screen and (min-width: 1201px) {
      .ncbi-header .header-button {
        padding: 1rem 2rem; }
        .ncbi-header .header-button .fa {
          margin-left: 0;
          margin-right: 0.5rem; } }
  .ncbi-header .agencies {
    float: left;
    width: 70%;
    position: relative; }
    .ncbi-header .agencies ul {
      padding: 0;
      margin: 0;
      list-style-type: none; }
    @media screen and (min-width: 600px) {
      .ncbi-header .agencies {
        width: 70%; } }
    @media screen and (min-width: 600px) {
      .ncbi-header .agencies .full {
        display: inline; }
      .ncbi-header .agencies .abbr {
        display: none; } }
    .ncbi-header .agencies .homepage {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      cursor: pointer; }
    .ncbi-header .agencies .nih {
      float: left;
      margin: 1.5rem 1.2rem 1.5rem 0;
      background: #005295 url("../img/logos/nih-logo-white.svg") no-repeat center;
      height: 3.4rem;
      width: 5.6rem; }
      @media screen and (min-width: 600px) {
        .ncbi-header .agencies .nih {
          margin-right: 1.5rem;
          height: 3.7rem;
          width: 5.9rem; } }
    .ncbi-header .agencies .nlm {
      display: none;
      color: #ffffff;
      margin-top: 1.5rem;
      padding-top: .1rem; }
      @media screen and (min-width: 600px) {
        .ncbi-header .agencies .nlm {
          display: block;
          font-size: 2rem;
          line-height: 1.0;
          padding-top: .2rem;
          margin-bottom: 0; } }
    .ncbi-header .agencies .ncbi {
      display: table-cell;
      vertical-align: middle;
      height: 6.4rem;
      min-height: 3.4rem;
      font-size: 1.4rem;
      line-height: 1.2;
      color: #ffffff;
      margin-top: 1.5rem;
      padding: 0 1.2rem 0 0; }
      @media screen and (min-width: 600px) {
        .ncbi-header .agencies .ncbi {
          display: block;
          height: 1em;
          color: #e1f3f8;
          line-height: 1.0;
          margin-top: .1rem;
          padding: 0;
          min-height: 1rem; } }
  .ncbi-header .account {
    float: left;
    display: block;
    font-size: 1.4rem;
    position: relative;
    width: 30%;
    text-align: right; }
    @media screen and (min-width: 600px) {
      .ncbi-header .account {
        width: 30%;
        font-size: 1.7rem; } }

.account-popup {
  position: absolute;
  top: 1.5rem !important;
  right: 0;
  overflow: hidden;
  width: 100%; }
  @media screen and (min-width: 600px) {
    .account-popup {
      width: auto;
      min-width: 16em; } }
  .account-popup .account-user-info {
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid #d6d7d9; }
  .account-popup .account-links {
    padding: 1.5rem; }
    .account-popup .account-links li {
      padding: 4px 0; }
    .account-popup .account-links a {
      color: #0071bc; }
    .account-popup .account-links a:hover {
      color: #000000; }
    .account-popup .account-links a:visited {
      color: #0071bc; }
