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

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

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

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
    box-sizing: border-box !important;
}

html, body {
    height: 100%;
    background: black;
    color: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: calc(12px + 1vw);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3 {
    line-height: 1.2;
}

h1 {
    font-family: 'Abril Fatface', cursive;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    font-weight: normal;
    margin: 0 0 .5em;
}

h2 {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: normal;
}

.h2 {
    font-size: 1.2rem;
    font-weight: bold;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5em;
}

p {
    font-size: 1rem;
    margin: 0 0 1em;
}

a {
    transition-duration: .5s;
}

section {
    width: 100%;
    padding: 10vw 6.1224vw 6.1224vw;
    background-color: gray;
}

.fullw {
    width: 100%;
    display: block;
}

/* ------------------------------ Header / nav ------------------------------ */

header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

header .ID {
    display: none;
}

header .menu {
    width: 100%;
}

.menu input[type="checkbox"] {
    opacity: 0;
    width: 40px;
    height: 36px;
    position: absolute;
    top: -5px;
    right: -5px;
    margin: 6.1224vw 6.1224vw 0 0;
    cursor: pointer;
    -webkit-touch-callout: none;
    z-index: 3;
}

.menu span {
    width: 30px;
    height: 2px;
    background: white;
    margin-bottom: 8px;
    display: block;
    position: absolute;
    top: 2px;
    right: 0;
    margin: 6.1224vw 6.1224vw 0 0;
    transition-duration: .5s;
    z-index: 2;
}

.menu span:nth-child(3) {
    margin-top: calc(6.1224vw + 10px);
}

.menu span:nth-child(4) {
    margin-top: calc(6.1224vw + 20px);
    margin-bottom: 0;
}

.menu input:checked ~ span:nth-child(2) {
    transform: rotate(45deg);
    transform-origin: center left;
    right: -4px;
}

.menu input:checked ~ span:nth-child(3) {
    opacity: 0;
}

.menu input:checked ~ span:nth-child(4) {
    transform: rotate(-45deg);
    transform-origin: center left;
    right: -4px;
    top: 3px;
}

.menuItems {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100vw;
    background-color: black;
    position: absolute;
    top: 0;
    left: 100vw;
    transition-duration: .5s;
}

.menuItems li {
    height: 11.1111vh;
    height: calc(var(--vh, 1vh) * 11.1111);
    background-color: black;
    border-bottom: 1px solid rgba(255,255,255,.2);
    font-size: 1.5rem;
    line-height: 11.1111vh;
    line-height: calc(var(--vh, 1vh) * 11.1111);
}

.menuItems li:last-child {
    border: none;
    height: calc(11.1111vh + 1px);
}

.menuItems a {
    text-decoration: none;
    color: white;
    padding: 0 6.1224vw;
    display: block;
}

.menuItems a:hover {
    color: tomato;
}

nav input:checked ~ ul {
    left: 20vw;
}

/* ------------------------------ Intro ------------------------------ */

.intro {
    background-color: #302A36;
    background-image: url(../img/introBG@3x.jpg);
    background-size: cover;
    min-height: 100%;
    z-index: 1;
  }

.intro .ID {
    width: 25vw;
    height: 25vw;
    background: black;
    border-radius: 12.5vw;
    margin: 12vh auto 0;
}

.intro h1 {
    margin: 5vh 0 15vh;
    text-align: center;
    font-size: 3rem;
}

.signup {
    text-transform: uppercase;
    line-height: 1.2;
    justify-content: center;
    margin: 0 auto;
    width: 240px;
}

.signup a {
    color: white;
    text-decoration: none;
    display: flex;
}

.signup img {
    width: 43px;
    height: 44px;
    display: inline-block;
}

.signup p {
    margin: 6px 0 0 15px;
    font-size: 14px;
}

/* ------------------------------ Why Coolspotting? ------------------------------ */

.why {
    background-color: #3C9D7C;
    background-image: url(../img/whyBG@3x.jpg);
    background-size: cover;
}

.why h1,
.why .h2 {
    color: black;
}

/* ------------------------------ Why Romania? ------------------------------ */

.ro {
    background-color: #522575;
    background-image: url(../img/roBG@3x.jpg);
    background-size: cover;
}

.box {
    color: black;
    margin-top: 6.1224vw;
}

.box h2 {
    color: #00C579;
    font-style: normal;
    margin: 0.2em 0;
}

.boxContent {
    background-color: white;
    border: 5vw solid white;
}

.counter {
    display: none;
}

/* ------------------------------ Project pitch ------------------------------ */

.pitch {
    background-color: #F8FAFA;
    background-image: url(../img/pitchBG@3x.jpg);
    background-size: cover;
    color: black;
}

.pitch h2 {
    color: #FF422C;
}

/* ------------------------------ Content creators and fresh influencers ------------------------------ */

.influencers {
    background-color: #E8BEA8;
    background-image: url(../img/influencersBG@3x.jpg);
    background-size: cover;
    background-position: center top;
}

.influencers h1,
.influencers h3,
.influencers p {
    color: black;
}

/* ------------------------------ Production and post-production ------------------------------ */

.production {
    background-color: #1C0B28;
    background-image: url(../img/productionBG@3x.jpg);
    background-size: cover;
}

.production h2 {
    color: #00CF90;
}

/* ------------------------------ Casting ------------------------------ */

.casting {
    background-color: #DB9D54;
    background-image: url(../img/castingBG@3x.jpg);
    background-size: cover;
    color: white;
}

.castingForm {
    font-size: 0.9rem;
    width: 100%;
}

.castingForm .field  {
    width: 100%;
    border: 2px solid black;
    display: flex;
    margin-bottom: 0.5em;
}
.castingForm label {
    flex-basis: 40%;
    background-color: black;
    color: #EED146;
    padding: 0.5em;
    text-align: center;
}

.castingForm input {
    flex-basis: 60%;
    background-color: transparent;
    border: none;
    padding: 0.5em;
    font-weight: bold;
}

.castingForm button {
    padding: 0.5em 2em;
    border: 4px solid black;
    background-color: transparent;
    font-size: 1.4rem;
    font-weight: bold;
    width: 100%;
    margin: 0.6em 0 1em;
    cursor: pointer;
    transition-duration: .5s;
}

.castingForm button:hover {
    color: tomato;
    border: 4px solid tomato;
}

/* ------------------------------ Work ------------------------------ */

.work {
    background-color: #1D121D;
    background-image: linear-gradient(#1A1A1A, #200B20);
    background-image: url(../img/workBG@3x.jpg);
    background-size: cover;

}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5vw;
}
.projects figure {
    width: 42.347vw;
    margin: 0 0 1rem;
}

.projects figure div,
.projects figure img {
    background-color: green;
    width: 100%;
}

figcaption {
    font-size: 1rem;
    margin-top: 1rem;
}

figcaption span {
    font-size: 0.9rem;
    opacity: 0.6;
}

.projects div {
    width: 100%;
    text-align: center;
}

.projects a {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 0.5em 1em;
    border: 1px solid white;
    font-size: 1.2rem;
    margin: 5vw 0;
}

.projects a:hover {
    color: tomato;
    border-color: tomato;
}

.clients {
    border-top: 0.1vh solid white;
    padding-top: 6.1224vw;
    margin-top: 4vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.clients > img {
    display: table-cell;
    height: auto;
    width: 20%;
    margin: 0 6.6% 6.6% 0;
}

.clients > img:nth-child(4n) {
    margin-right: 0;
}

/* ------------------------------ Contact ------------------------------ */

.contact {
    color: black;
    background-color: #E4F3F6;
    background-image: url(../img/contactBG@3x.jpg);
    background-size: cover;
}

.contact a {
    color: black;
    font-weight: bold;
}



/* ==========================================================================
   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);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-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;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-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: 768px) {

    section {
        padding: 9vw 6.1224vw 6.1224vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    h1 {
        font-size: 2.4rem;
        flex-grow: 2;
    }

    h2 {
        font-size: 1.5rem;
        flex-grow: 2;
        margin: 0;
    }

    h3 {
        font-size: 1.1rem;
    }

    .h2 {
        font-size: 1rem;
        margin-bottom: 1em;
    }

    p {
        font-size: 0.9rem;
    }

    .oneCol {
        width: 100%;
    }
    .twoCol {
        width: 42.347vw;
    }

    /* ------------------------------ Nav ------------------------------ */

    .menuItems li {
        font-size: 1.3rem;
    }
    /* ------------------------------ Intro ------------------------------ */
    
    .intro {
        background-image: url(../img/introBG15@3x.jpg);
        background-size: cover;
    }
    
    .intro .ID {
        margin-top: 6vw;
    }    

    /* ------------------------------ Why Coolspotting? ------------------------------ */

    .why {
        background-image: url(../img/whyBG15@3x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Why Romania? ------------------------------ */

    .ro {
        background-image: url(../img/roBG15@3x.jpg);
        background-size: cover;
    }

    .box:first-of-type {
        margin-top: 0;
    }

    .box h2 {
        margin-top: 0;
    }

    /* ------------------------------ Pitch ------------------------------ */

    .pitch {
        background-image: url(../img/pitchBG15@3x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Influencers ------------------------------ */

    .influencers {
        background-image: url(../img/influencersBG15@3x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Production ------------------------------ */

    .production {
        background-image: url(../img/productionBG15@3x.jpg);
        background-size: cover;
    }


    /* ------------------------------ Casting ------------------------------ */

    .casting {
        background-image: url(../img/castingBG15@3x.jpg);
        background-size: cover;
    }

 .castingForm {
        font-size: 0.7rem;
    }

    .castingForm button {
        font-size: 1rem;
    }

    .casting h3 {
        margin: 0;
    }

    /* ------------------------------ Work ------------------------------ */

    .work {
        background-image: url(../img/workBG15@3x.jpg);
        background-size: cover;
    }

    .work {
        padding-bottom: 2vw;
    }
    .projects {
        margin-top: 0;
    }

    .projects figure {
        width: 42.347vw;
    }

    .projects figcaption {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    figcaption span {
        font-size: 0.9rem;
    }
    .projects a {
        font-size: 1rem;
        margin: 3vw 0;
    }

    .clients > img {
        width: 14.7%;
    }

    .clients > img:nth-child(4n) {
        margin-right: 6.6%;
    }

    .clients > img:nth-child(5n) {
        margin-right: 0;
    }

    /* ------------------------------ Contact ------------------------------ */

    .contact {
        background-image: url(../img/contactBG15@3x.jpg);
        background-size: cover;
    }
    
    .contact {
        align-items: flex-start;
    }
    .contact p {
        width: 100%;
    }
}

/* ------------------------------ MQ 1024 ------------------------------ */

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

    h1 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    h2 {
        font-size: 1.2rem;
    }

    .h2 {
        font-size: 0.8rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.7rem;
    }

    .twoCol {
        width: 48%;
    }

    .boxed {
        color: black;
        padding: 2vw;
        margin-bottom: 1rem;
        display: inline-block;
        background-color: white;
    }

    .boxed h1 {
        margin: 0;
    }

    .boxed h3:first-child {
        margin-top: 0;
    }

    .boxed p:last-child {
        margin: 0;
    }

    /* ------------------------------ Header / nav ------------------------------ */

    header .ID {
        display: block;
        width: 6.1224vw;
        border-radius: 3.06128vw;
        background-color: black;
        margin: 2.0408vw;
    }

    .menu input[type="checkbox"] {
        margin: calc(5.102vw - 15px) calc(5.102vw - 13px) 0 0;
    }

    .menu span {
        margin: calc(5.102vw - 15px) calc(5.102vw - 13px) 0 0;
    }

    .menu span:nth-child(3) {
        margin-top: calc(5.102vw - 5px);
    }

    .menu span:nth-child(4) {
        margin-top: calc(5.102vw + 5px);
    }

    .menuItems li {
        font-size: 1rem;
    }

    nav input:checked ~ ul {
        left: 40vw;
    }

    /* ------------------------------ Intro ------------------------------ */
    
    .intro {
        background-image: url(../img/introBG2@3x.jpg);
        background-size: cover;
    }

    .intro .ID {
        display: none;
    }

    .intro h1 {
        font-size: 3.6rem;
        margin-top: 20vh;
    }

    /* ------------------------------ Why Coolspotting? ------------------------------ */
    
    .why {
        background-image: url(../img/whyBG2@3x.jpg);
        background-size: cover;
    }

    .why,
    .pitch,
    .influencers,
    .production,
    .casting,
    .contact {
        padding: 9vw 24.4896vw 9vw 10.204vw;
    }

    .why .h2 {
        color: #760178;
    }

    /* ------------------------------ Why Romania? ------------------------------ */
    
    .ro {
        background-image: url(../img/roBG2@3x.jpg);
        background-size: cover;
    }

    .ro,
    .work {
        padding: 9vw 16.3263vw 9vw 10.204vw;
    }

    .boxes {
        display: flex;
        align-items: stretch;
        width: 100%;
        justify-content: space-between;
    }

    .box {
        width: 31%;
        margin-top: 0;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .box h2 {
        font-size: 0.9rem;
        margin-bottom: 0.5em;
    }

    .box p {
        font-size: 0.7rem;
    }

    .filler {
        background-color: white;
        height: 100%;
    }

    .boxContent {
        border: 2vw solid white;
    }
    .counter {
        line-height: 0;
        display: block;
        border: 2vw solid white;
        border-top: none;
    }

    .counter img {
        display: block;
    }

    /* ------------------------------ Project pitch ------------------------------ */
    
    .pitch {
        background-image: url(../img/pitchBG2@3x.jpg);
        background-size: cover;
        background-position: center top;
    }

    /* ------------------------------ Influencers ------------------------------ */
    
    .influencers {
        background-image: url(../img/influencersBG2@3x.jpg);
        background-size: cover;
        background-position: center top;
    }

    .influencers h2 {
        color: #00A0B6;
    }

    /* ------------------------------ Production ------------------------------ */
    
    .production {
        background-image: url(../img/productionBG2@3x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Casting ------------------------------ */

    .casting {
        background-image: url(../img/castingBG2@3x.jpg);
        background-size: cover;
        background-position: right top;
   }

    .castingForm {
        font-size: 0.6rem;
    }

    .castingForm button {
        font-size: 0.8rem;
    }

    .casting h3 {
        margin: 0;
    }

    /* ------------------------------ Work ------------------------------ */
 
     .work {
        background-image: url(../img/workBG2@3x.jpg);
        background-size: cover;
    }
   
    .work figure {
        width: 22.4488vw;
    }

    .work figcaption {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    figcaption span {
        font-size: 0.6rem;
    }

    .projects a {
        font-size: 0.8rem;
        margin: 1vw 0 5vw;
    }

    .clients {
        margin-top: 0;
        padding-top: 4.0816vw;
    }

    .clients img {
        line-height: 0;
        width: 10.8571%;
        margin-bottom: 4%;
    }

    .clients img,
    .clients img:nth-child(4n),
    .clients img:nth-child(5n) {
        margin-right: 4%;
    }

    .clients img:nth-child(7n) {
        margin-right: 0;
    }

    /* ------------------------------ Contact ------------------------------ */
 
     .contact {
        background-image: url(../img/contactBG2@3x.jpg);
        background-size: cover;
    }
}

/* ------------------------------ MQ 1920 ------------------------------ */

@media only screen and (min-width: 1920px) {

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.8rem;
    }

    .h2 {
        font-size: 0.6rem;
    }

    p {
        font-size: 0.55rem;
    }

    section {
        padding-top: 6.1224vw !important;
    }

    .boxed {
        padding: 1vw;
    }

    /* ------------------------------ Intro ------------------------------ */
    
     .intro {
        background-image: url(../img/introBG3@2x.jpg);
        background-size: cover;
    }

    .intro h1 {
        margin-top: 30vh;
    }

    /* ------------------------------ Why Coolspotting? ------------------------------ */

    .why,
    .ro,
    .pitch,
    .influencers,
    .production,
    .casting {
        padding: 6.1224vw 42.8568vw 6.1224vw 10.204vw;
    }

    .why .oneCol,
    .why .twoCol {
        width: 14.2856vw;
    }

     .why {
        background-image: url(../img/whyBG3@2x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Why Romania? ------------------------------ */

     .ro {
        background-image: url(../img/roBG3@2x.jpg);
        background-size: cover;
    }

    .box h2 {
        font-size: 0.8rem;
    }

    .box p {
        font-size: 0.5rem;
    }

    .boxContent,
    .counter {
        border: 1vw solid white;
    }

    .counter {
        border-top: none;
    }

    
    /* ------------------------------ Project pitch ------------------------------ */

     .pitch {
        background-image: url(../img/pitchBG3@2x.jpg);
        background-size: cover;
     /*   background-position: 60vw 0%;    */
    }

    .pitch .twoCol,
    .influencers .twoCol,
    .production .twoCol,
    .casting .twoCol {
        width: 22.4488vw;
    }

    /* ------------------------------ Influencers ------------------------------ */
    
     .influencers {
        background-image: url(../img/influencersBG3@2x.jpg);
        background-size: cover;
        background-position: center top;
    }

    /* ------------------------------ Production ------------------------------ */
    
     .production {
        background-image: url(../img/productionBG3@2x.jpg);
        background-size: cover;
    }

    /* ------------------------------ Casting ------------------------------ */

    .casting {
        background-image: url(../img/castingBG3@2x.jpg);
        background-size: cover;
    }

    .castingForm {
        font-size: 0.5rem;
    }
    .castingForm button {
        font-size: 0.5rem;
    }

    /* ------------------------------ Work ------------------------------ */

    .work {
        background-image: url(../img/workBG3@2x.jpg);
        background-size: cover;
    }

    .work figcaption {
        font-size: 0.8rem;
    }

    .work figcaption span {
        font-size: 0.6rem;
    }

    .projects a {
        font-size: 0.6rem;
        margin: 1vw 0 5vw;
    }

    .clients {
        padding-top: 3.0612vw;
    }
    .clients img {
        margin: 0 3% 3% 0;
        width: 7%;
    }

    .clients img:nth-child(7n) {
        margin-right: 3%;
    }

    .clients img:nth-child(10n) {
        margin-right: 0;
    }

    /* ------------------------------ Contact ------------------------------ */
    
     .contact {
        background-image: url(../img/contactBG3@2x.jpg);
        background-size: cover;
    }

}

@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: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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:
     * 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;
    }
}



