#siteLibrary {
	position: fixed;
	width: 100%;
	height: 100%;

	top: calc(-100% - 5px);
}

#siteLibrary:hover {
	top: calc(-100% + 1.5em);
}

#asl_viewer {
	width: calc(100% - 300px);
	height: 100%;

	overflow-x: hidden;
	overflow-y: scroll;

	float: left;

	position: relative;
}

.asl_header {
	width: 100%;
	height: 20px;

	top: 100%;
	margin-top: -20px;

	position: absolute;
	z-index: 1;
}

#asl_viewer > #canvasView {
	position: absolute;
	min-height: 100%;
	width: 100%;
}

.asl_viewer {
	width: 100%;
	height: 100%;

	background: #EEE;

	-moz-box-shadow: 0 7px 5px black;
	-webkit-box-shadow: 0 7px 5px black;
	box-shadow: 0 7px 5px black;
}

.asl_contentMenu {
	bottom: 0;
	position: absolute;
	padding: 1em;
}

.asl_contentMenu > span {
	margin: 0 0.2em;
	padding: 0.5em 0.5em;

	cursor: default;
	
	color: white;
	background-color: rgba(0, 0, 0, 0.6);
	font-family: custom-serif;
}

.asl_contentMenu > span:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.asl_contentMenu > span[current] {
	background-color: rgba(0, 0, 0, 0.8);
}

.asl_smask {
	height: 10px;
	background-color: royalblue;

	position: absolute;
	bottom: -5px;
	width: 100%;
}

.asl_smask:before {content: '';
	width: 100%;
	height: 20px;

	top: -10px;
	position: absolute;

	z-index: -1;
	background-color: transparent;
}

.asl_smask[expand] {
	background-image: url(http://file.astropenguin.net/blog/layout-images/collapse.png);
	background-position: center 2.5px;
	background-repeat: no-repeat;
}

.asl_smask[expand]:hover {
	height: 20px;
}

#siteLibrary .asl_title, .asl_intitle {
	font-size: 1.5em;

	font-family: custom-sans;

	overflow: hidden;

	background-color: royalblue;
	color: white;
}

#siteLibrary .asl_title {
	padding: 0.3em 0.5em;
}

.asl_contentPanel {
	overflow: hidden;
	position: absolute;

	height: calc(100% - 2.5em);
	width: 100%;
}

#siteLibrary .asl_title {
	cursor: default;

	display: inline-block;
	position: absolute;;

	right: 350px;
	bottom: -1.7em;

	-moz-box-shadow: 2px 2px 5px black;
	-webkit-box-shadow: 2px 2px 5px black;
	box-shadow: 2px 2px 5px black;
}

/*** ASL Canvases ***/
.canvasImage > span {
	width: 100px;
	height: 100px;
	float: left;
	margin: 0.2em;

	background-repeat: no-repeat;
	background-position: center;

	border: 1px solid transparent;

}

.canvasImage > span[selected] {
	background-color: lightblue;
	border-color: royalblue;
}

.canvasImage > span > span {
	width: 100%;
	height: 100%;
	display: block;
}

.canvasImage > span > span:hover {
	background-color: rgba(0, 0, 0, 0.2) !important;
	border-color: #444 !important;
}

.ci_album {
	-moz-box-shadow: 2px 3px 0 0 black;
	-webkit-box-shadow: 2px 3px 0 0 black;
	box-shadow: 2px 3px 0 0 #666;
	border: 1px solid #666 !important;
}


.canvasGeneral {
	padding: 0.2em;
	cursor: default;

	color: #444;
}

.canvasGeneral > div {
	padding: 0.2em;
}

.canvasGeneral > div:hover {
	background-color: rgba(0, 0 ,0, 0.2);
}

.canvasGeneral > div > span {
	display: inline-block;

	width: 30%;
	padding: 0.2em 0;

	overflow: hidden;
	text-overflow: ellipsis;
}

.canvasGeneral > div > span:last-child {
	width: 10%;
}

.canvasGeneral > div[selected] {
	background-color: orangered;
	color: white;
}

/*** End ASL Canvases ***/

/*** Uploader ***/
#asl_uploader {
	width: 300px;
	height: 100%;

	float: right;

	font-family: custom-sans;
}

#asl_u_head {
	position: absolute;
	background: #EEE;
	z-index: 1;
}

.upldr_title {
	font-size: 1.5em;
}

.asl_fwrapper {
	overflow-y: scroll;

	position: absolute;
	top: 0;

	width: 100%;
	height: 100%;

	/*
	-moz-box-shadow: inset 0 0 20px black;
	-webkit-box-shadow: inset 0 0 20px black;
	box-shadow: inset 0 0 20px black;
	*/
}

.asl_fileList {
	font-family: sans-serif;
	color: #444;;

	cursor: default;
}

.asl_fileList > div {
	/* 0.5em for fwrapper padding */
	margin-right: 50%;
	padding: 0.5em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.asl_uItem:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

.asl_uItemStat {
	padding: 0 0.5em 0 0;
	color: orange;
}

.asl_split {
	position: relative;
	height: 80px;
	overflow: hidden;
}

.asl_split > div {
	height: 100%;
	padding: 0.5em;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.asl_left {
	float: left;
	width: 135px;
}

.asl_right {
	float: right;
	width: calc(100% - 135px);
}

.asl_fileName {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.asl_preview {
	padding: 0.2em;
	background-color: white;
	height: 100%;
}

/* Progress indicator */
.asl_progress {
	padding: 0.5em 0;
}

.asl_ptext {
	font-size: 0.8em;
}

.asl_pbar {
	background-color: white;
	position: relative;
	height: 1em;
	margin-top: 0.2em;
}

.asl_pbar_fill {
	background: greenyellow;
	position: absolute;
	width: 0%;
	height: 100%;
}

.asl_go_up {
	width: 0;
	height: 0;

	border-top: 0 solid transparent;
	border-bottom: 0.5em solid transparent;
	border-left: 0.5em solid #FFF;

	position: absolute;

    left: 0;
}

.asl_btn {
	padding: 0.3em;
    text-align: center;
	cursor: default;
}

.asl_btn:hover {
	background-color: rgba( 0, 0, 0, 0.2);
}

.asl_instruction {
	width: 100%;
	height: 100%;

	font-size: 0.8em;
}
