/*@font-face {
    font-family: Inika;
    font-weight: normal;
    src: url("/static/fonts/Inika-Regular.ttf");
}

@font-face {
    font-family: Inika;
    font-weight: bold;
    src: url("/static/fonts/Inika-Bold.ttf");
}
*/

@font-face {
    font-family: Bespoke;
    font-weight: normal;
    src: url("/static/fonts/TTT-1.otf");
}


@font-face {
    font-family: Fraunces;
    font-weight: normal;
    src: url("/static/fonts/Fraunces--latin_basic.woff2");
}
@font-face {
    font-family: Fraunces;
    font-style: italic;
    src: url("/static/fonts/Fraunces-Italic--latin_basic.woff2");
}
@font-face {
    font-family: "routed gothic";
    font-weight: normal;
    src: url("/static/fonts/routed-gothic-webfont.woff2");
}
@font-face {
    font-family: "routed gothic";
    font-weight: normal;
    font-style: italic;
    src: url("/static/fonts/routed-gothic-italic-webfont.woff2");
}
@font-face {
    font-family: "routed gothic wide";
    font-weight: normal;
    font-style: normal;
    src: url("/static/fonts/routed-gothic-wide-webfont.woff2");
}
@font-face {
    font-family: "routed gothic wide";
    font-weight: normal;
    font-style: italic;
    src: url("/static/fonts/routed-gothic-wide-italic-webfont.woff2");
}


:root {
    --color-gray: #555555;
    --color-green: #00a900;
    --color-purple: #BF00FF;
    --color-dark-purple: #853EDC;
    --color-pink: #faa6ff;
    --font-size: 20px;
    --font-size-small: calc(0.75 * var(--font-size));
    --line-height: 26px;
    --line-height-small: calc(0.75 * var(--line-height));
    --sans: Routed gothic, sans serif; 
}


body {
    font-family: Fraunces;
    font-variation-settings: 'wght' 377, 'opsz' 43, 'SOFT' 244, 'WONK' 1;
    margin: 1.5em;
    color: var(--color-gray);
    font-size: var(--font-size);
    line-height: var(--line-height);
    /*background-image: url("/static/img/Call_shapes_RGB1.png"), url("/static/img/Call_shapes_RGB2.png"), url("/static/img/Call_shapes_RGB4.png"), url("/static/img/Call_shapes_RGB5.png"), url("/static/img/Call_shapes_RGB6.png");*/
    background-repeat: no-repeat;
    background-size: 12%;
    background-position-y: bottom;
    background-position-x: 90px;
    background-attachment: fixed;
}



#intro a {
    margin-right: 0.5em;
}

#intro a,
#pad-menu a,
#content a,
#content a:hover,
#content a:visited {
    color: var(--color-gray);
    border-image: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    border-image-slice: 1;
    border-bottom: 2px solid;
    text-decoration: none;
    vertical-align: -0.1px;
    line-height: inherit;
    text-decoration: none;
    letter-spacing: -0.03em;
    
    font-family: routed gothic;
    font-weight: bold;
    font-size: 0.95em;
    margin: 0 2px;
}

#content .footnote a {
        border-bottom: 1px solid;
}



a:hover,
#pad-buttons a:hover,
a.button:hover {
    background-color: var(--color-pink);
    color: var(--color-gray);
    -webkit-text-fill-color: initial;
}

#pad-buttons {
    margin-left: var(--line-height);
    font-family: Routed gothic, sans serif;
    align-self: flex-start;
    position: fixed;
    right: 0;
    width: 5em;
    top: 1em;
    z-index: 10000;
}



h1 {
    font-family: Bespoke, sans-serif;
    font-size: 2em;
    color: var(--color-gray);
    line-height: calc(var(--line-height) * 2);
}
html {
      scroll-padding-top: 10rem;

}
  
#intro h2 {
    font-family: Bespoke, sans-serif;    
}
h2 span {
font-size: 0.7em;
font-family: routed gothic;
display: block;
line-height: calc(1.6 * var(--line-height));
margin-top: calc(0.15 * var(--line-height));
}
h2 {
font-family: Routed gothic, sans-serif;
font-size: 2.1em;
line-height: calc(1.6 * var(--line-height));
margin-top: calc(3 * var(--line-height));
margin-bottom: calc(0.1 * var(--line-height));
width: initial;
    width: initial;
    letter-spacing: -0.03em;
    
}


h2 + h3 {
    margin-top: calc(1 * var(--line-height));
    }
h2 + iframe {
    margin-top: 10px;
    }
h4 {
    font-family: "Routed Gothic";
    font-size: 1em;
    line-height: calc(1 * var(--line-height));
    margin-top: calc(1.5 * var(--line-height));
    margin-bottom: calc(0.2 * var(--line-height));
    text-transform: normal;
    clear:both;
    text-decoration: none;
    font-weight: bold;
    /*margin-left: 2em;*/
}
h4.poem {
    element {
  text-transform: uppercase;
  text-align: center;
  margin-left: calc(2 * var(--line-height));
}
    }
h3 + p {
    margin-top: 0;
    }
h2 strong,
h3 strong {
    display: inline-flex;
}

h3 span {
    display: block;
    font-size: var(--font-size);
    text-decoration: underline;
    margin-bottom: 1.2em;
}
h3 span.footnote {
    text-decoration: none;

} 
h3 {
font-family: Routed Gothic, sans-serif;
font-size: 1.2em;
line-height: calc(1.1 * var(--line-height));
margin-top: calc(2 * var(--line-height));
margin-bottom: calc(0 * var(--line-height));
margin-left: 0em;
font-weight: bold;
text-transform: uppercase;
letter-spacing: -0.03em;
}
h4 + p {
    margin-top: 0;
    }
.feed-backs {
margin-left: 2em;
text-indent: -2em;
margin-top: calc(0.5 * var(--line-height));
    }

h5 {
    display: inline-block;
    font-weight: bold;
    font-size: var(--font-size);
    font-family: Inika;
    margin-top: calc(0.2 * var(--line-height));
    margin-bottom: calc(0 * var(--line-height));
    margin-left: 2em;
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1em;
}

p {
    max-width: initial;
    //margin-top: calc(0.5 * var(--line-height));
    margin-bottom: 0;
}
p + p,
.float-right + p {
    margin-top: calc(0.7 * var(--line-height));
    
    }

.intro {
    margin-top: calc(2 * var(--line-height));
}
.intro p {
    font-family: "routed gothic";
    letter-spacing: -0.002em;
    }
.intro p:first-of-type {
    margin-top: 0;
    }
em {
    font-style: italic;
}

blockquote em {
  font-family: Routed gothic wide;
  font-size: 0.9em;
  letter-spacing: -0.05em;
    }
strong {
    font-weight: bold;
   //  background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    // -webkit-background-clip: text;
   //  -webkit-text-fill-color: transparent;
    color: var(--color-green);
}

sup {
 font-size: var(--font-size-small);
    vertical-align: 0.5em;
    line-height: 0;
}
p sup:last-of-type .footnote {
  margin-bottom: 2em;
}
p sup:first-of-type .footnote {
  margin-bottom: var(--line-height) !important;
}
u {
    text-decoration: none;
    border-bottom: 2px solid yellow;
}
#content dt {
    font-weight: bold;
    display: inline;
    font-family: var(--sans);
    margin-left: 0;
}
dt:after {
    content: ": ";
}
dd {
    display: inline;
    margin:0;
}
dd:after {
    content:'\0A';
    white-space:pre;
}
dd + dd {
    margin-left: calc(var(--line-height) * 2);
}

blockquote {
    padding: 1em 2em 1em 2em;
    font-style: normal !important;
}
blockquote > blockquote {
    margin-bottom: calc(-1 * var(--line-height));
    box-sizing: border-box;
}


blockquote p {
    font-family: routed gothic, sans serif;
    font-size: 1em;
    line-height: calc(0.9 * var(--line-height));
        letter-spacing: -0.02em;

    }
blockquote footer {
    font-family: Routed Gothic;
    font-size: var(--font-size-small);
    text-align: right;
}

blockquote p + blockquote {
    padding-top: 0;
    }
img {
    max-width: 100%;
    margin: calc(var(--line-height) / 2) 0;
    display: block;
}
audio {
   display: block;
   width: 60%;
   margin: var(--line-height) 0;
   background: var(--color-purple);
   margin-bottom: calc(0.5 * var(--line-height));
   }
.audio-output audio {
  display: inline-block;
  width: 48%;
  margin: 5px;
}
video {
   display: block;
   width: 100%;
   margin: var(--line-height) 0;
   margin-bottom: calc(0.5 * var(--line-height));
   }
p code, li code {
    outline: 1px solid var(--color-gray);
    font-family: Routed Gothic, monospace;
    padding: 0.1em 0.25em;
}

.figcaption  {
margin-left: 2em !important;
text-indent: -2em !important;

    }
.language {
margin-top:30px !important;
    
    }
.figcaption, 
.authors, 
.editors,
.working-group, 
#content .figcaption a,
.tools {
    font-size: var(--font-size-small);
    font-family: "routed gothic wide", sans serif;
    letter-spacing: -0.05em;
    margin-top: 0;
    margin-bottom: var(--line-height);
    line-height: var(--line-height-small);
    font-weight: bold;
    text-indent: 0;
    }
.tools {
  margin-top: calc(2 * var(--line-height));
}
#content  .tools a {
    letter-spacing: 0em;
    font-size: 1em;
    }
.figcaption + p,
.tools + p {
    text-indent: 0;
    }    
p + .tools {
    margin-top: 10px;}
.figcaption.list {
    margin-bottom: 0;
    }
    
hr {
    display: block;
    height: 0;
    border: 0;
    width: 100%;
}

hr + hr {
        border: 0;
    border-top: 1px dashed var(--color-gray);
    height: calc(var(--line-height) * 3);
    margin: 0;
    height: calc(var(--line-height) * 1);
    margin-top: calc(var(--line-height) * 1); 
    margin-bottom: calc(var(--line-height) * 1);

}
code, pre {
    font-family: Routed Gothic;
    white-space: pre-wrap;
}
pre {
    outline: 1px solid var(--color);
    padding: var(--line-height);
    width: 75%;
}


time {
    font-weight: bold;
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
}



input {
    background: white;
    border-image: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    border-image-slice: 1;
    font-family: Inika;
    font-size: var(--font-size);
    color: var(--color-gray);
    cursor: pointer;
}


/* GENERIC CLASSES ---------------------- */

.columns {
    column-count: 2;
    column-gap: var(--line-height);
}

.border-dotted {
    border: 5px dotted var(--color-purple);
    padding: 0.5em 1em;
    margin: 0.5em !important;
}

.border-dotted.round {
    border-radius: 100%;
    height: 24px;
    width: 0px;
    -webkit-text-fill-color: var(--color-gray);
    text-indent: -4px;
    display: inline-block;
    vertical-align: bottom;
}


.blink {
    font-size: 2em;
    margin: 1em !important;
    display: flex;
    justify-content: center;
    padding: 1em;
    animation: blinker 1s infinite;
}

.blink:hover {
    animation: none;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.gradient {
    color: var(--color-purple);
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
}

.float {
    float: left;
    max-width: 50%;
    box-sizing: border-box;
    padding: calc(var(--line-height) / 2);
}
.float-right {
    float: right;
    max-width: 50%;
    box-sizing: border-box;
    padding: calc(var(--line-height) / 2);
}  
/* ------ TOC -------*/
.toc {
    max-width: 270px;
    width: auto;
    position: fixed;
    top: 10em;
    left: 2em;
    height: 60vh;
    overflow: auto;
    background: white;
    box-sizing: border-box;
    overflow-x: hidden;
}
.toc::before {
content: "Table of content";
font-size: var(--font-size);
display: inline-block;
color: var(--color-dark-purple);
font-family: bespoke;
font-weight: normal;
margin: -2px;
padding: 5px;
background: white;
position: sticky;
position: -webkit-sticky;
height: 37px;
top: 0;
padding-left: 8px;
margin-left: -7px;
margin-bottom: 0px;
}
.toc,
.toc * {
    color: var(--color-dark-purple) !important;
    }
    
#content .toc a {
    border-image-slice: 0;
    border-bottom: 0;
    margin-left: 0;
    font-size: inherit;
    font-weight: normal;
    }
.toc ul li {
    font-family: Bespoke, sans-serif;
}
.toc ul li ul li {

}
#content .toc ul > li::before,
#content .toc ul > li > ul > li::before {
    content: " ";
}
#content .toc ul > li > ul > li::before {
    content: "— ";
}
#content .toc ul > li {
    margin-left: 0;
    margin-bottom: var(--line-height);
    max-width: 100%;
    line-height: calc(0.7 * var(--line-height));
}

#content .toc ul > li > ul > li > ul > li {
  font-family: routed gothic;
  margin-top: 0.3em;
  margin-bottom: 0em;
}
/* One level TOC*/
.TOC-1 #content .toc ul > li::before {
    /*content: "— ";*/
}

// .TOC-1 #content .toc ul > li::before {
//   content: ". ";
//  font-family: bespoke;
//  font-size: 2.6em;
//  vertical-align: 3px;
//  line-height: 0;
//  margin-right: 6px;
// }
.TOC-1 #content .toc ul > li {
    margin-bottom: 0.5em;
}
.TOC-1 #content .toc ul > li > ul {
    display: none;
}

.TOC-2 #content .toc ul > li > ul > li > ul {
    display: none;
}

/* External TOC */
.toc-external {
    width: 25em;
    position: fixed;
    bottom: var(--line-height);
    right: var(--line-height);
    font-size: var(--font-size-small);
}

.toc-external::before {
    content: "Related pages";
    display: block;
    font-family: Routed Gothic, sans serif;
}
.toc, #nav-toc {
        font-size: var(--font-size-small);
        line-height: var(--line-height-small);
        font-family: Routed Gothic;
    }

#nav-toc {
    display: none;
    color: var(--color-green);
}
#nav-toc a {
        color: var(--color-green);
}
#btn-menu::after {
    content: "↓";
    width: 1.5em;
    display: inline-block;
    vertical-align: 2px;
margin-left: 10px;
font-family: Routed Gothic;
font-size: 1.5em;
font-weight: bold;
vertical-align: -1px;
}
#btn-menu.active::after {
    content: "↑";
    width: 1.5em;
    display: inline-block;
margin-left: 10px;
}
#content .toc ul li,
ul#nav-toc li  {
  font-family: routed gothic wide;
  border-bottom: none;
  font-weight: normal;
  font-size: inherit;
  font-weight: normal;
//line-height: calc(0.8 * var(--line-height));
margin-bottom: 3px;
}
#content .toc ul li {
    margin-bottom: calc(0.5 * var(--line-height));
    }

#content ul li ul li,
ul#nav-toc li ul li  {
 font-family: routed gothic;
  border-bottom: none;
font-size: calc(0.8 * var(--font-size));
line-height: calc(0.9 * var(--line-height));
margin-bottom: 0;
}
#content ul li ul li a,
#content ul li ul li a:visited,
#content ul li ul li a:hover {
//line-height: calc(0 * var(--line-height));
    }

#content ul li::before {
  content: "— ";
}
#content ol > li::before {
  content: " ";
}
#content .toc ul li ul li::before,
ul#nav-toc li ul li::before {
  content: "o ";
  font-family: Bespoke;
  display: inline-block;
  margin-right: 6px;
  font-size: 1.2em;
  text-transform: initial;
}
#content ul > li > ul > li,
ul#nav-toc > li > ul {
    margin-left: 0;
    }
#nav-toc li ul li {

}
#content .toc ul > li > ul > li > ul > li::before {
content: ". " !important;
font-family: bespoke;
list-style-type: initial;
font-size: 3em;
line-height: 0;
vertical-align: top;
}




/* HEADER ----------------------------- */

nav {
    font-family: routed gothic, sans serif;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    height: 90vh;
    box-sizing: border-box;
    position: fixed;
}

nav hr {
    margin-top: calc(var(--line-height) * 0.5);
    margin-bottom: calc(var(--line-height) * 0.5);
    border-bottom: 1px solid var(--color-pink);
}


#pad-buttons a,
a.button,
#nav-toc li span,
#nav-toc li span {
    color: var(--color-gray);
    text-decoration: none;
    border: 1px solid  var(--color-gray) !important;
    display: inline-block;
    padding: 0.25em 0.5em !important;
    border-radius: 10px !important;
    line-height: 1em  !important;
    margin: 0.1em 0  !important;
    background-color: white;
    font-family: Routed gothic, sans serif;
    font-size: var(--font-size-small);
}
nav a {
    color: var(--color-gray);
    text-decoration: none;
    border: 1px solid  var(--color-gray) !important;
    display: inline-block;
    border-radius: 10px !important;
    line-height: 1em  !important;
    margin: 0.1em 0  !important;
    background-color: white;
    font-family: Routed gothic, sans serif;
    font-size: var(--font-size-small);
}
#content .toc > ul li a {
    font-family: Routed gothic wide, sans serif;
    font-size: var(--font-size-small); 
    letter-spacing: -0.05em;
    }
#content .toc > ul li ul li ul li a {
    font-family: Routed gothic, sans serif;
    font-size: var(--font-size-small); 
    letter-spacing: -0.003em;
    }
nav h1 a {
    border: none;
}

nav a + a:before {
    content: "";
    font-weight: bold;
}
nav h1 {
    font-size: 1.3em;
    margin: 0 0px var(--line-height);
}
h1 a#logo {
    font-family: Bespoke;
    color: var(--color-gray);
    white-space: pre-line;
    line-height: calc(var(--line-height) * 1.1);
    padding-top: 0.5em;
    text-decoration: none;
    margin-top: calc(var(--line-height) * -1.5);
    display: block;
    background: -webkit-linear-gradient(left, var(--color-green) 0, #faa6ff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    margin-bottom: var(--line-height);
    letter-spacing: 1.5px;
    text-transform: none;
    border: 0 !important;
    font-weight: bold;
    font-size: 1em;
margin-left: -3px !important;
padding-left: 4px !important;
margin: -3px !important;
padding: 5px !important;
}

/* MAIN MENU */

#main-menu:hover {

}
#main-menu details {
z-index: 1000;
position: relative;    
    }
    details[open] {
  height: 90vh;
  background-color: white;
}
#main-menu details * {
    color: var(--color-green);
    }
a#btn-menu {
    font-family: Routed Gothic Wide, sans serif;
    font-weight: bold;
}
a#btn-menu {
  font-family: bespoke;
  font-weight: normal;
  color: var(--color-green);
font-size: var(--font-size);
    margin: 0 0 10px 0 !important;
} 
div#main-menu {
        z-index: 10000;
	flex-grow: 1;
	font-size: var(--font-size-small);        
	line-height: var(--line-height-small);        
	font-family: Routed Gothic;
	width: 270px;
	height: 80vh;
	display: flex;
	flex-direction: column;
}
nav div#main-menu a,
#nav-toc li span,
.toc ul li{
    border: 0 !important;
    border-radius: 0 !important;
}
#nav-toc {
    background-color: white;
}

#staff-menu {
    display: none;
}
#staff-menu hr {
  display: none;
}
nav #staff-menu {
    display: block;
    position: fixed;
top: 0;
}

nav #superuser-menu a {
    color: var(--color-gray);
    background: none;
    -webkit-text-fill-color: initial;
    text-decoration: none;

}

#superuser-menu {
    display: none;
}

#sort-by,
#edit-menu,
#staff-menu {
    margin-top: calc(0.3 * var(--line-height));
}

#edit-menu a {
    color: var(--color-pink);
}
nav div#main-menu #staff-menu a {
    border: 1px solid black !important;
    border-radius: 10px !important;
}
#intro a, 
#pad-menu a, 
#nav-toc a, 
#nav-toc a:hover, 
#nav-toc a:visited,
#nav-toc li span  {
    font-family: unset;
    }
/* POPUP LOGIN --------------------------- */
.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;
}


/* STRUCTURE ----------------------------- */
body {
    display: flex;
}
body > div {
    flex-basis: 11em;
}
#nav {
    padding-right: var(--line-height);
    
    height: min-content;

}
#nav-left {
    
    height: 1vh;

    }
div.right {
    flex-grow: 1;
    padding: 0;
}
/* content width */
.r-mode #content {
    max-width: 60%;

}

.r-mode #content p,
.r-mode #content pre,
.r-mode #content code,
.r-mode #content li,
.r-mode header h2,
.r-mode #content h3,
.r-mode #content h4,
.r-mode #content h5 {
    max-width: initial;
}



#pad-menu {
    margin-bottom: var(--line-height);
}


#pad-menu a {
    border: 2px solid;
    padding: 3px 7px;
    letter-spacing: 0.5px;
    font-size: 70%;
    text-transform: uppercase;
    margin: 1em 0.25em;
}

#intro {
    flex-basis: 10em;
        max-width: 64%;
}

#content {
    flex-grow: 1;
    clear: both;
}


/* MANAGE INTERFACE ---------------------- */

.manage_list li:first-child {
    border-top: 1px solid #c6c6fe;
    margin-top: var(--line-height);
}
.manage_list li {
    border-bottom: 1px solid #c6c6fe;
    padding: 0.5em 0 0.5em 0;
}

.manage_list li:hover {
    background-color: var(--highlight-color);
}

.manage_list li .actions {
    float: right;
}

#pad-menu a:active {
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
}

.pad-list--actions a,
.manage_list li .actions .button {
    border: 2px solid;
    padding: 3px 7px;
    letter-spacing: 0.5px;
    font-size: 70%;
    text-transform: uppercase;
    margin: 1em 0.25em;
    display: initial;
}
.pad-list--actions a {
    display: block;
    line-height: var(--line-height) !important;
}

.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 {
    position: sticky;
}


.pad-list--actions {
    bottom : 0;
    text-transform: uppercase;
    display: inline-block;
    background-color: white;
}

#content span[property] {
    background-color: lightgrey!important;
}


.folder {
    width: 17px;
    height: 12px;
    margin: 0 auto;
    margin-top: 0;
    position: relative;
    background-color: var(--color-gray);
    border-radius: 0 2px 2px 2px;
    display: inline-block;
    top: 1px;
}

.folder:before {
    content: "";
    width: 44%;
    height: 3px;
    border-radius: 5px 6px 0 0;
    background-color: var(--color-gray);
    position: absolute;
    top: -2px;
    left: 0px;
}
span.folder-icon {
    background-color: var(--color-green);
    width: 1.25em;
    height: 1em;
    display: inline-block;
    vertical-align: -4px;
}

/* WRITE ----------------------------- */

.write-public-mode #content,
.write-mode #content {
    display: flex;
    flex-wrap: wrap;
    margin-top: var(--line-height);
}

.write-mode #content .pad-list--path {
    margin-top: calc(var(--line-height) / -2);
    margin-bottom: calc(var(--line-height) / 2);
    width: 100%;
}

iframe#ether {
    flex-basis: calc(100% - 5em);
    height: 80vh;
}

div#cheatsheet {
    flex-basis: 25%;
    flex-grow: 1;
    padding: 0 var(--line-height);
    font-size: 0.85em;
    line-height: 1.25em;
    height: 80vh;
    overflow: auto;
}

div#cheatsheet h3 {
    margin-top: 0.5em;
}

div#cheatsheet dt {
    display: block;
}

div#cheatsheet dd {
    display: block;
    margin-bottom: 0.5em;
}

#content dd {
    display: inline-block;
    font-family: routed gothic, sans serif;
    font-size: var(--font-size-small);
    margin-left: 0;
    background: lightgrey;
    padding: 0px 2px 0px 2px;
    margin: 0px 2px;
    }
    
#content ul > li::before {
    content: "-  ";
}
#content ul.meta-keywords > li::before {
    content: "";
}
dl > dt {
    display: inline-block;
    } 
dt::first-of-type {
margin-left: 0px;
        }
dt::after {
    content: " ";
    }  
h3.question,
p.scenario {
  margin-bottom: calc(0.1 * var(--line-height));
  margin-top: calc(1 * var(--line-height));
  font-size: var(--font-size-small);
  font-weight: bold;
  font-family: "routed gothic wide", sans serif;
letter-spacing: -0.05em;
text-transform: initial;
line-height: var(--line-height-small);
color: var(--color-dark-purple);
}
.scenario + .scenario,
.scenario + p,
h4 + .scenario {
    margin-top: 0;
    }
.number {
//color: var(--color-dark-purple);
}

.keywords {
  position: fixed;
  top: 0;
  left: 70%;
  max-width: 30%;
}
h2#keywords-overview {
  margin-bottom: var(--line-height);
}
.keywords dt strong {
    font-size: calc(0.8 * var(--font-size));
    }
/*READ ------------------------------- */
.meta.private dt,
.meta.private dd,
.metadata dt,
.metadata dd {
    float: left;
    line-height: 0.6em;
}

.metadata dd p,
.meta.private dd p {
    margin-top: calc(0 * var(--line-height));
    margin-bottom: calc(0 * var(--line-height));
}

.meta.private dd {
    margin-left: 0.25em;
}

.meta.private dd + dt:before {
    content: "Â·";
    margin: 0 0.5em;
}

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

.meta-keywords li {
    display: inline-block;
    font-family: routed gothic;
    font-size: var(--font-size-small);
    line-height: var(-- line-height-small);
    margin-left: 0;
    background: #e6e6e6;
    padding: 0px 4px 0px 2px;
    margin: 2px 2px;
}


.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: "!";
}


.toc ul ul {
  margin-left: 1.3em;
}
.toc ul ul ul {
  margin-left: 1.2em;
}
ol {
    list-style-type: decimal;
    margin-left: calc(2 * var(--line-height));
}





.footnote ol li {
    margin-bottom: 0em;
}

sup[id^=fnref]:nth-child(even) .footnote{

}

#content a.footnote-ref {
    color: white;
    vertical-align: 1px;
    line-height: 0;
    text-decoration: none;
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    font-weight: bold;
    font-family: "routed gothic wide", sans serif;
    padding: 0.1em;
}

div.footnote {
    display: none;
}

.footnote {
    line-height: var(--line-height-small);
    display: inline-block;
    float: right;
    width: 50%;
    padding: 0 0.4em;
    margin-top: 1em;
    text-indent: 0;
    margin: 0;
    padding-top: 2.5px;
    font-size: 13px !important;
    font-family: "routed gothic";
    font-weight: normal;
    text-align: left;
    text-transform: initial;
}
.footnote a {
    font-size: inherit !important;
}
.footnote iframe {
    width: 100%;
    max-height: 120px;
}
.footnote em {
  font-style: italic;
  letter-spacing: 0.002em;
  font-size: calc(0.95 * var(--font-size-small));
}

.footnote::before {
    content: attr(data-nb);
    float: none;
    left: 0;
    margin-left: 0;
    text-indent: 0;
    margin-right: 3px;
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    font-weight: bold;
    font-family: "routed gothic wide", sans serif;
    padding: 0.1em;
    color: white;
    font-size: var(--font-size-small);
    padding-right: 54px;
}



div#intro {
    box-sizing: border-box;
}

header {
    margin-top: var(--line-height);
}


header, header p.authors {
    margin-top: 0;
}

header p.authors,
header p.editors {
    display: inline;
}

header p.editors {
    color: var(--color-green);
}


header h1,
header h2 {
    word-break: break-word;
    color: var(--color-purple);
    background: -webkit-linear-gradient(left, var(--color-green), #faa6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    font-size: 3.5em;
line-height: 1.1em;
padding-top: 1em;
margin-top: -0.5em;
}


header h2 {
        font-size: 3em;
    display: block;
    margin-top: -1em;
    }

dl.meta {
    font-family: var(--sans);
    color: lightgray;
    font-size: var(--font-size-small);
   line-height: 1.25em;
   padding-bottom: 4em;
}
div.metadata {
   font-family: var(--sans);
   font-size: var(--font-size-small);
   line-height: 1.25em;
   position: absolute;
   top: 0px;
   left: -15em;
   width: 15em;
}
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);
}

ul#pads_list {
    line-height: calc(1.5 * var(--line-height));
}

a.include {
    background-color: #ececec;
    height: 40vh;
    display: block;
    line-height: 1.25em !important;
    overflow: auto;
    margin: var(--line-height) 0;
}

/* neutrality */


/* T T T T */

.columns-2 {
    column-count: 2;
}
.columns-2 p {
    display: inline-block;
}

.transcript {
    padding: calc(0.5 * var(--line-height)) var(--line-height) ;
}




@media only screen and (min-width: 1600px) {
:root {
        --font-size: 26px;
       --line-height: 32px;
        }
#content blockquote > blockquote {
    flex: 1 500px;
    }
#content p sup:first-of-type .footnote {
  margin-bottom: 0 !important;
}
}
@media only screen and (max-width: 1200px) {
    body {
        margin: 0.5em;
    }
    #nav {
        padding: 10px;
    }
    iframe#ether {
        flex-basis: 69%;
    }
    div#cheatsheet {
        flex-basis: 23%;
        padding: 10px;
    }
}

.box {
    outline: 1px solid pink;
}

@media only screen and (max-width: 480px) {
    body {
        display: block;
    }
    
video {
   display: block;
   width: 100%;
   margin: 0;
   }
}
.hidden {
    display: none;
    }

q {
    font-family: var(--sans);

}

@media only screen and (max-device-width: 500px)  {
:root {
  --line-height-small: calc(0.8 * var(--line-height));
  --font-size: 30px;
  --line-height: 39px;
  /*--font-size-small: calc(0.65 * var(--font-size));*/
}
    body {
  padding: 1.5em;
  padding-top: 0;
  flex-direction: column;
}
#nav-left {
  height: 1vh;
  justify-content: space-between;
  width: 100%;
  flex-direction: row;
  position: relative;
}
#nav {
  padding: 30px;
  position: fixed;
  top: 0px;
 left: 0;
 right: 0;
 width: 100vw;
  background-color: white;
  height: 2em;
  padding-top: 2em;
  
}
div#main-menu {
  flex-direction: column;
  max-width: 160px;
  height: 100vh;
  min-height: 100%;
}

a#btn-menu.active  {
    position: fixed; 
    top: 55px;
    right: 20px;
    z-index: 10000;
}

a#btn-menu.active + ul {
    background-color: white;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 120px;
    left: 0;
    padding: 3em;
}
a#btn-menu.active + ul li {
    font-size: 1.5em;
    line-height: 1.5em;
}
a#btn-menu.active + ul a {
    font-size: 1em;
}
intro a, #pad-menu a, #content a, #content a:hover, #content a:visited{
    letter-spacing: -0.01em;
    }
a.button, #nav-toc li span, #nav-toc li span {
    width: max-content;
    display: block;
    }
nav #staff-menu {
  display: block;
  position: initial;
  top: 0;
  order: 3;
}
.toc {
    left: 290px;
    top: 45px;
    max-width: 270px;
    height: 2em; 
    padding: 0.5em;
    padding-bottom: 1em;
}

.toc.active {
        height: auto; /* change when colapsing is on */
}
.toc.active a {
    position: relative;
    z-index: 11000;
}

.r-mode #content {
  max-width: 100%;
}

h2 span {
  line-height: calc(1.3 * var(--line-height));
}
#intro {
  max-width: 100%;
}
.toc-external {
  background-color: white;
  padding: 10px;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  padding: 1em;
}
div.right {
  margin-top: 6em;

}
#pad-home.md div.right {
  padding-left: 0em !important;
}
.footnote {
    font-size: 25px !important;
    padding-top: 7px;
    letter-spacing: -0.01em;
    }
.footnote a {
    letter-spacing: -0.003em;
    }
sup{
      font-size: calc(0.6 * var(--font-size-small));
    }
.footnote::before {
      font-size: calc(0.95 * var(--font-size-small));
    }
.footnote em {
    font-size: inherit;
    }
    #logos {
        margin-bottom: 10em;
    }
    blockquote > blockquote {
        flex: 1 100% !important;
    }
    #pad-buttons {
        top: 17em;
    }
}
#nav-toc + a.button { display: none; }
