html {
  font-size: 100%;
}

html {
  box-sizing: border-box;
}

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

body {
  background-color: #fff;
  color: #333;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.05rem;
  margin: 2.75rem 0 1.05rem;
}

h1 {
  font-size: 3.052em;
  margin-top: 0;
}

h2 {
  font-size: 2.441em;
}

h3 {
  font-size: 1.953em;
}

h4 {
  font-size: 1.563em;
}

h5 {
  font-size: 1.25em;
}

small, .text_small {
  font-size: 0.8em;
}

.bolded {
  font-weight: bold;
}

a {
  color: #7f59f2;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
}

a:hover {
  color: #7f59f2;
}

/* Header
--------------------------------- */
.header {
  background: #7f59f2 url("../images/aa-header-chart.svg");
  display: flex;
  padding: 0;
}

@media (min-width: 768px) {
  .header {
    align-items: center;
    background-blend-mode: multiply;
    background-position: 400px 20px;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: row;
    flex-wrap: wrap;
    height: 370px;
    margin-bottom: 200px;
    position: relative;
    z-index: 3;
  }
}

.header_interior {
  background: #7f59f2 url("../images/aa-header-chart.svg");
  display: flex;
  padding: 0;
}

@media (min-width: 768px) {
  .header_interior {
    align-items: center;
    background-blend-mode: multiply;
    background-position: 400px 20px;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
  }
}

.header__content {
  float: left;
}

@media (min-width: 768px) {
  .header__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    margin: auto;
    max-width: 1140px;
    position: relative;
  }
}

.header__masthead {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
}

@media (min-width: 768px) {
  .header__masthead {
    flex-direction: row;
    padding: 0.75rem 0;
  }
}

.header__logo {
  color: #fff;
}

.header__logo img {
  width: 260px;
}

@media (min-width: 768px) {
  .header__logo {
    padding: 1rem 0 1rem 0;
    width: 340px;
  }
  .header__logo img {
    height: auto;
    width: 100%;
  }
}

.header__navigation {
  padding: 2rem 0 0 0;
  text-transform: uppercase;
}

.header__navigation a {
  background: #fff;
  border-radius: 1px;
  box-shadow: 1px 1px 20px #6600ff;
  color: #7f59f2;
  display: inline-block;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .header__navigation a {
    display: block;
  }
}

.header__navigation a:hover {
  background-color: #edc988;
}

@media (min-width: 768px) {
  .header__navigation {
    padding: 2rem 0 0 0;
  }
}

.header__navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .header__navigation ul {
    display: flex;
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
  }
}

.header__navigation ul li {
  padding-bottom: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .header__navigation ul li {
    padding-bottom: 0;
  }
}

.header__navigation ul li:last-child {
  padding-right: 0;
}

.header__tagline {
  color: #eee;
  font-size: 0.75rem;
  padding: 1.5rem;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.47);
}

@media (min-width: 768px) {
  .header__tagline {
    margin: 0 0 0 4.2rem;
    max-width: 600px;
  }
}

.header__introduction {
  max-width: 100%;
}

@media (min-width: 768px) {
  .header__introduction {
    bottom: -200px;
    position: absolute;
  }
}

.header__text {
  background-color: #302f40;
  color: #ccc;
  font-size: 0.85rem;
  padding: 1.5rem;
}

.header__text a {
  color: #ccc;
  font-weight: bold;
}

@media (min-width: 768px) {
  .header__text {
    align-self: center;
    border-top-right-radius: 10px;
    box-shadow: 0px 0px 35px 0px #9776f6;
    flex: 1;
    font-size: 1.05rem;
    max-width: 100%;
    padding: 2.5rem 4rem 2.5rem 4.5rem;
    position: relative;
  }
}

.header__history {
  background-color: #edc988;
  max-width: 100%;
  font-size: 0.95rem;
}

.header__history a {
  color: #2d2b47;
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header__history {
    align-items: center;
    display: flex;
    float: right;
    font-size: 1.2rem;
    font-weight: bold;
    justify-content: center;
    margin-right: 60px;
    max-width: 750px;
    position: relative;
    text-align: center;
    transition: .25s;
    z-index: 2;
  }
}

.header__history a:hover {
  background: #9776f6;
  color: #fff;
}

.header__history i {
  float: left;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .square_aqua {
    background: #46dee2;
    bottom: 0;
    height: 30px;
    position: absolute;
    right: 0;
    width: 30px;
  }
}

@media (min-width: 768px) {
  .square_green {
    background: #61d144;
    bottom: -30px;
    height: 30px;
    position: absolute;
    right: 30px;
    width: 30px;
  }
}

/* Main Section
--------------------------------- */
@media (min-width: 768px) {
  .main {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    min-height: 400px;
    padding: 8rem 0 0 0;
    position: relative;
    z-index: 2;
  }
}

.main h1, .main h2, .main h3, .main h4 {
  color: #535353;
}

@media (min-width: 768px) {
  .main_interior {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    min-height: 400px;
    padding: 4rem 0 4rem 0;
    position: relative;
    z-index: 2;
  }
}

.main_interior h1, .main_interior h2, .main_interior h3, .main_interior h4 {
  color: #535353;
}

.page_snake {
  display: none;
}

@media (min-width: 768px) {
  .page_snake {
    display: block;
    left: 0;
    position: absolute;
    top: -230px;
    width: 900px;
    z-index: -1;
  }
  .page_snake path {
    opacity: 0.4;
  }
}

.services {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100%;
    max-width: 1140px;
    position: relative;
    z-index: 3;
  }
}

.services h2 {
  margin-top: 0;
}

.service {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .service {
    flex-direction: row;
    margin-bottom: 6rem;
  }
}

@media (min-width: 768px) {
  .service p {
    padding-right: 3rem;
  }
}

.flex_reorder {
  flex-direction: column-reverse;
}

.service ul {
  padding-bottom: 1.5rem;
}

.service ul > li > ul {
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .service ul > li > ul {
    padding-left: 2.4rem;
  }
}

.fa-ul {
  margin-left: 1.5rem !important;
}

@media (min-width: 768px) {
  .fa-ul {
    margin-left: 2.5em;
  }
}

.service .fa-arrow-circle-right {
  color: #8161e2;
}

.copy {
  color: #535353;
}

@media (min-width: 768px) {
  .copy {
    flex: 0 0 60%;
  }
}

.image {
  position: relative;
}

@media (min-width: 768px) {
  .image {
    flex: 0 0 40%;
  }
}

.image img {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0px 0px 35px 0px rgba(151, 118, 246, 0.38);
  width: 100%;
}

@media (min-width: 768px) {
  .image img {
    height: 450px;
  }
}

@media (min-width: 768px) {
  .copy:nth-of-type(odd) {
    padding: 0 3rem 0 0;
  }
}

@media (min-width: 768px) {
  .copy:nth-of-type(even) {
    padding: 0 0 0 3rem;
  }
}

.half {
  flex: 0 0 50%;
  flex-direction: column;
}

.publications_feature {
  display: flex;
  padding: 0;
  background: #eee;
  position: relative;
  z-index: 4;
  padding: 1.5rem 0;
}

.publications_feature_content h2 {
  padding: 0;
  margin: 0;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .publications_feature_content {
    margin: auto;
    max-width: 1140px;
    position: relative;
  }
}

.publications_feature_content a {
  color: #333;
  text-decoration: underline;
}

/* Training
--------------------------------- */
.training {
  background: #d6eef2 url("../images/aa-training-topo.png");
  display: flex;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .training {
    padding: 3rem 0;
  }
}

.training_content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .training_content {
    flex: 1;
    flex-direction: row;
    height: 100%;
    margin: auto;
    max-width: 1140px;
    position: relative;
  }
}

.training_content a {
  color: #44aeba;
  text-decoration: none;
  transition: .25s;
}

.training_content a:hover {
  color: #333;
}

.training_content a:hover i {
  color: #333;
}

.training_content__image img {
  border-radius: 7px;
  box-shadow: 0px 0px 25px 0px #32a1ad;
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .training_content__image {
    margin-right: 2.5rem;
  }
}

.training i {
  color: #32a1ad;
  float: left;
  transition: .25s;
}

@media (min-width: 768px) {
  .training i {
    float: left;
  }
}

.training span {
  display: inline-block;
  font-size: 1.2rem;
  max-width: 300px;
}

@media (min-width: 768px) {
  .training span {
    font-size: 1.3rem;
    max-width: 420px;
  }
}

@media (min-width: 992px) {
  .training span {
    font-size: 1.65rem;
    max-width: 420px;
  }
}

/* Funding
--------------------------------- */
.funding {
  align-items: center;
  background: #302f40 url("../images/aa-footer-dotted.png");
  color: #eee;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .funding {
    padding: 3rem 0;
  }
}

.funding_content {
  max-width: 1140px;
}

.nih_logo {
  padding: 2rem 0 0 0;
  width: 280px;
}

.nih_logo:hover path {
  fill: #1b64b0;
}

.nih_logo path {
  fill: #fff;
  transition: .25s;
}

/* Footer
--------------------------------- */
.footer {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .footer {
    min-height: 300px;
    padding: 3rem;
  }
}

.footer_content {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer_content {
    align-items: flex-start;
    flex-flow: row wrap;
    justify-content: space-between;
    max-width: 1140px;
  }
}

.footer_content__logo {
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .footer_content__logo {
    flex: 0 0 200px;
    padding: 3rem 0;
  }
}

.footer_content__igs-logo {
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .footer_content__igs-logo {
    flex: 0 0 200px;
    padding: 3rem 0;
  }
}

.footer_content__copyright {
  border-top: 1px solid #ccc;
  flex: 0 0 100%;
  font-size: 0.8rem;
  padding: 1.5rem;
  text-align: center;
}
