﻿body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: ArtifaktElement;
}

#header, #preview, #preview2, #overlay, #overlay2 {
    position: absolute;
    width: 100%;
}

#header {
    height: 3em;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

#preview, #overlay, #preview2, #overlay2 {
    top: 3em;
    bottom: 0;
}

#overlay {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
    display: none;
}

    #overlay > .notification {
        margin: auto;
        padding: 1em;
        max-width: 50%;
        background: white;
    }
#overlay2 {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
    display: none;
}

    #overlay > .notification {
        margin: auto;
        padding: 1em;
        max-width: 50%;
        background: white;
    }

#header > * {
    height: 2em;
    margin: 0 0.5em;
    font-size: 1em;
    font-family: ArtifaktElement;
}

#header .title {
    flex: 1 0 auto;
    height: auto;
}

#models,#models2 {
    flex: 0 1 auto;
    min-width: 2em;
}
.forgeViewer {
    width: 50%;
    height: calc(100vh - 2em);
    position: relative;
    float: left;
}
.forgeViewerfull {
    width: 100%;
    height: calc(100vh - 2em);
    position: relative;
    float: left;
}
/*------------------------------------------------------------------abc---------------------------------------------------------*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
/*----------------------------------------------------------------------------------------------------------------*/
.topnav {
    overflow: hidden;
    background-color: #333;
}
    .topnav a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

        .topnav a.active {
            background-color: #04AA6D;
            color: white;
        }
#overlayPC {
  position: absolute;
  left: 1em;
  top: 1em;
  width: 30em;
  padding: 0.5em;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/*.potree_container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  display: none; 
  z-index: 1;
}
.potree_render_area {*/
  /*background-image: url('./extensions/PoinCloud/potree/resources/images/background.jpg');*/
  /*position: absolute;
  left: 1em;
  top: 1em;
  width: 30em;
  padding: 0.5em;
  background-color: rgba(255, 255, 255, 0.0);
  border-radius: 2px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.25);
}*/