html {
  box-sizing: border-box;
}

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

html {
  font-size: 100%;
}

.intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column: span 12;
  border-radius: 12px;
  min-height: 400px;
  padding: 1.5rem;
  background: #ffffff url("../images/dna-1.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 1024px) {
  .intro {
    padding: 3rem;
    position: relative;
    top: -100px;
  }
}
@media screen and (min-width: 1200px) {
  .intro {
    margin: 0;
  }
}
.intro h3 {
  padding: 0;
  margin: 0;
  color: #474E63;
  font-size: 1.7rem;
}
.intro p {
  font-size: 1.1rem;
  font-weight: 400;
}

.intro__content {
  grid-column: 1/span 12;
}
@media screen and (min-width: 768px) {
  .intro__content {
    grid-column: 1/span 10;
  }
}

.pacbio_csp {
  margin-top: 2rem;
  width: 80%;
}
@media screen and (min-width: 768px) {
  .pacbio_csp {
    width: 35%;
  }
}

/*-------------------------------
  TYPOGRAPHY
-------------------------------*/
html {
  font-size: 100%;
  height: 100%;
}

body {
  background: #F3F3F3;
  font-family: "GothamPro";
  font-weight: 400;
  line-height: 1.75;
  color: #000000;
  text-rendering: optimizeLegibility;
}

p {
  margin-bottom: 1rem;
  grid-column: span 12;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 3rem 0 1.38rem;
  font-family: "GothamPro";
  font-weight: 500;
  line-height: 1.3;
  grid-column: span 12;
}

h1 {
  margin-top: 0;
  font-size: 2.488rem;
}

h2 {
  font-size: 2.074rem;
}

h3 {
  font-size: 1.728rem;
}

h4 {
  font-size: 1.44rem;
}

h5 {
  font-size: 1.2rem;
}

small,
.text_small {
  font-size: 0.833rem;
}

.btn {
  padding: 1rem 2.5rem;
  border: 1px solid black;
  border-radius: 13px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: 0.25s;
}

.btn--red {
  background: #C8102E;
  border: 1px solid #940c22;
  color: white;
}
.btn--red:hover {
  background: white;
  cursor: pointer;
  color: #C8102E;
  border: 1px solid transparent;
}

.btn--black {
  background: #2C2A29;
  border: 1px solid #000000;
  color: white;
}
.btn--black:hover {
  background: white;
  cursor: pointer;
  color: #C8102E;
  border: 1px solid transparent;
}

.content h1 {
  color: #C8102E;
}

a {
  color: #C8102E;
}

/*-------------------------------
  LAYOUT
-------------------------------*/
.page {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  min-height: 100vh;
  justify-content: flex-start;
}

.header {
  flex: 0 1;
}

.navbar {
  flex: 0 1;
}

.main {
  flex: 1;
}

.umb_school {
  flex: 1;
}

.footer {
  flex-shrink: 0;
}

.content {
  margin: auto;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 30px;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 14%;
  padding: 1.5rem;
}
@media screen and (min-width: 1024px) {
  .content {
    margin-bottom: 2rem;
    padding: 0;
    align-items: start;
  }
}

.content:not(.index) {
  background: url("../images/md-dna-top.svg");
  background-repeat: no-repeat;
  background-position: top right;
  padding: 8rem 1.5rem;
  background-size: 30%;
}
@media screen and (min-width: 768px) {
  .content:not(.index) {
    background-size: 18%;
  }
}

.subheader__content,
.umb_school__content,
.footer__content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin: auto;
  max-width: 1140px;
}
@media screen and (min-width: 768px) {
  .subheader__content,
  .umb_school__content,
  .footer__content {
    padding: 0;
    grid-column-gap: 30px;
  }
}

.navbar__content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin: auto;
  max-width: 1140px;
  grid-column-gap: 30px;
}

.umb_school__content {
  display: flex;
  justify-content: center;
}

.fa {
  position: relative;
}

/*-------------------------------
  HEADER
-------------------------------*/
.header {
  background: url("../images/md-swoop.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 0%;
  padding: 1rem 1rem 2rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}
@media screen and (min-width: 1024px) {
  .header {
    background-size: 120%;
    padding: 2rem 0 4rem 0;
  }
}

.header__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: auto;
  max-width: 1140px;
}
@media screen and (min-width: 768px) {
  .header__content {
    flex-direction: row;
    padding: 0;
  }
}

.header__logo {
  flex: 1;
}
.header__logo img {
  height: 100%;
  max-width: 100%;
  display: block !important;
}

.header_igs {
  flex-basis: 100%;
  margin-top: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .header_igs {
    margin-right: 30px;
    flex-basis: auto;
  }
}
@media screen and (min-width: 996px) {
  .header_igs {
    margin-right: 0;
    flex-basis: auto;
  }
}
.header_igs a {
  color: #000000;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.header_igs a i {
  color: #26a7de;
  font-size: 1.5rem;
  position: relative;
  top: 4px;
  margin-left: 10px;
}

.header_igs img {
  height: auto;
  max-width: 200px;
}

/* Reorder */
.header__logo {
  order: 1;
}
@media screen and (min-width: 768px) {
  .header__logo {
    order: 1;
  }
}

.header_igs {
  order: 3;
}
@media screen and (min-width: 768px) {
  .header_igs {
    order: 2;
  }
}

.navbar_toggle {
  order: 2;
}
@media screen and (min-width: 768px) {
  .navbar_toggle {
    order: 3;
  }
}

/*-------------------------------
  SUBHEADER
-------------------------------*/
.subheader {
  background: url("../images/mdg-revio-sub-small.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  min-height: 300px;
  padding: 1.5rem;
}
@media screen and (min-width: 990px) {
  .subheader {
    background: url("../images/mdg-revio-sub-med.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
  }
}
@media screen and (min-width: 1024px) {
  .subheader {
    min-height: 500px;
    background: url("../images/mdg-revio-sub.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
  }
}
@media screen and (min-width: 1800px) {
  .subheader {
    min-height: 600px;
  }
}

.subheader img {
  position: relative;
  z-index: -1;
}

.subheader__content--tag {
  position: relative;
  z-index: 2;
  grid-column: 1/span 12;
}
@media screen and (min-width: 768px) {
  .subheader__content--tag {
    grid-column: 1/span 10;
  }
}

.subheader__content--tag .btn--red i {
  margin-left: 10px;
}

.subheader__content h1 {
  color: #FFCD00;
  letter-spacing: -0.09rem;
  font-size: 2rem;
  margin: 2rem 0 0 0;
}
@media screen and (min-width: 768px) {
  .subheader__content h1 {
    margin-top: 2rem;
    font-size: 3.75rem;
  }
}
@media screen and (min-width: 1800px) {
  .subheader__content h1 {
    margin-top: 6rem;
  }
}

.subheader__content h2 {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .subheader__content h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-right: 11rem;
  }
}

/*-------------------------------
  NAVIGATION
-------------------------------*/
.navbar {
  background: #2C2A29;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  display: none;
}
@media screen and (min-width: 996px) {
  .navbar {
    display: block;
  }
}

.navbar__nav {
  grid-column: 1/span 12;
}
.navbar__nav ul {
  padding: 0;
  margin: 0;
  display: block;
  grid-column: 1/span 12;
}
@media screen and (min-width: 996px) {
  .navbar__nav ul {
    padding: 0;
    float: right;
  }
}
.navbar__nav ul li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
@media screen and (min-width: 996px) {
  .navbar__nav ul li {
    display: inline-block;
    float: left;
  }
}

.navbar__nav a {
  display: block;
  padding: 0.5rem 1rem;
}
@media screen and (min-width: 768px) {
  .navbar__nav a {
    padding: 1rem;
  }
}

.navbar__nav a {
  color: #CCC;
  text-decoration: none;
  transition: 0.25s;
}
.navbar__nav a:hover {
  background: #afafaf;
  color: #2C2A29;
}

.navbar__nav li {
  border-bottom: 1px solid rgba(175, 175, 175, 0.5);
}
@media screen and (min-width: 996px) {
  .navbar__nav li {
    border-bottom: none;
  }
}

.navbar__nav li.last_social {
  display: block;
}
@media screen and (min-width: 996px) {
  .navbar__nav li.last_social {
    display: none;
  }
}

.navbar__nav li:last-child {
  border-bottom: none;
}

.navbar_toggle {
  margin-top: 20px;
  text-align: right;
  color: #2C2A29;
}
.navbar_toggle:hover {
  cursor: pointer;
}
.navbar_toggle i {
  font-size: 1.75rem;
}
@media screen and (min-width: 996px) {
  .navbar_toggle i {
    display: none;
  }
}

.pdf {
  color: #FFCD00 !important;
}
.pdf:hover {
  color: #2C2A29 !important;
}

.show_menu {
  display: block;
}

.hide_menu {
  display: none;
}

.current {
  background: #afafaf;
  color: #2C2A29;
}

.analysis_service {
  grid-column: 1/span 12;
  background: #ffffff;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(27, 63, 107, 0.2);
  margin: 2rem 0;
}
@media screen and (min-width: 768px) {
  .analysis_service {
    grid-column: 7/span 6;
  }
}
.analysis_service--title {
  background: #2C2A29;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
}

.seq_service h2,
.analysis_service h2 {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

body.index .navbar__nav a.index {
  background: #FFCD00;
  color: #2C2A29;
}

body.about .navbar__nav a.about {
  background: #FFCD00;
  color: #2C2A29;
}

body.research-services .navbar__nav a.research-services {
  background: #FFCD00;
  color: #2C2A29;
}

body.clinical-services .navbar__nav a.clinical-services {
  background: #FFCD00;
  color: #2C2A29;
}

body.publications .navbar__nav a.publications {
  background: #FFCD00;
  color: #2C2A29;
}

body.contact .navbar__nav a.contact {
  background: #FFCD00;
  color: #2C2A29;
}

body.platforms .navbar__nav a.platforms {
  background: #FFCD00;
  color: #2C2A29;
}

/*-------------------------------
  IGS UMB Logo
-------------------------------*/
.umb_school--logo {
  width: 320px;
  padding: 1.5rem;
}
@media screen and (min-width: 1024px) {
  .umb_school--logo {
    width: 400px;
    margin: 2rem 0;
    position: relative;
    top: -60px;
  }
}
.umb_school--logo img {
  height: auto;
  max-width: 100%;
}

/*-------------------------------
  FOOTER
-------------------------------*/
.footer {
  background: #2C2A29;
  font-size: 0.8rem;
}

.footer__content {
  color: #cccccc;
  padding: 2rem 0;
  justify-content: center;
  align-items: center;
}

.footer__accent {
  background: #000000;
  padding: 1.5rem 0;
  flex: 1;
}

.copyright {
  grid-column: 1/span 6;
}

.social {
  grid-column: 7/span 6;
  text-align: right;
  font-size: 1.3rem;
}
.social a {
  color: #e2e2e2;
  text-decoration: none;
}

.bk-to-top {
  height: 40px;
  width: 40px;
  position: fixed;
  z-index: 999;
  bottom: 200px;
  right: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #C8102E url(../images/top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
}

.bk-to-top.bk-to-top-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.bk-to-top.bk-to-top-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 0.75;
}

.no-touch .bk-to-top:hover {
  background-color: #e86256;
  opacity: 1;
}

