/* POUR VISITEURS */

@font-size: 19px;
@line-height: 21px;
@font-size-nasa: 19px;
@font-size-small: 15px;
@font-size-small-x: 13px;

/* IMPORT FONTES -------------------------------------  */
@import url(http://fonts.googleapis.com/css?family=Old+Standard+TT:400,400italic);
@font-face {
  font-family: 'Future';
    src:     url('/media/fonts/Future Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'Future';
    src:     url('/media/fonts/Future Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Nasa';
    src: url('/media/fonts/Nasa-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nasa';
    src: url('/media/fonts/Nasa-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* BLOCKS -------------------------------------  */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga", "dlig", "clig", "kern";
    -webkit-font-feature-settings: "liga", "dlig", "clig", "kern";
    -moz-font-feature-settings: "liga", "dlig", "clig", "kern";
    -o-font-feature-settings: "liga", "dlig", "clig", "kern";
    -webkit-print-color-adjust: exact;
}

@page {
    size: 210mm 297mm;
    margin-top: 20mm;
    margin-bottom: 20mm;
    margin-right: 10mm;
    margin-left: 10mm;
}

/* Styles pour la première page */
@page :first {
    /*margin-top: 50mm;*/
}

html, body {
    width: 210mm;
    padding: 0;
}

body {
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: black;
    font-family: "Future", serif;
    font-size: @font-size;
    line-height: @line-height;
    word-wrap: break-word;
}
/* Style des niveaux de titre */
h1 {
    font-size: @font-size;
    line-height: @line-height;
    position: relative;
    z-index: 20;
    font-weight: normal;
    font-family: "Future", Serif;
    margin-top: @line-height;
    margin-bottom: @line-height;
}
h2 {
    font-family: Nasa, sans-serif;
    text-transform: uppercase;
    margin-top: 2 * @line-height;
    margin-bottom: @line-height;
    text-align: center;
    font-size: @font-size-nasa;
    line-height: @line-height;
}
h3, h4, h5, h6 {
    font-weight: normal;
    font-family: Nasa, sans-serif;
    margin: 0;
    text-align: center;
    font-size: @font-size;
    line-height: @line-height;
}
h3 {
    text-transform: uppercase;
    margin: @line-height 0;
}
h4 {
    text-decoration: underline;
}
/* Apparition des images */
img {
    max-width: 70%;
    max-height: 10cm;
    margin: @line-height auto;
    display: block;
}
img:first-of-type {
    margin-top: 0;
}
/* Apparition des images dans une ligne de texte */
img.inline {
    display: inline;
    vertical-align: top;
    margin: 0;
    height: @line-height;
}
/* Style des vignettes */
.thumbnail {
    max-width: 30%;
}

/* Style des grandes images */
.bigpicture {
    max-width: 95%;
}

/* Style des blocs de citation */
blockquote {
    font-family: Nasa, sans-serif;
    font-size: @font-size-nasa;
    margin: @line-height 3 * @line-height;
}
p {
    margin-bottom: 0;
}
/* 2 paragraphes à la suite font un alinéa */
p + p {
    text-indent: 40px;
}
hr {
    border: 0;
    height: @line-height;
    margin: 0;
}
hr + hr {
    display: block;
    border-bottom: 1px solid black;
}
/* The <pre> tag defines preformatted text.
 * Text in a <pre> element is displayed in a fixed-width font (usually Courier),
 * and it preserves both spaces and line breaks.
*/
code, pre {
    font-family: notcouriersans, monospace;
}

/* Style des légendes d'images */
figcaption {
    font-family: Nasa, sans-serif;
    font-size: @font-size-small;
    line-height: @line-height;
    text-decoration: none;
    text-align: center;
    margin-bottom: @line-height;
}
/* Style des frames de vidéo ou autres objets hors image */
figure iframe {
    max-width: 70%;
    margin: @line-height auto;
    display: block;
}

/* Style des notes de bas de pages */
.footnote {
    font-size: @font-size-small;
    line-height: 14px;
    margin-bottom: 2 * @line-height;
}
.footnote p {
    margin-bottom: 0;
}
.footnote-backref {
    display: none;
}

/* INLINES ------------------------------------- */
/* Style des liens hypertextes */
a,
a:visited {
    text-decoration: none;
    color: black;
}
/* Style de l'italique */
em {
    font-style: italic;
}
/* Style du bold */
strong {
    font-weight: bold;
}
/* Style des exposants */
sup {
    font-size: @font-size-small-x;
    line-height: 0;
    vertical-align: 6.5px;
}
sup a {
    font-family: Nasa, sans-serif;
}
/* Style du texte souligné */
u {
    text-decoration: none;
    border-bottom: 1px solid black;
}

dt:after {
    content: ": ";
}

#content dd {
        margin-left: 1.4em;
    }
#content dd:before {
        content: "— ";
}


.meta dt, 
.meta dd {
        float: left;
}
.meta dt {
        clear: both;
        margin-right: 0.5em;
}


.comment:before {    
    background-color: #FFFF00 !important;
    border-radius: @line-height;
    display: inline;
    height: @line-height;
    margin: 0 @line-height / 2;
    padding-left: 7px;
    padding-right: 9px;
    text-align: center;
    width: @line-height;
    content: "<o>";
    font-family: Nasa, sans-serif;
}


/* FORMS -------------------------- */
form {
    margin-bottom: 0;
}
form label, form textarea {
    font-family: inherit;
    font-size: inherit;
}
form input, form textarea {
    background: none;
    border: 1px solid black;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
/* Style de l'élément activé */
form input:focus, form textarea:focus {
    background-color: white;
}
form input[type=text], form input[type=password] {
    height: 22px;
    position: relative;
    top: -1px;
    width: 200px;
}
form input[type=submit] {
    cursor: pointer;
    padding: 0;
    height: 26px;
}

/* GENERIC CLASSES -------------------------------- */
/* Style des boutons */
.button {
    text-decoration: none;
    margin: 0 @line-height;
}

/* Classe pour transformer des éléments blocs en éléments en ligne */
.inline {
    display: inline;
}


/* PAGE STRUCTURE --------------------------------- */
/* Style des containers */
.wrap {
    display: block;
    margin: 0;
}
.wrap:before, .wrap:after {
    content: " ";
     display: table;
}
.wrap:after {
    clear: both;
}
/*.wrap:nth-of-type(1) {
    height: 0;
}
*/

/* Style des sous-parties de containers */
#content,
.middle {
    /*width: 150mm;*/
    padding: 0;
    /*position: relative;*/
    z-index: -1000;
}
.middle {
    /*padding-left: 25mm;*/
    padding: 0 20mm;
}

/* Pour les inclusions de pads dans les compilations */
#content .middle {
    width: 100%;
}

/* NAV ------------------------------------------ */


/* Navigation */
nav {
    font-family: "Nasa", sans-serif;
    line-height: @line-height;
    font-size: @font-size-small;
    position: fixed;
    top: 0;
    background-color: white;
    padding: 5px;
    z-index: 1000;
}

#logo {
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 10000;
    display: none;
}
#logo:after {
    content: attr(data-article);
}

nav div#sort-by {
    display: inline;
    color: darkgray;
}

/* MAIN CONTENT ---------------------------------- */
header {
    margin: 0;
    font-size: 3 * @font-size;
    line-height: 3 * @line-height;
    font-family: "Future", serif;
    top: 9px;
    position: relative;
    margin-bottom: @line-height * 2;
}
header p, header h2 {
    font-size: inherit;
    font-family: inherit;
    margin-bottom: 0;
    line-height: inherit;
    text-align: center;
    text-transform: none;
    display: inline;
}

header p.authors:after {
    content: ", ";
}
header.book * {
    font-family: Nasa, sans-serif;
}
/* Style du contenu principal */
#content {
    font-weight: 200;
    max-width: 1200px;
}
/* Style de listes non-ordonnées*/
#content ul li:before {
    content: "— ";
    margin-left: 2 * @line-height;
}

div.column {
    padding: 0 @line-height/2;
}
div.column:first-child {
    padding-left: 0;
}
div.column:last-child {
    padding-right: 0;
}

/* Style de listes ordonnées */
.footnote ol {
    list-style-type: decimal-leading-zero;
    margin-left: 2 * @line-height;
}
/* Espace entre les notes de bas de page */
.footnote ol li {
    margin-bottom: 0;
}
/* Style de texte en introduction */
.intro {
    font-family: "Nasa", sans-serif;
    font-size: @font-size-nasa;
    text-indent: 0;
}

/* Styles de la classe meta */
div#metadata p {
   font-family: Nasa, sans-serif;
    text-indent: 0;
    margin-top: 3 * @line-height;
    clear: both;
}

/* TITRE COURANT */
    section.header:before,
    section.header:after {
        font-family: "Nasa";
        font-size: @font-size;
        line-height: @line-height;
        position: absolute;
    }
    section.header:before {
        left: 20mm;
    }
    section.header:after {
        right: 20mm;
    }


/* AUTHORSHIP ----------------------------- */

.authors {
    display: inline;
}
/* Hides Etherpad background colours */
#content span {
    background-color: inherit !important;
}

/* Styles de l'index */
a[lang=en],
a[lang=en]:visited:hover  {
    color: #0066CC;
}

a[lang=fr],
a[lang=fr]:visited:hover {
    color: #996600;
}
a[lang=en]:visited,
a[lang=fr]:visited,
a[lang=en]:hover,
a[lang=fr]:hover {
    color: black;
}

a[lang=fr] + a[lang=en]:before {
    content: ", ";
    color: black;
    margin-left: -0.2em;
}

li[data-type=Book] {
   font-family: Nasa, sans-serif;
}


/* STYLES PAR PAD */


/* Typo Windsor texte Camille */
.windsor {
    font-family: "Chalkboard";
}


/* Ce CSS fait que le p du pad `pad-16_jerome_as_cheapmd` est affiché différement que les autres pads */
.pad-16_jerome_as_cheapmd p {
}

/* PAD DU SOMMAIRE */
.pad-00md .left-side,
.pad-00md .right-side {
    width: 5%;
    display: none;
}
.pad-00md .middle {
    width: 100%;
    padding: 60px 20px;
}

/* PADS CACHES DANS L'INDEX */
.pad-00md li[data-type=unlisted] {
    display: none;
}

/*.pad-00md {
    background-image: url("/media/images/eyes/planche-1.png");
}*/
.pad-00md .wrap:nth-of-type(1) {
    height: 200px;
}
.pad-00md header h1 {
    visibility: hidden;
}

/* Style de liste */
.pad-00md ul {
    font-size: 2.6em;
    text-indent: -1.3em;
    line-height: 1.1em;
    margin-left: 1.3em;
}

/* Style de titre */
.pad-00md div h1 {
    font-size: 5em !important;
    text-align: center;
    color: black;
    line-height: 0em;
    outline: none;
}

.pad-00md #content ul li:before {
    content: "";
    margin-left: 0;
}

.pad-00md #content span.authors:after {
    content: ", ";
}

/* Texte sans alinéa */
.pad-00md #content p {
    text-indent: 0em;
    display: inherit;
}

/*.pad-00md li a em {
    font-style: normal;
}*/

/* Style des pages Publications et About */
.book,
.pad-00-batmd #content p {
    font-family: Nasa, sans-serif;
/*    font-size: 18px;*/
    text-indent: 0em;
}

.pad-28_spencer-holst_charabia-francais_frmd #content p,
.pad-04_alexis-guillier_artless_frmd #content p,
.pad-07_ryan-gander_lax_frmd #content p {
    text-indent: 0em;
}

/* Espacement texte Antin */
.pad-15_david_antin_parler_aux_frontieres_frmd #content p {
    white-space: pre-wrap;
    text-align: center;
}
.pad-21b_david-antin_silence-noisemd #content p {
    white-space: pre-wrap;
    text-indent: 0em;
/*    text-transform: uppercase; */
}

.pad-stylecss #content {
    white-space: pre-wrap;    
}

.pad-02_osp_relearn_frmd h2 {
    clear: both;
}

.pad-02_osp_relearn_frmd blockquote {
    width: 50%;
    margin: 0;
    padding-top: 0.5em;
    padding-right: 1em;
    float: left;
    font-family: monospace;
    font-size: 0.7em;
    line-height: 1.2em;
}
.pad-02_osp_relearn_frmd blockquote:nth-of-type(2n) {
        float: right;
        padding-left: 1em;
        padding-right: 0;
}
.pad-02_osp_relearn_frmd img {
    max-width: 100%;
    width: 100%;
    margin: 0;
}



.hidden,
.screen-only,
.button,
nav span,
.left,
.right,
div#go-up {
    display: none;
}
.comment:before,
.comment,
.comment:after {
    display: none;
}


