/*    version 1.4        */
/*    August 5th 2020     */

a[href^='tel'] {
  color: inherit;
  text-decoration: none;
}
.AlwaysFullScreen {
  width: 100%;
  height: 95%;
}
.hiddenInfo ul {
  list-style: disc;
}
.sub-title {
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 30px;
  margin-bottom: 30px;
}
.small-h2 {
  font-size: 1.5em;
}
.flipCard-front {
  background-color: #2566af;
}
.flipCard-background-image-analysis {
  background-size: 85%;
  background-repeat: no-repeat;
  background-color: black;
  background-position: bottom;
}
.padding-top-30 {
  padding-top: 30px;
}
.padding-bottom-30 {
  padding-bottom: 30px;
}
.small-margin {
  margin: 10px 0px !important;
}
.flipCard-showOnMobile {
  display: none;
}
.tintedWithPadding {
  padding-top: 10px;
  padding-bottom: 30px;
}
.sectionWithPadding {
  padding-top: 10px;
  padding-bottom: 30px;
}
/*************************************/
/* HEADER */
/*************************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;

  /* Because we want header to be sticky later */
  height: 7rem;
  padding: 0 4.8rem;
  position: relative;
}
.logo-in-header {
  height: 5rem;
  margin-left: -10px;
  object-fit: 'contain';
}
/*************************************/
/* NAVIGATION */
/*************************************/
.main-nav ul {
  margin-bottom: 0;
  padding: 0;
}
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
  font-weight: 500;
  font-size: 1.5rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}
.main-nav-link:hover,
.main-nav-link:active {
  color: #2566af;
}
.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.6rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #2566af;
}
.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #2566af;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}
.icon-mobile-nav {
  height: 2rem;
  width: 2rem;
  color: #333;
}
.icon-mobile-nav[name='close-outline'] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 7rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}
/* --------------------------------------- */
/* Landing Page Section */
/* --------------------------------------- */
.landing-section {
  height: 92%;
}
.uhn-logo-landing {
  height: 100px;
  margin-left: -35px;
}
.carousel-control-prev,
.carousel-control-next {
  height: 70%;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
}
/* --------------------------------------- */
/* Welcome Section */
/* --------------------------------------- */
.welcome-section {
  height: auto;
  width: 100%;
}
.welcome-container {
  padding-bottom: 80px;
  padding-top: 60px;
}
.welcome-title {
  font-size: 2.5em;
  padding-bottom: 3rem;
}
.welcome-image-box {
  text-align: center;
}
.welcome-image-box > figure > img {
  width: 150px;
  border-radius: 4px;
  margin-left: 20px;
}
.welcome-image-title {
  font-size: 18px;
  font-weight: 500;
}
.job-title {
  font-size: 14px;
}
/* --------------------------------------- */
/* Services section */
/* --------------------------------------- */
.check-list-container {
  padding-top: 2%;
}
.back-check-list-container {
  padding-top: 2%;
  padding-left: 10px;
}
.check-list-container ul,
.back-check-list-container ul {
  padding: 0;
}
.check-list-container > ul > li > .second-list,
.back-check-list-container > ul > li > .second-list,
.check-list-container > ul > li > .second-list-600mhz,
.back-check-list-container > ul > li > .second-list-600mhz {
  padding-left: 40px;
  font-weight: 400;
}
.check-list-container > ul > li {
  margin-bottom: 12px;
}
.back-check-list-container > ul > li {
  margin-bottom: 4px;
}
.check-list-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}
.check-list-text {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 20px;
}
.back-check-list-text {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 10px;
}
.check-list-icon {
  width: 15px;
  padding-bottom: 4px;
}
.front-image-container img {
  width: 100%;
}
.smaller-heading-front {
  font-size: 24px;
}
.back-check-list-text-600mhz {
  font-size: 15px;
  font-weight: 400;
}
.second-list-600mhz {
  font-size: 14px;
}
.services-list li {
  margin-bottom: 18px;
}
.services-text {
  padding-top: 40px;
}

/* --------------------------------------- */
/* Equipment */
/* --------------------------------------- */
.equipment-container {
  align-items: center;
}
.equipment-description {
  display: flex;
  flex-direction: column;
}
.equipment-title {
  font-size: 20px;
}
.equipment-image img {
  max-height: 340px;
}
.discovery-image,
.cryostat-image {
  padding: 20px 30px 10px 80px;
}
.tissue-vip-image {
  padding: 30px 0 10px 0;
  margin-left: -20px;
}
.tissue-tec5-image {
  padding: 0 40px;
}
.microtom-image {
  padding: 30px 40px 10px 80px;
}
.automated-image {
  padding: 50px 60px 10px 90px;
}
.isotemp-image {
  padding: 50px 20px 10px 40px;
}
/* --------------------------------------- */
/* Contact Us */
/* --------------------------------------- */
.contact-info {
  text-align: center;
}
/* --------------------------------------- */
/* Footer */
/* --------------------------------------- */
.cores-link-style {
  font-weight: 400;
  font-size: 1.2em;
}
.image-credit-text {
  text-align: center;
  font-size: 0.75em;
}
/* --------------------------------------- */
/* Queries for NMR Facility */
/* --------------------------------------- */
@media only screen and (max-height: 1100px) {
  .welcome-title {
    font-size: 2.3em;
  }
}
@media only screen and (max-height: 960px) {
  .removeBigSpacer {
    display: none;
  }
  .welcome-text {
    line-height: 1.6em;
  }
  .textLeft-60 {
    margin-right: 30%;
  }
}
@media only screen and (max-height: 850px) {
  .welcome-title {
    padding-top: 25px;
  }
  .welcome-title {
    font-size: 2em;
  }
  .margin-bottom-0 {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 2200px) {
  .landing-section {
    height: 91%;
  }
  .verticalCentreChild {
    top: 250%;
    transform: translateY(-250%);
  }
}
@media only screen and (max-width: 2000px) {
  .landing-section {
    height: 91%;
  }
  .verticalCentreChild {
    top: 200%;
    transform: translateY(-200%);
  }
  .welcome-container {
    padding-top: 0;
  }
}
@media only screen and (max-width: 1900px) {
  .welcome-section {
    margin-top: -40px;
  }
}
@media only screen and (max-width: 1800px) {
  .welcome-section {
    margin-top: -80px;
  }
}
@media only screen and (max-height: 1350px) and (max-width: 1800px) {
  .welcome-section {
    margin-top: -40px;
  }
}
@media only screen and (max-height: 1200px) and (max-width: 1800px) {
  .welcome-section {
    margin-top: 20px;
  }
}
@media only screen and (max-height: 1024px) and (max-width: 768px) {
  .welcome-section {
    margin-top: -520px;
  }
}
@media only screen and (max-width: 1699px) {
  .header {
    height: 7rem;
  }
  .sticky .header {
    height: 7rem;
  }
  .main-nav-list {
    gap: 3.5rem;
    font-size: 1.5rem;
  }
  .verticalCentreChild {
    top: 180%;
    transform: translateY(-180%);
  }
  .welcome-section {
    margin-top: -150px;
  }
}
@media only screen and (max-height: 1190px) and (max-width: 1699px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-height: 1100px) and (max-width: 1600px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-width: 1600px) {
  .welcome-section {
    margin-top: 40px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1600px) {
  .welcome-section {
    margin-top: 40px;
  }
}
@media only screen and (max-width: 1550px) {
  .welcome-section {
    margin-top: -250px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1550px) {
  .welcome-section {
    margin-top: 30px;
  }
}
@media only screen and (max-width: 1491px) {
  .main-nav-list {
    gap: 2.5rem;
    font-size: 1.3rem;
  }
  .verticalCentreChild {
    top: 150%;
    transform: translateY(-150%);
  }
  .welcome-section {
    margin-top: -300px;
  }
}
@media only screen and (max-height: 1300px) and (max-width: 1491px) {
  .welcome-section {
    margin-top: -280px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1491px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-width: 1375px) {
  .welcome-title {
    font-size: 2.2em;
  }
  .welcome-section {
    line-height: 1.5em;
    margin-top: -370px;
  }
}
@media only screen and (max-height: 1300px) and (max-width: 1375px) {
  .welcome-section {
    margin-top: -200px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1375px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-width: 1250px) {
  .flipCard-showOnDesktop {
    display: none;
  }
  .flipCard-showOnMobile {
    display: block;
  }
  .check-list-text-600-md {
    font-size: 16px;
    font-weight: 300;
  }
  .list-text-sm li {
    font-size: 14px;
  }
  .welcome-section {
    margin-top: -440px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1250px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
  .header {
    padding: 0 3.2rem;
  }
  .main-nav-list {
    gap: 2rem;
  }
  .welcome-title {
    font-size: 2.6rem;
  }
  .welcome-section {
    line-height: 1.75em;
    margin-top: -480px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1200px) {
  .welcome-section {
    margin-top: 0px;
  }
}
@media only screen and (max-width: 1024px) {
  .flip-card-section-margins {
    margin-left: 5%;
    margin-right: 5%;
  }
  .welcome-section {
    margin-top: -580px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 1024px) {
  .welcome-section {
    margin-top: -130px;
  }
}
@media only screen and (max-width: 944px) {
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }
  .main-nav {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    z-index: 9998;

    /* Hiding navigation */
    /* Allows NO transitions at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name='close-outline'] {
    display: block;
  }
  .nav-open .icon-mobile-nav[name='menu-outline'] {
    display: none;
  }
  .main-nav-list {
    flex-direction: column;
    gap: 2.8rem;
    font-size: 2rem;
  }
}
@media only screen and (max-width: 911px) {
  .flip-card-section-margins {
    margin-left: 10%;
    margin-right: 10%;
  }
  .welcome-section {
    margin-top: -660px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 911px) {
  .welcome-section {
    margin-top: -100px;
  }
}
@media only screen and (max-width: 908px) {
  .time-col-15 {
    width: 20%;
  }
}

@media only screen and (max-width: 830px) {
  h1 {
    font-size: 2.2rem;
  }
  .welcome-section {
    margin-top: -700px;
  }
}
@media only screen and (max-height: 960px) and (max-width: 830px) {
  .welcome-section {
    margin-top: -100px;
  }
}
@media only screen and (max-width: 768px) {
  .uhn-logo-landing {
    height: 100px;
    margin-bottom: -10px;
    margin-left: -25px;
  }
  .small-h2 {
    font-size: 1.3em;
  }
  .check-list-container {
    margin: 0;
    padding-left: 20px;
  }
  .front-image-container {
    text-align: center;
  }
  .front-image-container img {
    width: 90%;
  }
  .welcome-section {
    margin-top: -740px;
  }
  .jumbo-title {
    font-size: 1.5em;
  }
  .logo-in-footer {
    height: 80px;
    margin-top: -20px;
  }
}
@media only screen and (max-height: 1024px) and (max-width: 768px) {
  .welcome-section {
    margin-top: -520px;
  }
}
@media only screen and (max-width: 767px) {
  footer {
    text-align: center;
  }
  .centerOnMobile {
    text-align: center !important;
  }
  .hiddenOnMobile {
    display: none;
  }
  .thinLine {
    width: 100%;
    height: 1px;
    background-color: lightgray;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .col1 {
    flex-basis: 100%;
  }
  .col {
    flex-basis: 50%;
  }
  .logo-in-footer {
    height: 80px;
    margin-top: -20px;
  }
}
@media only screen and (max-width: 706px) {
  .header {
    padding: 0 2rem;
  }
  .textLeft-60 {
    margin-right: 0;
  }
}

@media only screen and (max-width: 600px) and (orientation: portrait) {
  h1 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 0.95em;
  }
  .AlwaysFullScreen {
    width: 100%;
    height: 100%;
  }
  .header {
    height: 6rem;
    padding: 0 1rem;
  }
  .sticky .header {
    height: 6rem;
  }
  .main-nav-list {
    font-size: 1.5rem;
  }
  .bigSpacer {
    height: 30px !important;
  }
  .cta {
    font-size: 0.8em;
  }
  .logo-mobile-center {
    text-align: center;
    padding-left: 0px;
  }
  .welcome-title {
    font-size: 1.6em;
  }
  .welcome-image-section {
    justify-content: center;
  }
  .flip-container,
  .front,
  .back {
    width: 350px;
  }
  .flip-mobile-font {
    font-size: 0.9em;
  }
  .smaller-heading-front {
    font-size: 19px;
  }
  .mobile-main-margins {
    margin-left: 0% !important;
    margin-right: 0% !important;
  }
  .row {
    margin-top: 0px;
  }
  .flipCard-background-image {
    background-size: 120%;
    background-repeat: no-repeat;
    background-color: black;
    background-position: bottom;
  }
  .sub-title {
    font-size: 1em;
  }
  .uhn-logo-landing {
    height: 60px;
    margin-bottom: -5px;
    margin-left: -15px;
  }
  .flip-card-section-margins {
    margin-left: 10%;
    margin-right: 10%;
  }
  .time-col-15 {
    width: 13%;
  }
  .mediumSpacer {
    height: 25px;
  }
  .logo-in-header {
    height: 3.5rem;
    margin-left: 0;
  }
  .logo-in-footer {
    height: 70px;
    margin-top: -20px;
  }
  .check-list-container {
    margin: 0;
    padding-left: 10px;
  }
  .back-check-list-container {
    line-height: 1.5em;
    font-weight: 300;
  }
  .back-check-list-text {
    font-size: 14px;
  }
  .check-list-text {
    font-size: 15px;
  }
  .smaller-heading-back-600 {
    font-size: 20px;
  }
  .front-image-container img {
    width: 100%;
  }
  .services-list li {
    margin-bottom: 10px;
  }
  .welcome-title {
    padding-bottom: 1rem;
  }
  .welcome-container {
    padding-bottom: 0;
    padding-top: 20px;
  }
  .discovery-image,
  .cryostat-image,
  .tissue-vip-image,
  .tissue-tec5-image,
  .microtom-image,
  .automated-image,
  .isotemp-image {
    padding: 20px 0;
  }
  .welcome-section {
    margin-top: -530px;
  }
  .jumbo-title {
    font-size: 1.2em;
  }
  .landing-section {
    height: 100%;
  }
  .header {
    height: 4rem;
  }
  .verticalCentreChild {
    top: 50%;
    transform: translateY(-105%);
  }
}

@media only screen and (max-width: 400px) {
  .welcome-section {
    margin-top: -450px;
  }
}

@media only screen and (max-width: 350px) {
  .flip-container,
  .front,
  .back {
    width: 300px;
  }
  .small-image {
    width: 250px;
  }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
  h1 {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1.6em;
  }
  .small-h2 {
    font-size: 1.1em;
  }
  .logo-in-header {
    height: 3.5rem;
    margin-left: -1rem;
  }
  .uhn-logo-landing {
    height: 60px;
    margin-left: -10px;
  }
  .welcome-container > div {
    margin-top: 500px;
  }
  .welcome-title {
    font-size: 1.5rem;
  }
  .largeBG-right {
    background-repeat: no-repeat;
    background-size: 20%;
    background-position: 110% 45%;
  }
}
