body {
	background: #666;
	font-family: 'Lucida Grande', 'Segoe UI', 'Ubuntu', sans-serif;
	font-size: 9pt;
	overflow: hidden;
}

#options {
	position: absolute;
	left: 0;
	width: 249px;
	height: 20px;
	padding: 0 0 5px 0;
	bottom: 0;
	background: url('../img/noise.png') #eee;
	-moz-user-select: none;
	-webkit-user-select: none;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0,0,0,0.125), 0 1px 0 rgba(0,0,0,0.25) inset
}

#options button, button.gradient {
	background: #fafafa;
	border: 1px solid rgba(0,0,0,0.25);
	box-shadow: 0 -10px rgba(0,0,0,0.05) inset, 0 1px 2px white;
	padding: 2px 4px;
	vertical-align: -10%;
	margin: 0 0 0 -1px;
	height: 26px;
}

#options button img, button.gradient img {
	-webkit-user-drag: none;
	-moz-user-drag: none;
}

#options button:active, button.gradient:active {
	background: #ccc;
}

#search {
	display: none;
}

#sidebar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 25px;
	width: 239px;
	padding-left: 10px;
	padding-top: 10px;
	background: url('../img/noise.png') #eee;
	box-shadow: 0 5px 15px -10px rgba(0,0,0,0.5) inset;
	-moz-user-select: none;
	-webkit-user-select: none;
	overflow: auto;
	cursor: default;
}

#sidebar ul {
	margin: 8px 0;
	padding-left: 0;
}

#sidebar ul ul {
	margin: 0;
}

#sidebar li {
	padding-left: 20px;
	list-style: none;
	white-space: nowrap;
}

#sidebar li.hidden {
	display: none !important;
}

#sidebar.show-hidden li.hidden {
	display: block !important;
	opacity: 0.25;
}

#sidebar li.folder {
	background: url('../img/right-arrow.png') 6px 4px no-repeat;
}

#sidebar li.folder > ul {
	display: none;
}

#sidebar li.folder.open {
	background: url('../img/down-arrow.png') 6px 4px no-repeat;
}

#sidebar li.folder.open > ul {
	display: block;
}

#sidebar li.root {
	padding-left: 0;
}

#sidebar li.selected, #sidebar li.folder.selected {
	background-color: rgba(55,120,194,0.3);
	border-radius: 5px 0 0 5px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2) inset, 0 1px 0 rgba(255,255,255,0.5);
	color: #3d5979;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

#sidebar li.selected.syncing {
	background-image: url('../img/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: right center;
}

#sidebar li img {
	margin: 4px;
	vertical-align: -7px;
	min-width: 16px;
	min-height: 16px;
}

#sidebar li i {
	font-size: 8pt;
	color: #444;
}

#sidebar input[type="search"] {
	display: block;
	width: 225px;
	margin: 0;
	padding: 0;
}

#content {
	position: absolute;
	left: 250px;
	right: 0;
	top: 0;
	bottom: 0;
	background: url('../img/nide.png') center center no-repeat, url('../img/noise.png') #aaa;
}

.code-editor {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	background: #eee;
	z-index: 100;
}

.code-editor.windowed {
	border-radius: 5px;
	border: 5px solid rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(255,255,255,0.5);
	background-clip: padding-box;
}

.code-editor .error {
	background: #ffd url('../img/error.png') no-repeat 10px 10px;
	padding: 18px 10px 18px 50px;
	min-height: 16px;
	margin: 10px 20px;
	box-shadow: 0 0 1px black, 0 0 10px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.75) inset;
	border-radius: 8px;
}

.code-editor img.view {
	background: white url('../img/checkerboard.png');
	box-shadow: 0 0 1px black, 0 0 10px rgba(0,0,0,0.15);
	display: block;
	margin: 0 auto;
}

.galaxy-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	background: url('../img/galaxy.jpg') center center #000;
	background-size: cover;
}

.galaxy-background h1.now {
	position: absolute;
	width: 50%;
	left: 0;
	right: 50%;
	top: 10px;
	color: white;
	text-align: center;
	font-size: 10pt;
	font-weight: normal;
	text-shadow: 0 1px 1px black;
	z-index: 99
}

.galaxy-background h1.then {
	position: absolute;
	width: 50%;
	left: 50%;
	right: 0;
	top: 10px;
	color: white;
	text-align: center;
	font-size: 10pt;
	font-weight: normal;
	text-shadow: 0 1px 1px black;
	z-index: 99
}

.galaxy-background > button {
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 5px;
	padding: 5px 20px;
	color: white;
	box-shadow: 0 23px 5px -10px rgba(255,255,255,0.25) inset, 0 2px 5px black;
	font-family: inherit;
	font-size: inherit;
	text-shadow: 0 1px 1px black;
	z-index: 99
}

.galaxy-background > button:active {
	box-shadow: 0 23px 5px -10px rgba(255,255,255,0.125) inset, 0 2px 5px black;
	color: #aaa;
}

.galaxy-background > button.done {
	position: absolute;
	right: 52.5%;
	bottom: 10px;
}

.galaxy-background > button.revert {
	position: absolute;
	left: 52.5%;
	bottom: 10px;
}

.galaxy-background > button.backward {
	position: absolute;
	right: 25%;
	bottom: 10px;
}

.galaxy-background > button.forward {
	position: absolute;
	left: 75%;
	bottom: 10px;
}

.galaxy-background .no-previous {
	color: white;
	position: absolute;
	left: 50%;
	right: 0;
	width: 50%;
	top: 50%;
	margin-top: -0.5em;
	text-align: center;
	text-shadow: 0 1px 1px black;
}

.directory-editor {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	background: url('../img/folder-large.png') no-repeat center center, url('../img/noise.png') #adbdc8;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	color: rgba(0,0,0,0.75)
}

#content .npm-editor {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: url('../img/noise.png'), url('../img/npm-logo.png') no-repeat 90% 90% #eee;
	padding: 8px;
	overflow: auto;
}

#content .npm-editor .packages {
	font-family: inherit;
	font-size: 110%;
	margin: 0;
	width: 100%;
	height: 400px;
	display: block;
	outline: none;
	background: rgba(255,255,255,0.9)
}

#content .npm-editor .package:nth-child(2n) {
	background: #fafafa;
}

#content .npm-editor .package.extraneous {
	color: rgba(0,0,0,0.5)
}

#content .npm-editor .package.unmet {
	color: rgb(180,0,0)
}

#content .documentation-viewer {
	width: 100%;
	height: 100%;
	background: url('../img/noise.png') #fff;
}

#content .documentation-viewer iframe {
	border: none;
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#content .actions {
	padding: 8px;
	white-space: nowrap;
	overflow: hidden;
}

#content .CodeMirror {
	background: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	line-height: 1.5em;
}

#content .CodeMirror-scroll {
	height: auto;
	overflow-y: hidden;
	overflow-x: auto;
	width: 100%;
}

#lightbox {
	position: absolute;
	background: rgba(0,0,0,0.25);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: none;
}

.setup {
	position: absolute;
	top: 50px;
	left: 50%;
	width: 600px;
	background: url('../img/noise.png') #ddd;
	border-radius: 5px;
	margin-left: -300px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 1px rgba(0,0,0,0.5), 0 5px 5px rgba(255,255,255,0.25) inset, 0 1px 0 rgba(255,255,255,0.5) inset, 0 -7px 5px -5px rgba(0,0,0,0.125) inset
}

.setup h1 {
	font-weight: normal;
	padding: 5px 20px;
	text-shadow: 0 1px white;
	font-size: 13pt;
}

.setup .content {
	background: #fcfcfc;
	padding: 20px;
	box-shadow: 0 0 1px rgba(0,0,0,0.5);
	border-radius: 0 0 5px 5px;
}

.setup p {
	margin-top: 0;
	line-height: 1.5em;
}

.setup input.default {
	font-family: inherit;
	font-weight: bold !important;
	-webkit-appearance: default-button;
}

.setup input[type='text'] {
	width: 400px;
	font-family: inherit;
	font-size: inherit;
	padding: 3px;
	display: inline;
}

.setup small {
	display: block;
}

.setup table {
	width: 100%;
}

.setup td {
	text-align: right;
}

.setup .actions {
	text-align: right;
	margin-top: 10px;
}

.popup-menu {
	position: absolute;
	margin: 0;
	background: rgba(255,255,255,0.95);
	border-radius: 4px;
	padding: 4px 0;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 10px 15px rgba(0,0,0,0.25);
	font-size: 10pt;
	-webkit-user-select: none;
	-moz-user-select: none;
	cursor: default;
	display: none;
}

.popup-menu li {
	padding: 2px 15px 2px 20px;
	list-style: none;
}

.popup-menu li.checkbox {
	padding-left: 0;
}

.popup-menu li.checkbox input[type='checkbox'] {
	margin-left: 5px;
	position: absolute;
	visibility: hidden;
}

.popup-menu li.checkbox input[type='checkbox']:checked + label::before {
	content: '✓';
	margin-left: 6px;
	position: absolute;
	left: 0;
	opacity: 0.8;
}

.popup-menu li.separator {
	padding: 1px;
}

.popup-menu li.separator:hover {
	background: none;
	box-shadow: none;
}

.popup-menu li.separator hr {
	height: 1px;
	border: none;
	background: rgba(0,0,0,0.15);
	margin: 4px 0;
}

.popup-menu li.checkbox label {
	padding-left: 20px;
}

.popup-menu li:hover {
	background: #3355f7;
	box-shadow: 0 1px 0 #4b60ed inset, 0 -1px 0 #2b50ea inset, 0 10px 5px -5px #5569f7 inset;
	color: white;
}

#gear-menu-popup {
	bottom: 25px;
	left: 225px;
	z-index: 100;
}

.right {
	float: right;
	position: relative;
	left: 1px;
}