:root {
    --F1_100: rgba(255, 0, 70, 1.0);
    --F1_75: rgba(255, 0, 70, 0.75);
    --F1_50: rgba(255, 0, 70, 0.5);
    --F1_25: rgba(255, 0, 70, 0.25);
    --F1_15: rgba(255, 0, 70, 0.15);
    --F1_15_fest: rgb(255, 217, 227);

    --F2_100: rgba(0, 155, 164, 1.0);
    --F2_75: rgba(0, 155, 164, 0.75);
    --F2_50: rgba(0, 155, 164, 0.5);
    --F2_25: rgba(0, 155, 164, 0.25);
    --F2_15: rgba(0, 155, 164, 0.15);
    --F2_15_fest: rgb(217, 240, 241);

    --icon_F1: rgba(255, 0, 70, 0.5);
    --icon_F2: rgba(0, 155, 164, 0.5);

    --icon_F1_dark: rgba(0, 0, 0, 0.7);
    --icon_F2_dark: rgba(0, 0, 0, 0.3);

    --dark_100: rgba(0, 0, 0, 1.0);
    --dark_75: rgba(0, 0, 0, 0.75);
    --dark_50: rgba(0, 0, 0, 0.5);
    --dark_25: rgba(0, 0, 0, 0.25);

    --light_100: rgba(255, 255, 255, 1.0);
    --light_75: rgba(255, 255, 255, 0.75);
    --light_50: rgba(255, 255, 255, 0.5);
    --light_25: rgba(255, 255, 255, 0.25);
}

/***********************************************************
* Fonts ... H-ing font Apercu-Ersatz 'DroidSans'
***********************************************************/
@font-face {
    font-family: 'normal';
    src: url('./media/fonts/DroidSans-webfont.woff');
}

@font-face {
    font-family: 'bold';
    src: url('./media/fonts/DroidSans-Bold-webfont.woff');
}

@font-face {
    font-family: 'mono';
    src: url('./media/fonts/droidsansmono-webfont.woff');
    font-weight: normal;
}
@font-face {
    font-family: 'encode_sans_semicondensedthin';
    src: url('./media/fonts/encodesanssemicondensed-thin-webfont.woff2') format('woff2'),
         url('./media/fonts/encodesanssemicondensed-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0px;
    overflow: hidden;
    font-family: "normal", Ubuntu, sans-serif;
    font-size: 16px;
    -webkit-user-select: none;
    user-select: none;
    background-color: transparent;
}
h1,h2,h3,h4,h5,h6 {
    margin-top: 1em;
    margin-bottom: 0.6em;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 22px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--F2_75);
}
a:hover {
    color: var(--F2_100);
}

p {
    margin: 10px 0px;
}

ul,
ol {
    margin: 20px 0px;
    padding-left: 20px;
}

li {
    margin: 6px 0px;
}

table {
    margin: 10px 0px;
    border-collapse: collapse;
}

th {
    font-weight: normal;
    padding: 6px 12px;
    border: 1px solid var(--F2_50);
    background-color: var(--F2_25);
}

td {
    padding: 6px 12px;
    border: 1px solid var(--F2_50);
}

blockquote {
    margin: 20px 0px;
    padding: 6px 20px;
    border-radius: 6px;
    background-color: var(--F2_25); 
}

blockquote > p {
    margin: 6px 0px;
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    color: var(--light_75);
}

.v3d-container div a {
    display:none;
}
.v3d-container div.poi-textBox a {
    display: inline;
}

.v3d-canvas {
    background-color: var(--F2_15_fest);
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

.bar-top {
    position: absolute;
    top: 3px;
    width: 100%;
    height: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    z-index: 99;
}

.bar-top > div {
    height: 40px;
    border-radius: 13px;
    margin: 2px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-top > div > svg {
    width: 40px;
    height: 40px;
}

.bar-bottom {
    position: absolute;
    bottom: 8px;
    width: 100%;
    height: 0;
    background-color: var(--F2_50);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-end;
}

.bar-sub {
    position: absolute;
    top: 56px;
    width: 100%;
    height: 0;
    background-color: var(--F2_50);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    z-index: 99;
}

.bar-sub-box {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.camera-box > div {
    cursor: pointer;
}

.layer-box > div {
    cursor: pointer;
}

.bar-sub-box > div {
    height: 30px;
    border-radius: 10px;
    margin: 2px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-sub-box > div > svg {
    width: 30px;
    height: 30px;
}

.bar-sub-box2,
.bar-sub-box3,
.bar-sub-box4 {
    width: 100%;
    height: 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.bar-sub-box3 {
    justify-content: end;
}
.bar-sub-box4 {
    height: auto;
}

.camera-tools,
.sun-tools {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    z-index: 99;
}

.camera-tools > div,
.sun-tools > div {
    height: 30px;
    margin: 3px 0;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.camera-tools > div {
    margin-top: 10px;
}

.camera-tools > div > svg,
.sun-tools > div > svg {
    width: 30px;
    height: 30px;
}

.camera-tools > div:first-child,
.sun-tools > div:first-child {
    border-radius: 18px 0 0 18px;
    margin-left: 3px;
}

.camera-tools > div:last-child,
.sun-tools > div:last-child {
    border-radius: 0 18px 18px 0;
    margin-right: 3px;
}

.poi-textBox {
    max-width: 800px;
    margin: 10px 5px 5px 5px;
    padding: 18px 0px 18px 28px;
    border-radius: 18px;
    background-color: var(--dark_75);
}

.poi-textBox > div {
    padding-right:28px;
    overflow-x: auto;
    overflow-y: auto;
}

.poi-textBox img {
    max-width: 100%;
}

.poi-textBox-label {
    padding-bottom: 10px;
    font-size: 22px;
    color: var(--F2_100);
}


.camera-tools .item {
    background-color: var(--dark_75);
}
.item {
    background-color: var(--dark_50);
}

.item > span,
.item-active > span {
    padding: 3px 10px;
}

.item-active {
    background-color: var(--dark_100);
}

/***********************************************************
* slider
***********************************************************/
.slider-box {
    margin-top: 0px;
}

.slider-valuebox {
    position: relative;
    top: 0;
    margin: 3px 6px 0 6px;
    height: 22px;
    color: var(--light_100);
    text-shadow: 0 0 4px var(--dark_100);
}

#sunAnimationSlider_valueBox {
    display: none;
}

.slider-value {
    position: absolute;
    left: 50%;
    width: 50px;
    margin-left: -25px;
    text-align: center;
}

.slider-inputbox {
    height: 20px;
}

.slider-label {
    margin-top: 4px;
    text-align: center;
    color: var(--light_100);
    text-shadow: 0 0 4px var(--dark_100);
}

/***********************************************************
* POI
***********************************************************/
.poi-annotation-point {
    position: absolute;
    width: 0;
    height: 0;
}
.poi-annotation {
    transform: translate( -50%, -50%);
    padding: 6px 10px;
    border-width: 0;
    border-radius: 15px;
    background: var(--dark_75);
    color: var(--light_100);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.poi-annotation:hover {
    cursor: pointer;
}

.poi-annotation-dialog {
    color: var(--light_100);
    background: var(--dark_50);
    font-family: "normal", Ubuntu, sans-serif;
    font-size: 14px;
}

/***********************************************************
* svg
***********************************************************/
svg {
    display: block;
}

svg.icon {
    stroke-linecap: round;
    cursor: pointer;
}

.color1 {
    stroke: var(--light_75);
    stroke-width: 1.5;
}
div.item-active > svg > g > .color1 {
    stroke: var(--F2_100);
}

.color2 {
    stroke: var(--light_25);
    stroke-width: 2.0;
}
div.item-active > svg > g > .color2 {
    stroke: var(--F2_50);
}

/***********************************************************
* input date
***********************************************************/
input[type=date] {
    margin: 3px;
    padding: 4px;
    font-size: 14px;
    color: var(--light_75);
    background: transparent;
    border: 1px solid var(--light_50);
    border-radius: 6px;
    cursor: pointer;
}

input[type=date]:focus {
    outline: none;
}

/***********************************************************
* input range
***********************************************************/
input[type=range] {
    height: 10px;
    margin: 0;
    padding: 0;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    box-shadow: 0px 0px 0px var(--dark_100);
    background: var(--light_75);
    border-radius: 0px;
    border: 1.5px solid var(--dark_25);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px var(--dark_100);
    border: 1.5px solid var(--dark_50);
    height: 12px;
    width: 12px;
    border-radius: 10px;
    background: var(--light_100);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--light_100);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    box-shadow: 0px 0px 0px var(--dark_100);
    background: var(--light_75);
    border-radius: 0px;
    border: 1.5px solid var(--dark_25);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px var(--dark_100);
    border: 1.5px solid var(--dark_50);
    height: 12px;
    width: 12px;
    border-radius: 10px;
    background: var(--light_100);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: var(--light_75);
    border: 1.5px solid var(--dark_25);
    border-radius: 0px;
    box-shadow: 0px 0px 0px var(--dark_100);
}

input[type=range]::-ms-fill-upper {
    background: var(--light_75);
    border: 1.5px solid var(--dark_25);
    border-radius: 0px;
    box-shadow: 0px 0px 0px var(--dark_100);
}

input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px var(--dark_100);
    border: 1.5px solid var(--dark_50);
    height: 12px;
    width: 12px;
    border-radius: 10px;
    background: var(--light_100);
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: var(--light_100);
}

input[type=range]:focus::-ms-fill-upper {
    background: var(--light_100);
}

/***********************************************************
* simple preloader
**********************************************************/
.v3d-simple-preloader-bar {
    background: linear-gradient(90deg, var(--F1_15_fest), var(--F1_100));
    height: 20px;
    border-color: var(--F1_15_fest);
}

.v3d-simple-preloader-background {
    background-color: var(--F2_100);
}

.v3d-simple-preloader-logo {
    background-image: url('media/Logo_Holenstein_H_Weiss.png');
}

.v3d-simple-preloader-container {
    --v3d-preloader-img-width: 240px;
    --v3d-preloader-img-height: 240px;
}
