body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  background-color: #ffffff;
  color: #333333;
  margin-top: 4rem;
  /* 100% - navHeight */
  height: calc(100% - 4rem);
}

.btn {
  border-radius: 0;
}

a {
  color: #337E97;
  outline: none;
}

a:hover {
  color: #EF7C00;
}

a:focus {
  outline: none;
}

h2 {
  font-size: 32px;
  color: #707070;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  color: #337E97;
}

.btn {
  border-radius: 0;
}

.modal-body {
  max-height: 500px;
}

svg {
  height: 18px;
  width: 18px;
  fill: #337E97;
}

svg:hover {
  fill: #EF7C00;;
}

/* Pagination */
nav.pagination-area {
  height: auto;
  background-color: initial;
}

.page-item .page-link {
  color: #337E97;
}

.page-item.active .page-link {
  color: #EF7C00;
  border: 0;
  background-color: initial;
}

.previous-page-link, .next-page-link {
  font-size: 8px;
  line-height: 8px;
}

.page-link {
  border: none;
  padding-right: 4px;
  padding-left: 4px;
  background-color: initial;
}

.pagination-divider {
  color: #337E97 !important;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: initial;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #FFFFFF;
}

.panel {
  padding: 18px 31px 15px 31px;
  margin-bottom: 24px;
  background-color: #F7F8FB;
}

.panel h2 {
  margin-bottom: 14px;
}


.team-role {
  width: 285px;
}

/* Navigation */

.navbar {
  height: 4rem;
  margin: 0 auto;
  background-color: #337E97;
}

.navbar {
  padding: 0;
}

.navbar-brand {
  margin: 0 48px;
}

.navbar nav .left-nav {
  height: 4rem;
}

.navbar-toggler {
  padding: 10px;
}

.navbar-toggler img {
  height: 45px;
  width: 45px;
  outline: none;
}

.navbar button:focus {
  outline: none;
}

.nav-link {
  font-weight: bold;
  font-size: 14px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.nav-item {
  align-items: center;
  display: flex;
}

.navbar-default .navbar-nav>.open>a {
  color: #337E97;
}

.nav-item:hover {
  background-color: #F7F8FB;
}

.nav-item a:hover {
  color: #337E97;
}

.nav-item.active {
  background-color: #F7F8FB;
  color: #337E97;
}


@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 1.375rem;
      padding-left: 1.375rem;
  }

  .navbar-brand {
    margin: 0 48px 0 0;
  }

  .dropdown-menu {
    box-shadow: 0 3px 6px -2px rgba(0, 0, 0, .3);
  }

  .about .right-col {
    padding-left: 48px;
  }
}

.nav-item.active a {
  color: #337E97;
}

.nav-item.active .dropdown-item {
  color: black;
}

.nav-item.active .dropdown-item:hover {
  color: #EF7C00;
}

.nav-item.nav-btn {
  display: list-item;
}

.nav-item.nav-btn.nav-btn-orange {
  background: #EF7C00;
  box-shadow: 0px 3px 6px #00000029;
  text-align: center;
}

.nav-item.nav-btn.nav-btn-orange a:hover {
  color: #EF7C00;
  background: #FFFFFF;
}

.nav-item.nav-btn.nav-btn-white {
  background: #FFFFFF;
  margin-left: 27px;
  text-align: center;
}

.nav-item.nav-btn-white a {
  color: #337E97;
}

.nav-item.nav-btn-white a:hover {
  color: #FFFFFF;
  background: #337E97;
  outline: 1px solid #FFFFFF;
}

.dropdown-menu {
  font-size: 18px;
  outline: none;
  border: none;
  border-radius: 0;
  background-color: #F7F8FB;

  /* helps with hovering dropdowns */
  margin-top: 0;
}



.navbar-collapse.collapse.show nav {
  background-color: #337E97;
  padding: 18px;
  display: flex;
  flex-direction: column;
  margin-top: -4px;
}

.navbar-collapse.collapse.show .navbar-nav {
  text-align: right !important;
}

.navbar-collapse.collapse.show .left-nav {
  margin: 0!important;
  align-items: flex-end;
  height: initial;
}

.navbar-collapse.collapse.show .nav-item.active {
  background-color: #337E97;
  color: #EF7C00;
}

.navbar-collapse.collapse.show .nav-item.active .nav-link {
  background-color: #337E97;
  color: #EF7C00;
}

.navbar-collapse.collapse.show .nav-link {
  color: #FFFFFF;
  font-size: 36px;
}



.navbar-collapse.collapse.show .right-nav .nav-item.nav-btn.nav-btn-orange {
  background: initial;
  box-shadow: initial;
  text-align: right;
  width: 100%;
}

.navbar-collapse.collapse.show .right-nav .nav-item.nav-btn.nav-btn-white {
  background: initial;
  box-shadow: initial;
  margin-left: initial;
  text-align: right;
  width: 100%;
}

.navbar-collapse.collapse.show .nav-item.nav-btn.nav-btn-white a {
  text-align: right;
}

.navbar-collapse.collapse.show .nav-item.dropdown {
  background-color: #337E97;
}

.navbar-collapse.collapse.show .nav-item.dropdown.show {
  display: flex;
  flex-direction: column;
  text-align: right;
  align-items: flex-end;
}

.navbar-collapse.collapse.show .nav-item.dropdown.show .dropdown-menu.show {
  display: flex;
  flex-direction: column;
  text-align: right;
  background-color: #337E97;
}

.navbar-collapse.collapse.show .nav-item .dropdown-item {
  text-align: right;
  font-size: 30px;
  color: #FFFFFF;
  background-color: #337E97;
}

/* Boostrap was showing the original css for the navbar while it
transitioned to dispalying the menu.  This solution is a hack
but it works. */
.collapsing {
  display: none;
}


.content-container {
   /* 100% - nav-height[4rem] - contentMargin[3rem] - footerHeight[4rem] -  footerMargin[3rem] */
  min-height: calc(100vh - 14rem);
  margin-top: 3rem;
}

.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 48px;
}

.search-container {
  width: 100%;
  background-color: #F7F8FB;
  margin-bottom: -1rem;
}

.search-area {
  padding-top: 10px;
  padding-bottom: 10px;
  align-items: center;
}

.search-area > * {
  padding-top: 5px;
  padding-bottom: 5px;
}

.search-area h5 {
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 20px;
  max-width: 210px;
  flex: 1;
}

.search-form {
  min-width: 220px;
  max-width: 300px;
  position: relative;
  margin-left: 0;
  margin-right: 20px;
  flex: 1;
}

.search-form input.form-control {
  width: 100%;
  border-radius: 0;
  border: 1px solid #838282;
  font-size: 14px;
  padding-left: 30px;
  outline: none;
  border: 1px solid #838282;
}

.search-form input.form-control::placeholder {
  color: #838282
}

.search-form label img {
  width: 22px;
  position: absolute;
  top: 11px;
  left: 6px;
}

.search-area div {
  word-spacing: 10px;
  margin-right: auto;
}

.timeline-anchor {
  font-size: 14px;
  color: #838282;
  text-transform: uppercase;
}

.back-to-top.scroll {
  min-width: 150px;
  text-align: right;
}

/* Currently this behavior is only used when clicking a card
 and jumping to the entry's download div */
#download {
  scroll-margin-top: 100px;
}


/* Cookie warning */

.cookie-warning-container {
  /* Default behavior to avoid flickering when markup loads in dom and then
   JS later hides or shows is. */
  display: none;


  width: 100%;
  margin-bottom: -3rem;
  height: 4rem;
  background-color: #F7F8FB;
}

.cookie-warning-box {
  height: 100%;
  margin: auto;
  font-style: italic;
  font-size: 14px;
}

.cookie-warning button {
  margin-left: 20px;
  text-transform: uppercase;
}


/* Footer */
footer {
  width: 100%;
  height: 4rem;
  background-color: #337E97;
  font-size: 14px;
  color: #FFFFFF;
}
