:root {
    --grey_10: rgb(35, 35, 35);
    --grey_20: rgb(50, 50, 50);
    --grey_30: rgb(75, 75, 75);
    --grey_40: rgb(100, 100, 100);
    --grey_50: rgb(125, 125, 125);
    --grey_60: rgb(150, 150, 150);
    --grey_70: rgb(175, 175, 175);
    --grey_80: rgb(200, 200, 200);
    --grey_90: rgb(225, 225, 225);
    --TNG_blue: rgb(50, 100, 255);
    --RTD_image: url("images/logo_scroll.png");
    --WRAPPER_WIDTH: 1500px;
    --LEFT_SIDEBAR_WIDTH: 250px;
    --RIGHT_SIDEBAR_WIDTH: 250px;
    --CONTENT_LEFT_WIDTH: calc(var(--WRAPPER_WIDTH) - var(--LEFT_SIDEBAR_WIDTH));
    --CONTENT_WIDTH: calc(var(--WRAPPER_WIDTH) - var(--LEFT_SIDEBAR_WIDTH) - var(--RIGHT_SIDEBAR_WIDTH));
}

@font-face {
    font-family: "Sentinel-Medium";
    src: url("./assets/fonts/Sentinel-Medium.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./assets/fonts/Sentinel-Medium.woff2") format("woff2"), /* chrome、firefox */
    url("./assets/fonts/Sentinel-Medium.woff") format("woff"), /* chrome、firefox */
    url("./assets/fonts/Sentinel-Medium.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("./assets/fonts/Sentinel-Medium.svg#Sentinel-Medium") format("svg");
    /* iOS 4.1- */
}


/* BEGINN LAYOUT */

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    caret-color: rgba(0, 0, 0, 0);
    /* make blinking cursor invisible */
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    color: var(--grey_70);
    background-color: var(--grey_20);
    font-family: "libre baskerville";
    /* font-family: "Sentinel-Medium"; */
    font-size: 12px;
    font-style: normal;
    line-height: 1.25;
    /* -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale; */
}

#wrapper {
    max-width: var(--WRAPPER_WIDTH);
    /* min-width: 1000px; */
    position: relative;
    height: 100%;
    overflow: hidden;
}

#column_left {
    position: fixed;
    width: var(--LEFT_SIDEBAR_WIDTH);
    height: 100%;
    top: 0;
    bottom: 0;
    background-color: var(--grey_10);
    color: var(--grey_70);
    z-index: 3;
    overflow: auto;
}

#column_center {
    max-width: var(--CONTENT_WIDTH);
    /* min-width: 750px; */
    height: 100vh;
    overflow: auto;
    position: relative;
    left: var(--LEFT_SIDEBAR_WIDTH);
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: var(--grey_20);
    border-right: solid 1px var(--grey_10);
}

#column_right {
    overflow-y: auto;
    position: absolute;
    z-index: 3;
    width: 250px;
    top: 0;
    right: 1px;
}

#buttons {
    position: absolute;
    top: 20px;
    right: 0px;
    z-index: 99;
}


/* --WRAPPER_WIDTH: 1500px; 
--LEFT_SIDEBAR_WIDTH: 250px; 
--RIGHT_SIDEBAR_WIDTH: 250px; 
--CONTENT_LEFT_WIDTH: calc(var(--WRAPPER_WIDTH) - var(--LEFT_SIDEBAR_WIDTH)); 
--CONTENT_WIDTH: calc(var(--WRAPPER_WIDTH) - var(--LEFT_SIDEBAR_WIDTH) - var(--RIGHT_SIDEBAR_WIDTH)); */

@media all and (max-width: 1500px) {
    /* #column_left {
        left: calc(var(--LEFT_SIDEBAR_WIDTH) * -1);
    }
    #column_center {
        left: 0px;
    } */
    #column_right {
        right: calc(var(--RIGHT_SIDEBAR_WIDTH) * -1);
    }
}

@media all and (max-width: 800px) {
    body {
        font-size: calc(1.325rem + 0.9vw);
    }
    #column_left {
        left: calc(var(--LEFT_SIDEBAR_WIDTH) * -1);
    }
    #column_center {
        left: 0px;
    }
    #column_right {
        right: calc(var(--RIGHT_SIDEBAR_WIDTH) * -1);
    }
}


/* END LAYOUT */


/* COMMON */

li {
    list-style: none;
}

a {
    text-decoration: none;
}


/* COMMON */

#filetree {
    padding-top: 0px;
    line-height: 1.7em;
    font-size: 1.2em;
}

#filetree>ul {
    padding-left: 10px;
}

#filetree a {
    color: var(--grey_70);
    cursor: pointer;
}

#filetree li {
    position: relative;
    color: var(--grey_70);
    padding-left: 10px;
    list-style: none;
    text-transform: capitalize;
    background-color: var(--grey_10);
    font-weight: normal;
    transition: all .7s ease;
}

#filetree li.level-1.folder {
    padding-top: 10px;
    text-transform: uppercase;
    color: var(--TNG_blue);
}

#filetree li.level-1.folder:before {
    content: "";
}

#filetree li.folder:before {
    font-size: 80%;
    color: var(--grey_60);
    content: attr(data-before);
    margin-left: -11px;
    position: relative;
    bottom: 1px;
}

[data-file='content/search.md'] {
    display: none;
}

#filetree li.active_link {
    background-color: var(--grey_20);
    border-radius: 5px;
    /* padding-left: 150px;
    margin-left: -140px; */
    padding-right: 150px;
    margin-right: -150px;
    position: relative;
    transition: all .7s ease;
}


/* #filetree li .active_link:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -1000px;
    background-color: var(--grey_20);
    z-index: 0;
} */

#filetree .active_link a {
    font-weight: bold;
    white-space: nowrap;
    /* display: block;
    position: relative;
    z-index: 1; */
}


/* #filetree .active_link::before {
    background-color: var(--grey_20);
    font-weight: bold;
} */


/* #filetree li a.file_link {
    padding-left: 10px;
}

#filetree li li a.file_link {
    padding-left: 20px;
}

#filetree li li li a.file_link {
    padding-left: 30px;
}

#filetree li li li li a.file_link {
    padding-left: 40px;
} */

#md_content {
    padding: 12px 20px 20px 20px;
    hyphens: auto;
    text-align: justify;
    font-size: 13pt;
    line-height: 1.5;
}

#md_content a {
    color: var(--TNG_blue);
}


/* #md_content h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: var(--grey_60)!important;
} */

#md_content h2 {
    padding: 1em 0 .1em 0;
}

#md_content h3 {
    padding: .8em 0 .1em 0;
}

#md_content h4 {
    padding: .6em 0 .1em 0;
}

#md_content h5 {
    padding: .6em 0 .1em 0;
}

#md_content h6 {
    padding: .6em 0 .1em 0;
}

#md_content p {
    padding-top: .5em;
    padding-bottom: .5em;
}

#toc {
    /* position: fixed;
    top: 0px;
    left: 1250px; */
    padding: 20px;
    width: 250px;
    /* height: 400px; */
    max-height: max-content;
    border: 1px solid var(--grey_30);
    border-top: none;
    border-bottom-right-radius: 5px;
    background-color: var(--grey_10);
}

#toc:empty {
    display: none;
}

#toc li li {
    padding-left: 20px;
    line-height: 1.5em;
}

#toc li a {
    color: var(--grey_70);
}

#header {
    position: relative;
    padding: 10px 20px 15px 0px;
    border-bottom: 2px solid var(--TNG_blue);
}

#logo {
    width: 55px;
    height: 55px;
}

#logo img {
    width: 55px;
    display: inline;
}

#header_wrapper {
    position: absolute;
    top: 5px;
    left: 65px;
    width: 57%;
    display: inline;
}


/* #homelink {
    position: absolute;
    top: 10px;
    left: 70px;
    width: 150px;
    display: inline;
} */

#homelink a {
    font-size: 2em;
    text-decoration: none;
    color: var(--grey_60);
}


/* #search {
    position: absolute;
    top: 50px;
    left: 70px;
    display: inline;
} */

#search input {
    width: 100%;
    background: var(--grey_30);
    border-radius: 4px;
    padding: 1px 3px;
    border: 1px solid var(--grey_40);
    /* font-size: 80%; */
    color: var(--grey_60);
}

button {
    font-size: 16px;
    padding: 5px 12px;
    background-color: var(--grey_30);
    color: var(--grey_80);
    border: 1px solid var(--grey_20);
    border-radius: 5px;
    transition-duration: 0.4s;
    margin: 5px;
}

button:hover {
    background-color: var(--grey_20);
    color: var(--grey_70);
}

#content_header {
    /* position: fixed; */
    padding: 12px 20px 20px 20px;
}

#content_header>.date {
    float: right;
    position: relative;
    top: 45px;
    right: 1px;
    font-size: 13px;
}

#content_header>.date a {
    color: var(--grey_60);
}

#content_header>.description {
    position: relative;
    top: 17px;
    border-bottom: 2px solid var(--grey_60);
}

#content_header>h1 {
    line-height: 1.2em;
}

#outerContainer #mainContainer div.toolbar {
    display: none !important;
    /* hide PDF viewer toolbar */
}

#outerContainer #mainContainer #viewerContainer {
    top: 0 !important;
    /* move doc up into empty bar space */
}

.showPDF {
    position: absolute;
    width: 725px;
}

*::-webkit-scrollbar {
    display: none
}


/* MARKDOWN */


/* 
pre code, pre code.hljs {
    background: #000;
    border: 1px dotted transparent;
    color: #fff;
}

.code, code {
    font-family: m, monospace;
    word-wrap: break-word;
}

.hljs {
    display: block;
    padding: .5em;
    background: #333;
    color: white
} */


/* 

.hljs-name, .hljs-strong {
    font-weight: bold
}

.hljs-code, .hljs-emphasis {
    font-style: italic
}

.hljs-tag {
    color: #62c8f3
}

.hljs-variable, .hljs-template-variable, .hljs-selector-id, .hljs-selector-class {
    color: #ade5fc
}

.hljs-string, .hljs-bullet {
    color: #a2fca2
}

.hljs-type, .hljs-title, .hljs-section, .hljs-attribute, .hljs-quote, .hljs-built_in, .hljs-builtin-name {
    color: #ffa
}

.hljs-number, .hljs-symbol, .hljs-bullet {
    color: #d36363
}

.hljs-keyword, .hljs-selector-tag, .hljs-literal {
    color: #fcc28c
}

.hljs-comment, .hljs-deletion, .hljs-code {
    color: #888
}

.hljs-regexp, .hljs-link {
    color: #c6b4f0
}

.hljs-meta {
    color: #fc9b9b
}

.hljs-deletion {
    background-color: #fc9b9b;
    color: #333
}

.hljs-addition {
    background-color: #a2fca2;
    color: #333
}

.hljs a {
    color: inherit
}

.hljs a:focus, .hljs a:hover {
    color: inherit;
    text-decoration: underline
}
 */

html {
    background: #2c2c2c;
    color: #bbb
}

.table td,
.table th,
fieldset,
html .t-o-c li::after,
html .t-o-c li::before {
    border-color: #666
}

html .t-o-c li:last-child::after {
    background: #2c2c2c
}

a {
    color: #a6b9d5
}

a:focus,
a:hover {
    color: #ddd
}

blockquote {
    color: #888;
    border-color: #555
}

.button {
    background: #3f5371
}

.button:focus,
.button:hover {
    background: #475c7b
}

.button.primary {
    background: #44843c
}

.button.primary:focus,
.button.primary:hover {
    background: #4c8e43
}

.comment-time,
.metas,
caption,
figcaption {
    color: #666
}

.metas a:focus,
.metas a:hover {
    color: #888
}

.mecha {
    background: #ccc
}

.mecha span {
    border-color: #2c2c2c
}

.mecha span::before {
    background: #a6b9d5
}

.warning::before {
    Content: "warning";
    color: darkred;
}

.warning {
    color: #bbb;
    border: 1px solid darkred;
    padding: .2em;
    line-height: 1em;
}


/* TAULWIND  */


/* 
.hljs {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    display: block;
    overflow-x: auto;
    padding: 0px;

    color: #fff;
    color: var(--color-code-white);
    background: transparent;
    border-radius: 0.5rem;
}

.hljs-comment, .hljs-quote {
    color: #6b7280;
    font-style: italic;
}

.hljs-name {
    color: #ff8383;
    color: var(--color-code-red);
}

.hljs-string {
    color: #b5f4a5;
    color: var(--color-code-green);
}

.hljs-attr {
    color: #ffe484;
    color: var(--color-code-yellow);
} */


/* TAULWIND  */


/* ATOM ONE DARK */

pre code,
pre code.hljs {
    display: block;
    background: #282828;
    border-radius: .25em;
    padding: .75em 1em;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: auto;
    overflow-x: scroll;
}

.hljs-comment,
.hljs-quote {
    color: #6b7280;
    font-style: italic
}

.hljs-doctag,
.hljs-formula,
.hljs-keyword {
    color: #c678dd
}

.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst {
    color: #ff8383
}

.hljs-literal {
    color: #56b6c2
}

.hljs-addition,
.hljs-attribute,
.hljs-meta-string,
.hljs-regexp,
.hljs-string {
    color: #98c379
}

.hljs-built_in,
.hljs-class .hljs-title {
    color: #e6c07b
}

.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable {
    color: #ff8383/*ff8383*/
}

.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title {
    color: #61aeee
}

.hljs-emphasis {
    font-style: italic
}

.hljs-strong {
    font-weight: 700
}

.hljs-link {
    text-decoration: underline
}


/* typebase.css  */


/* https: //github.com/devinhunt/typebase.css/blob/master/typebase.css */


/* 
html {
    font-family: serif;
    font-size: 137.5%;
    -webkit-font-smoothing: antialiased;
}

p {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

ul, ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    line-height: 1.5rem;
}

ul ul, ol ul, ul ol, ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

blockquote {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}

h1 {
    font-size: 4.242rem;
    line-height: 4.5rem;
    margin-top: 3rem;
}

h2 {
    font-size: 2.828rem;
    line-height: 3rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.414rem;
}

h4 {
    font-size: 0.707rem;
}

h5 {
    font-size: 0.4713333333333333rem;
}

h6 {
    font-size: 0.3535rem;
}
 

table {
    margin-top: 1.5rem;
    border-spacing: 0px;
    border-collapse: collapse;
}

table td, table th {
    padding: 0;
    line-height: 33px;
} 

code {
    vertical-align: bottom;
} */


/* PDF VIEWER */

#mainContainer .toolbar {
    display: none!important;
}

#edit button {
    float: right;
    /* position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 12;
    overflow: scroll; */
}

textarea#edit_content {
    /* display: inline-block; */
    padding: 1em;
    width: 100%;
    height: 100vh;
    border: none;
    color: antiquewhite;
    background-color: #2c2c2c;
    font-family: monospace;
    white-space: pre-wrap;
    white-space: break-spaces;
}


/* 








--RtD_blue: #2980B9;
--RtD_darkgrey: #343131;
--RtD_darkgrey_hover: #4e4a4a;
--RtD_darkestgrey: #272525;
--RtD_lightgrey: #E3E3E3;
--RtD_lightgrey_hover: #D6D6D6;
--RtD_lightestgrey: #F2F2F2;
--RtD_white: #FCFCFC;
--RtD_darkgrey_font: #404040;
--RtD_lightgrey_font: #808080;
--RtD_lightwhite_font: #b3b3b3;
--RtD_darkwhite_font: #efefef;
--RtD_green_font: #27AE60;
--RtD_blue_font: #2980B9;
--RtD_red_font: #E74C3C;
--RtD_lightgrey_border_menu: #c9c9c9;
--RtD_lightgrey_border_text: #404040;
--RtD_lightgreen_border_text: #8ECC4C;  


  .fadeout {
    opacity: 0;
    transition: .5s opacity;
}

.fadein {
    opacity: 1;
    transition: .5s opacity;
}  

 filetree ul.col_ul ul.col_ul {
    transition: max-height .6s linear; 
    opacity: 0;
    background: red;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
} 


#filetree ul.col_ul ul.col_ul.fade {
    opacity: 1;
    transition: .5s opacity;
} 


#column_left { } 
#column_center { } 
#column_right { } 
#footer { } 


#wrapper { 
position: relative; 
border: 1px solid grey; 
text-align: left; 
max-width: 1220px; 
margin: 0; 
 } 

#column_center { 
position: relative; 
padding: 5px; 
margin: 0; 
display: inline-block; 
vertical-align: top; 
text-align: left; 
background: deepskyblue; 
min-width: 300px; 
max-width: 600px; 
 } 

#column_left { 
position: relative; 
padding: 5px; 
margin: 0; 
display: inline-block; 
vertical-align: top; 
background: gold; 
width: 300px; 
 } 

#filetree { 
position: fixed; 
 } 

#toc { 
position: fixed; 
 } 

#column_right { 
position: relative; 
margin: 0; 
padding: 5px; 
display: inline-block; 
vertical-align: top; 
background: hotpink; 
width: 290px; 
 } 

html,
body { 
height: 100%; 
margin: 0; 
padding: 0; 
 } 

#column_center,
#column_left,
#column_right,
#wrapper { 
min-height: 100%; 
height: 100%; 
float: left; 
 } 

 @media all and (max-width: 900px) { 
#column_left { 
left: -300px; 
 } 
#column_left,
#column_right { } 
 }


@media all and (min-width: 800px) { 
#column_center { } 
#column_left { } 
#column_center { } 
#column_right { } 
#footer { } 
 } 




*/