

/**
 * @title	   pano.css
 * @copyright  Copyright 2020 mf23.net. All rights reserved.
 * @link       http://mf23.net
 * @author     Patrick Guttner
 **/
 
/* variables */
:root {
    --white: #d8e7ed;
    --black: #20333b;
    --prim: #addbed;
    --prim2: #d8e7ed;
    --sec: #ffcc2c;
    --sec2: #d6b039;
	--timeFast: .2s;
    --timeSlow: .3s;
    
    --ctrl: rgba(200,200,200,0.9);
	--ctrl2: #eee;
}

/* fonts */
@font-face {
    font-family: 'BundesSans';
    font-style: normal;
    font-weight: 400;
    src: url('./res/font/BundesSansOffice-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'BundesSerif';
    font-style: normal;
    font-weight: 400;
    src: url('./res/font/BundesSerifOffice-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('./res/font/MaterialIcons-Regular.eot'); /* For IE6-8 */
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url('./res/font/MaterialIcons-Regular.woff2') format('woff2'),
      url('./res/font/MaterialIcons-Regular.woff') format('woff'),
      url('./res/font/MaterialIcons-Regular.ttf') format('truetype');
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 20px; /*  Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

/* body */
body {
	margin: 0px;
    font-family: BundesSans, Arial, sans-serif;
    font-weight: 400;
    font-size: 36px;
	color: #d8e7ed;
	background: #000;
	overflow: hidden;
}
body * {
    display: block;
    position: relative;
    height: auto;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.animate_fast {
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}
.animate_slow {
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
pre {
    font-family: courier !important;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: BundesSerif, Times, serif;
    font-weight: 200;
    margin: 0;
}
h1, h2 {
    font-size: 120%;   
    padding: 30px 0px;
}
h3, h4, h5, h6 {
    font-size: 110%;    
    text-transform: uppercase; 
    padding: 20px 0;
}
input[type="file"] {
    display: none;
}
button {
	display: none;
	border: none;
	width: 50%;
}
a {
    display: inline-block;
    color: #20333b;
    padding: 0px 5px;
    text-decoration: none;
}
a:hover {
    color: #addbed;
}
br {
    display: inline;
}
img {
    max-width: 100%;
}
p {
    width: 100%;
    margin: 0px;
}
@media all and (max-width: 1024px) {
    body {
        font-size: 32px;
    }
}
@media all and (max-width: 768px) {
    body {
        font-size: 28px;
    }
}
@media all and (max-width: 480px) {
    body {
        font-size: 24px;
    }
}

/* debug */
#quality {
	display: none;
	color: #20333b;
	background: var(--ctrl);
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding: 10px;
	pointer-events: none;
}

/* threejs view */
#container {
	cursor: move;
    opacity: 0.4;
    filter: blur(10px);
    transform: scale(1.02);
    transition: filter .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
    -moz-transition: filter .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
    -webkit-transition: filter .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
    -o-transition: filter .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
}

/* basics */
.block {
	text-align: center;
	cursor: default;
}
.btn {
    width: 30px;
    min-height: 25px;
	padding: 5px 10px 0px 10px;
    margin: 5px 3px;
    font-size: 14px;
    color: #20333b;
    background: var(--ctrl);
    border: none;
    border-radius: 2px;
	cursor: pointer;
    pointer-events: all;
    box-sizing: content-box;
}
.btn:hover,
.btn.active {
    background: var(--ctrl2);
}

/* controls */
#controls {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    position: absolute;
    min-width: 350px;
    width: calc(100% - 20px);
    bottom: 10px;
    left: 10px;
    pointer-events: none;
}
#basicControls {
    display: none;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    width: 100%;
}
#editorControls {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    width: 40%;
    margin-bottom: 10px;
}
#panoControls,
#posControls {
    flex-wrap: wrap;
}
#panoControls > div,
#posControls > div {
    display: flex;
    width: 100%;
}
#eControls {
    display: flex;
    flex-wrap: wrap;
}
#newPoiControls,
#editPoiControls {
    display: none;
    width: 100%;
}
#newPoiControls > select,
#editPoiControls > select {
    display: none;
    flex: 1;
}
#seperator {
    flex: 1;
}
.vcslider {
    flex: 1;
}
.acslider {
	height: 100px;
    padding-bottom: 5px;
    margin-bottom: 0px;
}
.dcslider {
    flex: 1;
}
input[type=range][orient=vertical] {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
}

@media all and (max-width: 1580px) {
	#editorControls {
		width: 60%;
	}
}
@media all and (max-width: 1024px) {
	#editorControls {
		width: 80%;
	}
}
@media all and (max-width: 768px) {
	#editorControls {
		width: 100%;
	}
}


