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

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

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


/* @group Typography */
   
   /* @group Custom Webfonts */
   

   
 @font-face {
  font-family: "CircularStd";
  src: url("CircularStd-Bold.woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "CircularStd";
  src: url("CircularStd-Medium.woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "CircularStd";
  src: url("CircularStd-Book.woff2");
  font-weight: 400;
  font-style: normal;
}
#main-content{
  margin-left: auto;
  margin-right: auto;
}


h5{
  color: black;
}

/*nav*/
.hero-home .nav a {
  position:relative;
  font-family: "CircularStd";
  font-weight: 500;
  color:white;
  font-size:1.3em;
  padding: 0em 2em;
}
.starlit-head .nav a {
  position:relative;
  font-family: "CircularStd";
  font-weight: 500;
  color:white;
  font-size:1.3em;
  padding: 0em 2em;
}
.about-page .nav a {
  position:relative;
  font-family: "CircularStd";
  font-weight: 500;
  color:white;
  font-size:1.3em;
  padding: 0em 2em
}
.engstrom-logo{
  position:relative;
  font-family: "CircularStd";
  font-weight: 500;
  color:white;
  font-size:1.3em;
  letter-spacing:.5px;
  margin:0;
}
.nav-lg{
padding-top: 4px;
}
.nav ul {
  list-style-type:none;
}
.nav a {
  display:block;
  text-decoration:none;
  color:inherit;
}

.nav-contact {
  padding-right: 0px;
}

nav span {
  font-weight: 600;
}


.nav-links li{
  transition: .2s;
}



.nav-sm {
  width: 100vw;
}

header {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  z-index: 3;
  height: 65px;
}

header .flex-parent {
  align-items:center;

}

.hero-home header{
  animation: colorchange 45s;
-webkit-animation: colorchange 45s
background-repeat: repeat-y;
animation-iteration-count: infinite;
}
.about-page header{
animation: colorchange 45s;
-webkit-animation: colorchange 45s
background-repeat: repeat-y;
animation-iteration-count: infinite;
}

.starlit-head header{
animation: colorchange 45s;
-webkit-animation: colorchange 45s
background-repeat: repeat-y;
animation-iteration-count: infinite;
}

/*nav from Angela Chu*/
.ham{
  display:block;
  float: right;
  margin-right: 20px;
  margin-top: 5px;
  color: white;
  }  
.overlay {
    height:0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    animation: colorchange 45s;
    -webkit-animation: colorchange 45s
    background-repeat: repeat-y;
    animation-iteration-count: infinite;
    overflow-y: hidden;
    transition: 0.5s;
}
.ham-bars{
  display: none;
}
.overlay-content {
    position: relative;
    top: 20%;
    width: 100%;
}
.overlay-content a {
    padding: 15%;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .1em;
    color: white;
    display: block;
    transition: 0.3s;
    font-family: "CircularStd";
}
.overlay-content a:focus {
    background-color: #FFDA8E;
}
.closebtn {
  display:block;
  text-decoration: none;
  float: right;
  margin-top: -15px;
  margin-right: 20px;
  color: white;
  font-size: 70px;
}
.pop-up-contact {
  margin-top: 5%;
  vertical-align: middle;
}
.pop {
  display: none;
  position: fixed;
  top:25%;
  margin-left: auto;
  margin-right: auto;
  left: 15%;
  width:70%;
  height:70%;
  background: #ffffff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  z-index:15;
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.15);
}

.about-contact {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 110px;
}

.pop-up-content {
  text-align: center;
  left: 50%;
  top: 50%;
}
.pop-up-content button {
  letter-spacing: .1em;
  align-items:center;
}
.pop > span {
  cursor: pointer;
  position: absolute;
  top: 6%;
  right: 6%;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  background: #cccccc;
  color: #ffffff;
  padding: 6px 0px 0px 9px;
  width: 30px;
  height: 30px;
}



/*home page hero*/
.hero-home{
height: 95vh; 
animation: colorchange 45s;
-webkit-animation: colorchange 45s
background-repeat: repeat-y;
animation-iteration-count: infinite;
margin-bottom: 70px;
}
.welcome{

animation: colorchange 45s;
-webkit-animation: colorchange 45s
background-repeat: repeat-y;
animation-iteration-count: infinite;
}

 @keyframes colorchange
    {
      0%   {background: #ffba09;}
      33%  {background: #1101dd;}
      66%  {background: #ea051f;}
      100%  {background: #ffba09;}

    }

  @-webkit-keyframes colorchange 
    {
      0%   {background: #ffba09;}
      33%  {background: #1101dd;}
      66%  {background: #ea051f;}
      100%  {background: #ffba09;}
    }

  
/* @end */


/* @group Shared Styles */


  

  
  .mid {
    background-color: #F4F6F7;
  
  }
  
  .light {
    background-color: #FFF;
  }
  
  
  .center {
    text-align: center;
  }
  
  .strikethrough {
    text-decoration: line-through;
  }
  
  
  
  .soft-border {
    border: 1px solid #F3F5F6;
  }
  
  .drop-shadow {
    -moz-box-shadow:    1px 1px 1px 0px #E9EDEF;
    -webkit-box-shadow: 1px 1px 1px 0px #E9EDEF;
    box-shadow:         1px 1px 1px 0px #E9EDEF;
  }
  
  .micro-block h3 {
    font-size: 1.688rem;
    margin-bottom: 0.5625rem;
    margin-top: 0;
  }
  
  .micro-block p {
    margin-top: 0;
  }
  
  .hyphenate li {
    margin-bottom: 1.125rem;
  }
  
span{
  font-weight: bold;
}

.project-intro-main {
margin-left: 8.3333333%;
padding-right:8.3333333% ;
}

.ux-skills{
  position: relative;
  justify-content: center;
}




.overlay-skills{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #ffffff;
box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}


.ux-skills:hover .overlay-skills {
  opacity: 1;
}

#text-skills{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
    margin-bottom: 4rem;
    margin-top: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-color: white;
}

.slider {
  max-width: 1100px;
  margin: 0px;

  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}


.slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: center;
  margin-right: 0px;
  box-sizing: border-box;
  background: white;
  transform-origin: center center;
  transform: scale(1);
}



.slide a {
  background: none;
  border: none;
}

a.slide__prev,
.slider::before {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  left: 5%;
}

a.slide__next,
.slider::after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  right: 5%;
}

.slider::before,
.slider::after,
.slide__prev,
.slide__next {
  position: absolute;
  width: 35px;
  height: 35px;

  border-width: 0 1px 1px 0;
  padding: 3px;
  box-sizing: border-box;
      top: 48%;
}


.slider::before,
.slider::after {
  content: "";
  z-index: 1;
  background: none;
  pointer-events: none;
}

.slider__nav {
  box-sizing: border-box;
  position: relative;
  bottom: 3%;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 32px;
}

.slider__navlink {
  display: inline-block;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background-color: black;
  margin: 0 10px 0 10px;
}



/* @end */

/* @group Site Header */

  #masthead-wrapper { 
    min-height: 15.938rem;
  }
  
  #masthead-wrapper .micro {
    margin-top: 109px;
  }
  
  #masthead-wrapper ul#menu-main {
    list-style: none;
    padding: 0;
    margin-top: 109px;
    margin-left: 0;
    margin-right: 51px;
    text-align: right;
  }
  
  #masthead-wrapper ul#menu-main li {
    margin-bottom: 0;
    margin-left: 2.25rem;
    margin-top: 0;
    display: inline-block;
  }
  
  #masthead-wrapper ul#menu-main li:first-child {
    margin-left: 0;
  }
  
  #masthead-wrapper ul#menu-main li a {
    color: #252B33;
    font-family: BebasNeueRegular, Helvetica Neue, arial, sans-serif;
    font-size: 1.500rem;
    font-weight: normal;
    line-height: 2.25rem;
    margin-top: 2.25rem;
    margin-bottom: 0;
    text-decoration: none;
  }
  
  #masthead-wrapper nav ul#menu-main li a:hover,
  #masthead-wrapper nav ul#menu-main li a:focus {
    border-bottom: 2px solid #252B33;
    -webkit-transition: border 0.2s ease;
    -moz-transition: border 0.2s ease;
    -ms-transition: border 0.2s ease;
    -o-transition: border 0.2s ease;
    transition: border 0.2s ease;
  }
  
  
  #masthead-wrapper nav ul#menu-main li.current_page_item a,
  #masthead-wrapper nav ul#menu-main li.current_page_parent a,
  #masthead-wrapper nav ul#menu-main li.current-page-ancestor a,
  masthead-wrapper nav ul#menu-main li a:focus {  
    border-bottom: 2px solid #252B33;
  }
  
  #masthead-wrapper .logo-wrapper {
    height: 100%;
    line-height: 247px;
    text-align: center;
  }
  
  a#logo {
    margin: 0 0 0 -15%;
    display: inline-block;
  }
  
  a#logo img {
    width: 80%;
  }

/* @end */


/* @group Site Footer */  


    .footer-content h5 {
    font-size: 14px; }
 .footer-content{
  padding-top: 20px;
 }

.footer-social-media a {
  display: inline-block;
  margin: 15px;
  margin-top: -8px;
}

.footer-social-media a:hover {
  color: #cdff48;
}

/* @end */
 /* case study pages */

.project-main-title h2{
text-align: center
}



/* @group Project List Simon Pan */
/* index page */
#about-intro{
  display: flex;
  justify-content: center;
}



.flex-container{
    display: flex;
  justify-content: center;
  text-align: center;
  justify-content: space-around;
}
.flex-container2{
    display: flex;
  justify-content: center;
  justify-content: space-around;
}
.img1{
height: 90px;
}
.img2{
height: 90px;
align-items: center;
}
.img3{
height: 90px;
}


.prob-img1{
height: 80px;
}
.prob-img2{
height: 80px;
align-items: center;
}
.prob-img3{
height: 80px;
}


.project-detail-img{
  margin-top: 4%;
  margin-bottom: 4%;
}



  .project-list,
  .post {
    padding-left: 0;
    list-style: none;
    margin-top: 0;
  }
  
  .project-list li {
border: 1px solid #DBE0E6;
padding: 4%;
  }

  .project-list .project-thumb {
    display: inline-block;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  
  .project-list .project-thumb img {
    width: 100%;
  }
  
  .project-desc {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6.2500000001%;
  }
  
  .project-desc h2,
  .project-desc h4 {
    margin-bottom: 0;
  }
  
  .project-desc p {
    margin-top: 0.5625rem;
    margin-bottom: 1.6875rem;
  }
  
  .project-desc h2 {
    margin-top: 0.5625rem;
  }
.main-body{
  margin-top: 200px;
}




.lwb-final-design{
  padding-right: 20px;
}
.view-project-1{ 
border-bottom:3px solid #ffba09; 
padding-bottom: 6px; 
width: 130px;
text-decoration: none;
}


/* @end */



  
/* @end */


/* @group About */
  
    section.hero-spread .wrapper {
      overflow: hidden;
      position: relative;
      text-align: center;
    }
    
    section.hero-spread .wrapper h1 {
      font-size: 4.313rem;
      line-height: 5.625rem;
      position: absolute;
      top: 50%;
      margin-top: 0;
      margin-bottom: 0;
      transform: translateY(-50%);
    }
    
    section.hero-spread .hero-wrapper {
      display: inline-block;
    }
    
    section.hero-spread .hero-wrapper img {
      width: 100%;
    }
    
    
    section#opener h3 {
      margin-top: 2.25rem;
    }
    
    section#gallery figure {
      margin: 0;
    }
    
    
    
  section#testimonials footer p.micro {
    margin-bottom: 2.25rem;
    margin-top: 2.25rem;
  }
  
  section#now-playing-reading {
    text-align: center;
  }
  
  section#now-playing-reading h2 {
    margin-top: 0;
    margin-bottom: 6.75rem;
    text-align: center;
  }
  
  section#now-playing-reading h5 {
    margin-top: 0;
  }
  
  section#now-playing-reading figure {
    margin: 0;
    margin-top: 4.5rem;
  }
  
  section#now-playing-reading .now-playing,
  section#now-playing-reading .now-reading {
    background-color: #FFF;
    padding-bottom: 4.5rem;
    text-align: center;   
    outline: 9px solid #DBE0E6;
  }

  section#now-playing-reading p {
    margin-top: 1.125rem;
  }
  
  section#now-playing-reading .author {
    font-family: CallunaSmBdRegular, Georgia, serif;
    font-size: 1.500rem;
  }

  section#awards ul {
    font-size: 1.313rem;
    padding-left: 0;
  }

/* @end */


/* @group Case Study */

  .hero-spread header h1 {
    margin-top: 1.125rem;
  }
  
  .hero-spread header h5 {
    margin-top: 9rem;
  }
  
  section.phase.case-block h2 {
    margin-top: 1.125rem;
  }
  
  .thumb-list {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
  }
  
  .thumb-list .image-wrapper {
    position: relative;
    height: 100%;
    text-align: center;
  }
  
  .thumb-list img {
    width: 100%;
  }
  
/*  .thumb-list .text-block h3 {
    margin-top: 1.6875rem;
    margin-bottom: 0;
  }
  
  .thumb-list .text-block p {
    margin-top: 1.125rem;
    margin-bottom: 0;
  }*/
  
  #my-role h2 {
    margin-top: 0;
  }
  
  #impact ul {
    list-style-type: none;
    padding: 0;
    margin-top: 2em;
    text-align: center;
  }
  
  
  #impact ul:before,
  #impact ul:after {
/*    margin: 1em auto;*/
    margin: 1.125rem auto;
  }
  
  #impact ul:before, 
  #impact ul:after {
    content: "";
    display: block;
    width: 10%;
    height: 1px;
    background: #999999;
  }
  
  #impact ul h3 {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  

/* @end */


/* @group Helper Classes */

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  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: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}
footer {
  height: 240px;
  text-align: center;
  margin-top: 80px;
}

/* @end */


/* @group Media Queries */

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

/* @group Large, XLarge and above */



/* @group Desktop Only */

@media (min-width: 1100px){
  .project-list .project-desc {

    margin-top: 2.25rem;
    margin-bottom: 4%;
  
}

.project-intro-slide{
padding-left: 4%;
}

.project-intro{
  margin-top: 17%;
  margin-bottom: 32px;
}

.insight-p p{
  margin-top: 0px;
}

  .project-list .project-thumb {
      width: 25%;
    }

    .final-lwb-img{
padding-bottom: 14%;


}

}


@media (max-width: 1099px){
.project-intro{
  margin-top: 12%;
  margin-bottom: 40px
}

.final-lwb-img{
padding-bottom: 12%;


}

}
/* @end */
@media only screen and (min-width: 0) and (max-width: 1099px) {

.insight-p p{
  margin-top: 0px;
}

.view-project-1{ 
margin-left: auto;
margin-right: auto;
}
  /* @group Tablet Site Header */
.project-list .project-desc {
    display: block;

    margin-top: 2.25rem;
    margin-bottom: 4%;
    margin-left: 0;   
}

   


.project-thumb{
align-items: center;
}
  /* @end */
  
  

  
  /* @group Tablet Project List */
  
  .project-list {
    text-align: center;
s
  }
  
  .project-list li {
      height: auto;
  }
  
  .project-list .project-thumb {
    display: block;
    margin-top: 12.499995%;
    margin-bottom: 0;
    width: 27%;
    margin-left: auto;
    margin-right: auto;
  }
  
}

/* @group Tablets, Small Computers */



/* @end */


@media (min-width: 901px) {

        .welcome h1{
    font-size: 3.5em;
  
  }
  .welcome{
  padding-top: 10.5vw;
}

.solution-head{
  margin-left:5.777777%;
}

.home-starlit-info02{
  margin-top: 37px;
}


.product-shot{
  padding-top: 6%;
  padding-bottom: 6%;
  background-color: #fafafa;
}

  .row-lg-reversed-2>[class*='col-lg']:first-child {
  order:2;
  }
    .row-lg-reversed-2 {
    padding-top: 50px;
  }

  .ham{
  display: none;
  }


.skills{
  margin-top: 64px;
}

.skills2{
   margin-top: 64px;

}

.detail-2{
  padding
}
.container {
    padding-left: 3em;
    padding-right: 3em;
}

.skill-icons{
  margin-top: 55px;
}

  .project-detail-section{
    margin-top:6%;
    margin-bottom:6%;
  }

}


@media (max-width: 900px){
        .welcome h1{
    font-size: 3em;
  
  }
  .welcome{
  padding-top: 16.5vh;
}

.home-starlit-info02{
  margin-top: 0px;
}

.final-section{
  margin-left: 6v.333333%;
}

.skills2{
   margin-top:60px;
   
}

  .ux-skills{
    margin-top: 20px;
  }

  .skills{
    margin-top: 0;
  }
.about-intro-head{
  margin-left: 8.333333;
}

   .solution-head{
  margin-left:8.333333%;
}

  .home-starlit-info01{
    order: 2;
    display: flex;
    justify-content: center;

  }  

.product-shot{
  padding-top: 8%;
  padding-bottom: 8%;
  background-color: #fafafa;
}

.final-lwb-img{
padding-bottom: 9%;


}

}

@media only screen and (min-width: 0) and (max-width: 900px) {


/* @group Mobile */

.skill-icons{
  margin-top: 20px;
}

.project-intro{
  margin-top: 55px;
  margin-bottom: 25px;
}

  .project-detail-section{
    margin-top:60px;
    margin-bottom: 35px;
  }




  /*nav*/
  .ham{
    display: block;
  }
  header {
  height: 60px;
  }  
  .nav-menu{
    display: block;
    text-align: center;
  }
  .main-menu{
    display: none;
  }
 
  .ham-control:checked ~ .main-menu {
    display: block;
  }
  .container{
    padding-left: 1em;
    padding-right: 1em;
  }
  .contentlist{
  padding-bottom: 0px;
  }
  .tabgroup{
  margin-bottom: 30px;
  }
 
  .solution{
    order:2;
  }
  .row2{
  flex-direction: column;
  }

  .block{
    display: block;
  float:left;
  clear:none;
  margin-right:-100%;}

.flex-container: {
flex-direction: column;
}
  
  /* @group Mobile Project List */
  
    .project-list .logo-wrapper img {
      width: 39.113428944%
    }
    
  
    
    .project-list .project-desc {
      margin-bottom: 2.25rem;
    }
    
    .project-list .project-desc h2 {
      margin-bottom: 1.125rem;
    }
    
    .project-list .project-desc p {
      margin-bottom: 1.125rem;
    }
  
    }
  /* @end */
@media (min-width: 720px) {

  .row-reversed: {
    order:3;
  }

}


 @media (min-width: 576px){
 
   .prob-icons{
    margin-top: 40px;
   }


 }
  
@media (max-width: 575px){
        .welcome h1{
    font-size: 2.5em;
  }
  .welcome{
  padding-top: 7vh;
}

   .final-lwb-img{
padding-bottom: 8%;

}

  .row-md-reversed-2 {
    padding-top: 50px;
  }
        .welcome{
  padding-top: 19vh;
}

.product-shot{
  padding-top: 12%;
  padding-bottom: 12%;
  background-color: #fafafa;
}


.prob-icons{
  margin-top: 0px;
}

  .prob-ux{
    margin-top: 10px;
  }



  /*nav*/
  .ham{
    display: block;
  }
  header {
  height: 60px;
  }  
  .nav-menu{
    display: block;
    text-align: center;
  }
  .main-menu{
    display: none;
  }
 
  .ham-control:checked ~ .main-menu {
    display: block;
  }
  .container{
    padding-left: 1em;
    padding-right: 1em;
  }
  .contentlist{
  padding-bottom: 0px;
  }
  .tabgroup{
  margin-bottom: 30px;
  }
  .project-detail-title{

  }

  .solution{
    order:2;
  }

  .row2{
  flex-direction: column;
  }

  .block{
    display: block;
  float:left;
  clear:none;
  margin-right:-100%;}

  }

@media(max-width: 305px){
         .welcome h1{
    font-size: 2em;
  
  }
  .welcome{
  padding-top: 7vh;
}
}
  /*home-page*/



  /*home-page*/
 

  .welcome p{
    font-size: 1.9em;
  }



@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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    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,
  blockquote {
    border: 1px solid red;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

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

  img {
    max-width: 100% !important;
  }

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

  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* @end */