/* GENERAL */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    color: #202020;
    font-size: 13px;
}

body {
    overflow: hidden;
}

.scroll-section {
    height: 100%;
    position: absolute;
}

#description {
    position: absolute;
    top: 10px;
    right: 10px;
    overflow: hidden;
}

#description, .text {
    z-index: 1;
    color: #eee;
    font: 16px 'Lucida Grande',sans-serif;
    max-width: 40%;
    background: #1a1a1a;
    opacity: 0.8;
    padding: 10px;
}

#description p, #description ul {
    margin: 0px;
}

.text a {
    color: lightcoral;
}

.text a:hover {
    color: #f0c0c0;
}

.text > ul {
    padding: 0 2rem;
}

@media (max-width: 600px) {
    .text {
        display: none;
    }
}

/* MAIN SECTION (RIGHT) */
#main {
    width: calc(100% - 300px);
    height: 100%;
    display: inline;
    position: fixed;
    top: 0;
    right: 0;
}

#content {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 300px);
}

#view-source {
    position: fixed;
    right: 25px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    box-sizing: border-box;

    border: 1px solid #222222;
    border-radius: 7px;
    background-color: #313336bb;

    background-image: url('../images/code-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

#view-source:hover {
    cursor: pointer;
}
#view-source:active {
    background-color: #222222;
}

/* NAVIGATION (LEFT) */
nav {
    width: calc(300px - 4rem);
    padding: 0 2rem;
    overflow: auto;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

nav img {
    margin-top: 20px;
}

.nav-section {
    margin-top: 0px;
}

nav .package {
    padding-bottom: 20px;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav li {
    list-style: none;
}

a, a:visited, nav ul a, nav ul a:visited {
    cursor: pointer;
    color: #6091b2;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
    color: #6091b2aa;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #4b4b4b;
}

h3 {
    font-size: 16px;
    margin-bottom: 5px;
}


/* IFRAME/EXAMPLE CONTENT */
#viewerDiv {
    height: 100%;
}

#viewerDiv>canvas {
    position: absolute;
    top: 0;
    left: 0;
}

#menuDiv {
    position: absolute;
    left: 10px;
    top: 0px;
    z-index: 0;
}

#menuDiv, .ac {
/* Disable select DAT.gui */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2 !important;
}

#miniDiv {
    display: block;
    position: absolute;
    width: 100px;
    height: 100px;
    left: 20;
    bottom: 20;
    color: white;
}

#divScaleWidget {
    display: block;
    position: absolute;
    right: 135px;
    bottom: 20;
    border: 2px solid black;
    border-top: none;
    text-align: center;
    display: block;
    background-image: linear-gradient(rgba(200, 200, 200, 0.3), rgba(200, 200, 200, 0.3));
    width: 200px;
    height: 18px;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tooltip {
    display: none;
    background-image: linear-gradient(rgba(80, 80, 80,0.95), rgba(60, 60, 60,0.95));
    box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    color: #CECECE;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 18px;
    text-align: left;
}

.tooltip li, .coord {
    font-size: 12px;
    padding-left: 20px;
    color: #93B7C0;
    text-shadow: 0px 1px 0px rgba(200,200,200,.3), 0px -1px 0px rgba(30,30,30,.7);
}

/* Circle for Sse helper */
.circleBase {
    display: none;
    border-radius: 50%;
    margin-top: 0px;
    margin-left: 0px;
    padding: 0px;
    position: absolute;
    z-index: 9;
    font-family: 'Open Sans',
    sans-serif;
    font-size: 20px;
    line-height: 0px;
    text-align: center;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background: rgba(170, 170, 170, 0.4);
    border: 2px solid #7ad7ff;
    color: #b5e8ff;
    vertical-align: middle;
    text-shadow: 0px 0px 3px black;
}

:root {
  --text_stroke_display: 'none';
  --text_stroke_width: 0px;
  --text_stroke_color: 'white';
}
