/* ============================ Header Includes Branding, Menu, Mobile Menu ============================ */
/* header wrapper, mobile notifications, site branding, mobile menu, navigation */
/* ============= Header ============= */
.header__outer-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 40px;
}
.header__outer-wrapper #header {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
@media only screen and (min-width: 768px) {
  .header__outer-wrapper #header {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

/* margin-bottom doesn't seem to do anything on desktop */
header#header {
  position: relative;
  margin-bottom: 50px;
}
header#header h2 {
  color: #fff;
}

.container {
  width: 1250px;
  margin: auto;
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  #header {
    position: relative;
  }
  #header-top {
    min-height: 78px;
    padding: 10px 0 !important;
  }
  #header-top .col-sm-2 {
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 979px) {
  .container {
    width: 100%;
  }
}
@media only screen and (min-width: 980px) and (max-width: 1279px) {
  #header .container {
    width: calc(100% - 30px);
    max-width: 1250px;
    padding: 0 15px 0 15px;
  }
}
@media only screen and (min-width: 980px) and (max-width: 1279px) {
  .container {
    width: 100%;
  }
}
@media screen and (min-width: 1280px) {
  #header .container {
    width: 100%;
    max-width: 1250px;
    padding: 0;
  }
}
@media screen and (min-width: 1250px) and (min-width: 1340px) {
  #header .container {
    width: 100%;
    max-width: 1250px;
    padding: 0;
  }
}
div#header-top {
  padding: 30px 0;
}

/* ============= Main Menu ============= */
#primary-menu .menu.menu--main li {
  margin: 0 10px;
}
#primary-menu .menu.menu--main li a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
#primary-menu .menu.menu--main li a:focus-visible {
  outline: 3px solid #005fcc;
  offset: 3px;
  background: rgb(0, 0, 0);
}
#primary-menu .menu.menu--main li a:hover {
  color: #000;
  background: #00adef;
}
#primary-menu .menu.menu--main li a.is-active {
  color: #000;
  background: #00adef;
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  #primary-menu .opened {
    display: block;
  }
}
@media only screen and (min-width: 768px) and (max-width: 979px) {
  div#primary-menu {
    padding-left: 8px;
  }
  #primary-menu .menu.menu--main li {
    margin: 0 5px;
  }
  #primary-menu .menu.menu--main li a {
    padding: 8px;
    font-size: 15px;
  }
  .navbar-nav > li > a {
    position: relative;
    display: block;
    padding: 2px 2px;
    padding-top: 9px;
    padding-bottom: 8px;
  }
}
@media only screen and (min-width: 980px) and (max-width: 1279px) {
  #primary-menu .menu.menu--main li {
    margin: 0 5px;
  }
  #primary-menu .menu.menu--main li a {
    padding: 10px;
    font-size: 18px;
  }
}
@media only screen and (min-width: 0) and (max-width: 767px) {
  nav#block-limitlesslibraries-main-menu {
    position: relative;
    top: 95px;
    display: none;
    height: 100vh;
  }
}
@media only screen and (min-width: 768px) {
  #block-limitlesslibraries-main-menu {
    display: block !important;
  }
}
/* ============= Site Branding ============= */
/* positions logo at the top left corner of the screen on mobile */
#site-branding a.logo.navbar-btn.pull-left {
  position: absolute;
  top: 0;
  margin: 0;
  z-index: 21;
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  #site-branding .logo img {
    max-width: 57%;
    margin-top: 8px;
    margin-left: 5px;
  }
  #site-branding .logo img {
    max-width: 57%;
    margin-top: 8px;
    margin-left: 5px;
  }
  #site-branding .main-content .page-header {
    border-bottom: 8px solid #eee;
    font-size: 39px;
    font-weight: 600;
  }
}
@media only screen and (min-width: 768px) and (max-width: 979px) {
  #site-branding .logo img {
    width: 80%;
  }
  #site-branding a.logo.navbar-btn.pull-left {
    position: absolute;
    top: -26px;
    margin: 0;
  }
  #site-branding a.logo.navbar-btn.pull-left {
    position: absolute;
    top: 3px;
    margin: 0;
  }
}