/* Custom stylesheet for www.scsc.no, (c) 2007 Daniel Stoedle. */
/* colors: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow. */

html, body { height: 100%; }

body {
	margin: auto;
	font-size: 12px;
	font-family: geneva, verdana, helvetica, sans-serif;
	background: #eee;
	color: black;
}

h1,h2,h3,h4 {
	text-shadow: 0px 2px 2px #bbb;
	color: black;
}

a {
	color: #4475FF;
	text-decoration: none;
}

.shadow {
	box-shadow: 0px 2px 2px #bbb;
}


.fontshadow {
	text-shadow: 0px 2px 2px #bbb;
}

.tools-gradient {
	background: #eee;
	background: linear-gradient(to bottom, #eee, #aaa);
}


.screenshot-container {

}

.screenshot {
	width: 27%;
	height: auto;
	margin: 10px;
	position: relative;
	float: none;
	vertical-align:top;
	display:inline-block;
}

.screenshot img {
	width: 100%;
}


.nlive-background {
	background: #fff;
	background: linear-gradient(#fff, #ddd);
}


.sidebar-container {
	min-width:350px;
	max-width:350px;
	max-height: 100%;
	overflow:hidden;
	float:left;
	position: relative;
}

.viz-container {
	position: relative;
	float:left;
	overflow: auto;
	height: 100%;
	width: 100%;
	transition: height 0.75s ease-out;
}



.sidebar {
	position: relative;
	float: left;
	height: auto;
	max-width: 20%;
	min-width: 180px;
	width: auto;
	height: auto;
}

.sidebar-item {
	background: transparent;
	padding: 3px 3px;
	display: block;
}
.sidebar-item:hover { background: #aaa; }

.rotated {
	transform: rotate(90deg);
}

.project-btn {
	border-radius: 50%;
	border-style: solid;
	border-width: 1px;
	border-color: #fff;
	background: rgba(102, 102, 102, 0.5);
}

.project-btn:not(:active) {
    transition: background-color 500ms ease-out, transform 250ms ease-out;
}

.project-btn:active {
    background: #fff;
}

.project-btn-opaque {
	border-radius: 50%;
	border-style: solid;
	border-width: 1px;
	border-color: #fff;
	background: rgba(102, 102, 102, 1.0);
	width: 52px;
	height: 52px;
}

.project-btn-opaque:not(:active) {
    transition: background-color 500ms ease-out, transform 250ms ease-out;
}

.project-btn-opaque:active {
    background: #fff;
}



.sidebar-active {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  
  border-left:10px solid #333;
  float:left;
  margin-top: 12px;
  margin-right:10px;
}
.sidebar-inactive {
  width: 20px;
  height: 20px;
  background: transparent;
  float:left;
}


.main {
	position: relative;
	float: left;
	height: auto;
	padding: 5px;
	margin-left: 20px;
	flex-grow: 1;
}


.gradient { 
	background: #ffcc00;
	background: -moz-linear-gradient(left, rgb(255,204,0), white);
	background: -webkit-gradient(linear, left top, right top, from(#ffcc00), to(#ffffff));
	height: auto;
}

.line {
	width:				100%;
	border-style:		solid;
	border-width:		1px;
	border-color:		#555;
}


.rounded-image {
	z-index: 10;
	position:relative;
	border-radius: 11px;
	-moz-border-radius: 11px;
	text-align: center;
}


.footer {
	clear:left;
	height:100px;
	width:800px;
}

.round-border {
	border-radius: 6px;
	-moz-border-radius: 6px;	
}

img {
	border-style: none;
}

.overlap {
	position:absolute;
	left:0px;
	top:0px;
	margin-left:128px;
	margin-top:18px;
}

canvas:-webkit-full-screen {
		width: 100%;
		height: 100%;
}

.centered {
	position: absolute;
	top: 25%;
	left: 25%;
	margin-top:-12.5%;
	margin-left:-12.5%;
	width:75%;
	height:75%;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

.annotation {
	width: 100%;
	height: auto;
	margin: 0px;
	margin-bottom:5px; 
	position: relative;
	float: left;
	vertical-align:top;
	text-align: left;
	display:block;
	box-sizing:border-box;
}


.tab-container {
	width:100%;
	display:flex;
	flex-flow:row;
	border-bottom: solid 1px #000;
}

.tab {
	float:left;
	position: relative;
	background-color: #ddd;
	cursor: pointer;
	border-left: solid 0.5px #999;
	flex: 2 0 auto;
}



.project, .dataset {
	width: calc(100% - 20px);
	height: auto;
	margin: 0px;
	position: relative;
	float: none;
	vertical-align:top;
	display:inline-block;
	border-style: solid none none solid;
	border-width: 1px 0px 0px 1px;
	border-color: #fff #000 #000 #000;
	box-sizing: border-box;
    margin-left: 20px;
}

.dataset-group {
	background-color: #ddd;
	border-left: 1px solid #000;
	border-radius: 0px;
	margin: 0px 0px 0px 20px;
	cursor:pointer;
	text-align:left;
	box-sizing: border-box;
}

.dataset-group-top-level {
    border-left: 0px none #000;
    margin-left:0px;
}

.dataset-container {
    padding-bottom:10px;
}



.canvas-container {
	position: relative;
	float: left;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.canvas-container:-webkit-full-screen {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}


.page-container {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
}



.minimized {
	width:	32px;
	height:	32px;
	opacity: 0;
}

.animatedSize {
	transition:			width .2s ease-out, height .2s ease-out;
	-moz-transition:	width .2s ease-out, height .2s ease-out;
	-webkit-transition: width .2s ease-out, height .2s ease-out;
}

.animatedSizeOpacity {
	transition:			width .2s ease-out, height .2s ease-out, opacity .2s ease-out;
	-moz-transition:	width .2s ease-out, height .2s ease-out, opacity .2s ease-out;
	-webkit-transition: width .2s ease-out, height .2s ease-out, opacity .2s ease-out;
}


.animatedOpacity {
	transition:			opacity .2s ease-out;
	-moz-transition:	opacity .2s ease-out;
	-webkit-transition: opacity .2s ease-out;
}

.input-header {
	float: left;
	width: auto;
	font-size: 12px;
	width: 100%;
	margin-bottom: 5px;
	margin-left: 10px;
	text-shadow: 0px 2px 2px #bbb;
}

.input-field {
	float: left;
	margin-left: 10px;
	width: 90%;
	min-width: 20%;
	margin-bottom: 10px;
}

.input-label {
	float: left;
	width: 20%;
	margin-left: 10px;
	text-align: center;
	background-color: #f00;
}

.progressContainer {
	float:left;
	background: #ccc;
	height: 20px;
	border-style: solid;
	border-width: 1px;
	border-color: #ddd;
	position: relative;
	padding: 3px;
	float:left;
	box-sizing: border-box;
	border-radius: 2px;
	transition:			opacity 1s ease-in-out;
	-moz-transition:	opacity 1s ease-in-out;
	-webkit-transition: opacity 1s ease-in-out;
}

.progressBar {
	background: #5af;
	height: 100%;
	width: 100%;
	position: relative;
	float: left;
	box-sizing: border-box;
	border-radius: 2px;
}

.dragTarget {
	float: left;
	position: relative;
	margin: 5px;
	padding: 5px;
	border-style: dashed;
	border-width: 1px;
	border-color: #eee;
}

.menu-button {
	background-color:	white;
	padding-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
	margin-right: 5px;
	min-width: 30px;
	height: 36px;
	position: relative;
	float: left;
}

.menu-button-container {
	padding:			0px;
	z-index:			10;
	background-color:	rgba(0,0,0,0.0);
	position:			absolute;
	top:				10px;
	left:				10px;
	border-radius:		3px;
	-moz-border-radius:	3px;
	overflow:			hidden;
	opacity:			1.0;
	width:				95%;
	height:				auto;
	max-height:			10%;
	color:				black;
	font-size:			10px;
}

.collapsed {
	height: 0px;
}

.login-box {
	border-style:		solid;
	border-color: #fff;
	border-width: 2px;
}

input { box-sizing: border-box; }


.month-grid {
	border-radius: 5px;
	border-style: solid;
	border-width: 1px;
	border-color: #fff;
	background: rgba(102, 102, 102, 0.5);
	font-size: 16px;
	line-height: 64px;
	text-shadow: 0px 2px 2px #bbb;
	color:black;
	margin: 5px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align:middle;
	width: 64px;
	height: 64px;
	cursor:pointer;
}

.month-grid:not(:active) {
    transition: background-color 500ms ease-out;
}

.month-grid:active {
    background: #fff;
}


.month-selected {
	background: rgba(255, 218, 0, 1.0);
}

.left-arrow {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 26px 36px 26px 0;
	border-color: transparent #ffda00 transparent transparent;
}

.right-arrow {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 26px 0 26px 36px;
	border-color: transparent transparent transparent #ffda00;
}


.up-arrow {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 26px 36px 26px;
	border-color: transparent transparent #ffda00 transparent;
	position:absolute;
	bottom:0px;
	left: calc(50% - 26px);
}


.down-arrow {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 36px 26px 0 26px;
	border-color: #ffda00 transparent transparent transparent;
	position:absolute;
	bottom:0px;
	left: calc(50% - 26px);
}

.arrow-container {
	z-index:11;
	background:#fff;
}

.arrow-box {
	position:absolute;
	bottom:30px;
	left: 20%;
	border-radius: 3px;
	background: #999;
	border: 1px solid #fff;
	width:60%;
	height:100px;
	z-index:11;
	pointer-events: none;
}
.arrow-box:after, .arrow-box:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: auto;
}

.arrow-box:after {
	border-color: rgba(153, 153, 153, 0);
	border-top-color: #ffda00;
	border-width: 30px;
	margin-left: -30px;
}
.arrow-box:before {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 31px;
	margin-left: -31px;
}


.annotation-popup {
	border-radius: 3px;
	background-color: #ddd;
	position: absolute;
	width: 330px;
	height: auto;
	overflow: scroll;
	z-index: 13;
}


.live-data {
	position:absolute;
	bottom:0px;
	left: 350px;
	height:25%;
	width: calc(100% - 350px);
	background-color: #eee;
}

.image-box {
	border-radius: 6px;
	position: absolute;
	position: fixed;
    top: 50%;
    left: 50%;
	height:80%;
	width:80%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	max-height: 80%;
	max-width:80%;
	background-color: #eee;
	z-index:20;
}


.walkmode-popup {
	border-radius: 3px;
	background-color: #ddd;
	position: absolute;
	max-width: 330px;
	min-width: 100px;
	height: auto;
	overflow: scroll;
	z-index: 15;
	transform: translate(-50%, 0px);
	left:50%;
	top:0%;
	margin-left:auto;
	margin-right:auto;
	transition: all 500ms ease-out;
	cursor:pointer;
}

.walkmode-inner {
	width: 330px;
	height: 12.5ex;
	transition: all 250ms ease-out;
}

.walkmode-inner-collapsed {
	width: 0px;
	height: 0px;
}


.scrolling {
	top: 0;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	z-index:6;
	width: 100%;
	height: 100%;
}

.tab {
	width:33%;
	float:left;
	position: relative;
	background-color: #ddd;
	cursor: pointer;
}

.selected {
	background-color: #cfc;
}


.settings-table {
	border: none;
}

.settings-row {
	border: none;
	padding-top:30px;
}

.settings-cell {
	border: none;
	vertical-align: center;
	text-align: left;
	border: none;
	padding: 3px;
	padding-bottom: 0px;
}

[data-number] {
	position: relative;
	box-sizing: border-box;
}

[data-number]:after {
	content: attr(data-number);
	position: absolute;
	top: -27px;
	right: -10px;
	background: #333;
	color: white;
	font-size: 10px;
	min-width: 10px;
	width: auto;
	padding-left:3px;
	padding-right:3px;
	height: 16px;
	text-align:center;
	line-height: 16px;
	border-radius:10px;
	border: 1px solid white;
	pointer-events: none;
    z-index: 100;
}

[data-state] {
	position: relative;
}

[data-state]:after {
	content: attr(data-state);
	position: absolute;
	bottom: 50%;
	right: calc(50% - 10px);
	font-size: 10px;
	min-width: 8px;
	background: #3f3;
	color: white;
	width: auto;
	padding-left:3px;
	padding-right:3px;
	height: 15px;
	text-align:center;
	line-height: 15px;
	border-radius:7.5px;
	border: 1px solid white;
	pointer-events: none;
}

@keyframes highlight {
    0% {
        background: #ffff99; 
    }
    100% {
        background: #eee;
    }
}

.highlight {
    animation: highlight 0.75s;
}

.hidden { display: none; }

.footer-area {
	position: absolute;
	bottom:0%;
	left:0%;
	width:100%;
	z-index:100;
	background:#eee;
}

.timeline-window {
	float:left;
	width:100%;
	overflow:hidden;
	border:solid white 1px;
	font-size:9px;
}

.window-min-bar {
    background: #0f0;
}

.vertical-bar {
    width: 0px;
    border-left: 1px solid #555;
    height: 28px;
    margin-bottom: 2px;
    background: #000;
    display: inline-block;
}
