/* Background colour */
body {
  background-color: rgba(179, 255, 241, 0);
}

/* Override background of header elements */
.md-tabs {
  background-color: rgba(255, 255, 255, 0);
}

.md-header {
  background-color: rgba(255, 255, 255, 1.0);
}

/* Main page width */
.md-grid {
  max-width: 60rem;
  background-color: rgba(255, 255, 255, 0);
}

.md-typeset a {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-decoration-color: rgb(190, 190, 190);
}

.md-main__inner {
  margin-top: 0rem;
  padding-top: 1.5rem;
}

/* Font size of navigation links */
.md-header__title {
    font-size: 1.2rem;
    height: 1.4rem;
    line-height: 4.4rem;
}

/* Font weight of navigation links */
.md-header__topic:first-child {
    font-weight: 100;
}

/* Tab links */
.md-tabs__link {
    font-size: 1.0rem;
    margin-top: .8rem;
}

/* Secondary navigation linkes */
.md-nav {
  font-size: 0.75rem;
}

@media screen and (min-width: 76.25em) {
  .md-nav__item--section > .md-nav__link {
    font-weight: 600;
    font-size: 0.9rem;
    padding-top: 0rem;
  }
}

.md-typeset .md-button--primary {
    background-color: var(--md-primary-fg-color);
    border-color: var(--md-primary-fg-color);
    color: white;
}

.md-typeset .md-button {
  text-decoration: none;
}

.md-typeset {
  line-height: 1.5;
  font-size: 0.8rem;
}

.md-typeset h1 {
  color:black;
  font-family: "railway";
  font-size: 1.6rem;
  line-height:1.3;
  margin:0 0 1em;
}

.md-typeset figure {
  padding-left: 0pt;
  padding-right: 0pt;
}

.pic_two-thirds {
    width: 75%;
  }

.pic_small {
  width: 50%;
}

.pic_float-right {
  float: right;
  padding-left: 20px !important;
}

.pic_bioelectronics {
    float: right;
    clear: none;
    padding-left: 25pt;
    width: 50%;
    }

.md-typeset figcaption {
  margin: 0;
  max-width: 100%;
  font-style: inherit;
  font-size: 0.7rem;
  text-align: left;
  border-left-style: solid;
  padding-left: 10px;
  border-left-color: #ccc;
}

.lede {
  font-size:1.0rem;
  font-weight: 300;
  padding-bottom: 0.5rem;
}

.opportunity-title {
  font-size:1.4rem;
  font-weight: 300;
  padding-bottom: 0.5rem;
}

/* Height of the logo */
.md-header__button.md-logo img, .md-header__button.md-logo svg {
    height: 4.0rem;
  }


/* Site title text weight */
.md-header__topic:first-child {
  font-weight: 800;

}

.content-left {
  float: left;
  padding-top: 5px;
  padding-left: 0px;
  padding-right: 30px;
  padding-bottom: 10px;
  width: 30%;
  text-align: left;
}

.team_headshot {
  float: left;
  width: 40%;
  border-radius: 5px;
  margin-right: 25px;
  text-align: left;
}

.team_job-title {
  font-size: 1.2rem;
}

.team_short-bio {
  clear: both;
  width: 100%;
  padding-top: 1.5rem;
}

.team_list-name {
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0;
}

.team_list-job-title {
  font-size: 0.9rem;
}

input[type=text].contact-form,
input[type=email].contact-form  {
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 1.5rem;
  font-size: 0.8rem;
  font-family: var(--md-text-font-family);
  width: 50%;
  margin: 10px 0 10px;
  padding: 10px 10px;
}

input[type=text]:focus.contact-form,
input[type=email]:focus.contact-form, textarea:focus.contact-form {
  border: 3px solid var(--md-accent-fg-color);
}

textarea.contact-form {
  width: 66%;
  height: 200px;
  padding: 10px 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin: 10px 0 20px;
  border-radius: 4px;
  resize: none;
  font-size: 0.8rem;
  font-family: var(--md-text-font-family);
}

.mission {
  max-width: 50%;
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
}

.highlight {
  background-color: rgba(255, 255, 255, 1.0);
  background-blend-mode: screen;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.1rem;
  padding-bottom: 0.2rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-align: justify;
  text-justify: inter-word;
}

.lede .highlight {
  padding-bottom:0.3rem;

}

.splash-container{
  width: 100%;
  margin-top: -2rem;
  display: block;
  position: relative;
}

.splash-container__main-pic {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-bottom-style: solid;
  border-bottom-width: 15px;
  border-bottom-color: rgba(76,71,218,1.0);
}

.contact-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
}

.contact-left {
  width: 40%;
}

.contact-right {
  width: 55%;
}

.main-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.main-section-image {
  width: 45%;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.main-section-text {
  width: 50%;
  padding: 1.2rem;
}

.main-section-text h2 {
  margin: 0;
}

.team-pic {
  border-radius: 5px;;
}


@media screen and (max-width: 76.2344em) {
  /* Mobile navigation background colour */  
  .md-nav--primary .md-nav__title[for="__drawer"] {
    background-color: white;
    color: var(--md-primary-bg-color);
    display: none;
  }

  .md-header__button.md-logo {
    display: block;
  }

  .main-block {
    left: 0px;
  }

  .content-left {
    float: left;
    padding-top: 5px;
    padding-left: 0px;
    padding-right: 30px;
    padding-bottom: 10px;
    width: 50%;
    text-align: left;
  }
  textarea.contact-form,
  input[type=text].contact-form,
  input[type=email].contact-form  {
    width: 100%;
  }

  .splash-container {
    display: block;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -2.5rem;
    max-width: 100vw !important;
    right: 50%;
    width: 100vw;
  }

  .mission {
    max-width: 100%;
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 1rem;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }

  .main-section-image, .main-section-text, .contact-left, .contact-right {
    width: 100%;
  }

  .main-section-image {
    order: -1;
  }

  .main-section {
    border-left-width: 10px;
  }

  .pic_two-thirds, .pic_small {
    width: 100%;
    }

  .pic_float-right {
    float: none;
    padding-left: 20px !important;
  }

  .highlight {
    text-align: left;
    text-justify: none;
  }

}

/* Hide title text at top of page */
.md-header__topic {
  display: none;
}

.md-header__title--active {
    display: flex;
}

@media screen and (min-width: 60em) {
    .md-search__form {
      background-color: hsla(0, 0%, 0%, 0.082);
    }
    .main-block {
      left: 0px;
    }
}

a.anchor {
  top: -200px;
}

.md-footer, .md-footer-meta {
    background-color: transparent;
  }

.md-footer {
  padding-top: 1rem;
}

.md-footer-meta__inner {
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: rgba(76,71,218,0.1);
}

.md-copyright {
    color: black;
}

html .md-footer-meta.md-typeset a {
    color: var(--md-typeset-a-color);
}

.md-copyright__highlight {
  color: var(--md-accent-fg-color);
}

[data-md-color-primary="complex"] {
    --md-primary-fg-color: #4C47DA;
    --md-primary-fg-color--light: hsla(var(--md-hue),0%,100%,0.7);
    --md-primary-fg-color--dark: hsla(var(--md-hue),0%,0%,0.07);
    --md-primary-bg-color: hsla(var(--md-hue),0%,0%,0.87);
    --md-primary-bg-color--light: hsla(var(--md-hue),0%,0%,0.54);
    --md-typeset-a-color: #00125B;
  }

[data-md-color-accent="complex-accent"] {
--md-accent-fg-color: #50B087;
--md-accent-fg-color--transparent: #00bda41a;
--md-accent-bg-color: #fff;
--md-accent-bg-color--light: #ffffffb3;
--md-footer-fg-color: #00125B; /*Footer non-link text colour */
}

@font-face {
  font-family: "railway";
  src: url('../assets/fonts/Railway-PlyE.otf');
}

.md-typeset h1:target,
.md-typeset h2:target,
.md-typeset h3:target {
  scroll-margin-top: 6rem;
}

.interface_header {
  font-family: 'railway';
  border-bottom: 1px solid #ccc !important;
  width: 66%;
  padding-left: 25px;
}

.main-block {
  position: relative;
  left: 50px;
}

.heropic {
  left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
  margin-top: -20vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw; 
}

.md-typeset .heropic {
  height: 300px;
  max-width: 200%;
  object-fit: cover;
}

/* Customise admonition colours */
.md-typeset .admonition.info,
.md-typeset details.info {
  border-color: rgb(0, 18, 91);
}
.md-typeset .info > .admonition-title,
.md-typeset .info > summary {
  background-color: rgba(0, 18, 91, 0.1);
}
.md-typeset .info > .admonition-title::before,
.md-typeset .info > summary::before,
.md-typeset .info > summary::after {
  background-color: rgb(0, 18, 91);
}


.md-typeset .admonition.question,
.md-typeset details.question {
  border-color: rgb(0, 18, 91);
}
.md-typeset .question > .admonition-title,
.md-typeset .question > summary {
  background-color: rgba(0, 18, 91, 0.1);
}
.md-typeset .question > .admonition-title::before,
.md-typeset .question > summary::before,
.md-typeset .question > summary::after {
  background-color: rgb(0, 18, 91);
}


.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: rgb(0, 18, 91);
}
.md-typeset .note > .admonition-title,
.md-typeset .note > summary {
  background-color: rgba(0, 18, 91, 0.1);
}
.md-typeset .note > .admonition-title::before,
.md-typeset .note > summary::before,
.md-typeset .note > summary::after {
  background-color: rgb(0, 18, 91);
}