
html {
    /*height: calc(100% - 20px);*/
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    /*height: 100%;*/
    position: relative;
    min-height: 100%;
    font-size: 13px;
    margin: 0;
    padding: 0;
    font-family: 'Lucida Console', monospace
}

#over-container {
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
    /*background-color: lightslategray;*/
    color: whitesmoke;
}


.my-header {
    background-color: #888;
    background-color: lightslategray;
    position: sticky;
    top: 0px;
    left: 0px;
    height: 74px;
    z-index: 1000;
}

#nav-target-container {
    position: fixed;
    /* right: 50px; */
    width: 200px;
    top: 74px;
    bottom: 18px;
    left: 0px;
    /*max-height: 75%;*/
    overflow: hidden;
    background-color: mediumaquamarine;
    /*font-size: .95em;*/
    font-family: sans-serif;
    /*min-height: 20px;*/
    z-index: 999;
}

#nav-target {
    position: absolute;
    top: 4px;
    bottom: -8px;
    left: 4px;
    /*right: -8px;*/
    background-color: rgba(0,0,0,.2);
    overflow: scroll;
    min-width: calc(100% - 0px);
    /*width: max-content;*/
    width: 1000px;
}
#nav-target::before {
    content: "a";
    color: transparent;
    /*background-color: red;*/
    width: 2000px;
    height: .0em;
    display: block;
}

#main-flex {
    flex-grow: 1; /* Bezug auf #over-container */
    display: flex; /* eigenes; links Nav-Pane, rechts Content-Pane */
    overflow-x: auto;
}
#nav-placeholder {
    /*flex: 16 16;*/
    /*min-width: 200px;*/
    /*min-width: 30%;*/
}
#content-pane {
    flex: 40 40;
    color: black;
    /*width: 100%;*/
}

#content-container {
    padding-top: 5px;
    padding-bottom: 5px;
    color: black;
    box-sizing: border-box;
    padding-top: 20px;
    background-color: aliceblue;
    flex-grow: 1;
    /*overflow-y: scroll;*/
}

.article-container {
    display: flex;
    margin: auto;
}

footer p {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 18px;
    /*font-size: 13px;*/
    font-family: sans-serif;
    margin: 0;
    background-color: lightslategray;
}





p, h1, h2, h3, h4, h5, li, div {
    line-height: 20px;
    margin: 0;
}
p, h1, h2, h3, h4, h5, li {
    margin-top: 20px;
}

h2 { font-size: 1.2em; }

ul { margin: 0; }

code {
    background-color: mistyrose;
    line-height: 1em !important;
}

.content-article-target::before {
   content: "";
   /*background-color: red;*/
   width: 200px;
   height: .3em;
   display: block;
}
.content-article-target::after {
   content: "";
   /*background-color: red;*/
   width: 200px;
   height: 100px;
   display: block;
}




.article-preview-title {
    font-weight: bold;
    text-decoration: underline;
    margin: 0;
}


.karo-style {
    background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 20px 20px;
    background-repeat: repeat, ;
}

.karo-style-left {
    background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,0.25), 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 20px 20px, 60px 20000px;
    background-repeat: repeat, no-repeat;
    background-position-x: right;
}
.karo-style-right {
    background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,0.25), 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20000px;
    background-repeat: repeat, no-repeat;
    background-position: 0 0, 80px; /* 4 * 20px */
}


.article-preview {
    width: 480px;
    background-color: rgba(255, 255, 255, .5);
    margin-left: 20px;
    margin-bottom: 40px;
    background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 20px 20px;
    background-repeat: repeat;
    /*background-position: -1px -1px;*/
    padding-top: 6px;
    background-clip: content-box;
    margin-top: 10px;
    border-color: rgba(0,0,0,.2);
    border: 2px solid rgba(0,0,0,.2);
    padding-top: 6px;
    padding-bottom: 6px;
}

.article-preview p, .article-preview h3 {
    padding-left: 5px;
}

.timestamp-1, .timestamp-2 {
    /*font-style: italic;*/
    margin: 0;
    margin-left: 20px;
    font-size: .8em;
    height: 1em;
}










.content-article-target {
    width: 480px;
    background-color: rgba(255, 255, 255, .5);
    background-clip: content-box;
    border-color: rgba(0,0,0,.2);
    /*border: 2px solid rgba(0,0,0,.2);*/
    margin-left: auto;
    margin-right: auto;
    /*margin-top: 10px;
    margin-bottom: 40px;*/
}

@media (min-width: 500px) {

}


.karo-left-container {
    position: relative;
    min-width: 5px;
    flex-grow: 3;
}
.karo-right-container {
    position: relative;
    min-width: 5px;
    flex-grow: 4;
}

.article-left {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 140px; /* 7 20px */
    background-color: rgba(255, 255, 255, .5);
}
.article-right {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80%;
    max-width: 206px; /* 10 20px (plus bisschen) */
    background-color: rgba(255, 255, 255, .5);
}



#nav-presenter-container {
    display: none;
}
#nav-blinder {
    /* Der Blinder ist nur visible, wenn manuell Navigation angezeigt wird, unter 560px. */
    /* Die Werte sind angelehnt an 'nav-target' */
    background-color: rgba(0,0,0,.1);
    position: fixed;
    top: 74px;
    bottom: 18px;
    width: 100%;
    z-index: 998;
}
#nav-target-container {
    display: none;
}
#nav-placeholder {
    display: none;
}

@media (min-width: 560px) {
    #nav-presenter-container {
        display: initial;
    }
    #nav-blinder {
        display: none;
    }
    #nav-target-container {
        display: initial;
        width: 160px; /* 10 Grid */
        width: calc(16 / 56 * 100%) /*28%*/;
    }
    #nav-placeholder {
        flex: 16 16;
        display: initial;
    }

    .article-container {
        /*margin-right: 0px;
        width: 71%;*/
    }
}

@media (min-width: 1500px) {
    #nav-target-container {
        display: initial;
        width: 160px; /* 10 Grid */
        width: calc(16 / 56 * 1500px) /*28%*/;
    }
    #nav-placeholder {
        /*flex: 16 16;*/
        /*flex: 0 0;*/
        max-width: calc(16 / 56 * 1500px);
        display: initial;
    }
    #content-pane {
        max-width: calc(40 / 56 * 1500px);
    }
}



@media (max-width: 1280px) {
    /* Grid: 18px, 25-Grid: 450px */
    body                    { font-size: 11.7px; }
    .content-article-target { width: 432px; }
    .karo-style             { background-size: 18px 18px; }
    .karo-style-left        { background-size: 18px 18px, 54px 50000px; }
    .karo-style-right       { background-size: 18px 18px, 72px 50000px; }
    .karo-style-right       { background-position: 0 0, 72px 0; }
    .article-left           { max-width: 126px; }
    .article-right          { max-width: 185px; }
    p, h1, h2, h3, h4, h5, li, div { line-height: 18px; }
    p, h1, h2, h3, h4, h5, li      { margin-top: 18px; }
}
@media (max-width: 900px) {
    /* Grid: 16px, 25-Grid: 400px */
    body                    { font-size: 10.4px; }
    .content-article-target { width: 384px; }
    .karo-style             { background-size: 16px 16px; }
    .karo-style-left        { background-size: 16px 16px, 48px 50000px; }
    .karo-style-right       { background-size: 16px 16px, 64px 50000px; }
    .karo-style-right       { background-position: 0 0, 64px 0; }
    .article-left           { max-width: 112px; }
    .article-right          { max-width: 164px; }
    p, h1, h2, h3, h4, h5, li, div  { line-height: 16px; }
    p, h1, h2, h3, h4, h5, li       { margin-top: 16px; }
}
@media (max-width: 400px) {
    /* Grid: 14px, 25-Grid: 350px */
    body                    { font-size: 9.1px; }
    .content-article-target { width: 336px; }
    .karo-style             { background-size: 14px 14px; }
    .karo-style-left        { background-size: 14px 14px, 42px 50000px; }
    .karo-style-right       { background-size: 14px 14px, 56px 50000px; }
    p, h1, h2, h3, h4, h5, li, div { line-height: 14px; }
    p, h1, h2, h3, h4, h5, li      { margin-top: 14px; }
}
@media (max-width: 350px) {
    /* Grid: 13px, 25-Grid: 325px */
    body                    { font-size: 8.45px; }
    .content-article-target { width: 312px; }
    .karo-style             { background-size: 13px 13px; }
    .karo-style-left        { background-size: 13px 13px, 39px 50000px; }
    .karo-style-right       { background-size: 13px 13px, 52px 50000px; }
    p, h1, h2, h3, h4, h5, li, div { line-height: 13px; }
    p, h1, h2, h3, h4, h5, li      { margin-top: 13px; }
    }
}
@media (max-width: 325px) {
    /* Grid: 12px, 25-Grid: 300px */
    body                    { font-size: 7.8px; }
    .content-article-target { width: 288px; }
    .karo-style             { background-size: 12px 12px; }
    .karo-style-left        { background-size: 12px 12px, 36px 50000px; }
    .karo-style-right       { background-size: 12px 12px, 48px 50000px; }
    p, h1, h2, h3, h4, h5, li, div { line-height: 12px; }
    p, h1, h2, h3, h4, h5, li      { margin-top: 12px;  }
}


