/* 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');
    /* src: url('/media/fonts/future_regular-webfont.eot'); */
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'Future';
    src: url('/media/fonts/Future Italic.otf') format('opentype');
    /* src: url('/media/fonts/future_italic-webfont.eot'); */
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Nasa';
    src: url('/media/fonts/Nasa-Regular.otf') format('opentype');
    /* src: url('/media/fonts/Nasa-Regular.eot'); */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nasa';
    src: url('/media/fonts/Nasa-Italic.otf') format('opentype');
    /* src: url('/media/fonts/Nasa-Regular.eot'); */
    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";
}

body {
    background-size: 100%;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    color: black;
    font-family: "Future", serif;
    font-size: 20px;
    line-height: 1.4em;
    padding: 0.5em;
}
/* Insertion du pad dans la page */
iframe {
    outline: 1px solid #333;
}
iframe#ether {
    height: 700px !important;
    max-width: 40em;
    margin: auto;
}

/* Style des niveaux de titre */
h1 {
    font-size: 1em;
    line-height: 1em;
    position: relative;
    z-index: 20;
    line-height: 2em;
    font-weight: normal;
    font-family: "Future", Serif;
    margin-top: 1em;
    margin-bottom: 1em;
}
h2 {
    font-family: Nasa, sans-serif;
    text-transform: uppercase;
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
}
h3, h4, h5, h6 {
    font-weight: normal;
    font-family: Nasa, sans-serif;
    margin: 0;
    text-align: center;
}
h3 {
    text-transform: uppercase;
    margin: 1em 0;
    font-size: 20px;
}
h4 {
    text-decoration: underline;
}
/* Apparition des images */
img {
    max-width: 70%;
    margin: 1em 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: 1em;
}
/* 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: 18px;
    margin: 20px 60px;
}
p {
    margin-bottom: 0;
}
/* 2 paragraphes à la suite font un alinéa */
p + p {
    text-indent: 3em;
}
hr {
    border: 0;
    height: 20px;
    margin: 0;
}
hr + hr {
    display: block;
    border-bottom: 0px 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: 0.7em;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 1em;
}
/* Style des frames de vidéo ou autres objets hors image */
figure iframe {
    max-width: 70%;
    margin: 1em auto;
    display: block;
}

/* Style des notes de bas de pages */
.footnote {
    font-size: 0.8em;
    line-height: 1.2em;
    margin-bottom: 2em;
}
.footnote p {
    margin-bottom: 0;
}

/* INLINES ------------------------------------- */
/* Style des liens hypertextes */
a {
    text-decoration: none;
/*    color: #33CC33; */
    color: #00FA9A;
}
/* Style du texte en roll-over sur les liens */
a:hover {
    text-decoration: none;
        color: black;
}
/* Style quand on arrive à une ancre */
.target {
    background-color: yellow;
}
/* Style de l'italique */
em {
    font-style: italic;
}
/* Style du bold */
strong {
    font-weight: bold;
}
/* Style des exposants */
sup {
    font-size: 0.65em;
    line-height: 0;
    vertical-align: 0.5em;
}
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: 1em;
    display: inline !important;
    margin: 0em;
    padding-left: 7px;
    padding-right: 7px;
    text-align: center;
    width: 1em;
    height: 1em;
    content: "<o>";
    font-family: Nasa, sans-serif;
    font-size: 18px;
    line-height: 1.2em;
}
.comment {
    width: 1em;
    height: 1em;
}
/*
.comment:hover::after {   
    font-size: 18px;
    line-height: 1.2em;
    font-family: Nasa;
    background-color: yellow;
    content: attr(title);   
    padding: 1em;   
    color: #333;   
    position: relative;   
    left: 2.5em;    
    top: -3em;
    z-index: 20;   
    width: 20em;
    -moz-border-radius: 1em;    
    -webkit-border-radius: 1em;     
    border-radius: 1em;     
    display: block;
}
*/

/* FORMS -------------------------- */
form {
    margin-bottom: 0;
}
form label, form textarea {
    font-family: inherit;
    font-size: inherit;
}
form input, form textarea {
  background: none;
  border-style: solid;
  border-color: #FFFFFF #FFFFFF #00FA9A #FFFFFF;
  font-family: Nasa;
    font-size: 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: 25px;
    position: relative;
    top: -1px;
    width: 200px;
}
form input[type=submit] {
    cursor: pointer;
    padding: 0;
  height: 26px;
  border: 0;
  text-decoration: none;
  color: #00FA9A;
}
form input[type=submit]:hover {
    background-color: white;
    text-decoration: none;
    color: black;
}
div#content form {
    margin-left: 2em;
}
div#content input {
    vertical-align: middle;
}

/* GENERIC CLASSES -------------------------------- */
/* Style des boutons */
.button {
  text-decoration: none;
    margin: 0 0.5em;
}
/* Style des boutons en roll over */
.button:hover {
    background: none;
    outline: none;
}
/* Classe pour transformer des éléments blocs en éléments en ligne */
.inline {
    display: inline;
}


/* PAGE STRUCTURE --------------------------------- */
/* Style des containers */
.wrap {
    margin: 1em 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
}
.wrap:before, .wrap:after {
    content: " ";
    /* 1 */
     display: table;
    /* 2 */ 
}
.wrap:after {
    clear: both;
}
/* Style des sous-parties de containers */
.left-side, .middle, .right-side {
    float: left;
    position: relative;
}
.left-side,
.right-side  {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1; 
    flex: 1;
}
.middle {
    width: 40em;
    padding: 10px 20px;
}

.write-mode .left-side,
.write-mode .right-side {
    width: 15%
}

.write-mode .middle {
    width: 70%;
}

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

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


/* Navigation */
nav {
    font-family: "Nasa", sans-serif;
    line-height: 1.3em;
    margin-bottom: 2em;
    font-size: 0.7em;
    position: fixed;
    top: 0;
    background-color: white;
    padding: 0.25em;
    z-index: 1000;
}
nav#nav-left {
    left: 0;
    width: 100%;
}
nav#nav-right {
    right: 0;
    text-align: right;
    margin-top: 4px;
}
nav div#staff-menu {
    display: inline;
    color: darkgray;
}

nav h1 {
    display: inline;
}
nav span:before {
    content: " — ";
}

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

/* Style des liens dans la navigation */
nav a {
    text-decoration: none;
}

/* Style du bouton du mode actif Read ou Write */
nav a.active {
    color: black;
}

/* Texte précédent/suivant */
div#previous a,
div#next a {
    position: fixed;
    top: 6.5em; 
    font-family: Nasa, sans-serif;
    font-size: 0.7em;
    line-height: 1.2em;
    padding: 1em;
    z-index: 6666;
}
div#previous a span,
div#next a span {
    display: none;
}
div#previous a:hover span,
div#next a:hover span {
    display: block;
}
div#next {
    text-align: right;
    padding-right: 0em;
}
div#next a {
        right: 0;
}

/* MAIN CONTENT ---------------------------------- */
header {
    margin-top: 1em;
    font-size: 2.6em;
    line-height: 1.1em;
    font-family: "Future", serif;
}
header h1 {
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 0;
    text-align: center;
    display: inline;
    font-family: inherit;
}
header p, header h2 {
    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: 90%;*/
}
/* Style de listes non-ordonnées*/
#content ul li:before {
    content: "— ";
    margin-left: 2em;
}
/* Style de listes ordonnées */
.footnote ol {
    list-style-type: decimal-leading-zero;
    margin-left: 2em;
}
/* Espace entre les notes de bas de page */
.footnote ol li {
    margin-bottom: 0em;
}
/* Style de texte en introduction */
.intro {
    font-family: "Nasa", sans-serif;
    font-size: 18px;
    text-indent: 0em;
}
/* Style de titre h2 dans la partie droite */
.right-side h2 {
    margin-bottom: 1em;
}
/* Styles de la classe meta */
dl.meta {
    font-family: "Nasa", sans-serif;
    font-size: 0.7em;
    line-height: 1.3em;
    color: grey;
}
div#metadata p {
   font-family: Nasa, sans-serif;
    text-indent: 0;
    margin-top: 2em;
    clear: both;
}

div#go-up {
    clear: both;
    margin-top: 2em;
}
div#go-up a {
    border-bottom: none;
}
div#go-up a:hover {
    color: red;
}


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

a[lang=fr],
a[lang=fr]:visited:hover {
/*   color: #996600; */
/*    color: #D2691E; */
      color: #A0522D;
}
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;
}


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

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

/* ------ PRINT/SCREEN ------ */
@media screen {
    .print-only {
    display: none;
    }
}


/* User Interface */

.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999999999;
    background: rgba(0,0,0,0.6667);
    text-align: center;
}

.popup-wrapper.hidden {
    display: none;
}

.popup-wrapper:before {
        position: relative;
        height: 100%;
        content: "";
        display: inline-block;
        vertical-align: middle;
    }

.popup {
        display: inline-block;
        vertical-align: middle;
        background-color: white;
        padding: 30px;
}


/* STYLES PAR PAD */

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

/* Typo Nasa texte BR */
.BR {
    font-family: "Nasa";
}

/* Texte centré Antin */
.antin {    
    white-space: pre-wrap;
    text-align: center;
    font-family: nasa, sans-serif;
    font-size: @font-size-nasa;
    line-height: @line-height;
    margin: @line-height 3 * @line-height;
}

/* Typo Bat intro toast Mark */
.toastintro {
    font-family: "Future";
    color: black;
}

/* Typo Nasa bold toast Mark FR */
.toast {
    font-family: "Nasa";
/*     text-decoration: underline; */
    color: #1E90FF;
}

/* Typo Nasa didascalie toast Mark */
.toastdida {
    font-family: "Nasa";
/*     text-decoration: underline; */
    color: #C8C8C8;
}

/* 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;
}
.pad-00md .middle ul {
    padding-bottom: 100px;
}

/* 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-00md .wrap {
    display: block;
}

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

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

/*.pad-33_benjamin-seror_a_propos_de_future_frmd {
    background-image:  url("/media/images/eyes/Planches-yeux-3.jpg");
    background-size: 100%;
    background-attachment: fixed; 
    background-repeat: repeat;
}*/

.pad-61_mark_geffriaud_toast_frmd #content p {
    font-family: Nasa, sans-serif;
}

.pad-61_mark_geffriaud_toast_enmd #content p {
    font-family: Nasa, sans-serif;
}

