/* FONT */
@font-face {
	font-family: 'fontello';
	src: 	url('font/fontello.eot');
	src: 	url('font/fontello.eot') format('embedded-opentype'),
			url('font/fontello.woff2') format('woff2'),
			url('font/fontello.woff') format('woff'),
			url('font/fontello.ttf') format('truetype'),
			url('font/fontello.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*=== START GENERAL HTML =================================================== */
html {
	font-family: sans-serif;
	font-size: 0.9em;
	height: 100%;
	width: 100%;
}
body {
	margin: 0;
	height: 100%;
}
p {
	line-height: 1.5em;
	margin: 0.3em 0;
}
h2, h3, h4, h5, h6 {
    color: #6E3EBB;
}
h2 {
    font-size: 1.4em;
}
h3 {
    font-size: 1.2em;
}
table {
	margin: 0.3em auto;
}
table > caption {
	color: gray;
	font-style: italic;
}
table p {
	margin: 0.1em 0;
}
p img {
	vertical-align: middle;
	display: inline-block;
	margin: 1px 0;
}
a {
	color: #6E3EBB;
}
a:hover {
	opacity: 0.8;
}
.hidden {
	display: none !important;
}
/*=== END GENERAL HTML ===================================================== */

/*=== START TEMPLATE ======================================================= */
body {
	background-color: #f3f3f3;
}
div.root {
	margin: 0 auto;
	background-color: #f4f4f4;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}
#header {
	background: #fff url("img/logo.svg") no-repeat scroll 1em center / auto 70px;
	border-bottom:1px solid #ebebeb;
	position: relative;
	flex: 0 0 auto;
	min-height: 80px;
}
#header h1 {
	margin: 0;
	text-transform: uppercase;
	line-height: 50px;
	font-size:1.5em;
	padding-left: 100px;
}
#header .description {
	display: block;
	margin-bottom: 10px;
	margin-left: 100px;
}
#main {
	position: relative;
	flex: 1 1 auto;
	padding: 1em;
	max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
#main > section{
	background-color:#fff;
	border:1px solid #ebebeb;
}
#footer {
	flex: 0 0 auto;
	padding: 1em;
	line-height: 1em;
	font-size: 0.7em;
	text-align: right;
}
#footer img {
	vertical-align: middle;
}
#footer a {
	text-decoration: none;
}
/*=== END TEMPLATE ========================================================= */

/*=== START FOLDER ========================================================= */
body ul{
	list-style-type:none;
	margin: 5em;
	padding: 0px;
}
body ul li {
	padding-left: 0.5em;
	margin: 0.5em 0;
	min-height: 25px;
}
body ul li.parent {
	padding-left: 0;
}
body ul li a{
	text-decoration:none;
}
body ul li:hover a{
	opacity:.7;
}
body ul li::before{
	font-family: "fontello";
	content: "\e813";
	margin-right: 5px;
	font-style:normal;
	color:#6E3EBB;
}
body p.emptyFolderMessage{
	text-align: center;
	margin-top:3em;
	margin-left:10%;
	margin-right:10%;
	font-size:15pt;
}
body li.child {
	display:flex;
}
body li.child > *{
	flex: 0 0 auto;
}
body li.child > span.spacer{
	flex: 100 100 auto;
	color: white;
}

/*	Types	*/
body li.parent::before{
	content: "\e82a";
}
body li.archive::before{
	content: "\f1c6";
}
body li.audio::before{
	content: "\f1c7";
}
body li.pdf::before{
	content: "\f1c1";
}
body li.odt::before{
	content: "\F0F6";
}
body li.file::before{
	content: "\e82d";
}
body li.image::before{
	content: "\f1c5";
}
body li.folder::before,
body li.folderCustomHome::before{
	content: "\f114";
}
body li.video::before{
	content: "\f1c8";
}
body li.idkey::before{
	content:"\E80A";
}

/*=== END FOLDER ========================================================= */


/*=== START RESPONSIVE =================================================== */
@media (max-width:850px){
	#header {
		background-image: none;
		min-height: auto;
	}
	#header h1{
		padding-left:20px;
	}
	#header .description {
		margin-left:20px;
	}
}
@media (max-width:600px){
	#header h1 {
		font-size:1.2em;
	}
	body.folder ul{
		margin: 4em;
	}
	.flex-1-1,
	.flex-2-1{
		display: block;
	}
	
}
@media (max-width:550px){
	#header h1 {
		font-size:1.1em;
	}
	#header .description {
		font-size:80%;
	}
	body.folder ul{
		margin: 3em;
	}
}
@media (max-width:500px){
	#header h1 {
		font-size:1.05em;
	}
	#header .description {
		font-size:60%;
	}
	body.folder ul{
		margin: 2em;
	}
}
@media (max-width:450px){
	#header h1 {
		font-size:0.9em;
	}
	body.folder ul{
		margin: 1em;
	}
}
@media (max-width:400px){
	#header h1 {
		font-size:0.8em;
	}
}
/*=== END RESPONSIVE ========================================================= */