/*
Theme Name: Justin
Author: Maxime Bichon
Author URI: http://www.maximebichon.net
Description: Justin's theme.
Version: 1.0

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* FONTS */

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

@font-face {
    font-family: 'apercu';
    src: url('f/apercu-bolditalic-webfont.woff2') format('woff2'),
         url('f/apercu-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'apercu';
    src: url('f/apercu-bold-webfont.woff2') format('woff2'),
         url('f/apercu-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

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

body {
    font-family: 'apercu';
    font-size: 13px;
    line-height: 1.5em;
    background-color: white
}
a {
    color: black;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 10px grey;
}
h2 {
    display: none;
}
em,
i {
    font-style: italic;
}
img {
    max-width: 900px;
    height: auto;
    width: 100%;
    margin-bottom: 0px;
}
p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#legendes p {
    max-width: 100%;
}
strong,
b {
    font-weight: bold;
}
.embed-container {
    margin-bottom: 10px;
}
#lang,
#contact {
    padding: 25px;
}
#contact:hover #contactlink {
    text-shadow: 0 0 10px grey;
}
#lang:hover .langlink {
    text-shadow: 0 0 10px grey;
}
#contact {
    top: 0px;
    left: 0px;
    position: fixed;
    z-index: 100
}
#lang {
    bottom: 0px;
    left: 0px;
    position: fixed;
    z-index: 100;
    cursor: pointer
}
#apres {
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 50%;
    position: fixed;
}
#linknext {
    position: absolute;
    top: 50%;
    right: 35px;
    text-align: right;
}
#avant {
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 50%;
    position: fixed;
}
#apres {
    z-index: 10!important;
}
#apres,
#contact {
    font-size: 15px;
}
#wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative
}
body.postid-432 #wrapper p{
	max-width: 100%;
	margin-bottom: 1em;
}
#responsive {
    margin-left: 25px;
    margin-right: 25px;
}
#wrapper {
    position: relative;
}
.private-page {
    text-align: center;
}
#musique {
    display: none;
}
.captions {
    margin-bottom: 0;
}
.captions p {
    margin-bottom: 0;
}
#legendes {
    margin-bottom: 25px;
    text-align: right;
    font-size: 13px;
    line-height: 1.2em;
}
.textes {
    margin-bottom: 25px;
}
#marginleg {
    height: 25px;
    width: 100%;
}
#bgimg {
    position: fixed;
    min-height: 100%;
    width: 100%;
    height: auto;
    max-width: none;
    z-index: -10;
    top: 0;
    left: 0;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    -o-background-size: cover!important;
    background-size: cover!important
}
#private {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 30!important;
    margin-top: 50px;
}
#private .cad {
    width: 18px;
    height: auto;
    z-index: 30!important;
    position: relative;
    cursor: pointer;
    padding: 7px;
    margin-left: auto;
    margin-right: auto;
}
#private a {
    z-index: 30!important;
    position: relative
}
#vimeo_private {
    margin-bottom: 50px;
}
.shown {
    display: block
}
.hidden {
    display: none;
}
.private_shown {
    display: block
}
.private_hidden {
    display: none;
}
.embed-container {
    z-index: 20!important;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#pdf {
    width: 70%;
    height: 90vh;
    margin-left: auto;
    margin-right: auto;
    display: block;
    z-index: 20!important;
    position: relative;
}
@media screen and (max-width: 1040px) {
    #wrapper {
        margin-top: 70px
    }
    #linknext {
        top: 25px;
    }
}
@media screen and (max-width: 800px) {
    #wrapper {
        width: 100%;
    }
    #pdf {
        width: 100%;
        height: 90vh;
    }
}