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

html {
    color: #16171c;
    font-size: 1em;
    line-height: 1.4;
}
body {
    font-family: 'Muli', sans-serif;
    position: relative;
    overflow-y: scroll;
    background: #D5D5D6;
    text-rendering: optimizeLegibility;
}

::-moz-selection {
    background: rgba(77, 107, 204, .5);
    text-shadow: none;
}

::selection {
    background: rgba(77, 107, 204, .5);
    text-shadow: none;
}
button {
    border: 0;
    -webkit-appearance: none;
}

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

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

.row {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

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

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

#main-container {
    position: relative;
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    overflow: hidden;
}
header {
    position: relative;
    z-index: 998;
    width: 100%;
}
.icon-contact {
    display: block;
    position: fixed;
    width: 37px;
    height: 35px;
    top: 20px;
    right: 3%;
    z-index: 999;
}
.icon-contact a {
    display: block;
    cursor: pointer;
    opacity: .6;
    transition: opacity .25s ease;
}
.icon-contact a:hover {
    opacity: 1;
}

.icon-contact img {
    width: 37px;
    height: 35px;
}

/* Menu */
nav {
    position: fixed;
    z-index: 999;
}
#menu-list {
    display: block;
    margin-left: 24px;
    margin-top: 42vh;
}
#menu-list a.list-group-item {
    display: block;
    height: 10px;
    width: 10px;
    background-color: rgba(77, 107, 204, 0);
    border: 1px solid rgba(255,255,255, .86);
    border-radius: 6px;
    margin: 10px 0;
    padding: 0;
    transition: all .4s ease-out;
   }
#menu-list a.list-group-item:hover {
    border: 1px solid rgba(77, 107, 204, 1);
}   
#menu-list a.list-group-item.active {
    background-color: rgba(77, 107, 204, 1);
    border: 1px solid rgba(77, 107, 204, 1);
    height: 12px;
    width: 12px;
    margin: 9px 0 9px -1px;
}

section {
    position: relative;
    width: 100%;
    margin-bottom: 120px;
}

.fl-left {
    left: 0px;
}
.fl-right {
    right: 0px;
}


.bg-img {
    position: relative !important;
    top: 0 !important;
    background-size: cover;
    background-position: center center;
    opacity: .2;
    margin-top: 70px;
    transition: opacity 1.2s ease-out .3s, margin-top 1s ease-out .2s;
}
.bg-img.inview  {
    opacity: 1;
    margin-top: 0;
}
#carousel-01, #carousel-02  {
    opacity: .2;
    margin-top: 70px;
    transition: opacity 1.2s ease-out .3s, margin-top 1s ease-out .2s;
}
#carousel-01.inview, #carousel-02.inview  {
    opacity: 1;
    margin-top: 0;
}


.txt-container {
    position: relative;
    padding: 0;
}
.txt-box {
    position: relative;
    display: block;
    width: 100%;
    padding: 24px 24px 28px;
    z-index: 3;
    margin-top: 66px;
}
.blue-box {
    position: absolute;
    display: block;
    width: 152px;
    z-index: 2;
    border-top: 4px solid #1B378E;
    margin-top: 64px;
}
.box-gray {
    display: block;
    width: 120px;
    height: 50px;
    background: #D5D5D6;
}
.blue-box.fl-right .box-gray{
    float: right;
}
.blue-box.bottom {
    border-top: none;
    border-bottom: 4px solid #1B378E;
    bottom: 0;   
}
.number-box {
    position: absolute;
    font-family: 'novecento_widemedium';
    font-size: 122px;
    font-weight: normal;
    line-height: 122px;
    opacity: .2;
    z-index: 2;
}
.number-box.xtrmarg {
    margin-left: -12px;
    margin-right: -12px;
}
.number-box.bottom {
    bottom: -70px;   
}
.txt-box p {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.25em;
    margin: 0;
    color: #FFF;
}
.txt-box p.contact {
    font-size: 16px;
    font-weight: 200;
    letter-spacing: .4px;
    line-height: 22px; 
    margin: 12px -15px 4px -14px;
}
.txt-box p.contact a {
    color:#FFF !important;
    text-decoration: none;
    -webkit-appearance: none;
}
.txt-box p.contact a:hover {
    color:#FFF !important;
    text-decoration: underline;
}
.number-box.fl-left   {
    left: -40px;
}
.number-box.fl-right   {
    right: -40px;
}


/* -- Arrow Down ----------*/
.box-scroll-down {
    position: absolute;
    display: block;
    bottom: -74px;
    left: 50%;
    width: 26px;
    height: 42px;
    border-radius: 13px;
    border: 2px solid rgba(66,84,94, .76);
    margin-left: -13px;
    text-align: center;
    z-index: 99;
    transition: opacity 1s ease-out;
}
.box-scroll-down.box-fade {
    opacity: 0;
}
.dot-scroll-down {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    margin: 5px auto 0;
    background-color: rgba(66,84,94, 1);
    -webkit-animation-name: fadebounce;
    -ms-animation-name: fadebounce;
    animation-name: fadebounce;
    -webkit-animation-duration: 2.5s;
    -ms-animation-duration: 2.5;
    animation-duration: 2.5;
    -webkit-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

    @-webkit-keyframes fadebounce {
        0% {
        -webkit-transform: translateY(0);
        opacity: 0.9;
        }
        
        60% {
        -webkit-transform: translateY(16px);
        opacity: 1;
        }
        
        100% {
        -webkit-transform: translateY(0);
        opacity: 0.9;
        }
    }
    
    @-ms-keyframes fadebounce {
        0% {
        -ms-transform: translateY(0);
        opacity: 0.9;
        }
        
        60% {
        -ms-transform: translateY(16px);
        opacity: 1;
        }
        
        100% {
        -ms-transform: translateY(0);
        opacity: 0.9;
        }
    }
    @keyframes fadebounce {
        0% {
        transform: translateY(0);
        opacity: 0.6;
        }
        
        60% {
        transform: translateY(16px);
        opacity: 1;
        }
        
        100% {
        transform: translateY(0);
        opacity: 0.6;
        }
    }

@media (max-width: 1050px) {

    .number-box {
        font-size: 108px;
    }
    .txt-box {
        padding: 20px 22px 21px;
        margin-top: 68px;
    }

}


@media (max-width: 800px) {
    section {
        margin-bottom: 64px;
    }
    .txt-box {
        padding: 17px 20px 18px;
        margin-top: 68px;
    }
    .txt-box p {
        font-size: 20px;
    }
    .blue-box {
        width: 112px;
        margin-top: 66px;
    }
    .number-box {
        font-size: 98px;
    }
    .number-box.fl-left   {
        left: -35px;
    }
    .number-box.fl-right   {
        right: 0px;
    }
    .blue-box.fl-left   {
        left: 0;
    }
    .blue-box.fl-right   {
        right: 34px;
    }
    .blue-box.fl-right ~ .txt-box {
        right: 34px;
    }
    .number-box.xtrmarg {
        margin-right: 0px;
    }
    .box-gray {
        width: 112px;
    }
    .blue-box.fl-right .box-gray {
        width: 100px;
    }
    .blue-box.bottom .box-gray {
        width: 120px;
    }
}
@media (max-width: 700px) {

    .icon-contact {
        width: 32px;
        height: 30px;
        top: 16px;
        right: 16px;
    }
    .icon-contact img {
        width: 32px;
        height: 30px;
    }
    .box-scroll-down {
        display: block;
    }
    nav {
        display: none;
    }
    .txt-box p {
        font-size: 20px;
    }
   .number-box {
        font-size: 78px;
    }
    .blue-box {
        width: 84px;
        margin-top: 64px;
    }
    .box-gray {
        height: 30px;
        width: 84px;
    }
}

@media (max-width: 500px) {
    .txt-box {
        padding: 12px 18px 13px;
    }
    .txt-box p {
        font-size: 18px;
    }
   .number-box {
        font-size: 68px;
    }
    .blue-box {
        width: 86px;
        margin-top: 62px;
    }
    .box-gray {
        height: 30px;
    }
}
#content-container-gray {
    display: block;
    width: 100%;
    background: #D5D5D6;
    position: relative;
    overflow: hidden;
    padding: 30px 0 0;
}
.container-main-heading {
    position: relative;
    display: block;
    height: 88vh;
}
.container-kato-logo {
    position: absolute;
    display: block;
    width: 100%;
    padding: 0 24px;
    z-index: 99;
}

.kato-logo-text {
    position: relative;
    margin-left: calc(8.333333% + 4px);
    width: 424px;
    margin-top: calc(58vh - 40px);
} 
.kato-logo-text.stuck {
    position: fixed;
    margin-left: calc(8.333333% + 0px);
    margin-top: -28px;
}
.kato-logo-text .kato-text {
    fill: #FFF;
}

.bg-img-parallax {
    background-image: url(../img/kato-main.jpg);
    opacity: 1;
    position: fixed;
    background-position: center;
    background-size: cover;
    height: 88vh;
    z-index: 0;
    width: 91.6667%;
    max-width: 1400px;
    display: block;
}

/* 01 */
hr.c01-line {
    display: block;
    width: 74px;
    height: 4px;
    background: #FFF;
    border: 0;
    float: left;
}
.c01 .txt-box h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.4px;
    word-spacing: -3px;
    line-height: 1.15em;
    margin: 0 0 12px;
    color: #FFF;
    clear: both;
}
.txt-container.c01 {
    margin-top: 58vh; 
}
.txt-container.c01 .txt-box {
    margin-top: 16px;
}

/* 02 */
.bg-img.i02 {
    height: 520px;
}
.txt-container.c02 {
    margin-top: -320px;
}

/* 03 */
.bg-img.i03 {
    height: 800px;
}
.txt-container.c03 {
    margin-top: -540px;
}



/* 04 */
#container-04 {
    height: 640px;
}
.bg-img.i07 {
    height: 640px;
    margin-top: 60px;
}
.txt-container.c07 {
    margin-top: -580px;
}
.c07 .blue-box {
    right: -26px;
}

/* 05 */
.bg-img.i08 {
    height: 640px;
}
.txt-container.c08 {
    margin-top: -520px;
}

/* 06 */
.bg-img.i09 {
    height: 800px;
}
.txt-container.c09 {
    margin-top: -152px;
}

/* 10 */
#container-07 {
    height: 640px;
}
.bg-img.i10 {
    height: 640px;
    margin-top: 60px;
}
.txt-container.c10 {
    margin-top: -690px;
}
.c10 .blue-box {
    right: -26px;
}

/* 11 */
#container-08 {
    margin-top: 200px;
}
.bg-img.i11 {
    height: 740px;
}
.txt-container.c11 {
    margin-top: -848px;
}

/* 12 */
#container-12 {
    background: #1B378E;
    padding: 40px 0 96px;
    margin-bottom: 0;
    margin-top: 0;
    min-height: 65vh;
}
#container-12 .blue-box {
    background: #1B378E;
    border-top: 4px solid #D5D5D6;    
}
#container-12 .txt-box {
    background: #1B378E;
}
#container-12 .number-box {
    opacity: .4;
    letter-spacing: 2px;
}

@media (max-width: 1050px) {

    .kato-logo-text {
        width: 362px;
        margin-top: calc(58vh - 30px);
    } 
    .c01 .txt-box h1 {
        font-size: 26px;
    }

}


@media (max-width: 800px) {

    .bg-img, #carousel-01, #carousel-02 {
        margin-top: 0;
    }

    .c01 .txt-box h1 {
        font-size: 25px;
    }
    .txt-container.c01 {
        padding-right: 10px;
    }
    .bg-img.i03 {
        height: 510px;
    }
    .txt-container.c03 {
        margin-top: -510px;
    }
    #container-04 {
        height: 520px;
        margin-top: 90px;
        margin-bottom: -20px;
    }
    .bg-img.i07 {
        height: 500px;
        margin-top: 60px;
    }
    .txt-container.c07 {
        margin-top: -480px;
        padding-left: 20px;
        padding-top: 30px;
    }
    .c07 .blue-box {
        right: -26px;
    }
    .bg-img.i08 {
        height: 480px;
    }
    .txt-container.c08 {
        margin-top: -320px;
    }
    .bg-img.i09 {
        height: 580px;
    }
    .txt-container.c09 {
        margin-top: -138px;
    }
    #container-07 {
        height: 500px;
        margin-top: 200px;
    }
    .bg-img.i10 {
        height: 50px;
        margin-top: 60px;
    }
    .txt-container.c10 {
        margin-top: -645px;
    }
    #container-08 {
        margin-top: -60px;
    }
    .bg-img.i11 {
        height: 480px;
    }
    .txt-box p.contact {
        font-size: 15px;
    }
    
}
@media (max-width: 700px) {
    .bg-img-parallax .i01 {
        height: 90vh;
    }
    .kato-logo-text {
        width: 292px;
        margin-left: 8.333333%;
        margin-top: calc(38vh - 20px);
    }
    .kato-logo-text.stuck {
        margin-top: -22px;
        margin-left: calc(8.333333% + -4px);
    }
    .box-scroll-down {
        bottom: -36px;
        width: 20px;
        height: 30px;
        margin-left: -9px;
    }
    .dot-scroll-down {
        margin-top: 3px;
    }
    .txt-container.c01 {
        margin-top: 38vh;
    }
    .c01 .txt-box h1 {
        font-size: 22px;
        line-height: 1.25em;
        font-weight: 600;
    }
    #container-02 {
        padding-top: 0px;
    }
    .bg-img.i02 {
        height: 90vh;
    }
    .txt-container.c02 {
        margin-top: -64vh;
    }
    #container-03 {
        padding-top: 0px;
    }
    .bg-img.i03 {
        height: 120vh;
    }
    .txt-container.c03 {
        margin-top: calc(-64vh - 142px);
    }
    .blue-box.fl-right ~ .txt-box {
        right: 12px;
        margin-left: -12px;
    }
    #container-04 {
        padding-top: 30px;
        height: auto;
        margin-bottom: 30px;
    }
    .bg-img.i07 {
        height: 86vh;
    }
    .txt-container.c07 {
        margin-top: calc(-86vh - 128px);
        padding-top: 0;
    }
    #container-05 {
        padding-top: 0px;
    }
    .bg-img.i08 {
        height: 82vh;
    }
    .txt-container.c08 {
        margin-top: calc(-82vh - 4px);
    }
    #container-06 {
        padding-bottom: 20px;
    }
    .bg-img.i09 {
        height: 100vh;
    }
    .txt-container.c09 {
        margin-top: -138px;
    }
    #container-07 {
        padding-top: 0px;
        height: auto;
        margin-bottom: 30px;
        margin-top: 144px;
    }
    .bg-img.i10 {
        height: 90vh;
    }
    .txt-container.c10 {
        margin-top: calc(-90vh - 192px);
    }
    #container-08 {
        padding-top: 70px;
    }
    .bg-img.i11 {
        height: 94vh;
    }
    .txt-container.c11 {
        margin-top: calc(-94vh - 138px);
    }
}
@media (max-width: 500px) {
 
    .kato-logo-text {
        width: 262px;
        margin-top: calc(52vh - 16px);
        margin-left: calc(8.333333% - 17px);
    }
    .kato-logo-text.stuck {
        margin-left: calc(8.333333% - 21px);
        margin-top: -18px;
    }

    .bg-img-parallax {
        height: 96vh;
        width: 100%;
    }
    .txt-container.c01 {
        height: 100vh;
        width: 100%;
        margin-top: 52vh;
    }
    .txt-container.c01 .txt-box {
        padding-left: 0;
    }
    .container-main-heading {
        margin-top: 0;
    }
   

    #container-02 {
        padding-top: 80px;
    }
    .bg-img.i02 {
        height: 64vh;
    }
    .txt-container.c02 {
        margin-top: calc(-64vh - 114px);
    }
    #container-03 {
        padding-top: 80px;
    }
    .bg-img.i03 {
        height: 64vh;
    }
    .txt-container.c03 {
        margin-top: calc(-64vh - 142px);
    }
    .blue-box.fl-right ~ .txt-box {
        right: 12px;
        margin-left: -12px;
    }
    #container-04 {
        padding-top: 0px;
        height: auto;
        margin-bottom: 50px;
        margin-top: 160px;
    }
    .bg-img.i07 {
        height: 44vh;
    }
    .txt-container.c07 {
        margin-top: calc(-44vh - 154px);
        padding-top: 0;
    }
    #container-05 {
        padding-top: 110px;
    }
    .bg-img.i08 {
        height: 52vh;
    }
    .txt-container.c08 {
        margin-top: calc(-52vh - 148px);
    }
    #container-06 {
        padding-bottom: 20px;
    }
    .bg-img.i09 {
        height: 52vh;
    }
    .txt-container.c09 {
        margin-top: -162px;
    }
    #container-07 {
        height: auto;
        margin-bottom: 50px;
        margin-top: 184px;
    }
    .bg-img.i10 {
        height: 44vh;
    }
    .txt-container.c10 {
        margin-top: calc(-44vh - 226px);
        padding-top: 0;
    }
    #container-08 {
        padding-top: 40px;
    }
    .bg-img.i11 {
        height: 42vh;
    }
    .txt-container.c11 {
        margin-top: calc(-72vh - 188px);
    }
}

/* Carousel */
.row.row-carousel {
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: calc(100% + 30px);
}

.carousel-box {
    position: relative;
    width: 100%;
    height: 640px;
    background-size: cover;
    background-position: center center;
    box-sizing: border-box;
}
.carousel-box-txt {
    position: relative;
    height: 60px;
    bottom: 60px;
    padding-right: 80px;
    text-align: right;
}

.carousel-box-txt p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.6px;
    line-height: 16px;
    margin: 0;
    color: #FFF;
    text-transform: uppercase;
}
#carousel-01 .carousel-box-txt span.brand {
    font-size: .96em;
    display: inline;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FFF;
    opacity: .7;
    padding-right: 8px;
    text-transform: uppercase;
}

.carousel-controls {
    position: absolute;
    display: block;
    z-index: 4;
    left: 18%;
}
.carousel-controls a.carousel-control-prev img, .carousel-controls a.carousel-control-next img {
    width: 38px;
    height: auto;
    transition: all .2s linear;
}
.carousel-controls a.carousel-control-prev, .carousel-controls a.carousel-control-next  {
    display: flex;
    width: 80px;
    height: 80px;
    opacity: 1;
    transition: all .4s ease-out;
    border: 1px solid #FFF;
}
.carousel-controls a.carousel-control-prev:hover img {
    position: relative;
    animation-name: bounce-left;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.carousel-controls a.carousel-control-next:hover img {
    position: relative;
    animation-name: bounce-right;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.carousel-controls a.carousel-control-prev {
    left: -80px;
    border-right: 0 !important;
}
.carousel-controls a.carousel-control-next {
    right: -80px;
}
@keyframes bounce-left {
    0% {left:0;}
    50% {left:-8px;}
    100% {left:0;}
}
@keyframes bounce-right {
    0% {right:0;}
    50% {right:-8px;}
    100% {right:0;}
}

@media (max-width: 800px) {
    .carousel-box {
        height: 420px;
    }
    .carousel-controls a.carousel-control-prev, .carousel-controls a.carousel-control-next  {
        width: 68px;
        height: 68px;
    }
    .carousel-controls a.carousel-control-prev {
        left: -68px;
    }
    .carousel-controls a.carousel-control-next {
        right: -68px;
    }
    .carousel-box-txt {
        height: 80px;
        bottom: 80px;
        padding-left: 60px;
    }
}
@media (max-width: 700px) {
    .carousel-box {
        height: 90vh;
    }
    .carousel-controls {
        margin-top: 12px;
        margin-left: -18px;
    }
    .carousel-box-txt {
        height: 60px;
        bottom: 70px;
        padding-left: 24px;
    }
    .carousel-box-txt p {
        font-size: 17px;
        font-weight: 400;
        line-height: 18px;
    }
    #carousel-01 .carousel-box-txt span.brand {
        letter-spacing: 2.4px;
    }
    .xtrpad-500 {
        padding-top: 40px;
    }
}
@media (max-width: 500px) {
    .carousel-box {
        height: 44vh;
    }
    .carousel-controls {
        margin-top: calc(44vh - 78px);
        margin-left: 0;
    }
    .carousel-box-txt {
        height: 30px;
        bottom: 40px;
        padding-right: 24px;
    }
    .carousel-box-txt p {
        font-size: 16px;
        font-weight: 400;
        line-height: 18px;
    }
    #carousel-01 .carousel-box-txt span.brand {
        letter-spacing: 2.4px;
    }
    .xtrpad-500 {
        padding-top: 40px;
    }
}

/* ==========================================================================
   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;
    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;
    -webkit-clip-path: none;
    clip-path: none;
    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: 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 {
        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;
    }
}
