*, *::after, *::before {
  box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #1E1E1E;
    line-height: 1.47059;
    letter-spacing: -.022em;
}

/*tools*/
.tools {    
    height: 0px;
}

.tools .instruction-button {   
    
    background-size: 90% 90%;
    border: none;
    bottom: 0;
    cursor: pointer;
    min-width: 36px;
    min-height: 36px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    transition: background-color .05s ease;
    -webkit-transition: background-color .05s ease;
    background: url("../images/UI/button-help.png");
    z-index: 9999;
    touch-action: manipulation;
}

.tools .blueprint-button {   
    
    background-size: 90% 90%;
    border: none;
    bottom: 0;
    cursor: pointer;
    min-width: 36px;
    min-height: 36px;
    position: absolute;
    bottom: 20px;
    left: 65px;
    transition: background-color .05s ease;
    -webkit-transition: background-color .05s ease;
    background: url("../images/UI/button-blueprint.png");
    z-index: 9999;
    touch-action: manipulation;
}

.a-enter-vr-button {
    background: url("../images/UI/button-vr.png") !important;
    min-width: 46px !important;
    min-height: 36px !important;
}

.a-enter-ar-button {
    display: none !important;
}


/*splash*/
#splash {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 100%;

    margin: auto;
    z-index: 10005;
    background: #EEEEDA;
    
    text-transform: uppercase;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0.25rem solid rgba(255, 255, 255, 0.8);
    border-top-color: #33B3BF;
    animation: spin 1s infinite linear;
    margin: auto;
}

.splash-container {
    max-width: 300px;
    margin: auto;
    height: 100%;
}

.logo-kultur {
    background: url("../images/UI/logo-kultur.png");
    width: 71px;
    height: 27px;
    margin: auto;
    
}

.logo-property {
    background: url("../images/UI/logo-urban.png");
    width: 146px;
    height: 151px;
    margin: auto;
    margin-bottom: 30px;
}

.splash-footer {
    position: absolute;
    bottom: 50px;
    margin: auto;
    padding: 0 37px;
}
.splash-header {
    padding-top: 100px;
    margin: auto;
}
.splash-body {
    padding-top: 100px;
    margin: auto;
}



.splash-unit-name {
    padding-bottom: 30px;
    font-size: 40px;
    line-height: 1;
}

.splash-text {
    font-size: 10px;
    font-weight: bold;
    padding: 0px 0 10px 0;
}



/*pop up*/

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border-radius: 8px;
    z-index: 10001;
    background-color: rgba(255, 255, 255, 0.9);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 20px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .title {
  font-size: 20px;
  font-weight: bold;
}

.modal-header .close-button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 30px;
    position: fixed;
    right: 1px;
    top: -3px;
}

.modal-body {
    padding: 0px 20px 20px 20px;
    font-size: 14px;
}

#overlay {
    position: fixed;
    z-index: 10000;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    pointer-events: none;
}

#overlay.active {
    opacity: 1;
    pointer-events: all;
}

.blueprint-img{
    padding-bottom: 20px;
}

@media only screen and (orientation:landscape) {
    .modal#blueprint {
        height: 90%;
        width: auto;
    }
    .modal-body {
        height: 70%;
    }
    .blueprint-img{
        height: 85%;
    }
} 

@media only screen and (orientation:portrait) {
    .modal {
        width: 90%;
        height: auto;
    }
    .modal-body {
        width: 100%;
    }
    .blueprint-img{
        width: 100%;
    }
} 

@media only screen and (min-width:900px) and (orientation:landscape) {
    .modal#blueprint {
        width: 40%;
        height: auto;
    }
} 