/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: rgba(0,0,0,0);
    text-shadow: none;
}

::selection {
    background: rgba(0,0,0,0);
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

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


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

@import url("http://fast.fonts.net/t/1.css?apiType=css&projectid=c7ec8601-8918-44c4-96a2-c78529985933");
@font-face{
    font-family:"Freeland W00_n4";
    src:url("Fonts/1861867a-50e1-4970-a8e4-1638d38dac3d.eot?#iefix") format("eot")
}
@font-face{
    font-family:"Freeland W00";
    src:url("../fonts/1861867a-50e1-4970-a8e4-1638d38dac3d.eot?#iefix");
    src:url("../fonts/1861867a-50e1-4970-a8e4-1638d38dac3d.eot?#iefix") format("eot"),url("../fonts/c1e6ccf0-cfd8-449d-8747-50d0e8b7fc24.woff2") format("woff2"),url("../fonts/261e11ea-c8bf-48e3-a4ef-d7a7fd5e8d1d.woff") format("woff"),url("../fonts/4663945d-000c-43bb-adf3-c433878adf4a.ttf") format("truetype"),url("../fonts/429e7891-7c14-4799-b7b8-508c5c4e2365.svg#429e7891-7c14-4799-b7b8-508c5c4e2365") format("svg");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'ralewaybold';
    src: url('../fonts/raleway-bold-webfont.woff2') format('woff2'),
        url('../fonts/raleway-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'ralewaybold_italic';
    src: url('../fonts/raleway-bolditalic-webfont.woff2') format('woff2'),
        url('../fonts/raleway-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'ralewayitalic';
    src: url('../fonts/raleway-italic-webfont.woff2') format('woff2'),
        url('../fonts/raleway-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

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

}
@font-face {
    font-family: 'ralewaylight_italic';
    src: url('../fonts/raleway-lightitalic-webfont.woff2') format('woff2'),
        url('../fonts/raleway-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'ralewayregular';
    src: url('../fonts/raleway-regular-webfont.woff2') format('woff2'),
        url('../fonts/raleway-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
body {
    margin: 0;
    background: #eee;
    overflow: hidden;
}
.cc-window {
    background-color: rgba(42, 73, 103, 0.5) !important;
    font-family: "raleway";
}
.cc-message {
    text-align: center;
}
video {
    width: 100%;
}
.video-js .vjs-control-bar {
    margin: 0 8px;
    width: calc(100% - 16px);
    position: absolute;
    bottom: 8px;
    left: 0px;
    right: 0;
}
#svg-wrapper {
    width: 60%;
    margin: 5em auto auto auto;
    height: 80%;
    display: flex;
}
#wrapper.watching:after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    animation: halfFadeIn 0.2s forwards;
}
.video-js .vjs-tech {
    object-fit: cover;
    font-family: 'object-fit: cover;';
}
.video-js .vjs-fullscreen-control{
    display: none;
}
#main-vid .vjs-big-play-button {
    left: 50%;
    transform: translateX(-50%);
    top: 36%;
    font-size: 10em;
    width: initial;
}
.vjs-big-play-button span:before {
    animation: play 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    content: "\f101";
    line-height: 1px;
    margin-left: -0.5em;
}
.hidden{
    display: none;
    opacity: 0;
}
.visible{
    display: block;
    opacity: 1;
}
.btn {
    padding: 1%;
    transition: opacity 0.2s ease;
    z-index: 1;
}
.comment-btn {
    padding: 0.5em 1em 0.5em 1.5em;
    width: 205px;
}
.lit path{
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 5s linear forwards;
}
.info-btn {
    padding: 0.5em 1em 0.5em 1.5em;
    z-index: 1;
    position: absolute;
    background: rgba(255,255,255,0);
    border: none;
    color: white;
    transform: rotate(-90deg);
}
#merci{
    bottom: 3em;
    right: -1em;
}
#legal {
    bottom: 10em;
    right: -3em;
}
#edwynn-btn{
    bottom: 7em;
    left: -3em;
}
.comment-btn span, .info-btn span {
    display: block;
    text-align: left;
    font-size: 0.7em;
    text-transform: uppercase;
    font-family: "ralewayregular";
}
#video-controls button:not(.comment-btn) {
    background: none;
    border: none;
    color: white;
    padding: 0 1em;
}
#logo > img {
    position: absolute;
    z-index: 1;
    width: 10%;
    margin: 2%;
    max-height: 200px;
    min-height: 90px;
}
#share, #logo > img {
    z-index: 10;
    opacity: 0;
    animation: fade 0.2s ease-out reverse forwards 1s;
    min-width: 90px;
}
.vjs-tip .vjs-tip-inner {
    padding: 12px !important;
    max-width: 212px !important;
}
.vjs-tip-inner {
    font-family: "ralewayregular";
    text-transform: uppercase;
}
.vjs-tip-inner span {
    font-family: "Freeland W00";
    display: block;
    color: #ffc800;
    font-size: 2em;
    text-transform: capitalize;
}
#menu{
    z-index: 0 !important;
}
body {
    margin: 0;
    background: #353535;
}
#main-vid {
    box-shadow: 0 0 2em black;
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.merci.close:hover, .more.close:hover, .legal.close:hover {
    opacity: 1;
}
.merci.close, .legal.close, .more.close {
    transition: opacity ease 0.2s;
    position: absolute;
    right: 0;
    font-size: 2em;
    top: 0;
    opacity: 1;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    content:'X';
    color: white;
}
#merci-box h1, #legal-box h1 {
    font-size: 2em;
    text-transform: uppercase;
}
#merci-box h1, #more-box h1, #legal-box h1 {
    font-size: 1.1em;
    text-transform: uppercase;
    transform: rotate(-90deg);
    left: 0;
    top: 50%;
    position: absolute;
    opacity: 0.5;
}
#legal-box span {
    font-size: 0.75em;
}
#share {
    top: 11.5vw;
    z-index: 1;
    left: 2%;
}
#merci-box p, #more-box p {
    width: 60%;}

#merci-box p, #more-box p, #legal-box div:not(.production){
    columns: 3;
    margin: auto;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    font-size: 1.1vw;
    text-align: left;
}
#to-PEIS:hover {
    background: white;
    color: black;
}
#merci-box p, #more-box p, #legal-box div, #to-PEIS{
    z-index: 10;
}
#more-box p {
    columns: 1;
    text-align: justify;
}
#legal-box a {
    color: white;
    text-decoration: none;
}
#more-box b, #legal-box b{
    font-family: ralewaybold;
}
#merci-box p, #more-box p{
    left: 50%;
}
#legal-box div:not(.production) {
    left: 50%;
}
#legal-box div:not(.production) {
    width: 60%;
}
#share, #btn-menu {
    position: absolute;
}
#share a:nth-child(2):hover > img {
    background: #598DCA;
    border-radius: 50%;
}
#share a:nth-child(3):hover > img {
    background: #0077B5;
    border-radius: 50%;
}
#share div:first-child:hover > img {
    background: #3A589B;
    border-radius: 50%;
}
#btn-menu, .data-link {
    border-radius: 50%;
    opacity: 0.8;
    transition: background 0.5s, opacity 0.4s;
    z-index: 1 !important;
    display: block;
    padding: 1vw;
    right: 0vw;
}
#more, #btn-what {
    position: relative;
    right: 1vw;
    z-index: 1;
    float: right;
    margin: 2vw 0 0 1vw;
    background: rgba(0,0,0,0.5);
    padding: 0.5em;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "ralewayregular";
    font-size: 0.7em;
    cursor: pointer;
}
.txt-link:hover > g > path {
    fill: #ffc800 !important;
}
.menu-elmnt {
    transition: background ease 0.2s, color ease 0.2s;
}
.menu-elmnt:not(#btn-menu):hover {
    background: rgba(255,255,255,0.9) !important;
    color: black !important;
}
#btn-what {
    margin-right: 9vw;
}
#btn-menu {
    height: 3vw;
    width: 3vw;
    min-width: 50px;
    min-height: 50px;
}
.data {
    width: 3em;
    height: 3em;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 3.5em;
}
.data-link {
    height: 6em;
    width: 6em;
    animation-name: tada;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    opacity: 0;
    text-decoration: none;
}
.lity{
    background: rgba(0,0,0,0);
}
.lity-image img {
    width: 100%;
    height: auto;
}
.lity-container {
    border: 1em solid white;
    max-width: none;
    max-height: none;
    width: 100%;
}
.lity-wrap {
    top: 50%;
    left: 50%;
    width: 77%;
    margin: auto;
    bottom: initial;
    transform: translate(-50%, -50%);
    background: white;
}
.lity-close {
    margin: 1em 1em 0 0 !important;
} 
#btn-menu:hover, #btn-menu.opened, .data-link:hover {
    background: rgba(255,255,255, 0.1);
    opacity: 1;
}
#bdx-vid {
    position: absolute;
    top: 0;
}
#btn-menu img {
    margin: 0.5em 0 0 0;
}
#menu{
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    background: rgba(0,0,0,0.75);
    z-index: 0;
    height: 100%;
}
#menu svg{
    width: 100%;
    display: block;
}
#share img {
    height: 2em;
    width: 2em;
    transition: background ease-out 0.1s;
    border-radius: 50%;
}
#share > * {
    display: inline-block;
    cursor: pointer;
}
.vjs-control-bar {
    background-color: rgba(255, 255, 255, 0) !important;
}
.vjs-chapters-button {
    display: none;
}
.vjs-poster {
    background-size: cover !important;
}
.sujet .vjs-poster {
    display: none;
}
#merci-box, #legal-box, #more-box {
    background: rgba(0,0,0,0.85);
    width: 100%;
    position: absolute;
    top: 50%;
    height: 100%;
    left: 50%;
    display: none;
    padding: 15em 0 0 0;
    color: white;
    text-align: center;
    font-family: "ralewayregular";
    transform: translate(-50%, -50%);
}
#merci-box span, #merci-box strong, #more-box span, #more-box strong, #legal-box span, #legal-box strong {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
}
#merci-box p::after, #more-box p::after, #legal-box div:not(.production)::after {
    content: "×";
    font-size: 2em;
    position: absolute;
    opacity: 0.5;
    right: -1em;
    top: -1em;
    font-family: Arial,Baskerville,monospace;
    pointer-events: none;
}
#merci-box a, #more-box a, #legal-box a {
    display: inline-block;
    text-decoration: underline;
}
#merci-box div, #legal-box div.production {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}
#merci-box strong a {
    width: auto;
    color: white;
    border-bottom: thin solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: border ease 0.2s;
}
#merci-box strong a:hover {
    border-bottom: thin solid rgba(255, 255, 255, 1);
}
#capa {
    max-height: 2vw;
    width: 5em;
    float: left;
}
#to-PEIS {
    top: 80%;
    position: absolute;
    color: white;
    border: thin solid white;
    padding: 0.7em 1em;
    text-decoration: none !important;
    left: 50%;
    transform: translateX(-50%);
}
#ce {
    max-height: 5vw;
    width: 10em;
    margin-top: -0.7em;
    float: right;
}
div#video-controls:hover{
    opacity: 1;
    animation: slideUp 0.2s ease-out;
}
input#seek-bar {
    width: 80%;
}
ul#chapitres li a:hover:after {
    border: 1px solid #b9b9b9;
    padding: 0.8em 1em;
    background: rgba(0,0,0,0.5);
    content: attr(title);
    position: absolute;
    top: -4em;
    margin-left: -2em;
    text-transform: uppercase;
    font-size: 0.8em;
}
.active.pulse {
    stroke: #ffc800;
    transform-origin: 10% 10%;
    animation-duration: 1s;
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-direction: reverse;
    opacity: 0;
}
.pulse, .link {
    fill: #ffc800;
    stroke-width: 0;
    transition: stroke-width ease 0.5s;
    stroke: rgba(255, 200, 0, 0.5);
}
.link:hover {
    stroke-width: 5px;
}

.littenin path {
    stroke-dasharray: 535;
    stroke-dashoffset: 535;
    animation: dash 3s linear infinite;
}
.lit path {
    stroke-dasharray: 1000;
    stroke-dashoffset: -1000;
}
#valeco_prince-lit path, #prince_ginko-lit path, #uquans_valeco-lit path{    
    stroke-dashoffset: 1000;
}
.litten path {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}
.pulse, .txt-link{
    cursor: pointer;
}
.txt-link g {
    stroke: transparent;
    stroke-width: 50px;
}
.video-js .vjs-current-time, .vjs-no-flex .vjs-current-time {
    display: block !important;
}
.video-js .vjs-remaining-time, .vjs-duration, .vjs-time-divider {
    display: none !important;
}
.vjs-marker {
    background: yellow !important;
    box-shadow: 0 0 5px yellow;
}
.vjs-overlay.vjs-overlay-bottom-right.vjs-overlay-background {
    animation: scaleIn 1s forwards;
}
.vjs-overlay.vjs-overlay-bottom-right.vjs-overlay-background {
    background: white;
    padding: 2em;
    bottom: 125px;
    right: 5em;
    width: 12vw;
    height: 12vw;
    border-radius: 100%;
    margin-right: 5em;
    margin-bottom: 0;
    color: black;
    display: block;
    position: absolute;
}
.vjs-overlay.vjs-overlay-bottom.vjs-overlay-background {
    background: transparent;
    color: white;
    bottom: 75px;
    width: 25em;
    left: calc(50% - 12.5em);
    transform: translateX(-50%);
    margin: 0;
    height: 4em;
    animation-name: bounceIn;
    animation-duration: .75s;
    animation-duration: 1s;
    animation-fill-mode: both;
    border: 0.2em solid white;
}
button.btn.to-video {
    text-align: center;
    position: relative;
    width: 110%;
    height: 100%;
    margin-left: -5%;
}
#main-video-wrapper #main-vid .vjs-overlay.vjs-overlay-bottom-right.vjs-overlay-background .to-next-video::after {
    content: " ";
    display: block;
    position: absolute;
    background: url(../img/dashs.svg) no-repeat 100%;
    width: 30em;
    height: 15em;
    margin: -7em 0 0 -10em;
    z-index: -1;
}
.vjs-overlay.vjs-overlay-bottom.vjs-overlay-background:hover {
    background: white;
    color: black;
}
.to-next-video {
    margin: 0vw 0 0 -5vw;
    width: 10vw;
    height: 10vw;
    line-height: 1.9vh !important;
    border-radius: 100%;
}
@media screen and (-ms-high-contrast: active){
    .to-next-video {
        margin: 0vw 0 0 0vw;
    }
}
_:-ms-fullscreen, :root .to-next-video {
    margin: 0vw 0 0 0vw;
}
.to-next-video, .to-video {
    font-size: 1.1vh !important;
    text-transform: uppercase !important;
    margin-bottom: 1em;
    color: black;
    display: block;
    position: absolute;
}
.video.visible{
    z-index: 5;
}
.video-background {
    background: rgba(0,0,0,0.75);
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 5;
}
.video-background::after {
    content: "Retour";
    color: white;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 15px;
    text-transform: uppercase;
    right: -86vw;
    position: absolute;
    top: 50%;
    opacity: 0;
    font-family: "ralewayregular";
    transition: opacity ease-out 0.1s 1s;
    transform-origin: 0 0;
    transform: rotate(-90deg);
}
.video-background:hover::after {
    opacity: 0.9;
}
.below{
    z-index: -1;
    display: none;
}
.video.sujet {
    position: absolute;
    width: 70%;
    background: black;
    border: 1.8em solid white;
    padding-bottom: 38%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.legende-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    color: white;
    width: 75%;
    padding: 1.4em 0 45vw 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7em;
}
.video-js.vjs-fullscreen{
    margin: 0 !important;
    border: 0 !important;
}
#edwynn-vid:before {
    content: "Edwin Le Héron";
}#edwynn-vid:after {
    content: "Économiste, Professeur d'économie à l'IEP Bordeaux";
}
#prince-vid:before {
    content: "Dessine-moi un petit prince";
}#prince-vid:after {
    content: "Parc du Petit Prince";
}
#montpellier-vid:before {
    content: "Une boîte dans le vent";
}#montpellier-vid:after {
    content: "Valeco";
}
#carentan-vid:before {
    content: "Pékin Express";
}#carentan-vid:after {
    content: "Maîtres laitiers du Cotentin";
}
#choisy-vid:before {
    content: "C'est du propre !";
}#choisy-vid:after {
    content: "Ginkgo";
}
#bordeaux-vid:before {
    content: "T'as pas l'heure (Atomique) ?";
}#bordeaux-vid:after {
    content: "MuQuans";
}
.video.sujet::before, .video.sujet::after {
    display: block;
    text-align: right;
    width: 100%;
}
.video.sujet::before {
    font-size: 5em;
    z-index: 10;
    margin-top: -2em;
    font-family: "Freeland W00";
    color: #ffc800;
}
.video.sujet::after {
    text-transform: uppercase;
    width: 100%;
    color: white;
    font-size: 1em;
}
@keyframes fade{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes halfFadeIn{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.7;
    }
}
@keyframes loaderFade{
    0% {
        opacity: 1;
        visibility: visible;
    }90% {
        opacity: 0.1;
        visibility: visible;
    }100% {
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes pulse{
    0% {
        stroke-width: 25px;
        stroke-opacity: 0;
        opacity: 0;
    }
    100% {
        stroke-width: 0;
        stroke-opacity: 1;
        opacity: 1;
    }
}
@keyframes fadeIn{
    0% {
        stroke-opacity: 0;
        fill-opacity: 0;
    }
    100% {
        stroke-opacity: 1;
        fill-opacity: 1;
    }
}
@keyframes play{
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1
    }
}
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes scaleIn {
    0% { transform: scale(1.1);}
    50% { transform: scale(1.4);}
    60% { transform: scale(0.8);}
    80% { transform: scale(1.2) }
    100% { transform: scale(1) }
}
@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% { opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% { transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {  transform: scale3d(.9, .9, .9);
    }
    60% { opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {  transform: scale3d(.97, .97, .97);
    }
    100% { opacity: 1;
        transform: scale3d(1, 1, 1);
    }
} 
@keyframes tada {
    0% { transform: scale3d(1, 1, 1);
        opacity: 0.2
    }
    10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        opacity: 0.4
    }
    30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        opacity: 1
    }
    40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        opacity: 1
    }
    100% { transform: scale3d(1, 1, 1);
        opacity: 0.8
    }
} 
@keyframes loaderAnimatedBg { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
/* ==========================================================================103593
Media Queries
========================================================================== */

@media only screen and (max-width: 810px) {
    .vjs-overlay-bottom-right {
        display: none !important;}
    .vjs-overlay.vjs-overlay-bottom.vjs-overlay-background {
        bottom: 40px;}
    .video.sujet::before {
        font-size: 2.3em !important;}
    .lity-wrap, .lity {
        position: relative !important;
    }
    #capa {
        max-height: 3vw;
        width: 3em;
        float: left;
    }
    #ce {
        max-height: 4vw;
        width: 7em;
        margin-top: -0.7em;
        float: right;
    }
    .lity-wrap {
        top: initial;
        left: initial;
        bottom: initial;
        transform: initial;
    }
    button.lity-close {
        top: 0em;
        right: 7em;
    }
    #merci-box div, #legal-box div.production {
        bottom: 20%;
    }
    .data {
        width: 1em;}
    .data-link {
        height: 5em;
        width: 5em;}
    #main-vid .vjs-big-play-button {
        font-size: 6em;
    }
}
@media only screen and (max-width: 900px) {
    #share {
        top: 101px;}
}
@media only screen and (min-width: 35em) {

}
@media print,
    (-o-min-device-pixel-ratio: 5/4),
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 120dpi) {

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

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

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