/** Fonts */

@font-face {
  font-family: Fraunces;
  src: url("/static/almanac/fonts/fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
}


@font-face {
  font-family: "Adelphe Germinal";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalRegular.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: "Adelphe Germinal";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalSemiBold.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalSemiBold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Adelphe Germinal";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalBold.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}


@font-face {
  font-family: "Crickx";
  src: url("/static/almanac/fonts/crickx/Crickx_Crickx.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: "dindong";
  src: url("/static/almanac/fonts/dindong/DINdong.woff2") format("woff2"),
       url("/static/almanac/fonts/dindong/DINdong.woff") format("woff"),
       url("/static/almanac/fonts/dindong/DINdong.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "PicNic";
  src: url("/static/almanac/fonts/picnic/PicNic-Regular.woff2") format("woff2"),
       url("/static/almanac/fonts/picnic/PicNic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "PicNic";
  src: url("/static/almanac/fonts/picnic/PicNic-Regular.woff2") format("woff2"),
       url("/static/almanac/fonts/picnic/PicNic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "familjen";
  src: url("/static/almanac/fonts/familjen/static/FamiljenGrotesk-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
    --color: black;
    --serif: "Junicode-Condensed";
    --sans: "familjen";
    --body-font: var(--sans);
    --header-font: var(--serif);
    --mono: Monospace;
    --font-lettrine: "Young Serif";
    --font-size: 16pt;
    --line-height: 21pt;
    --font-size-small: 12px;
    --highlight-color: #f2f2ff;
    --bleu-bille: #112B92;
    --vert-karel: #00B788;
    --orange-karel: #ff5900;
    --rose-karel: #FCBFC4;
    --rose-pale: #ffe1e4;
    --red-question: #ff3f00;
    --button-color: #f2f2ff;
    --button-color--hover: #d4d4fa;
    --button-color--active: #b8b8d4;
}


/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #d6d6d6;;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    color: rgb(0, 71, 171);

}

/* 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, html {
    color: var(--color);
    font-family: var(--body-font);
    font-size: var(--font-size);
    line-height: var(--line-height);
  font-variant-numeric: oldstyle-nums;
}
body {
    padding: calc(var(--line-height) / 2);
      font-family: "Fraunces", "Adelphe Germinal";
  /*font-family: DinDong, var(--body-font);*/
}

/* Insertion du pad dans la page */
iframe {
    outline: 1px solid #333;
}
iframe#ether {
    height: calc(100vh - 4em);
    min-height: 450px;
    max-width: 50em;
    margin: auto;
    width: 100%;
}
/* Style des niveaux de titre */
h1, h2, h3, h4, h5, h6 {
    font-size: var(--font-size);
    font-weight: bold;
    font-family: var(--header-font);
    margin: 0;
    margin-top: 0;
    margin-bottom: var(--line-height);
    margin-top: calc(2 * var(--line-height));
    clear: both;
    font-family: Crickx ;
}
h1 {
    font-size: var(--font-size);
    line-height: var(--line-height);
    margin: var(--line-height) 0;
    font-family: Crickx ;
    font-weight: normal;
}
#content h1 {
    font-size: calc(var(--font-size) * 3.5);
    line-height: 1em;
    margin: 5em 0;
}
h2 {
    font-size: calc(var(--font-size) * 1.5);
    text-transform: uppercase;
    font-family: var(--header-font);
    font-weight: normal;
    
    font-family: Crickx ;
    line-height: 0.9em;
}
h3 {
    text-transform: uppercase;
    margin: var(--line-height) 0;
    font-family: var(--header-font);
    font-weight: normal;
    
    font-family: Crickx ;
}
h4 {
    text-decoration: underline;
}
img {
    max-width: 40vw;
    float: left;
    margin: calc(var(--line-height) / 2);
    display: block;
}
img.inline {
    display: inline;
    vertical-align: top;
    margin: 0;
    height: 1em;
}
img.large {
    width: 90%;
    max-width: none;
    margin: auto;
}
.thumbnail {
    max-width: 30%;
}
blockquote {
    font-family: var(--sans);
    font-size: var(--font-size);
    margin: var(--line-height) calc(2 * var(--line-height));
    font-size: calc(1.2 * var(--font-size));
line-height: calc(1.1 * var(--line-height));
}
p {
    margin-bottom: var(--line-height);
  /*  clear: both;*/
}
hr {
    border: 0;
    height: var(--line-height);
    margin: 0;
    border-bottom: 1px dotted black;
}
/* hr + hr {
    display: block;
    border-bottom: 1px solid black;
} */
code, pre {
    font-family: var(--mono);
    white-space: pre-wrap;
}
pre {
    outline: 1px solid var(--color);
    padding: var(--line-height);
    width: 75%;
}
/* Style des lÃ©gendes d'images */
figcaption {
    font-family:  var(--sans);
    font-size: var(--font-size-small);
    line-height: 1.3em;
    text-align: center;
    margin-bottom: var(--line-height);
}
/* Style des frames de vidÃ©o ou autres objets hors image */
figure iframe {
    max-width: 70%;
    margin: var(--line-height) auto;
    display: block;
}
audio,
video {
    display: block;
    clear: both;
    margin: auto;
    margin-bottom: calc(var(--line-height) * 2);
}

/* Style des notes de bas de pages */
.footnote {
    font-size: var(--font-size-small);
    line-height: 1.3em;
    margin-bottom: calc(2 * var(--line-height));
}
.footnote p {
    margin-bottom: 0;
}
/* INLINES ------------------------------------- */
/* Style des liens hypertextes */
a,
a:visited {
    text-decoration: none;
    color: var(--color);
}
.printFolder--pad--content a,
.printFolder--pad--content a:visited {
    text-decoration: none;
    color: var(--color);
/*    background: lightgray;
    border-radius: 14px;*/
    text-shadow: 0 0 10px gray;
}
/* 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: var(--color);
}
/* 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:  var(--sans);
}
/* Style du texte soulignÃ© */
u {
    text-decoration: none;
    border-bottom: 2px solid yellow;
}
dt {
    font-style: italic;
    display: inline;
    font-family: var(--sans);
}
dt:after {
    content: ": ";
}
dd {
    display: inline;
    margin:0;
}
dd:after {
    content:'\0A';
    white-space:pre;
}
dd + dd {
    margin-left: calc(var(--line-height) * 2);
}
.metadata dt,
.metadata dd {
    float: left;
}
.metadata dt {
    clear: both;
    margin-right: 4px;
}
.metadata dd +dd {
    margin-left: 0;
}
.metadata dd:after {
    content: ", ";
}
.metadata dd:last-child:after {
    content: "";
}
.metadata dt.meta-participants {
    display: none;
}
.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:  var(--sans);
}

p.voice {
font-family: crickx;
margin-right: 4px;
text-indent: 0;
margin-left: 0;
}

.voice:after {
    content: " ";
}

/* FORMS -------------------------- */
form {
    margin-bottom: none;
}
form label, form textarea {
    font-family: inherit;
    font-size: inherit;
}
form input, form textarea, form select {
        background: none;
        border-style: solid;
        border-color: #333;
        border-width: 1px;
        border-radius: 3px;
        font-family: sans-serif;
        font-size: inherit;
}
form label {
    display: inline-block;
    width: 15ch;
}
form label.checkbox {
    width: initial;
}
/* Style de l'Ã©lÃ©ment activÃ© */
form input:focus, form textarea:focus {
    background-color: white;
}
form input[type=text],
form input[type=password],
form select {
    padding: 5px;
    width: 30ch;
    display: inline-block;
}
.form-row {
    margin-bottom: calc(.5 * var(--line-height));
    padding-bottom: calc(.5 * var(--line-height));
}
.form-row--checkbox {
    padding-left: 15ch;
    margin-top: calc(-.5 * var(--line-height));
    margin-bottom: calc(.5 * var(--line-height));
}
.form-row--button {
    padding-left: 15ch;
}
.form-row--message {
    padding-left: calc(1 / .8 * 15ch);
    margin-bottom: calc(.5 * var(--line-height));
    font-size: 80%;
}
.form-row + .form-row--message {
    margin-top: calc(-.75 * var(--line-height));
}
.form-row--button + .form-row--message {
    margin-top: calc(.5 * var(--line-height));
}
/* GENERIC CLASSES -------------------------------- */
/* Style des boutons */
.button,
form input[type=submit] {
    cursor: default;
    color: var(--color);
    padding: .4rem 1rem;
    border: none;
    text-decoration: none;
    background-color: var(--button-color);
    border-radius: 3px;
    letter-spacing: 1px;
    font-size: var(--font-size-small);
    line-height: var(--font-size-small);
    text-transform: uppercase;
    font-family: var(--sans);
}
.button:hover,
form input[type=submit]:hover {
    background-color: var(--button-color--hover);
}
.button:active,
form input[type=submit]:active {
    background-color: var(--button-color--active);
    box-shadow: 0px 0px 2px inset #333;
}
/* 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: var(--line-height) 0;
}
/* Style des sous-parties de containers */
.left-side, .middle, .right-side {
    float: left;
    position: relative;
}
.left-side:not(:empty),
.right-side:not(:empty)  {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-top: calc(2 * var(--line-height));
    max-width: 30vw;
}
.middle:not(:empty) {
    max-width: 50em;
    padding: var(--line-height) calc(2 * var(--line-height));
}
.write-mode .middle,
.write-public-mode .middle {
    width: 70%;
    max-width: 50em;
    padding: 0 var(--line-height);
}
/* Pour les inclusions de pads dans les compilations */
#content .middle {
    width: 100%;
}
/* NAV ------------------------------------------ */
/* Navigation */
nav {
    font-family: var(--sans);
    line-height: var(--line-height);
    position: fixed;
    top: 0;
    background-color: white;
    padding: calc(var(--line-height) / 4);
    z-index: 1000;
}
nav#nav-left {
    left: 0;
    width: 100%;
}
nav#nav-right {
    right: 0;
    text-align: right;
}
nav div#staff-menu {
    display: inline;
    color: darkgray;
}
nav h1 {
    display: inline;
}

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

/* Texte prÃ©cÃ©dent/suivant */
div#previous a,
div#next a {
    position: fixed;
    top: 6.5em;
    font-family:  sans-serif;
    font-size: var(--font-size-small);
    line-height: 1.2em;
    padding: var(--line-height);
    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: 0;
}
div#next a {
        right: 0;
}
/* MAIN CONTENT ---------------------------------- */
header {
    margin-top: var(--line-height);
    font-size:  calc(2.5 * var(--font-size));
    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: 20pt;
display: inline-block;
word-wrap: break-word;
line-height: 18pt;
  font-family: Crickx;
}
header p.authors:after {
    content: ", ";
}
#content ul li:before{
  content: "—";
  position: absolute;
  left: -2.5ch;
} 
#content ol li:before,
article ol li::before {
    display: none;
    }
nav span:before {
   /* content: " â€” ";*/
   content: "— ";
}
ol {
    list-style-type: decimal;
    margin-left: calc(2 * var(--line-height));
}
.footnote ol li {
    margin-bottom: 0em;
}
dl.meta {
    font-family: var(--sans);
    color: lightgray;
    font-size: var(--font-size-small);
   line-height: 1.25em;
}
div.metadata {
   font-family: var(--sans);
   font-size: var(--font-size-small);
   line-height: 1.25em;
   position: absolute;
   top: 0px;
   left: -15em;
   width: 15em;
}

#syntax-help {
    font-family: var(--sans);
    font-size: var(--font-size);
    line-height: var(--line-height);
    position: sticky;
    max-height: calc(75vh);
    width: 400px;
    position: absolute;
    top: calc(-1 * var(--line-height));
    right: 0;
    padding: .5em;
    background: white;
    z-index: 1;
    overflow-y: auto;
 }
div#go-up {
    clear: both;
    margin-top: calc(2 * var(--line-height));
}
div#go-up a {
    border-bottom: none;
}
div#go-up a:hover {
    color: var(--color);
}

/* 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;
}
.manage_list li {
    border-bottom: 1px solid #c6c6fe;
    padding: 0.5em 0 0.5em 0;
}
#content .manage_list li.pad::before {
    margin-left: calc(0.5 * var(--line-height));
    margin-right: calc(0.5 * var(--line-height));
    content: 'ðŸ—Ž';
    content: "— ";
}
#content .manage_list li.folder::before {
    margin-left: calc(0.5 * var(--line-height));
    margin-right: calc(0.5 * var(--line-height));
    /*content: 'ðŸ—€';*/
    content: "  ";
    width: 30px;
    height: 20px;
    min-width: 30px;
    border: 1px solid black;
    border-radius: 5px;
    display: inline-block;
}
.manage_list li:hover {
    background-color: var(--highlight-color);
}
.manage_list li .actions {
    float: right;
}
.manage_list li .actions .button {
    font-size: 60%;
}

.manage_list li .actions .button--delete:hover {
    color: crimson;
}
.pagination {
    text-align: center;
    padding-top: .5em;
}
.pagination .step-links.previous {
    float: left;
}
.pagination .step-links.next {
    float: right;
}
.pad-list--path, .pad-list--actions {
    background: white;
    position: sticky;
    padding: .5em .2em;
}
.pad-list--path {
    top: 2em;
    display: flex;
    column-gap: .5ch;
}
.pad-list--path--separator::before {
    content: '>';
    color: grey;
}
.pad-list--path .push {
    margin-left: auto;
    margin-right: 0;
}
.pad-list--actions {
    bottom : 0;
}
#content span[property] {
    background-color: lightgrey!important;
}
.toc {
        position: sticky;
        top: calc(3 * var(--line-height));
        font-family: dindong;
}

.readFolder article {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* margin-right: calc(50% - 50vw + 2em); */
    justify-content: space-between;
    margin-bottom: calc(5 * var(--line-height));
}

.readFolder article .readFolder--pad--content {
    max-width: 60ch;
}

.readFolder aside {
    position: sticky;
    top: 3em;
    margin-left: 2em;
    max-width: 20ch;
}

.readFolder .comment {
    display: none;
}

.readFolder #go-up {
    display: none;
}

.readFolder .wrap + .wrap .right-side {
    display: none;
}

.readFolder .wrap + .wrap .middle {
    width: initial;
    max-width: 100%;
}

.readFolder .wrap + .wrap .left-side {
    min-width: 20ch;
    word-break: break-all;
}

.readFolder .wrap + .wrap h2 {
    word-break: break-all;
}


/**
    Write mode as grid to make pad full width.
*/
body.write-mode {
    display: grid;
    grid-template-rows: min-content min-content 1fr;
    grid-template-columns: minmax(200px, 1fr) minmax(50%, 50em) minmax(200px, 1fr);
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
}
.write-mode #nav-left {
    position: relative;
    grid-column-end: span 2;
}
.write-mode #nav-right {
    position: relative;
}
.wrap {
    grid-column-end: span 3;
}
.wrap + .wrap {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(50%, 40em) minmax(200px, 1fr);
}
.write-mode .wrap + .wrap .left-side {
    display: none;
}
.write-mode .wrap + .wrap .middle {
    grid-column: 1 / span 3;
    grid-row: 1;
    width: 100%;
    max-width: initial;
    padding: 0
}
.write-mode .wrap + .wrap .right-side {
    grid-row: 1;
    grid-column: 3;
    display: none;
}

iframe#ether {
    min-height: 450px;
    margin: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: initial;
    flex: 1 0;
    height: 100%;
}
.write-mode #content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media screen and (max-width: 1200px) {
    

}


/**
    Write mode as grid to make pad full width.
*/
body.search-results {
    display: grid;
    grid-template-rows: min-content min-content 1fr;
    grid-template-columns: minmax(200px, 1fr) minmax(50%, 50em) minmax(200px, 1fr);
    padding: 0;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}
.search-results #nav-left {
    position: relative;
    grid-column-end: span 2;
}
.search-results #nav-right {
    position: relative;
}
.search-results  .wrap {
    grid-column-end: span 3;
}
.search-results  .wrap + .wrap {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(50%, 40em) minmax(200px, 1fr);
    overflow: hidden;
}
.search-results .wrap + .wrap .left-side {
    display: none;
}
.search-results .wrap + .wrap .middle {
    grid-column: 1 / span 3;
    grid-row: 1;
    width: 100%;
    max-width: initial;
    padding: 0;
    height: 100%;
    overflow: hidden;
}
.search-results .wrap + .wrap .right-side {
    grid-row: 1;
    grid-column: 3;
    display: none;
}

iframe#ether {
    min-height: 450px;
    margin: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: initial;
    flex: 1 0;
    height: 100%;
}
.search-results #content {
    display: flex;
    flex-direction: column;
    height: 100%;
}



.ether-wrapper {
    display: grid;
    overflow: hidden;
    /*! max-height: 100%; */
    height: 100%;
    grid-template-columns: 1fr 2fr;
}
.search-results .result-list {
    /*! padding: var(--line-height); */
    overflow-y: scroll;
    /*! max-height: 100%; */
    /*! display: none; */
    height: 100%;
}
.search-results li {
    padding: calc(.5 * var(--line-height)) var(--line-height);
    border-bottom: 1px solid;
    cursor: pointer;
}
#content .search-match {
    background: var(--button-color--hover) !important;
    display: inline-block;
}
.search-results li:hover {
    background: var(--highlight-color);
}


@font-face {
  font-family: Fraunces;
  src: url("/static/almanac/fonts/fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalRegular.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalItalic.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GereminalSemiBold.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalSemiBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalSemiBoldItalic.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalSemiBoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalBold.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Adelphe";
  src: url("/static/almanac/fonts/adelphe/Adelphe-GerminalBoldItalic.woff2") format("woff2"),
       url("/static/almanac/fonts/adelphe/Adelphe-GerminalBoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Crickx";
  src: url("/static/almanac/fonts/crickx/Crickx_Crickx.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "dindong";
  src: url("/static/almanac/fonts/dindong/DINdong.woff2") format("woff2"),
       url("/static/almanac/fonts/dindong/DINdong.woff") format("woff"),
       url("/static/almanac/fonts/dindong/DINdong.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "PicNic";
  src: url("/static/almanac/fonts/picnic/PicNic-Regular.woff2") format("woff2"),
       url("/static/almanac/fonts/picnic/PicNic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: STIXTwoText;
  src: url("/static/almanac/fonts/stixtwotext/STIXTwoText-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: STIXTwoText;
  src: url("/static/almanac/fonts/stixtwotext/STIXTwoText-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
}

@font-face {
  font-family: TGL;
  src: url("/static/almanac/fonts/TGL 0-16.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: LM;
  src: url("/static/almanac/fonts/latinModern/lmmono10-italic.otf");
  font-style: italic;
}
@font-face {
  font-family: familjen;
 /* src: url("/static/almanac/fonts/amiamie/Amiamie-Regular.otf ");*/
}
@font-face {
  font-family: familjen;
  src: url("/static/almanac/fonts/amiamie/Amiamie-RegularRound.otf ");
}
@font-face {
  font-family: AmiamieRound;
  src: url("/static/almanac/fonts/amiamie/Amiamie-RegularRound.otf ");
}

:root {
  --font-family: "STIXTwoText";

}
body {
    font-family: var(--font-family);
    }
    
body.r-mode  .middle:not(:empty) {
  max-width: 50em;
  padding: var(--line-height) calc(2 * var(--line-height));
  width: 70%;
  margin: auto;
}
u {
  text-decoration: none;
  border-bottom: 2px solid black;
}
#content ul li::before {
  content: "—";
  position: absolute;
  left: 2ch;
}
figure.half {
  width: 50%;
}
img {
  width: 100%;
}
figcaption {
  font-family: var(--sans);
  font-size: 0.6em;
  line-height: 1.3em;
  text-align: center;
  margin-bottom: var(--line-height);
}
p.read-more::before {
  content: "≽ ";
}
body.introduction code, 
pre {
  outline: 0px;
  padding-left: calc(1 * var(--line-height));
  padding-right: 0;
  width: 100%;
  margin: 0;
    margin-bottom: 0px;
  font-family: LM;
}
strong {
  font-weight: 500;
}
figcaption em, 
body.recipe figcaption em, 
body.recipe-score figcaption em, 
.column-all dl em {
  font-family: Crickx !important;
  font-style: normal;
}
.easy-read {
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding: calc(.5 * var(--line-height) - 1px) 0;
  margin-bottom: calc(var(--line-height) - 1px);
  margin-right: 10px;
  font-family: amiamieRound !important;
line-height: calc(0.85  * var(--line-height)) !important;
font-size: calc(0.8 * var(--font-size));
}
.easy-read::before {

    content: "easy read";
    display: block;
    text-align: center;
    border-bottom: 1px solid;
    margin-bottom: calc(.5 * var(--line-height));
    font-family: amiamieRound;
    text-transform: uppercase;
    letter-spacing: 0.83em;
    padding-bottom: calc(.5 * var(--line-height));


}
header h2 {
font-size: 0.9em;
  display: inline-block;
  word-wrap: break-word;
line-height: inherit;
  font-family: Crickx;
}
h2 {
  font-size: calc(var(--font-size) * 1.4);
  text-transform: uppercase;
  font-family: var(--header-font);
  font-weight: normal;
  font-family: Crickx;
  line-height: 1.1;
}
header h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: inherit;
  padding: 0;
  position: relative;
  top: -.25rem;
  line-height: 1.1;
}
h4 {
  padding-top: var(--line-height);
  margin-bottom: 0;
  margin: var(--line-height) 0 0 0;
  font-family: inherit;
  font-size: 1em;
  text-decoration: underline;
  margin-bottom: 3px;
  padding: 0;
}
img {
  max-width: 100%;
  float: left;
margin: calc(var(--line-height) / 2) 0;
  display: block;
}
figure {
  max-width: 50vw;
}
blockquote {
  font-family: var(--sans);
  font-size: var(--font-size);
  margin: var(--line-height) calc(4 * var(--line-height));
font-size: calc(0.9 * var(--font-size));
line-height: calc(1 * var(--line-height));
}
hr {
    visibility: hidden;
  border: 0;
  height: var(--line-height);
  margin: 0;
  border-bottom: 1px dotted black;
}
strong em {
  font-family: adelphe;
  font-style: italic;
  font-weight: bold;
}

.footnote ol{
    margin-left: 0;
    }
.footnote li p {
  font-size: 140%;
  text-indent: 0;
  line-height: 134%;
}
.contributor, 
body.astrology header p.contributor,
body.statement header p.contributor,
body.tools header p.contributor,
header p.contributor  {
  display: block;
  font-style: normal;
  font-family: Dindong;
  font-variation-settings: "opsz" 1,"WONK" 1;
font-size: 18pt ;
  line-height: var(--line-height);
  text-transform: uppercase;
  hyphens: none;
  

margin-top: 0;
margin-bottom: initial;
}

/*    astro */

body.astrology header h2 {
  font-family: "Fraunces";
  font-variation-settings: "opsz" 1,"WONK" 1;
  margin-top: calc(0.3 * var(--line-height));
  text-align: center;
  margin-bottom: 0;


  z-index: 1;
  width: 100%;
}
body.astrology  header h3, 
body.astrology  header h4, 
body.astrology  .header h4 {
  font-family: "Dindong";
  margin-top: calc(1 * var(--line-height));
  text-align: center;
  margin-bottom: calc(2 * var(--line-height));
  font-size: 18pt;
  line-height: 14pt;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  font-weight: normal;
}
body.astrology p {
  font-family: "Dindong";
  font-size: 1.2em;
line-height: 1.2em;
margin-bottom: calc(var(--line-height) * 0.5);
letter-spacing: -0.005em;
}
/*    essays */
[data-slug="relationalityRest"] strong {
  font-family: lm;
  font-size: 1em;
  line-height: calc(0.4 * var(--line-height));
  letter-spacing: -0.03em;
}
body.essay header h2, 
body.essay header h3, 
.toc li.essay {
  font-family: fraunces;
  font-variation-settings: "opsz" 22,"WONK" 1;
  text-transform: uppercase;
  line-height: 1.1;
  width: 100%;
  }

body.essay header h3 {
    line-height: calc(var(--line-height) * 1.4);
margin-top: -0.25rem;
margin-bottom: calc(var(--line-height) * 0.5);
    }
body.essay h2, 
body.essay h3 {
    text-align: center;
  font-family: fraunces;
  font-variation-settings: "opsz" 22,"WONK" 1;
  text-transform: uppercase;
  width: 52%;
margin: auto;
margin-bottom: var(--line-height);
margin-top: calc(3 * var(--line-height));
    }
body.essay span.first-letter{
font-size: 2.5em;
font-family: fraunces;
font-variation-settings: "opsz" 1, "WONK" 1;
padding-top: 0.25em;
float: left;
margin-right: 4px;
}
/*    letter */

body.project-description div.letter header h2, 
body.letter header h2 {
  display: block;
  margin-bottom: .5em;
  font-family: fraunces;
  line-height: 1.1;
  text-align: left;
  margin-top: 0;
  max-width: 70%;
  hyphens: none;
  font-size: 0.8em;
}
body.letter header h3 {
  text-align: left;
  float: left;
  display: inline-block;
  margin-top: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  height: min-content;
  top: auto;
  max-width: 55%;
}
div.letter h3, body.letter h3 {
  padding: 0;
  font-family: fraunces;
  line-height: 10.5pt;
width: 70%;
  text-align: left;
  margin-left: 0;
  margin-top: 4em;
  font-size: 20pt;
line-height: 1.1;
}

body.letter header p.contributor {
  text-align: right;
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 40%;
}
div.letter header, 
body.letter header {
  height: calc(11 * var(--line-height));
  position: relative;
  margin-bottom: 2.5em;
  display: flex;
  justify-content: space-between;
  margin-top: 1.5em !important;
  width: 50vw;
}
[data-slug="enter-public-state"] div.tools {
  outline: 1px solid black;
  outline-offset: 10px;
padding: 1em;
margin-top: 3em;
}
[data-slug="enter-public-state"] div.tools h2 + h3 ,
[data-slug="enter-public-state"] div.tools h2 + p {
  margin-top: 2em !important;
}
[data-slug="enter-public-state"] div.tools h2 + h2{
  background: lightgray;
  
  margin-top: 0em !important;
}
div.tools.v-get-return h2 {
  text-align: center;
  max-width: 100%;
  margin-bottom: calc(1 * var(--line-height));
}
div.tools.v-get-return h2 {
  text-align: center;
  max-width: 100%;
  margin-bottom: calc(1 * var(--line-height));
}
div.tools h2#health-care, 
div.tools h2#for-parents, 
div.tools h2#pension {
  padding-top: 8px;
}
[data-slug="enter-public-state"] #content ul li::before {
  content: "—";
  position: absolute;
  left: 3.8ch;
}
body.project-description [data-type="letter"] * ,
body.project-description div.letter *{
  font-family: "dindong";
  
  break-before: none;
}
body.project-description div.letter {
margin-top: calc(2 * var(--line-height));
}
.question-test {
  font-size: 1.3em;
  line-height: calc(1.3 * var(--line-height));
  margin-bottom: calc(1 * var(--line-height));
  column-span: all;
  text-indent: 0;
  margin-top: var(--line-height);
  break-inside: avoid;
}
/*    interview */
body.interview header h2 {
  font-size: 1em;
  display: inline-block;
  word-wrap: break-word;
  line-height: inherit;
  font-family: Crickx;
  line-height: 1.1;
}
body.interview .voice {
  font-family: crickx;
  text-decoration: none;
}
/*    statement */
body.statement header h2, 
body.statement header h3, 
body.statement h2, 
body.statement p,
body.statement li {
  font-family: LM;
  text-transform: initial;
  letter-spacing: -0.008em;
}
h2#seven-solutions {
    font-size: 3rem;
margin-top: 2em;
    }
body.resource-list header h2, 
body.letter div.resource-list h2.header {
  font-family: adelphe;
  margin: auto;
  float: none;
  padding-right: 0;
  font-style: italic;
  font-weight: bold;
  text-transform: capitalize;
font-size: 1em;
line-height: 1.1;
  margin-top: 0;
  padding-bottom: calc(0 * var(--line-height));
  margin-bottom: 0;
  max-width: 100%;
  border-left: 0px solid;
}
body.resource-list h2, 
body.letter div.resource-list h2 {
  text-align: left;
  float: left;
  padding-right: 0.4em;
  padding-top: 0;
  font-family: adelphe;
  font-style: italic;
  font-weight: bold;
  text-transform: capitalize;
  font-size: 2em;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 50%;
}
body.resource-list #content ul li::before, 
body.letter div.resource-list ul li::before {
    content: "—";
}
body.resource-list ul li em {
  font-family: adelphe;
  font-style: italic;
  font-weight: bold;
}
body.resource-list ul {
    margin-bottom: 2em;
}
body.resource-list h2 + ul {
clear: both;
}
body.resource-list ul li,
body.letter div.resource-list ul li {
    margin-bottom: calc(0.3 * var(--line-height));
    }
h2#seven-hints-for-art-education {
    float: none;
    }
body.resource-list h3, 
body.letter div.resource-list h3 {
  margin: 0;
  font-family: adelphe;
  font-style: italic;
  font-weight: bold;
}
/*    tools */
body.tools, 
body.letter div.tools, 
body.project-description div.tools {
  font-family: familjen;
}
body.tools header h2, 
body.letter div.tools header h2 {
  font-family: familjen;
  margin-top: initial;
  line-height: 1.1;
  margin-top: 0;
}
body.tools h2, 
body.letter div.tools h2, 
body.project-description div.tools h2 {
  margin-bottom: calc(1 * var(--line-height));
  font-family: familjen;
  max-width: 80%;
  margin-top: 3em;
}
.r-mode [data-slug="enter-public-state"] div.tools h2 {
margin-top: -1.4em !important;
background: white;
z-index: 100;
display: inline-block;
position: absolute;
column-span: all;
    }
body.tools  h3, 
body.letter div.tools h3, 
body.project-description  div.tools h3 {
  font-family: familjen;
  line-height: 1.1;
font-size: 1.5rem;
  border-bottom: 0px solid black;
  text-align: center;
  text-transform: lowercase;
  margin: calc(0.5 * var(--line-height)) 11%;
  width: inherit;
}
body.tools p.contributor,
body.letter div.tools  p.contributor {
  text-align: center;
  font-size: 0.9em;
margin-top: -0.65em;
margin-bottom: 0;
}
body.tools h2.column-all {
  text-align: center;
  max-width: 100%;
}

/*    project-description */
body.project-description *, 
.toc li.project-description {
  font-family: familjen;
}
body.project-description code, code {
  letter-spacing: -0.008em;
  font-family: LM;
}
body.project-description  h3 {
    line-height: 1.1;
    }
/*    visual-contribution */
body.visual-contribution p:not(.contributor),
body.visual-contribution header h2 {
  font-family: familjen;
}
body.visual-contribution[data-slug="bees-song"] blockquote {
  margin-top: calc(1.5 * var(--line-height));
  margin-bottom: calc(1.5 * var(--line-height));
}
.middle[data-slug="bees-song"] {
  background-image: url(https://almanac.state-of-the-arts.net/filer/canonical/1687377686/332/);
  background-size: 100%;
  color: white;
}
/*    recipe */
body.recipe *, 
.toc li.recipe, 
body.recipe-score *, 
.toc li.recipe-score, 
body.essay div.recipe * {
  font-family: TGL;
}

/*    game */
div.game {
  margin-left: 0px;
  float: none;
  width: calc(8 * var(--column-width));
  border: 3px dotted;
  padding: 10px;
  column-count: 1;
}
body.game p, 
body.statement .game p, 
.game p, 
.game li {
  font-family: amiamieRound;
  font-weight: bold;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

body.game h2, 
div.game h2, 
body.essay div.game h2, 
.toc li.game {
  font-style: normal;
  font-family: tgl;
  margin-top: calc(.5 * var(--line-height)) !important;
  margin-bottom: calc(.5 * var(--line-height));
  line-height: 105%;
}


[data-type="game"]::before {

    content: "Just a game";
    position: absolute;
    left: calc(-0.3 * var(--line-height));
    transform: top right;
    writing-mode: sideways-lr;
    font-family: amiamieRound;
    font-weight: bold;
    letter-spacing: 0.03em;
    font-size: 1rem;

}

figure.care-manuel img {
border: 1px solid;
}
.column-all figcaption, 
.full figcaption {

/* margin-top: calc(100% + var(--line-height));*/
}

/** ALMANAC HOMEPAGE */
.almanac-index h1, h2, h3, h4, h5, h6 {
    clear: unset;
    margin-top: 0;
    margin-bottom: 0;
}

.almanac-index .chapter {
    display: grid;
    grid-template-columns: 25vw 1fr;
    column-gap: 3ch;
}


.almanac-index .chapter > * {
    grid-column: 2;
}

.almanac-index .chapter img {
    grid-column: 1;
    grid-row-end: span 3;
    position: sticky;
    top: 5rem;
}

.almanac-index .middle:not(:empty) {
    max-width: calc(50em + 500px);
}

.almanac-index ul {
    list-style-type: none;
}

.almanac-index li::before {
    display: none;
}


.almanac-index .chapter h6 {
  font-family: 'dindong';
    font-size: .75rem;
}


.almanac-index h1, h2, h3, h4, h5, h6 {
    clear: unset;
    margin-top: 0;
    margin-bottom: 0;
}

.chapter {
    margin: var(--line-height) 0 calc(4 * var(--line-height));
}

.almanac-index h2 {
    font-family: 'Fraunces';
}

.almanac-index h2 + h3 {
    font-family: 'dindong';
    margin: calc(.5 * var(--line-height)) 0;
}

.almanac-index .chapter li {
    margin-top: var(--line-height);
}

.almanac-index .chapter li h3 {
    font-size: 150%;
    margin-bottom: 3px !important;
margin-top: 0 !important;
}

.almanac-index .wrap {
    display: none;
}

.almanac-index .wrap + .wrap {
    display: grid;
    grid-template-columns: minmax(20px, 1fr) minmax(50%, calc(50em + 25vw)) minmax(20px, 1fr);
}

.r-mode .wrap {
    display: grid;
    grid-template-columns: minmax(20px, 1fr) minmax(50%, calc(50em)) minmax(20px, 1fr);
}

.wrap .middle {
    grid-column: 2;
    padding-left: 0;
    padding-right: 0;
}

.almanac-index .wrap + .wrap .left-side,
.almanac-index .wrap + .wrap .right-side {
	display: none;
}

.logged-out a[href="/all/"] {
    display: none;
}

@media screen and (max-width: 800px) {
	:root {
		--font-size: 14pt;
		--line-height: 18.5pt;
     }
     
     .wrap .middle {
         padding: 0;
    }
    
    body.r-mode .middle:not(:empty) {
        width: initial;
        padding-left: 0;
        padding-right: 0;
    }
     
    .r-mode .wrap .left-side,
    .r-mode .wrap + .wrap .right-side {
        display: none;
    }
    
    blockquote {
        margin-left: var(--line-height);
        margin-right: var(--line-height);
    }
}

/** Compensate in manage list */
#content .manage_list li::before {
    left: 0ch;
}

#content .manage_list li {
    padding-left: 5.5ch;
}
