/*********** NEVER USE filter: !!! GIVES RANDOM ARTIFACTS ALL OVER THE PLACE **************/

#settings {
	background: #000;
	z-index: 28;
}
#settings-files-toolbar, #settings-files-settings {
	width: 40%;
}

#settings-content-toolbar {
	width: 60%;
	left: 40%;
}
#settings.select-file #settings-content-toolbar {
	display: none;
}

#settings-files {
	position: absolute;
	top: 2rem;
	left: 0;
	width: 40%;
	height: calc(100% - 2rem - 2rem);
	transition: transform 0.2s, opacity 0.2s;
}

#settings-content-scroller {
	height: calc(var(--app-height) - 4rem);
}
#settings.select-file #settings-content-scroller {
	display: none;
}

#settings-content-mode {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	display: none;
}
#settings.select-file #settings-content-mode {
	display: table;
}

#settings-content-mode-content {
	display: table-cell;
	vertical-align: middle;
}

#settings-content {
	position: absolute;
	top: 2rem;
	left: 40%;
	width: 60%;
	height: calc(100% - 2rem);
	color: #eee;
	overflow: hidden;
	background: radial-gradient(#252525, #0a0a0a);
	border-left: solid #000 1px;
	box-sizing: border-box;
}
#settings.select-file #settings-content {
	top: 0;
	height: 100%;
}

#settings-content .tab-content {
	padding-top: 1.5rem;
}

#settings-content h1, #settings-content h2 {
	padding: 0;
	font-weight: bold;
	font-style: normal;
	text-align: center;
}
#settings-content h1 {
	margin: 0 0 0.7em 0;
	font-size: 0.88rem;
}
#settings-content h2 {
	margin: 0 0 0.9em 0;
	font-size: 0.7rem;
}

#settings-content a {
	color: #fff;
	text-decoration: underline;
}

#settings-content p, menu p {
	text-align: center;
	margin: 0 0 1em 0;
	color: #888;
	font-size: 0.7rem;
}

#settings-content small {
	font-size: 0.65rem;
}

ul.files {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: auto;
	background-color: #070707;
}

ul.files > li {
	background-repeat: no-repeat;
	background-position: 0.65rem center;
	background-size: 0.9rem auto;
	background-color: #181818;
	margin: 1px 0 0 0;
	padding: 0 1rem 0 2.25rem;
	line-height: 2rem;
	white-space: nowrap;
	font-size: 0.72rem;
	color: #fff;
}
ul.files > li.ui-touch,
body.ui-mouse ul.files > li:hover:not(.selected)
{
	background-color: #282828;
}
ul.files > li.selected {
	background-color: #ccc;
	color: #000;
}

#settings-notes {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(var(--app-height) / 2);
	transform: translate3d(0, -100%, 0);
	transition: transform 0.3s, height 1s;
	z-index: 1000;
}

#settings-notes textarea {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background: linear-gradient(to top, #232323, #1a1a1a 2rem);
	padding: 0.5rem 0.5rem 0.75rem 0.5rem;
	line-height: 1.5;
	margin: 0;
	border: none;
	color: #fff;
	font-family: monospace;
	font-size: 0.9rem;
}
