/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
/*  scroll-behavior: smooth;*/
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
  background: #fff;
  overflow-x: none;
  margin: 0px!important;
}

.black-background {background: #000;}
.white-background {background: #fff;}

.black-text {color: #000;}
.white-text {color: #fff;}

.hide_mobile {display: none;}

.show_mobile {display: inline-block;}


h1, h3, h4, h5, h6 {
  font-family: Apercu;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2rem;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 1.5rem 0 1rem 0;
}

h2 {
  font-family: Apercu;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.75rem;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 1.5rem 0 1rem 0;
}

h3 {
  font-family: Apercu;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 1.5rem 0 1rem 0;
}

p, li, ol, ul, td, tr {
  font-family: Apercu;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0 0 0.75rem 0;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: pre-line;
}

p.p-large {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}

strong, b {
  font-weight: 600;
}

a {
  color: #000000;
  transition: text-decoraton-thickness, text-underline-offset 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration-color: #444; 
  opacity: 1;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.3125em;
}

a:focus {
  outline: 0.125rem solid #333;
  outline-offset: 0.375rem;
} 

.centre-text {
  text-align: center;
}

.left-text {
  text-align: left;
}

.right-text {
  text-align: right;
}

.nav-bar {
  width: 100%;
  position: sticky;
  top: 0px;
  left: 0px;
  height: 3rem;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.88);    
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: saturate(1.8) blur(8px);
}

.nav-bar a .lhs-logo {
  width: 8.5rem;
  margin-left: 1rem;
/*  display: inline-block;*/
  margin-top: 1.5rem;
  transform: translateY(-50%);
  text-decoration: none;
}

.nav-bar span {
  float: right;
  margin-right: 1rem;
}

.nav-bar span p {
  display: inline-block;
  margin-left: 0.75rem;
  line-height: 3rem;
}

footer {
  width: 100%;
/*  height: 3rem;*/
  z-index: 10000;
  background: white;
  border-top: solid 1px #333;
}

footer p {
  display: inline-block;
  margin: 1rem 0 1rem 1rem;
  line-height: 1.5rem;
}

footer span {
  float: right;
  margin-right: 1rem;
}

footer span p {
  display: inline-block;
  margin:  1rem 0 1rem 0.75rem;
  line-height: 1.5rem;
}

.img-fit {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-expand {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-reader-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

.show-dark-mode {display: none;}

.show-light-mode {display: inline-block;}

/*  --------   Skip to main content styles  --------  */

.skip-to-main-content-link {
  position: absolute;
  top: -32rem;
  z-index: 2000;
  padding: 1em;
  background-color: white;
  font-family: "Apercu", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  display: inline-block;
  transition: all 0.2s ease;
}

.skip-to-main-content-link:focus {
  top: 0;
  opacity: 1;
  outline: 0.125rem solid #eee;
  outline-offset: 0.375rem;
}



/* _________________ Home page ____________________ */

.home-hero h1, 
.home-hero h2, 
.home-hero h3, 
.home-hero h4, 
.home-hero h5, 
.home-hero h6, 
.home-hero p, 
.home-hero li,
.home-hero ol, 
.home-hero ul {color: #ffffff;}

.hero-logo {
  position: fixed;
  width: 14rem;
  top: 4rem;
  left: calc(50% - 7rem);
  z-index: 7000;
}

.home-hero-image-1 {

  position: relative;
  z-index: 2000;
  width: 100%;
  height: calc(93vw * 0.58);
}

.home-hero-image-2 {
  position: relative;
  display: block;
  z-index: 1000;
  margin-top: 2rem;
  width: 100%;
  height: calc(55vw * 0.60);
}

.home-hero-image-3 {
  display: none;
  position: relative;
  z-index: 3000;
  margin-top: -7.5rem;
  width: 100%;
  height: calc(55vw * 0.66);
}

.home-hero-text-4 {
  position: relative;
  display: block;
  z-index: 6000;
  margin-top: 5rem;
  margin-bottom: 5rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.home-hero-image-5 {
  position: relative;
  display: block;
  z-index: 4000;
  padding-bottom: 24rem;
  width: 100%;
  height: calc(73vw * 0.66);
}

.home-hero-image-6 {
  display: none;
  position: relative;
  z-index: 5000;
  width: 100%;
  height: calc(47vw * 0.66);
}

.home-case-studies {  
  z-index: 9000;
  background-color: white;
  position: relative;
}

.case-study-card-inner {
  display: inline-block;
  width: 100%;
  height: 12rem;
  /*height: 48vw;
  min-height: 12rem;*/
  position: relative;
  margin-bottom: 1.5rem;
  transform: scale3d(1.0,1.0,1.0);
  -webkit-transition: transform 0.4s ease;
  -moz-transition: transform 0.4s ease;
  -o-transition: transform 0.4s ease;
  -ms-transition: transform 0.4s ease;
  transition: transform 0.4s ease;
  cursor: pointer;
  padding: 0;
}

.case-study-card-inner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0px;
  filter: brightness(75%);
  -webkit-transition: filter 0.4s ease;
  -moz-transition: filter 0.4s ease;
  -o-transition: filter 0.4s ease;
  -ms-transition: filter 0.4s ease;
  transition: filter 0.4s ease;
}

.case-study-card-inner p {
  width: calc(100% - 2rem);
  padding: 1rem;
  position: absolute;
  text-align: center;
  margin:  0 auto;
  line-height: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.0125rem;
  opacity: 1;
  text-shadow: 0px 1px 48px rgba(0, 0, 0, 0.96);
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
  -ms-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  
}

.tab-group {
  display: inline;
}

.tab-group ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.tab-group ul li {
  display: inline;
  margin: 0 0.75rem;
  font-size: 1rem;
}

.selected-tab {
  font-weight: 500;
  text-decoration: none;
}

.hidden-case-study {
  display: none;
}




/* _________________ Case studies page ____________________ */


details summary {
  font-family: Apercu Condensed, sans-serif;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  font-size: 1rem;
  colour: #000;
  line-height: 1.25rem;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 2rem;
  cursor: pointer;
}

details > summary { list-style: none; }

details summary::marker  {
  list-style: none;
  content: none;
}

details summary::-webkit-details-marker {display: none;}

details summary::before {
  background: url("../img/icons/expand_circle_down.svg") no-repeat center left;
  margin-right: 0.5rem;
  content: '     ';
  overflow: visible;
  background-size: 1.25rem;
}

details[open] summary::before {
  background: url("../img/icons/expand_circle_up.svg") no-repeat center left;
  margin-right: 0.5rem;
  content: '     ';
  overflow: visible;
  background-size: 1.25rem;
}

details summary:focus {
      outline: 0.125rem solid #333;
      outline-offset: 0.375rem;
}


.credits-section p {
  font-family: Apercu Condensed, sans-serif;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.25rem;
}

.credits-section p code {
  font-family: Apercu Condensed, sans-serif;
  color: #3E4A58;
  font-variant: small-caps;
}

.clickable {cursor: pointer;}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: saturate(1.8) blur(8px);
  z-index: 20000;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
  -ms-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;

}

.show-modal {
  visibility: visible;
  opacity: 1;
}

#lightbox-modal-close {
  position: fixed;
  z-index: 30000;
  top: 0;
  right: 0;
  padding: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

#lightbox-modal-left {
  position: fixed;
  padding: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30000;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

#lightbox-modal-right {
  position: fixed;
  padding: 2rem;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 30000;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

#lightbox-modal-close img,
#lightbox-modal-left img,
#lightbox-modal-right img {
  width: 2rem;
  height: 2rem;
}


#lightbox-container {
  display: flex;
  flex-wrap: nowrap; 
  overflow: visible;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#lightbox-container div {
  flex: 0 0 auto;
  width: 100vw;
  height: 100vh;

}

#lightbox-container div img {
  display: inline-block;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#lightbox-container div video {
  display: inline-block;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}




/* _________________ About, Legal, and Contact pages ____________________ */


.type_credits {
  list-style: none;
  padding: 0;
  width: 100%;
}

.type_credits li {
  list-style: none;
  padding: 0;
}

td {vertical-align: top;}

.description-section p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}


/* _________________ Margins and padding ____________________ */

.margin_top_320 {margin-top: 20rem;}
.margin_bottom_320 {margin-bottom: 20rem;}

.padding_top_320 {padding-top: 20rem;}
.padding_bottom_320 {padding-bottom: 20rem;}

.margin_top_192 {margin-top: 12rem;}
.margin_bottom_192 {margin-bottom: 12rem;}

.padding_top_192 {padding-top: 12rem;}
.padding_bottom_192 {padding-bottom: 12rem;}

.margin_top_128 {margin-top: 8rem;}
.margin_bottom_128 {margin-bottom: 8rem;}

.padding_top_128 {padding-top: 8rem;}
.padding_bottom_128 {padding-bottom: 8rem;}

.margin_top_96 {margin-top: 6rem;}
.margin_bottom_96 {margin-bottom: 6rem;}
.margin_left_96 {margin-left: 6rem;}
.margin_right_96 {margin-right: 6rem;}

.padding_top_96 {padding-top: 6rem;}
.padding_bottom_96 {padding-bottom: 6rem;}
.padding_left_96 {padding-left: 6rem;}
.padding_right_96 {padding-right: 6rem;}

.margin_top_64 {margin-top: 4rem;}
.margin_bottom_64 {margin-bottom: 4rem;}
.margin_left_64 {margin-left: 4rem;}
.margin_right_64 {margin-right: 4rem;}

.padding_top_64 {padding-top: 4rem;}
.padding_bottom_64 {padding-bottom: 4rem;}
.padding_left_64 {padding-left: 4rem;}
.padding_right_64 {padding-right: 4rem;}

.margin_top_48 {margin-top: 3rem;}
.margin_bottom_48 {margin-bottom: 3rem;}
.margin_left_48 {margin-left: 3rem;}
.margin_right_48 {margin-right: 3rem;}

.padding_top_48 {padding-top: 3rem;}
.padding_bottom_48 {padding-bottom: 3rem;}
.padding_left_48 {padding-left: 3rem;}
.padding_right_48 {padding-right: 3rem;}

.margin_top_32 {margin-top: 2rem;}
.margin_bottom_32 {margin-bottom: 2rem;}
.margin_left_32 {margin-left: 2rem;}
.margin_right_32 {margin-right: 2rem;}

.padding_top_32 {padding-top: 2rem;}
.padding_bottom_32 {padding-bottom: 2rem;}
.padding_left_32 {padding-left: 2rem;}
.padding_right_32 {padding-right: 2rem;}

.margin_top_24 {margin-top: 1.5rem;}
.margin_bottom_24 {margin-bottom: 1.5rem;}
.margin_left_24 {margin-left: 1.5rem;}
.margin_right_24 {margin-right: 1.5rem;}

.padding_top_24 {padding-top: 1.5rem;}
.padding_bottom_24 {padding-bottom: 1.5rem;}
.padding_left_24 {padding-left: 1.5rem;}
.padding_right_24 {padding-right: 1.5rem;}

.margin_top_16 {margin-top: 1rem;}
.margin_bottom_16 {margin-bottom: 1rem;}
.margin_left_16 {margin-left: 1rem;}
.margin_right_16 {margin-right: 1rem;}

.padding_top_16 {padding-top: 1rem;}
.padding_bottom_16 {padding-bottom: 1rem;}
.padding_left_16 {padding-left: 1rem;}
.padding_right_16 {padding-right: 1rem;}

.margin_top_12 {margin-top: 0.75rem;}
.margin_bottom_12 {margin-bottom: 0.75rem;}
.margin_left_12 {margin-left: 0.75rem;}
.margin_right_12 {margin-right: 0.75rem;}

.padding_top_12 {padding-top: 0.75rem;}
.padding_bottom_12 {padding-bottom: 0.75rem;}
.padding_left_12 {padding-left: 0.75rem;}
.padding_right_12 {padding-right: 0.75rem;}

.margin_top_8 {margin-top: 0.5rem;}
.margin_bottom_8 {margin-bottom: 0.5rem;}
.margin_left_8 {margin-left: 0.5rem;}
.margin_right_8 {margin-right: 0.5rem;}

.padding_top_8 {padding-top: 0.5rem;}
.padding_bottom_8 {padding-bottom: 0.5rem;}
.padding_left_8 {padding-left: 0.5rem;}
.padding_right_8 {padding-right: 0.5rem;}

.margin_top_6 {margin-top: 0.375rem;}
.margin_bottom_6 {margin-bottom: 0.375rem;}
.margin_left_6 {margin-left: 0.375rem;}
.margin_right_6 {margin-right: 0.375rem;}

.padding_top_6 {padding-top: 0.375rem;}
.padding_bottom_6 {padding-bottom: 0.375rem;}
.padding_left_6 {padding-left: 0.375rem;}
.padding_right_6 {padding-right: 0.375rem;}

.margin_top_4 {margin-top: 0.25rem;}
.margin_bottom_4 {margin-bottom: 0.25rem;}
.margin_left_4 {margin-left: 0.25rem;}
.margin_right_4 {margin-right: 0.25rem;}

.padding_top_4 {padding-top: 0.25rem;}
.padding_bottom_4 {padding-bottom: 0.25rem;}
.padding_left_4 {padding-left: 0.25rem;}
.padding_right_4 {padding-right: 0.25rem;}

.margin_top_0 {margin-top: 0;}
.margin_bottom_0 {margin-bottom: 0;}

.padding_top_0 {padding-top: 0;}
.padding_bottom_0 {padding-bottom: 0;}

.width_100 {width: 100%}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 30em) {

  .hide_mobile {display: inline-block!important;}

  .show_mobile {display: none!important;}

  h1 {
    font-size: 2rem;
    line-height: 2rem;
  }

  p, li, ol, ul {
    font-size: 1.1875rem;
    line-height: 1.75rem;
    margin: 0 0 0.75rem 0;
  }

  p.p-large, .description-section p {
    font-size: 1.375rem;
    line-height: 1.875rem;
    margin-bottom: 0 0 1rem 0;
  }

  a:hover, a:active {
    text-decoration-color: #000000; 
    text-decoration-thickness: 0.15rem;
    text-underline-offset: 0.3125em;
  }

  .hero-logo {
    width: 18rem;
    top: 4rem;
    left: calc(50% - 9rem);
  }

  .case-study-card-inner {
    height: 16rem;
  }

  .case-study-card-inner:hover {
    transform: scale3d(1.025, 1.025, 1.0);
  }

  .case-study-card-inner:hover img {
    filter: brightness(100%);
  }

  .case-study-card-inner:hover p { 
    opacity: 0;
  }

  .nav-bar a .lhs-logo {
    margin-left: 2rem;
  }

  .nav-bar span {
    float: right;
    margin-right: 2rem;
  }

  .nav-bar span p {
    display: inline-block;
    margin-left: 2rem;
    line-height: 3rem;
    font-size: 1rem;
  }

  footer p {
    display: inline-block;
    margin: 1rem 0 1rem 2rem;
    line-height: 1.5rem;
    font-size: 1rem;
  }

  footer span {
    float: right;
    margin-right: 2rem;
  }

  footer span p {
    display: inline-block;
    margin: 1rem 0 1rem 2rem;
    line-height: 1.5rem;
    font-size: 1rem;
  }

  #lightbox-modal-close:hover,
  #lightbox-modal-left:hover,
  #lightbox-modal-right:hover {
    opacity: 0.5;
  }
}

@media only screen and (min-width: 48em) {

  .home-hero-image-1 {height: calc(71vw * 0.58);}

  .home-hero-image-2 {
    margin-top: -2.5rem;
  }

  .home-hero-image-3 {
    display: block;
    margin-top: -7.5rem;
  }

  .home-hero-text-4 {
    margin-top: 0rem;
    margin-bottom: 0rem;
    padding: 2rem;
    font-size: 1.75rem;
    line-height: 2rem;
  }

  .home-hero-image-5 {
    padding-bottom: 0px;
    height: calc(71vw * 0.66);
  }

  .home-hero-image-6 {
    display: block;
    padding-bottom: 48rem;
  }

  .case-study-card-inner {
    height: 14rem;
  }

  #lightbox-modal-close img,
  #lightbox-modal-left img,
  #lightbox-modal-right img {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-color-scheme: dark) {

  .show-dark-mode {display: inline-block;}

  .show-light-mode {display: none;}


  h1, h2, h3, h4, h5, h6, p, li, ol, ul, td, tr {color: #fff; }

  a {
    color: #fff;
    text-decoration-color: #bbb;
  } 

  a:focus {
    outline: 0.125rem solid #eee;
    outline-offset: 0.375rem;
  } 



  body {background: #000;}

  .nav-bar {
    background: rgba(0, 0, 0, 0.64);
  }

  .home-case-studies {background-color: #000;}

  .credits-section p code {
    color: #8F9EB0;
  }

  details summary {color: #fff;}

  details summary:focus {
    outline: 0.125rem solid #eee;
    outline-offset: 0.375rem;
  } 

  footer {
    background: #000;
    border-top: solid 1px #bbb;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

