/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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;
  }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */

   @font-face {
    font-family: 'Whitney Book';
    src: url('fonts/Whitney-Book.eot');
    src: url('fonts/Whitney-Book.eot?#iefix') format('embedded-opentype'),
    url('fonts/Whitney-Book.woff') format('woff'),
    url('fonts/Whitney-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Whitney Bold';
    src: url('fonts/Whitney-Bold.eot');
    src: url('fonts/Whitney-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Whitney-Bold.woff') format('woff'),
    url('fonts/Whitney-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Whitney Light';
    src: url('fonts/Whitney-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Roboto Extra Bold';
    src: url('fonts/RobotoSlab-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  :root {
    --uso-blue: #002147;
    --uso-red: #bb133e;    
  }

  html {
    background-color: var(--uso-blue);
    color: #222;
    font-family: 'Whitney Book', 'Whitney Bold',times,verdana,helvetica neue,helveticaneue,Arial,Helvetica,roboto,sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
  }

  body{
    overflow-x: hidden;
    /* max-width: 100vw; */
  }

  .view-box{
    background-color: white;
    width: 100%;
    height: 100%;
  }

  .header-box{
    display: flex;
    width: 100vw;
    position: fixed;
    top:0;
    z-index: 99;
    background-color: white;
    height: 100px;
    align-items: center;
    border-bottom: 7px solid var(--uso-red);
  }

  .home-trigger{
    font-family: 'Whitney Bold', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  .home-trigger::before{
    content: "<<";
    margin-right:4px;
    margin-left:20px;
  }

  .home-trigger.fade{
    display: flex;
    transition: all 2s ease-in-out;
    opacity: 1;
  }

  .home-trigger.fadeout{
    transition: all 1s ease-in-out;
    opacity: 0;
  }

  .header-logo{
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .Logo-svg {
    height: auto;
    width: 120px;
  }

  .u-vh {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .header-share{
    display: flex;
    position: absolute;
    right: 0;
    height: 123px;
    padding-right:40px;
  }

  .header-share ul, .social-box ul{
    list-style-type: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
    display: flex;
    margin-top: 5px;
    text-align: left;
    align-items: center;
  }

  #header-share-title{
    font-family: "Whitney Bold", sans-serif;
    font-size: 0.6rem;
    color: var(--uso-blue);
  }

  .GlobalFooter-social-link {
    border: solid 2px #ccc;
    border-radius: 50%;
    display: flex;
    padding: 14px;
    margin-left: 14px;
    text-decoration: none;
    border: solid 1px #ccc;
    padding: 10px;
    margin-left: 10px;
    width: 10px;
    height: 10px;
    justify-content: center;
    align-items: center;
    
  }

  .GlobalFooter-social-link:hover, .GlobalFooter-social-link:focus, .GlobalFooter-social-link:active {
    background-color: #ccc;
  }

  .GlobalFooter-social-link img{
    height: 15px;
    width: 15px;
    display: block;
    fill: #cccccc;
  }

  .GlobalFooter-social-item .fab{
    color: #cccccc;
    font-size: 1em;
  }

  .GlobalFooter-social-link:hover .fab, .GlobalFooter-social-link:focus .fab, .GlobalFooter-social-link:active .fab{
    color: #fff;
  }

  .video-box{
    margin-top: 100px;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  #the-video-button{
    cursor: pointer;
    transform: scale(90%);
  }

  #the-video-button:hover{
    transition: all 1s ease;
    transform: scale(110%);
  }

  .video-background-image{
    height: inherit;
    width: 100%;
    position: absolute;
    overflow: hidden;
  }

  .video-background-image img{
    width: 100%;
    height: 110%;
    object-fit: cover;
  }

  .video-box h1{
    font-weight: bold;
    font-size: 6rem;
    line-height: 6rem;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
    text-align: center;
    margin-top: -6%;
    z-index: 2;
  }

  .video-box span:first-child{
    font-family: 'Whitney Light';
    font-weight: 100;
    font-size: 2rem;
    text-transform: none;
    padding: 0 2rem;
  }

  .video-box h1 span:first-child::before, .video-box h1 span:first-child::after {
    content: "\2014";
  }

  .video-box-button{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: -50px;
    align-items: center;
  }

  .video-box-button span:first-child{
    text-transform: uppercase;
    font-family: 'Whitney Bold', sans-serif;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1.4em;
  }

  .text-box{
    font-weight: 100;
    font-size: 1rem;
    text-align: center;
    padding: 0 15vw 0 15vw;
    margin-top:15vh;
    margin-bottom:15vh;
  }

  .text-box .bold,
  .text-box strong{
    font-family: "Whitney Bold", sans-serif;
  }

  .reveal{
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 5s ease;
  }

  .reveal.active{
    transform: translateY(0px);
    opacity: 1;
  }

  .zig-buttons-box, h1, h2, h3, h4, .believes-box ul {
    font-family: dharma-gothic-e, sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .tile-number-number, .zig-button-number {
    font-family: "Whitney Bold", sans-serif;
    /* font-family: 'Roboto Extra Bold', sans-serif; */
    font-weight: 900;
    font-style: normal;
  }


  .zig-buttons-box{
    background-color: #f5ede7;
    width: 100%;
    padding: 80px 0 16px 0;
    margin-bottom: 100px;
    font-family: dharma-gothic-e, sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  div[class^="zig-button_"]{
    display: flex;
    margin-bottom: 0;
    padding: 0;
    margin: 0;
    height: auto;
  }

  div[class^="zig-button_"].active{
    transition: all 1.5s ease;
    transform: translate(0, -40px);
  }

  div.zig-button_1{
    transition: unset;
    transform: translateY(-40px);
  }

  .zig-button-zig, .zig-button-zag{
    height: 50px;
    margin-bottom: 14px;
  }

  .zig-button-zig{
    flex: 1;
    background-color: var(--uso-red);
    transform-origin: bottom right;
    transform: skew(0, 15deg);
    margin-right:30px
  }

  .zig-button-zag{
    flex: 1;
    background-color: var(--uso-red);
    transform-origin: bottom left;
    transform: skew(0, -15deg) translateX(0.2px);
  }

  .zig-button-text{
    flex: 3;
    font-weight: bold;
    font-size:2.3em;
    color: var(--uso-blue);
    text-transform: uppercase;
    position: relative;
    padding: 0;
    margin: 0;
    line-height: 0.8em;
    display: flex;
    align-items: center;
  }

  .zig-button-text-text.active{
    transition: all 1.5s ease;
    transform: translateX(0vw);
  }

  .zig-button-number{
    color: white;
    position: absolute;
    left: -63px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    top: 3px;
  }

  .tiles-box{
    position: relative;
    display: grid;
    grid-template-columns: 25vw 75vw;
  }

  .tiles{
    grid-column: 1 / 2;
  }

  .tile{
    transform: translateX(0);
    opacity: 1;
    margin-top: 4rem;
  }

  .tile:first-child{
    margin-top:0;
  }

  .tile-pages{
    grid-column: 2 / 3;
    transform: translateX(75vw);
    display: grid;
    grid-template-columns: 1fr;
    font-size: 16px;
  }
  .tile-pages.slide{
    transition: all 1s ease-in-out;
    transform: translateX(0);
  }
  .tile-pages.slide-reverse{
    transition: all 1s ease-in-out;
    transform: translateX(75vw);
  } 

  span[id^="to-tile-"] {
    cursor: pointer;
    margin-top:-10px;
  }

  span[id^="to-tile-"]:hover {
    color: var(--uso-red);
  }



  div[id^="tile-page-"] {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: none;
    padding: 0 8em 0 0;
  }

  .priority-image{
    width: 100%;
    height: 350px;
    position: relative;
  }

  .priority-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  .priority-image h2{
    position: absolute;
    bottom: 0;
    color: white;
    font-size: 4.2rem;
    line-height: 4.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    padding: 0 30px 30px 30px;
  }
  
  .priority-content{
    padding-left: 30px;
  }

  .priority-intro{
    font-size: 1.4em;
    line-height: 1.3em;
  }
  .priority-plan-box{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    grid-auto-flow: dense;
  }
  .priority-plan-box p{
    width: auto;
    box-sizing: border-box;
    position: relative;
    grid-auto-columns: fit-content;
    padding-left: 40px;
    margin: 0;
  }
  .priority-plan-box p:before{
    content: "";
    background-image: url('../img/start.png');
    background-size: contain;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  .priority-measuring-box{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    grid-auto-flow: dense;
  }
  .priority-measuring-box div{
    display: block;
    height: 20vw;
    padding: 20px;
  }
  .priority-measuring-box div img{
    width: 100%;
    object-fit: contain;
    height: inherit;
  }
  .tile-page h3{
    font-size: 2.6em;
    color: var(--uso-blue);
    display: flex;
    align-items: center;
    width: 100%;
    text-transform: uppercase;
  }
  .tile-page h3:after{
    content: "";
    flex: 1;
    height: 2px;
    background-color: darkgray;
    margin-left: 20px;
  }

  .tile-intro {
    width: 100vw;
    display: block;
  }

  .tile-summary{
    margin: 0 15vw 0 15vw;
    position:relative;
    height: 350px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }

  .tile.slide{
    transition: all 1s ease-in-out;
    transform: translateX( -75vw);
  }

  #after-slides{
    opacity: 1;
  }
  #after-slides.slide{
    transition: all 1s ease-in-out;
    opacity: 0;
    transform: translateX( -75vw);
  }

  #after-slides.slide-reverse{
    transition: all 1s ease-in-out;
    transform: translateX( 0vw);
  }

  /* #after-slides.slide{
    display: none;
    } */

    .tile.transparent{
      transition: all 1s ease-in-out;
      opacity: 0.3;
    }

    .tile.slide-reverse{
      transition: all 1s ease-in-out;
      transform: translateX( 0vw);
    }

    .tile-left{
      display: flex;
      flex: 2;
      position: relative;
      height: inherit;
    }

    .tile-right{
      flex: 1;
      z-index: 2;
    }

    .tile-image{
      z-index: 1;
      position: absolute;
      width: 100%;
      height: 110%;
    }

    .tile-image img{
      width: 100%;
      object-fit: cover;
      height: inherit;
    }
    .tile-content{
      width: 100%;
      height: 100%;
      display: flex;
      background-color: var(--uso-blue);
      align-items: end;
    }

    .tile-number{
      position: absolute;
      top: 20px;
      right: 0;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tile-number-number{
      color: white;
      font-size: 2rem;
      font-weight: bold;
      z-index: 3;
      margin-top: 10px;
    }

    .tile-number::before{
      content: "";
      background-color: var(--uso-red);
      width: 60px;
      height: 60px;
      position: absolute;
      transform: skew(0, -15deg);
      transform-origin: top right;
    }

    .tile-summary h2{
      z-index: 2;
      color: white;
      font-size: 4.2rem;
      line-height: 4.2rem;
      font-weight: bold;
      text-transform: uppercase;
      align-self: flex-end;
      margin: 0;
      padding: 0 30px 30px 30px;
    }

    .tile-summary p{
      flex: 1;
      color: white;
      margin: 0;
      padding: 0 30px 30px 30px;
      font-weight: 100;
      align-self: flex-end;
    }

    .tile-link{
      display: inline-block;
      margin-top: 20px;
      color: white;
      font-weight: bold;
      text-decoration: none;
      border-bottom: 1px solid white;
      cursor: pointer;
    }

    .tile-link:hover{
      color: var(--uso-red);
      border-bottom: 1px solid var(--uso-red);
    }

    .tile-link > * {
      pointer-events: none;
    }

    .tile-link .fas{
      font-size: 0.8rem;
    }

    .believes-box{
      margin: 80px 15vw;
      text-align: center;
    }

    .believes-box p{
      font-size: 1.3rem;
      display: none;
    }

    .believes-box p.active{
      display: block;
    }

    .believes-box ul{
      list-style-type: none;
      display: flex;
      justify-content: center;
    }

    .believes-box ul li{
      display: flex;
      flex: 1;
      flex-direction: column;
      font-size: 1.6rem;
      text-transform: uppercase;
      font-weight: bold;
      color: var(--uso-blue);
      position: relative;
    }

    .believes-box ul li:hover{
      cursor: pointer;
    }

    .believes-box ul li:hover::before{
      color: var(--uso-red);
    }

    .believes-box ul li::before{
      content: "\02605";
      font-size: 2rem;
      /* color: var(--uso-red); */
      color: #ccc;
    }

    .believes-box ul li.active:before{
      color: var(--uso-red);
    }

    .believes-box ul li::after{
      content: "";
      background-color: #ccc;
      width: 16vw;
      margin-left: 14vw;
      height: 2px;
      position: absolute;
      top: 25px;
    }

    .believes-box ul li:last-child:after{
      content: "";
      background-color: #ccc;
      display: none;

    }

    .numbers-box{
      margin: 0 15vw;
    }

    div[class^="numbers-box-"] {
      text-align: center;
    }

    .numbers-box h2{
      text-transform: uppercase;
      display: flex;
      font-size: 3rem;
      align-items: center;
      white-space: nowrap;
      color: var(--uso-blue);
    }

    .numbers-box h2::before, .numbers-box h2::after{
      content:"";
      display: block;
      font-size: 1rem;
      height: 2px;
      width: 100%;
      background-color: #ccc;
    }

    .numbers-box h2::before { margin-right: 40px; }
    .numbers-box h2::after { margin-left: 40px; }

    .numbers-box-reach{
      font-size: 1.2rem;
    }

    .numbers-box-reach ul, .numbers-box-impact ul{
      list-style-type: none;
      margin-bottom: 0;
      margin-top: 0;
      padding-left: 0;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

    .numbers-box-reach ul li, .numbers-box-impact ul li {
      display: flex;
      flex: 1 1 33.33%;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
      padding: 1rem 3rem;
    }

    .numbers-box-impact ul li {
      justify-content: center;
    }

    .numbers-box-impact ul li:nth-last-child(1){
      grid-column: span 2;
    }

    .numbers-box-reach ul li h3{
      text-transform: uppercase;
      display: flex;
      align-items: center;
      white-space: nowrap;
      color: var(--uso-blue);
      font-size: 1.5em;
    }

    .numbers-box-reach ul li h3:before, .numbers-box-reach ul li h3:after {
      content: "";
      display: block;
      font-size: 1eem;
      height: 2px;
      width: 2rem;
      background-color: #ccc;
    }

    .numbers-box-reach ul li h3:before{
      margin-right: 10px;
    }

    .numbers-box-reach ul li h3:after{
      margin-left: 10px;
    }

    .numbers-box-reach li number{
      font-family: dharma-gothic-e, sans-serif;
      text-transform: uppercase;
      color: var(--uso-red);
      font-size: 2em;
    }

    .numbers-box-reach li p{
      padding: 0;
      margin: 0;
      font-size: 0.8em;
    }

    #continents{
      background-image: url('../img/globe.jpg');
      width: 200px;
      height: 200px;
      background-size: contain;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }


    .learn-more-box{
      margin: 0 15vw;
      display: flex;
      justify-content: center;
      font-size: 2rem;
      color: var(--uso-red);
      font-family: dharma-gothic-e, sans-serif;
      text-align: center;
    }

    .learn-more-box a{
      color: var(--uso-red);
      font-family: dharma-gothic-e, sans-serif;
    }

    .social-box{
      display: flex;
      justify-content: center;
      padding-bottom: 100px;
    }

    /* alert window used for video*/

    html .alert-active{
     overflow: hidden;
   }

   #alert-window{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.7);
    overflow: scroll;
  }

  #alert-cancel{
    position: absolute;
    top: -27px;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }

  #alert-box{
    position: relative;
    background: var(--uso-red);
    padding: 2.4vw;
    width: 80vw;
    border-radius: .5rem;
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
  }
  .video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 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
 */

 .sr-only {
  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 .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

 .sr-only.focusable:active,
 .sr-only.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
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. 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 (max-width: 745px) {
    /* Style adjustments for viewports that meet the condition */
    html{ font-size: 12px;}

    .text-box, .numbers-box-marching, .numbers-box-reach{
      font-size: 1.3em;
    }

    .numbers-box-reach li p{
      font-size: 1.2rem;
      line-height: 1.6rem;
    }

    .zig-button-text {
      font-size: 2em;
    }
    .zig-button-zig {
      height: 3.4em;
      margin-right: 20px;
    }
    .zig-button-zag {
      height: 3.4em;
    }
    .zig-button-number {
      left: -52px;
      top: 4px;
    }

    div[class^="zig-button_"].active{
      transition: all 1.5s ease;
      transform: translate(0, -40px);
    }

    .numbers-box-reach ul, .numbers-box-impact ul {
      flex-direction: column;
      flex-wrap: nowrap;
    }

    .tile-summary{ 
      margin: 0 5vw 0 5vw;
      flex-direction: column;
      height: auto;
    }

    .tile-summary p{
      padding: 30px 30px 30px 20px;
    }

    .tile-summary h2{
      padding: 30px 50px 30px 30px;
    }

    .tile.slide{
      transform: translateX(-100vw);
    }

    .tile-page{
      width: 90vw;
    }

    .tile-image{
      height: 120%;
    }

    .tile-number{
      width: 20px;
    }

    .tile-number-number{
      font-size: 1.8rem;
      margin-right: 18px;
      margin-top: 15px;
    }

    .numbers-box-impact ul li {
      padding: 1rem 4rem;
    }

    #continent-count{
      font-size: 3em;
      line-height: 1em;
    }

    .believes-box ul{
      padding:0;
    }

    .believes-box ul li::after {
      top: 18px;
      margin-left: 15vw;
    }

    .header-share{
      display: none;
    }

    div[id^="tile-page-"]{
      padding: 5vw;
    }
    .tile-pages.slide{
      transform: translateX(-25vw);
    }
    .priority-content{
      padding-left: 0;
    }
    .priority-measuring-box div {
      height: 90%;
      padding: 0;
    }
  }

  @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;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
   thead {
    display: table-header-group;
  }

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

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

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

