/*Test*/
/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Cblueit 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;
}

:focus {
outline: 0;
}

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

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

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


@font-face {
  font-family: 'Caslon540LTStd-Roman';
  src: url('../fonts/Caslon540LTStd-Roman.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Caslon540LTStd-Roman';
  src:  url('../fonts/Caslon540LTStd-Roman.otf')  format('opentype'),
	     url('../fonts/Caslon540LTStd-Roman.woff') format('woff'), url('../fonts/aslon540LTStd-Roman.ttf')  format('truetype'), url('../fonts/Caslon540LTStd-Roman.svg#Caslon540LTStd-Roman') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'brownlight';
    src: url('../fonts/brown-light-webfont.woff2') format('woff2'),
         url('../fonts/brown-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'salomeregular';
    src: url('../fonts/salome-webfont.eot');
    src: url('../fonts/salome-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/salome-webfont.woff2') format('woff2'),
         url('../fonts/salome-webfont.woff') format('woff'),
         url('../fonts/salome-webfont.ttf') format('truetype'),
         url('../fonts/salome-webfont.svg#salomeregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

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

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

@font-face {
    font-family: 'Fraktion Mono';
    src: url('../fonts/FraktionMono-Regular.woff2') format('woff2'),
        url('../fonts/FraktionMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html, body{ 
  margin: 0; 
  padding: 0; 
	height: 101%;
}
            
html { 
  background: #ff7171;
  animation-name: colorchange;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}

html.rider{ 
  animation-name: colorchange-rider;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}
@keyframes colorchange {
  0%   {background-color: #ebfaad;}
  50%  {background-color: #adfae1;}    
  90%   {background-color: #ebfaad;}
  100% {background-color: #ebfaad;}
  }     
  

@keyframes colorchange-text{
  0%   {color: #fff;}
  10%   {color: #fff;} 
  35%  {color: #e4dacc} 
  50%  {color: #e4dacc} 
  65%  {color: #e4dacc} 
  90%   {color: #fff;}
  100% {color: #fff}
}  

/* The animation code */
@keyframes blog-animate {
  from {  width:110%;
  margin:auto -5% 50px;
  -ms-transform: rotate(5deg); /* IE 9 */
  -webkit-transform: rotate(5deg); /* Safari prior 9.0 */
  transform: rotate(5deg); /* Standard syntax */}
  to {  -ms-transform: rotate(-5deg); /* IE 9 */
  -webkit-transform: rotate(-5deg); /* Safari prior 9.0 */
  transform: rotate(-5deg); /* Standard syntax */
  width:80%;
  margin:auto 10% 50px;}
}
  
  
body{
    color:black;
    margin: 0; 
    padding: 0;
    height: 100%;
    font-family: 'Caslon540LTStd-Roman', sans-serif;
    font-weight:400;
    display: flex;
    flex-direction: column;
    letter-spacing:.02em;
    overflow-x: hidden;
    max-width: 100%;    
}            

section {
  flex: 1 0 auto;
  overflow-x:hidden;
}


   
h1{
  text-align:center;
  font-family: 'Caslon540LTStd-Roman', serif;
  font-weight:400;
  letter-spacing:-.2px;
  font-size:32px;
  font-size:24px;
  margin-top:25px;
  position:fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index:1;
  font-family: 'Bagnard', sans-serif;
  font-weight:400;
  text-transform:lowercase;
}  

h1{
  position:relative;
  margin-bottom:-90px;
}

@keyframes blob-flux {
  0% {
    transform: rotate(5deg);
    width:90%;
  }
  50%{
    transform: rotate(-5deg);
    width:110%;
  }
  100% {
    transform: rotate(5deg);
    width:90%;
  }
}

@keyframes blob-flux-mobile {
  0% {
    transform: rotate(105deg) scaleY(2.5) scaleX(2);
    width: 100vw;
  }
  50%{
    transform: rotate(90deg) scaleY(2.5) scaleX(1.5);
    width:90vw;
  }
  100% {
    transform: rotate(105deg) scaleY(2.5) scaleX(2);
    width: 100vw;
  }
}

div#blob-container{
  text-align:center;
  height:100vh;
}
img.blob{
  position:relative;
  top:120px;
  margin:auto -5% 50px;
  transition: all 2s;
  overflow:hidden;
  transform: rotate(5deg);
  width:90%;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  transition: filter 1000ms ease-in-out;
  mix-blend-mode:overlay;
}

img.blob:hover{
/*  filter:invert(11) sepia(100) hue-rotate(40deg) saturate(112%);
  transition: filter 9000ms ease-in-out;*/
}

body.loaded img.blob{
  animation-name: blob-flux;
}

h3{
  font-family: 'brownlight', sans-serif;
  font-family: 'Fraktion Mono';
  font-weight:300;
  text-align:center;
  margin:50px auto 15px;  
  padding-bottom:10px;
  font-size:15px;
  border-bottom:1px solid black;
  text-transform:uppercase;
}    

h4{
  font-family: 'Caslon540LTStd-Roman', serif;
  font-weight:400;
  margin-top:4px;
  margin-bottom:4px;
  text-align:left;
} 

#clients li h4 a{
  font-family: 'brownlight', sans-serif;
  font-family: 'Fraktion Mono';
  color:black;
  text-decoration:none;
  margin-left:5px;
  font-size:10px;
  font-weight:300;
} 

#clients li h4 a:hover{
  color:blue;
}  

h2#about{
  font-family: 'Caslon540LTStd-Roman', serif;
  font-weight:400;
  text-align:center;
  margin:auto;
  max-width:590px;
  line-height:1.2em;
  font-size:36px;
   letter-spacing:0;
} 

table{
  margin:40px auto;
}   

td{
  padding:5px 30px;
}

img.mainpic{
  width:70%;
  text-align:center;
  display:block;
  margin:auto;
}

/**
 * Vimeo
 */

.vimeo-embed-container{ 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
    height: auto; 
    margin:auto;
}

.vimeo-embed-container iframe, .vimeo-embed-container object, .vimeo-embed-container embed{ 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    
}

#client-container{
  padding-top:35px;
  margin-top:80px;
}

#client-container h3{
  width:600px; 
}

#about-container{
  margin-top:35px;
  padding-top:25px;
}

#about-container h3{
    width:94%; 
}

#about-container img{
  width:40%;
  text-align:center;
  display:block;
  margin:40px auto;
}

#clients{
  text-align:center;
  
}

#clients ul{
  display:inline-block;
  list-style-type:none;
  padding:0;
  margin:20px 30px;
}

.big-button-container{
  display: block;
  margin: 130px 5px 0 5px;
  text-align:center;
  display:none;
}

.big-button-container.rider{
  margin: 80px 5px 0 5px;
}

a.big-button{
  font-weight:300;
  margin-top: 50px;
  padding:12px 20px 12px 20px;
  background: black;
  text-decoration:none;
  animation-name: colorchange-text;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  font-family: 'brownlight', sans-serif;
  font-family: 'Fraktion Mono';
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.9em;
}

a.big-button:hover{
  background: blue;
  transition: all 0.4s ease-in-out;
}

/**
 * Portfolio
 */

section#work-container{
  width:100%;
  background:white;
  margin-top:100px;
  text-align:center;
}

section#work-container img.framed{
  border: 20px solid #2f2f2f;
  border-radius: 20px;
  max-width:calc(100% - 40px) ;
}

section#work-container img.thin-framed{
  border: 10px solid #2f2f2f;
  border-radius: 20px;
  max-width:calc(100% - 40px) ;
}

section#work-container img.thin-framed.light-frame{
  border-color:#c1c1c1;
}

section#work-container h3{
  width:300px;
  font-weight:300;
  font-family: 'brownlight', sans-serif;
  font-family: 'Fraktion Mono';
  margin: 100px auto -100px;
}

section#work-container  img{
  width:1100px;
  max-width:100%;
  margin-top:100px;
}

section#work-container img.zak-3{
  width:25%;
  clear:none;
}

section#work-container img.zak-4{
  width:60%;
  clear:none;
  margin-left:50px;
}

@media only screen and (max-width: 640px) {
  section#work-container img.zak-3{
    width:75%;
  }

  section#work-container img.zak-4{
    width:80%;
    margin-left:auto;
  }
}

/*   Special Styles for individual images */


section#work-container img.window-1{
  margin-bottom:5px;
}
section#work-container img.window-2{
  margin-top:5px;
}

@media only screen and (min-width: 1050px) {
  section#work-container img.blipsy{
    clear: both;
    display:block;
    margin:100px auto 0px;
    max-width:900px;
  }
  
  section#work-container img.wyrd{
    max-width:900px;
    margin-left:70px;
  }
  
  section#work-container img.window-1,   section#work-container img.window-2{
    max-width:750px;
    margin-left:auto;
    margin-right:auto;
  }
  
  section#work-container img.gold-diggers-4{
    width: 660px;
    clear: none;
    margin-left: 90px;
        float: left;
  }

  section#work-container img.gold-diggers-5{
    width:800px;
    clear:none;
    margin-right:130px;
    float:right;
  }
}

@media only screen and (min-width: 1560px) {
  section#work-container img.window-1{
    margin-bottom:100px;
  }
  section#work-container img.window-2{
    margin-top:100px;
  }
}

section#work-container img.everviolet-2, section#work-container img.paper-chase-3{
  width:90%;
  margin:100px auto 0px;
}

@media only screen and (min-width: 640px) {
  section#work-container img.everviolet-2, section#work-container img.paper-chase-3{
    width:33%;
    clear:none;
    margin:100px 20px 0px;
  }
}

section#work-container img.paper-chase-4{
  width:90px;
  clear:both;
  margin:20px 200px 20px auto;
  display:block;
}

section#work-container img.blockshop-2{
  width:300px;
  clear:both;
  margin:30px auto;
  display:block;
}

section#work-container img.edwin-1{
  width: 380px;
  border: 20px solid #2f2f2f;
  border-radius: 20px;
}

section#work-container img[data-src].lazy{
	opacity: 0;
  border-color:transparent;
  transition: border-color 2s;
}

section#work-container img{
	opacity: 1;
  transition: border-color 2s, opacity 0.9s;
}

footer{
  text-align:center;
  margin-top:60px;
}

footer ul{
  display:inline-block;
  list-style-type:none;
  padding:0;
  margin:20px 15px;
}

footer li, footer li h4{
  display:inline;
}

footer ul.extras{
  position:absolute;
  right:0;
  margin-top:20px;
}

footer ul.navigation li{
  padding:6px 12px;
}

footer ul.navigation li h4{
  font-size:24px;
}

footer a{
  text-decoration:none;
  color:black;
  cursor:pointer;
}

footer a:hover{
  color:blue;
  transition: all 0.4s ease-in-out;
}

footer a.current{
  border-bottom:3px solid black;
}

footer a.current:hover{
  border-bottom:3px solid blue;
}

/*  Lower navigation Extras */



a.contact-bottom{
  font-family: 'Fraktion Mono';
  text-transform:uppercase;
  display:inline-block;
  padding: 5px;
  font-size: 1em;
  letter-spacing:.075em;
  text-decoration:none;
}

a.social{
  display:inline-block;
  text-decoration:none;
  padding-left:5px;
  font-size:20px;
}

a.social.email-icon{
  display:none;
}

.fa.fa-instagram, .fa.fa-tumblr, .fa.fa-envelope{
  color:black;
  font-size:12px;
}

.fa:hover{
  color:blue;
  transition: all 0.4s ease-in-out;
}

#plus-link{
  font-size:23px;
  vertical-align:-2px;
}


.clear-all{
  clear:both;
}

/*  Animated Plus/Minus */

.closed .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
}
.closed .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
    opacity: 1;
}

.opened {
  opacity: 1;
}  
.opened .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
}
.opened .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
    opacity: 0;
}

.circle-plus {
  width: 4.55em;
  height: 4.5em;
    font-size: 1em;
    opacity: 1;
    position: fixed;
    right: 5px; 
    top:4px;
    z-index:50;
}

.circle-plus .circle {
    position: relative;
    width: 4.55em;
    height: 4.5em;
    right: 0; 
    top:0;
    cursor:pointer;
    
}
.circle-plus .circle .horizontal {
    position: absolute;
    background-color: black;
    width: 60px;
    height: 1px;
    left: 50%;
    margin-left: -32px;
    top: 50%;
    margin-top: 0px;
}
.circle-plus .circle .vertical {
    position: absolute;
    background-color:black;
    width: 1px;
    height: 60px;
    left: 50%;
    margin-left: -3px;
    top: 50%;
    margin-top: -27.5px;
}

.circle-plus .circle:hover .horizontal, .circle-plus .circle:hover .vertical{
  background-color:blue;
  transition: all 0.4s ease-in-out;
}

.circle-plus .plus-content{
  position:fixed;
  position: fixed;
  right: -320px;
  top: 32px;
  transition-property: right;
  transition-duration: .5s;
  background:white;
}

.circle-plus.opened .plus-content{
  right:95px;
}


.plus-content a.navlink-top{
  display:inline-block;
  padding:5px 10px;
  font-size: 12px;
  font-family: 'brownlight', sans-serif;
  font-family: 'Fraktion Mono';
  letter-spacing:.075em;
  text-decoration:none;
  color:black;
  font-weight:300;
  text-transform:uppercase;
  
}

.plus-content a.navlink-top:hover{
  background-color:blue;
  color:white;
  transition: all 0.4s ease-in-out;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 801px){
  #blob-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  #blob-container a{
    width: 100%;
    margin-top: -150px;
  }
}

@media only screen and (min-width: 1500px) {
  #blob-container a{
    margin-top: -250px;
  }
}

/*  img.blob{
    top:150px;
  }*/
}


@media only screen and (max-width: 1024px) {

}

@media only screen and (max-width: 800px) {
  body.loaded img.blob{
  animation-name: blob-flux-mobile;
  }
  
  div#blob-container {
      height: calc(100vh - 110px);
    }

  .circle-plus .circle{
    z-index:2;
    width: 3.5em;
    height: 3.5em;
    right:-20px;
  }
  
  .circle-plus .circle .vertical{
    height:50px;
    margin-top: -23.5px;
    
  }
  
  .circle-plus .circle .horizontal{
    width:50px;
    margin-left: -26.5px;
  }
  
 .circle-plus.opened .circle .vertical{
  height:35px;
  top:30px;  
  margin-left:2px;
  }
  
  .circle-plus .plus-content {
    top:0 ;
  }
  .circle-plus.opened .plus-content {
    right: 0;
    width: 100%;
    text-align:center;
  }
  .plus-content a.navlink-top {
    padding: 21px 10px;
    font-size:11px;
  }
  h1, h1.scrolled{
    position:relative;
    margin:12px auto 0;
    z-index:1;
    font-size:22px;
        margin: 18px auto 0;
    //font-size: 18vw;
    line-height: .89;
    text-align: left;
     padding-left: 10px;
  }
  img.blob{
    top:15%;
    animation-duration: 14s;

  }
 img.blob:hover{
/*  filter:invert(91) hue-rotate(184deg) saturate(112%);
  transition: filter 9000ms ease-in-out;*/
}
  img{
    width:100%
  }
  
  h3{
    width:100% !important;
    font-size:1em;
  }
  
  #about-container{
    margin-top:5px;
    padding-top:5px;
    padding-bottom: 70px;
    background: white;
  }
  
  #about-container h3{
/*    border:none;
    margin-top: 5px;
    margin-bottom: 3px;*/
  }
  
  h2#about{
    margin-left:auto;
    margin-right:auto;
    padding-left:25px;
    padding-right:25px;
    font-size:31px;
    line-height:1.3em;
  }
  
  .big-button-container{
    margin: 0;
    height: 70px;
    background:white;
    width: 100%;
  }
  
  a.big-button{
  }
  
  #client-container{
    margin-top:55px;
    padding-top:18px;
  }
  
  section#work-container {
    margin-top: 30px;   
  }
  section#work-container  img{
    width:1100px;
    max-width:100%;
    margin-top:80px;
  }
  section#work-container h3{
    margin: 100px auto -80px;
  }
  footer{
    text-align:left;
  }
  
  
  footer ul, footer ul.extras{
    position: relative;
    clear: both;
    float: left;
    margin: 10px 15px;
  }
  
  footer ul.navigation li{
    padding:6px;
  }
  
  footer ul.navigation li h4{
    font-size:20px;
  }
  
  a.social i.fa{
    font-size:23px;
  }
  
  footer a:hover, .fa:hover{
    color:black;
  }
  
  footer a.current:hover{
    border-bottom:2px solid black;
  }
  
  .circle-plus .circle:hover .horizontal, .circle-plus .circle:hover .vertical, .plus-content a.navlink-top:hover, .plus-content a.contact-bottom:hover, .circle-plus-bottom .circle:hover .horizontal, .circle-plus-bottom .circle:hover .vertical{
    background-color:black;
  }
  
  .vimeo-embed-container{ 
      max-width: 100%; 
  }
  
}
@media only screen and (max-width: 600px) {
    #clients ul{
    display:block;
    margin:0 15px;
  }
  #clients li{
    margin-left:40px;
    line-height:2em;
  }
}
@media only screen and (max-width: 380px) {
  .circle-plus.opened .plus-content {
    padding-right:18px;
  }
  h1, h1.scrolled{
/*    margin-bottom:-45px;
*/  }

}



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

/*
 * Hide visually and from screen readers
 */

.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
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    blue-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    blue-space: inherit;
}

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

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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 {
        blue-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        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;
    }

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

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