: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: 0;
    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: 2em;
}
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.3em;
}
h5 {
    font-size: 1.2em;
}
h6 {
    font-size: 1.1em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

.overlay-textBox h1,
.overlay-textBox h2,
.overlay-textBox h3 {
    color: var(--F2_100);
}

a {
    text-decoration: none;
    color: var(--F2_75);
}
a:hover {
    color: var(--F2_100);
}

p {
    margin: 0.6em 0;
}

ul,
ol {
    margin: 1.2em 0;
    padding-left: 1.2em;
}

li {
    margin: 0.4em 0;
}

table {
    margin: 0.6em 0;
    border-collapse: collapse;
}

th {
    font-weight: normal;
    padding: 0.4em 0.6em;
    border: 1px solid var(--F2_50);
    background-color: var(--F2_25);
}

td {
    padding: 0.4em 0.6em;
    border: 1px solid var(--F2_50);
}

blockquote {
    margin:  1.2em 0;
    padding: 0.4em 1.2em;
    border-radius: 0.4em;
    background-color: var(--F2_25); 
}

blockquote > p {
    margin: 0.4em 0;
}

.v3d-container {
    position: absolute;
    top: 0;
    left: 0;
    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);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    background-color: var(--dark_25);
    z-index: 90;
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

.bar-top-left {
    position: absolute;
    top: 0.2em;
    left: 0.2em;
    width: auto;
    display: flex;
    flex-flow: column nowrap;
    z-index: 80;
}
.bar-top-left > div {
    height: 2.5em;
    border-radius: 0.8em;
    margin: 0;
    padding: 0.25em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-top {
    position: absolute;
    top: 0.2em;
    width: 100%;
    height: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    z-index: 80;
}

.bar-top > div {
    height: 2.5em;
    border-radius: 0.8em;
    margin: 0.15em;
    padding: 0.25em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-top > div > svg {
    width: 2.5em;
    height: 2.5em;
}

.bar-bottom {
    position: absolute;
    bottom: 0.5em;
    width: 100%;
    height: 0;
    background-color: var(--F2_50);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-end;
    z-index: 80;
}

.bar-sub {
    position: absolute;
    top: 3.6em;
    width: 100%;
    height: 0;
    background-color: var(--F2_50);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    z-index: 80;
}

.bar-sub-box {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.camera-box > div {
    cursor: pointer;
}

.layer-box > div {
    cursor: pointer;
}

.poi-tools > div:last-child {
    cursor: pointer;
}

.bar-sub-box > div {
    height: 1.9em;
    border-radius: 0.6em;
    margin: 0.15em;
    padding: 0.25em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-sub-box > div > svg {
    width: 1.9em;
    height: 1.9em;
}

.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;
    width: auto;
}

.camera-tools,
.poi-tools,
.overlay-tools,
.sun-tools {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.overlay-tools {
    justify-content: right;
}

.camera-tools > div,
.poi-tools > div,
.overlay-tools > div,
.sun-tools > div {
    height: 1.9em;
    margin: 0.2em 0;
    padding: 0.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.camera-tools > div {
    margin-top: 0.6em;
}

.poi-tools > div {
    justify-content: left;
}

.overlay-tools > div {
    height: 1.2em;
}

.camera-tools > div > svg,
.poi-tools > div > svg,
.overlay-tools > div > svg,
.sun-tools > div > svg {
    width: 1.9em;
    height: 1.9em;
}

.camera-tools > div:first-child,
.sun-tools > div:first-child {
    border-radius: 1.2em 0 0 1.2em;
    margin-left: 0.2em;
}

.camera-tools > div:last-child,
.sun-tools > div:last-child {
    border-radius: 0 1.2em 1.2em 0;
    margin-right: 0.2em;
}

.poi-textBox,
.overlay-textBox {
    max-width: 800px;
    margin: 0.6em 0.3em 0.3em 0.3em;
    padding: 0.5em 0em 1.2em 1.3em;
    border-radius: 1.2em;
    background-color: var(--dark_75);
    user-select: text;
}

.overlay-textBox {
    max-width: 1200px;
    min-width: 400px;
    max-height: calc(100% - 8em);
    margin-top: 4em;
    padding-left: 2em;
    color: var(--dark_75);
    background-color: var(--light_75);
}

.overlay-textBox path.color1 {
    stroke: var(--dark_75);
}

.poi-textBox > div,
.overlay-textBox > div {
    padding-right: 0.75em;
}

.poi-textBox > div:last-child,
.overlay-textBox > div:last-child {
    padding-top: 0.35em;
    padding-right: 1.3em;
    overflow-x: auto;
    overflow-y: auto;
}
.overlay-textBox > div:last-child {
    max-height: calc(100% - 2em);
    padding-top: 0;
    padding-right: 2em;
}

.poi-textBox img,
.overlay-textBox img {
    max-width: 100%;
}

.poi-textBox-label {
    flex-grow: 1;
    color: var(--F2_100);
}

.poi-textBox-label span {
    font-size: 1.3em;
}

.poi-tools .item,
.overlay-tools .item {
    background: none;
}

.camera-tools .item,
.camera-tools .item-label {
    background-color: var(--dark_75);
}

.item,
.item-label {
    background-color: var(--dark_50);
}

.item-label {
/*     font-family: "bold", Ubuntu, sans-serif; */
}

.item {
    cursor: pointer;
}

.item > span,
.item-label > span,
.item-active > span {
    padding: 0.2em 0.5em;
    white-space: nowrap;
}

.item > svg + span,
.item-active >  svg + span {
    padding: 0.2em 0.5em 0.2em 0.3em;
}


.item-active {
    cursor: pointer;
    background-color: var(--dark_100);
}

.item-active > span {
    color: var(--F2_100);
}

.item:hover,
.item-active:hover {
    filter: brightness(1.3);
}


/***********************************************************
* slider
***********************************************************/
.slider-box {
    margin-top: 0;
}

.slider-valuebox {
    position: relative;
    top: 0;
    margin: 0.2em 0.35em 0 0.35em;
    height: 1.3em;
    color: var(--light_100);
    text-shadow: 0 0 0.25em var(--dark_100);
}

#sunAnimationSlider_valueBox {
    display: none;
}

.slider-value {
    position: absolute;
    left: 50%;
    width: 3em;
    margin-left: -1.5em;
    text-align: center;
}

.slider-inputbox {
    height: 1.25em;
}

.slider-label {
    margin-top: 0.25em;
    text-align: center;
    color: var(--light_100);
    text-shadow: 0 0 0.25em var(--dark_100);
}

/***********************************************************
* MessBox
***********************************************************/
.mess-box {
    position: absolute;
}
/***********************************************************
* MessPunkt
***********************************************************/
.mess-point {
    position: absolute;
    width: 0;
    height: 0;
}
.mess-point-marker {
    position: absolute;
    transform: translate( -50%, -50%);
    width: 0.7em;
    height: 0.7em;
    border-style: solid;
    border-width: 0.18em;
    border-radius: 50%;
    border-color: var(--light_100);
    background: var(--dark_100);
    cursor: pointer;
}
.mess-point-pfeil {
    position: absolute;
    bottom: 0;
    transform: translate( -50%, -0.8em);
    width: 0.8em;
    height: 0.8em;
    background-color: transparent;
}
.mess-point-pfeil > svg > g > path {
    fill: var(--dark_75);
}
.mess-point-label {
    position: absolute;
    bottom: 0;
    transform: translate( -50%, -1.5em);
    padding: 0.15em 0.4em;
    border-radius: 0.4em;
    background: var(--dark_75);
    user-select: text;
}
/***********************************************************
* MessLinie
***********************************************************/
.mess-line {
    position: absolute;
    width: 0;
    height: 0;
}
.mess-linie-pfeil {
    position: absolute;
    bottom: 0;
    transform: translate( -50%, 0em);
    width: 0.8em;
    height: 0.8em;
    background-color: transparent;
}
.mess-linie-pfeil > svg > g > path {
    fill: var(--dark_50);
}
.mess-linie-textbox {
    position: absolute;
    bottom: 0;
    transform: translate( -50%, -0.7em);
    padding: 0.15em 0.4em;
    border-radius: 0.4em;
    background: var(--dark_50);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}
.mess-linie-textbox-item {
    display: flex;
    justify-content: left;
    align-items: center;
    white-space: nowrap;
    user-select: text;
}
.mess-linie-textbox-item > svg {
    width: 1.5em;
    height: 1.5em;
}
.mess-linie-textbox-item > span {
    padding: 0em 0em 0em 0.4em;
}

/***********************************************************
* POI
***********************************************************/
.poi-annotation-point {
    position: absolute;
    width: 0;
    height: 0;
}
.poi-annotation {
    transform: translate( -50%, -50%);
    padding: 0.35em 0.6em;
    border-width: 0;
    border-radius: 1em;
    background: var(--dark_75);
    color: var(--light_100);
    font-size: 0.9em;
    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: 0.9em;
}

/***********************************************************
* svg
***********************************************************/
svg {
    display: block;
}

svg.icon {
    stroke-linecap: round;
}

.color1 {
    stroke: var(--light_75);
    stroke-width: 1.5;
}
div.item-active > svg > g > .color1 {
    stroke: var(--F2_100);
}

.color2 {
    stroke: var(--light_50);
    stroke-width: 2.0;
}
div.item-active > svg > g > .color2 {
    stroke: var(--F2_50);
}

.color3 {
    stroke: var(--light_100);
    stroke-width: 2.2;
}

.color4 {
    stroke-width: 0;
}

/***********************************************************
* input date
***********************************************************/
input[type=date] {
    margin: 0.2em;
    padding: 0.25em;
    font-size: 0.9em;
    color: var(--light_75);
    background: transparent;
    border: 1px solid var(--light_50);
    border-radius: 0.35em;
    cursor: pointer;
}

input[type=date]:focus {
    outline: none;
}

/***********************************************************
* input range
***********************************************************/
input[type=range] {
    height: 0.6em;
    margin: 0;
    padding: 0;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.15em;
    cursor: pointer;
    box-shadow: 0px 0px 0px var(--dark_100);
    background: var(--light_75);
    border-radius: 0;
    border: 0.1em solid var(--dark_25);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px var(--dark_100);
    border: 0.1em solid var(--dark_50);
    height: 0.75em;
    width: 0.75em;
    border-radius: 0.6em;
    background: var(--light_100);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -0.5em;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--light_100);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 0.15em;
    cursor: pointer;
    box-shadow: 0px 0px 0px var(--dark_100);
    background: var(--light_75);
    border-radius: 0;
    border: 0.1em solid var(--dark_25);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px var(--dark_100);
    border: 0.1em solid var(--dark_50);
    height: 0.75em;
    width: 0.75em;
    border-radius: 0.6em;
    background: var(--light_100);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 0.15em;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: var(--light_75);
    border: 0.1em solid var(--dark_25);
    border-radius: 0;
    box-shadow: 0px 0px 0px var(--dark_100);
}

input[type=range]::-ms-fill-upper {
    background: var(--light_75);
    border: 0.1em solid var(--dark_25);
    border-radius: 0;
    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: 0.1em solid var(--dark_50);
    height: 0.75em;
    width: 0.75em;
    border-radius: 0.6em;
    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: 1.25em;
    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;
}
