@font-face {
  font-family: 'Jost';
  font-style: normal;
  src: local(''),url('../font/Jost/Jost-VariableFont_wght.ttf') format('truetype')
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  src: local(''),url('../font/Jost/Jost-Italic-VariableFont_wght.ttf') format('truetype')
}


@font-face {
  font-family: 'Eb_Garamond';
  font-style: normal;
  src: local(''),url('../font/EB_Garamond/EB_Garamond-VariableFont_wght.ttf') format('truetype')
}
@font-face {
  font-family: 'EB_Garamond';
  font-style: italic;
  src: local(''),url('../font/EB_Garamond/EB_Garamond-Italic-VariableFont_wght.ttf') format('truetype')
}

html {
    scroll-behavior:smooth;}

body {
    font-family: 'Jost';
    font-size: 18px;
    text-wrap:pretty;
    background-color: #ffffff
}

p {font-size:20px}
div:focus-visible{font-size:30px}

h1,h2,h3,h4,h5,h6 {
    /border-bottom: solid #b5b5b5 1px;
    text-decoration-line: underline;
    font-family: 'EB_Garamond';
    text-wrap:balance;
    margin-bottom:10px;
}

h1 {font-size:250%;color:#000000;margin-top: 60px;text-align:center!important}
h2 {font-size:220%;color:#000000;margin-top: 50px;}
h3 {font-size:190%;color:#000000;margin-top: 40px;}
h4 {font-size:160%;color:#000000;margin-top: 30px;}
h5 {font-size:130%;color:#000000;margin-top: 20px;}
h6 {font-size:100%;color:#000000;margin-top: 10px;}

#content {
    background-color:#ffffff;
    max-width: 100%;
    font-size:20px;}

@media screen and (max-width: 768px) {
    #content {
	padding: 1.618em 1.236em;
}
}


.title{margin-top:10px}
.dialogue{
    text-align:center;
    width:70%;
    margin:0px auto 40px auto;
}

.dialogue p {
    background-color: #a9def940;
}

.transition {
    text-align:right;
}

.transition p {
    background-color: #e4c1f940;
}

.action p {
    background-color: #d0f4de40;
}

.slug p {
    background-color: #ff99c840;
}




.slug p,.action p,.dialogue p,.transition p {
    display: inline-block;
    padding: 4px 10px 4px 10px;
    border-radius: 8px;
    font-family: 'Courier Prime', sans-serif;
}
.slug p,.action p,.transition p {
    margin-bottom: 20px !important;
}
.slug,.dialogue p::first-line,.transition {
    font-weight: bold;
    text-transform: uppercase;}




#table-of-contents {
    background-color:#fff;
    font-family: 'EB_Garamond';
    font-size: 20px;
    overflow: hidden;
}

#table-of-contents a:hover {
    color: #0f0f0f !important;
    background-color: #ffffff;
    cursor: pointer;
}

#table-of-contents a {
    color: #0f0f0f;
}

#table-of-contents h2 {
    background-color: #000;
    color: #fff;
    text-align:center;
    margin-top: 0px;
    margin-bottom: 20px;
    border-radius: 0px 0px 0px 0px;
    padding: 30px 10px;
}
@media screen and (max-width: 768px) {
    #table-of-contents h2 {
	border-radius: 0px 0px 0px 0px;
    }
}



li.active {
    background-color: #fdfdfd;
    box-shadow: 0px 0px 30px #eee;
}

ul.nav > li.active li.active {
    background-color: #ffffff;
    box-shadow: 0px 0px 30px #eee;
}

ul.nav > li.active > a {
  background-color: #fff;
  color: black !important;
  border-bottom: solid 0px #000 !important;
  border-right: solid 4px #000 !important;
}

ul.nav > li.active li.active > a {
  color: black !important;
  border-right: solid 4px #000 !important;
  font-weight: bold !important;
  display: block !important;
}


#copyright, #postamble {
  color: #fff;
  background: #000;
  border-top: solid 0px #e3e3e3;
  border-radius: 0px 0px 0px 0px;
  padding: 20px 10px;
}
@media screen and (max-width: 768px) {
    #copyright, #postamble {
	border-radius: 0px 0px 0px 0px;
    }
}


#postamble .date {
    color: #fff;
    text-align: right;
    font-family: 'Courier Prime', sans-serif;
    font-style: normal;

}




@media screen and (max-width: 768px) {
    #toggle-sidebar h2 {
	background-color: #000000;
	color: #ffffff;
	opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    #table-of-contents:target {
	width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #table-of-contents .close-sidebar {
	color: rgba(0, 0, 0, 0);
	position: absolute;
	right: -9vw;
	padding: 20px 200px 10px 200px;
	top: 0;
	margin: auto;
	display: block;
	width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #table-of-contents .close-sidebar:hover {
	color: rgba(0, 0, 0, 0)!important;
	background-color:rgba(0, 0, 0, 0);
    }
}

.underline {
    text-decoration: underline;}

blockquote{
    background-color: #FFF;
    border-left: 5px solid #C4C4C4;
    margin-left: 24px;
    padding: 10px 20px;
    margin-bottom: 20px;
    
}

blockquote p {
    margin: 10px auto;
    font-family: 'EB_Garamond';
    font-style: normal;
    font-size:36px;
    line-height:120%;
}

.question{
    background-color: #FFF;
    border-left: 5px solid #C4C4C4;
    margin-left: 24px;
    padding: 10px 20px;
    margin-bottom: 20px;
    
}
.question p {
    margin: 10px auto;
    font-family: 'EB_Garamond';
    font-style: normal;
    font-size: 24px;
    line-height:120%;
}

blockquote p:last-child {
    text-align:right;
}


.org-right{text-align:right}

.figure p {
    margin-top: -30px;
    text-align: center;
}

table tr:nth-child(2n-1) td {
  background-color: #ffffff;
}

table td, table th {
    padding: 12px 16px;
    border: none;
}

table thead th {
    border-top: 2px solid #ececec;
    border-bottom: 2px solid #000000;
    text-align: left;
}

table {
    margin: 0px auto 30px;
    border-bottom: 2px solid #ececec;
}

video {
  width: 100%;
  height: 100%;
  border-radius:20px;
}

.hheader {
  background-color: black;
  height: 80px;
  width: 80px;
  top: 0;
  right: 0;
  position: fixed;
  z-index:2;
}

.hheader a {
  display: block;
  padding: 40px;
}

.hheader img {
  display: block;
  position: fixed;
  height: 60px;
  top: 0;
  right: 0;
  margin: 10px;
}


.hbot {
  background-color: black;
  height: 80px;
  width: 80px;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index:2;
}

.hbot a {
  display: block;
  padding: 40px;
}

.hbot img {
  display: block;
  position: fixed;
  height: 60px;
  bottom: 0;
  right: 0;
  margin: 10px;
}
