
body {
	font-family: "Segoe UI Semilight", "Segoe UI Light", "Segoe UI", Arial, sans-serif;
	padding: 0;
	margin: 0;
	border-width: 0px;

	/*Stop highlighting/selection*/
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;           /* Not for any known browser */

	cursor: default;

	background-color: #FAFAFA;
	
	//overflow: hidden;
	
	/* Prevent scrolling in IE mobile */
	-ms-touch-action: none;
	touch-action: none;
}

html {
	-webkit-text-size-adjust: none;
}

a {
	color: inherit;
	text-decoration: inherit;
}

#titleBar {
	background-color: #555555;
	color: whitesmoke;
	padding-left: 1vh;
	padding-right: 1vh;
	height: 8vh;
	line-height: 7.5vh;
	font-size: 4vh;
}
#titleBar, #titleBar * {
	z-index: 100;
}

#titleBarMoreButton {
	right: 0px;
	padding-left: 2vh;
	padding-right: 2vh;
	background-color: #555555;
}

@media (min-aspect-ratio: 1/1) { /* "1" doesn't work */
	#titleBarButtons {
		visibility: visible !important; /* override values in html */
	}
	#titleBarMoreButton {
		display: none;
	}
	#titleBarButtons > .horizontalList > li:last-child {
		margin-right:1.5vw;
	}
}
@media (max-aspect-ratio: 999/1000) { /* 0.999/1 doesn't work */
	#titleBarButtons {
		top: 8vh;
		visibility: hidden;
	}
	#titleBarMoreButton {
		display: block;
		right: 0px;
	}
	#titleBarButtons > .horizontalList {
		display: block;
	}
	#titleBarButtons > .horizontalList > li {
		display: block;
	}
	#titleBarButtons > .horizontalList > li > .inline {
		display: block;
	}
}


.horizontalList {
	display: inline;
	padding: 0;
	margin: 0;
}
.horizontalList > li {
	display: inline;
	padding: 0;
	margin: 0;
}

.inline {
	display: inline;
}

.absolute {
	position: absolute;
}


#titleBarButtons {
	background-color: inherit;
}
#titleBarButtons {
	background-color: inherit;
}
#titleBarButtons > ul > li {
	margin-left: 1vw;
	margin-right: 1vw;
	background-color: inherit;
}

.titleBarIcon {
	width: 6vh;
	height: 6vh;
	display: inline;
	vertical-align: middle;
	padding: 0;
	margin: 0;
	position: relative;
	margin-top: -0.9vh;
}


#loadingOverlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1000;
}


#spinnerContainer {
	position: absolute;
	width: 100%;
	top: calc(50% - 10vh);
}



#main {
	position: relative;
	top: 0;
	height: 92vh;
	padding: 0;
	margin: 0;
	border: 0;
	vertical-align: top;
}


.sliderRail {
	width: 100%;
	/*height: 0.4vh;
	border: 1px solid #BBBBBB;
	margin-top: 1.6vh;
	margin-bottom: 1.6vh;
	background-color: #DDDDDD;
	position: relative;*/
	height: 1px;
	top: 1px;
	background-color: transparent;
	position: absolute;
	/* NO Z-INDEX (avoid creating stacking context) */
}

.sliderNode {
	width: 60px;
	position: absolute;
	height: 20px;
	background-color: rgba(127,127,127,0.05);
	/* NO Z-INDEX (avoid creating stacking context) */
}

/* Semicircle shaped nodes *-/
.sliderNode:after {
	content: '';
	width: 16px;
	height: 8px;
	left: 22px;
	border-radius: 0px 0px 8px 8px;
	position: absolute;
	background-color: #888;
}/**/

/* Triangle shaped nodes *-/
.sliderNode:after {
	content: '';
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #888;
	position: relative;
	top: 10px;
}/**/

/* Upside-down-house shaped nodes */
.sliderNode:after {
	content: '';
	
	width: 0px;
	height: 0px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #888;
	
	box-shadow: 0px -12px 0px #888;
	position: relative;
	top: 18px;
	
	z-index: -10;
}/**/


.letterWidthLine {
	content: '';
	height: calc(50vh + 2px);
	background-color: #BBB;
	width: 2px;
	z-index: -10; /* Because the slider rail and node do not create a stacking context, this works (and goes behind the canvas) */
	position: absolute;
	left: 29px;
}



#importDialogOverlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1000;
}

.importDialog {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background-color: #fff;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
	opacity: 1;
	width: 400px;
	color: #444;
	border-radius: 3px;
	padding: 2rem;
}

.importDialogClose {
	color: #999;
	line-height: 50px;
	font-size: 80%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 70px;
	text-decoration: none;
	cursor: pointer;
}

.importDialogClose:hover {
	color: #000
}

.importDialog h1 {
	font-size: 150%;
	margin: 0 0 15px
}

#styleImportArea {
	width: 100%;
	height: 5rem;
	font-family: inherit;
	resize: vertical;
	max-height: 50vh;
}
