/*
@font-face {
  font-family: "PropCourierSans";
  src: url("/static/fonts/PropCourierSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
*/
@font-face {
  font-family: "Belgika";
  src: url("/static/fonts/Belgika-16th.otf");
}
@font-face {
  font-family: "News Cycle";
  src: url("/static/fonts/newscycle-regular.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "News Cycle";
  src: url("/static/fonts/newscycle-bold.ttf") format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: "PropCourierSans";
  src: url("/static/fonts/PropCourierSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@color: #E77124;
@font-size: 18px;
@line-height: 24px;

/* 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";
}
html{  
  font-family: News Cycle, monospace;  
}
body {
  background-size: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: black;
  font-family: News Cycle;
  font-size: @font-size;
  line-height: @line-height;
  padding: @line-height / 2;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
/* Insertion du pad dans la page */
iframe {
  outline: 1px solid #333;
}
iframe#ether {
  height: 700px !important;
  max-width: 50em;
  margin: auto;
}
/* Style des niveaux de titre */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: @font-size;
  font-weight: bold;
  font-family: News Cycle;
  margin: 0;
  margin-top: @line-height * 2;
  margin-bottom: @line-height;
  padding-top: @line-height;
  clear: both;
}
h1 {
  font-size: @font-size;
  line-height: @line-height;
  margin: @line-height 0;
  text-align: center;
  font-family: News Cycle, serif;
  font-weight: bold;
}
#content h1 {
  font-size: @font-size * 3;
  line-height: 0.85em;
  margin: @line-height *5 0;
}
h2 {
  font-size: @font-size * 2;
  line-height: 1em;
  text-transform: uppercase;
  text-align: center;
  font-family: News Cycle;
  font-weight: bold;
}
h3 {
  text-transform: uppercase;
  margin: @line-height 0;
  font-family: News Cycle;
  font-weight: bold;
}
h4 {
  text-decoration: underline;
  text-align: left;
  margin-bottom: @line-height/4;
  margin-top: @line-height;
}
a {
  font-family: News Cycle;
}
a.include {
  font-family: News Cycle;
}
footer {
    font-style: italic;
}
img {
  width: 100%;
  //max-width: 275px;
  float: left;
  margin-top: @line-height /2;
  margin-bottom: @line-height /2;
  //padding-left: @line-height /2;
  //padding-right: @line-height /2;
  //padding-bottom: @line-height /2;
  display: block;
}
img:first-child {
  padding-left: 0;
}
img:last-child {
  padding-right: 0;
}
img.inline {
  display: inline;
  vertical-align: top;
  padding: 0;
  height: 1em;
}
img.large {
  width: 100% !important;
  max-width: none !important;
  margin: auto !important;
  padding: 0 12.5%;
}
img.small-img{
    width: 20%;
}
img.quarter-img{
    width: 25%;
  margin-left: @line-height;
}
img.third-img{
    width: 33%;
  margin-left: @line-height;
}
img.half-img{
    width: 50%;
  margin-left: @line-height;
}
img.twothird-img{
    width: 66%;
  margin-left: @line-height;
}
img.threequarter-img{
    width: 75%;
  margin-left: @line-height;
}
img.alignright-img{
    width: 18%;
    float: right;
    clear:both;
    margin-left: @line-height;
}
img.alignrightsmall-img{
    width: 7%;
    float: right;
    clear:both;
    margin-left: @line-height;
}
img.alignleft-img{
    width: 18%;
    float: left;
    clear:both;
    margin-right: @line-height;
}
.thumbnail {
  max-width: 30%;
}
.gallery {
  max-width: none !important;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: @line-height;
}
.gallery img {
  width: 30%;
  margin: 0;
  padding: 0;
  padding-bottom: @line-height;
  max-width: none;
}
figure { text-align: center; }
figure img { margin: auto; float: none; }

.gallery figure {
  /*height: 3.35cm;*/
  margin-bottom: @line-height * 2;
  max-width: 30%;
}
.gallery figure img {
  height: 4cm !important;
  max-width: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  width: auto !important;
  float: none;
  margin: auto;
}
blockquote {
  font-family: News Cycle;
  font-style: italic;
  font-size: @font-size;
  margin: @line-height 0;
  margin-left: @line-height;
  border-left: 0px solid @color;
  float: left;
  blockquote{
    margin-left:  @line-height;
    }
  p{
    padding-left: 0;
    }
}
.notes > blockquote:first-child {
  margin: 0 !important;
  font-style: normal;
}
p {
  margin-bottom: @line-height;
  clear: both;
  text-indent: 0;
  line-height: 1.6em;
}
p + p {
  //text-indent: @line-height;
}
hr {
    padding: 0;
    border: none;
    border-top: 1px solid #333;
    color: #333;
    text-align: center; 
    }
hr + hr {
  display: block;
  border-bottom: 1px solid black;
}
code,
pre {
  font-family: monospace;
  white-space: pre-wrap;
  //font-weight: bold;
}
pre {
  outline: 1px solid #b8860b;
  //padding: @line-height;
  width: 100%;
}
/* Style des légendes d'images */
figcaption {
 color: red;
  font-family: News Cycle;
  font-size: 13px;
  line-height: 17px;
  text-align: left;
  margin-bottom: @line-height;
  padding-left: @line-height;
}
figcaption:before{
content: "\21b3";
}
p small{
  color: black;
  font-family: News Cycle;
  font-size: 13px;
  text-align: left;
  margin-bottom: @line-height;
  padding-left: @line-height;
  display: inherit;
}
p small sup{
    text-decoration: underline;
    margin: 5px;
    font-size:0.8em;
}
small {
  color: black;
  font-family: News Cycle;
  font-size: 13px;
  line-height: 17px;
  text-align: left;
  margin-bottom: @line-height;
  padding-left: @line-height;
}
small sup{
      text-decoration: underline;
      margin: 5px;
      font-size:0.8em;
}
small:before{
content: "\21b3";
text-indent: -11px;
}

/* Style des frames de vidéo ou autres objets hors image */
figure iframe {
  max-width: 70%;
  margin: @line-height auto;
  display: block;
}
audio,
video {
  display: block;
  clear: both;
  margin: auto;
  margin-bottom: @line-height * 2;
}
/* Style des notes de bas de pages */
.footnote {
  font-size: 12px;
  line-height: 17px;
  margin-bottom: @line-height * 2;
}
.footnote ol {
  list-style-position: outside;
  margin: 0;
}
.footnote ol li + li {
}
.footnote p {
  margin-bottom: 0;
}
/* INLINES ------------------------------------- */
/* Style des liens hypertextes */
a,
a:visited {
  text-decoration: none;
  color: @color;
}
/* Style du texte en roll-over sur les liens */
a:hover {
  text-decoration: underline;
}
/* 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;
  text-decoration: none;
  margin-left: 1px;
  font-weight: bold;
}
sup a {
  font-family: News Cycle;
  font-size: 0.75em;
}
/* Style du texte souligné */
u {
  text-decoration: none;
  border-bottom: 2px solid yellow;
}
dl {
  margin: 11.5px 0;
}
dt {
  font-style: italic;
  font-weight: bold;
  display: inline;
  font-family: News Cycle;
  text-indent: 0;
  margin-right: 0;
}
dt strong {
  text-decoration: underline;
}
dd + dt:before,
.metadata dt:before {
  content: " ";
  display: block;
  height: 4.375px;
}
dt:after {
  content: ": ";
}
dd {
  display: inline;
  margin: 0;
  text-indent: 0;
}
dd + dd {
  //padding-left: 46px;
}
dd:after {
  //content: '\0A';
  //white-space: pre;
}
.metadata dd:after {
  content: '';
  white-space: pre;
}
.metadata dd:before {
  content: ", ";
  margin-left: 0px;
}
.metadata dt + dd:before {
  content: "";
  margin-left: 0;
}
.metadata dd {
  padding-left: 0;
}
hr + dl {
  margin-top: -@line-height;
}
dl + p {
  margin-top: @line-height;
}
.comment:before {
  background-color: yellow !important;
  border-radius: 1em;
  display: inline;
  height: 1em;
  margin: 0 0.5em;
  padding-left: 7px;
  padding-right: 9px;
  text-align: center;
  width: 1em;
  content: "!";
  font-family: News Cycle;
}
/* FORMS -------------------------- */
form {
  margin-bottom: none;
}
form label,
form textarea {
  font-family: inherit;
  font-size: inherit;
}
form input,
form textarea {
  background: none;
  border-style: solid;
  border-color: black;
  font-family: sans-serif;
  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-style: none;
  border-color: none;
  text-decoration: none;
  color: @color;
}
form input[type=submit]:hover {
  background-color: white;
  text-decoration: none;
  color: black;
}
/* GENERIC CLASSES -------------------------------- */
.clearfix {
  overflow: auto;
}
/* Style des boutons */
.button {
  text-decoration: none;
  margin: 0 @line-height / 2;
}
/* Style des boutons en roll over */
.button:hover {
  background-color: none;
  outline: none;
}
/* Classe pour transformer des éléments blocs en éléments en ligne */
.inline {
  display: inline;
}
/* PAGE STRUCTURE --------------------------------- */
/* Style des containers */
.wrap {
  -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:first-child {
  margin: @line-height 0;
}
.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;
  margin-top: @line-height * 2;
}
.middle {
  max-width: 40em;
  width: 60%;
  padding: @line-height @line-height*2;
  header{
      margin-top: @line-height*3;
      }
}
.write-mode .middle {
  width: 70%;
}
/* Pour les inclusions de pads dans les compilations */
#content .middle {
  width: 100%;
}
/* NAV ------------------------------------------ */
#logo {
  font-family: News Cycle;
}
/* Navigation */
nav {
  font-family: News Cycle;
  line-height: 17px;
  font-size: 13px;
  position: fixed;
  top: 0;
  background-color: white;
  padding: 5.75px;
  z-index: 1000;
}
nav#nav-left {
  left: 0;
  width: 100%;
  border-bottom: 1px solid orange;
  //padding-bottom: 20px;
  margin-bottom: 50px;
}
nav#nav-right {
  right: 0;
  text-align: right;
  line-height: 25px;
  border-bottom: 1px solid orange;
  a{
      color: black;
      }
}
nav div#staff-menu {
  display: inline;
  color: lightgray;
}
nav h1 {
  display: inline;
}
nav span:before {
  content: " — ";
}
nav div#sort-by {
  display: inline;
  color: lightgray;
}
/* Texte précédent/suivant */
div#previous a,
div#next a {
  position: fixed;
  top: 6.5em;
  font-family: News Cycle;
  font-size: 13px;
  line-height: 17px;
  padding: 23px;
  z-index: 6666;
  color: black;
}
div#previous a span,
div#next a span {
  display: none;
  background-color: white;
  padding: 1px 2px;
}
div#previous a:hover span,
div#next a:hover span {
  display: block;
  color:black;
}
div#next {
  text-align: right;
  padding-right: 0;
}
div#next a {
  right: 0;
}
div.mobile-nav {
display: none;
}
    
/* MAIN CONTENT ---------------------------------- */
header {
  margin-top: @line-height;
  font-size: 42.5px;
  line-height: 1.2em;
  text-align: center;
}
header p,
header h2 {
  font-family: inherit;
  margin-bottom: 0;
  line-height: inherit;
  text-align: center;
  display: inline;
}
header h2 {
  font-size: inherit;
  font-family: News Cycle;
  text-transform: none;
  line-height: 1em;
}
header p.authors:after {
  content: ", ";
}
#content ul li:before {
  content: "– ";
  margin-left: @line-height * 2;
}
ul ul{
  margin-left: @line-height * 0;
}
ol {
  list-style-type: decimal;
  margin-left: @line-height * 2;
}
ol li {
  text-indent: 0;
}
.footnote ol li {
  margin-bottom: 0em;
  width: 100%;
  float: left;
}
.note {
  margin: @line-height;
  margin-left: 25%;
  text-indent: 0;
  font-family: News Cycle;
  font-size: 17px;
}
.note + p {
  text-indent: 0;
}
.noteA {
  width: 75%;
  float: right;
  margin: @line-height 0;
}
.noteB {
  width: 75%;
}
dl.meta {
  font-family: News Cycle;
  color: lightgray;
  font-size: 13px;
  line-height: 17px;
}
div.metadata {
  font-family: News Cycle;
  font-size: 13px;
  line-height: 17px;
  position: absolute;
  top: 0px;
  left: -15em;
  width: 15em;
}
div#go-up {
  clear: both;
  padding-top: @line-height * 2;
}
div#go-up a {
  border-bottom: none;
}
div#go-up a:hover {
  color: @color;
}


/* INDEX ----------------------------------------*/


.left-side h2 {
        text-transform: none !important;
        font-size: @font-size;
        text-align: left;
}
#index-left  {
    li:before {
        content: "― ";
    }
}

body.sort-id {
    h2 { display: none; }
}



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


@media print {
    .screen-only {
        display: none !important;
    }
    #nav-left { position: absolute;  }
    
    div.metadata { position: static; width: auto;}
}

@page {
    margin: 1cm;
}

@media only screen and (min-width: 200px) and (max-width: 850px) {
header{
margin-top:40px;
}
.middle{
width: 95%;
padding: 3% 1% 0% 1%;
}
.left-side , .right-side{
display: none;
}
.middle p{
font-size: 15px ;
line-height: 23px ;
}
p + p {
  text-indent: 0;
}
header p,
header h2 {
  text-align: left
  display: block;
}
div.mobile-nav {
display: block;
a{
font-size: 15px;
  }
}
nav#nav-right{
display:none;
}
}

@media screen {
    .print-only {
        display: none;
    }
}
@media print {
    .screen-only {
        display: none;
    }
}



