body {
	margin: 0;
	padding: 0;
	background-color: #0b0b0b;
}
#pb-app {
	position: absolute;
	width: 700px;
	height: 500px;
	background-color: #111;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	border: 6px solid #444;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow: hidden;
}
#overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #333;
	z-index: 8;
}
#messagebox {
	display: none;
	position: absolute;
	width: 260px;
	height: 110px;
	background-color: #1b1b1b;
	left: 220px;
	top: 195px;
	z-index: 9;
}
#messagebox-icon {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 20px;
	left: 18px;
	background-image: url('../img/warning.png');
}
#messagebox-text {
	position: absolute;
	color: #fff;
	font-size: 14px;
	top: 26px;
	left: 80px;
}
#messagebox-buttons {
	position: absolute;
	width: 260px;
	height: 40px;
	left: 0;
	bottom: 0;
}
#impexpdiag {
	display: none;
	position: absolute;
	width: 320px;
	height: 180px;
	background-color: #1b1b1b;
	left: 190px;
	top: 170px;
	z-index: 9;
}
#impexpdiag-text {
	position: absolute;
	color: #fff;
	font-size: 14px;
	top: 28px;
	left: 20px;
}
#impexpdiag-input {
	position: absolute;
	width: 270px;
	height: 18px;
	padding: 6px;
	border: 0;
	top: 70px;
	left: 19px;
	font-size: 15px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	outline: 0;
	background-color: #999;
	color: #222;
	cursor: text;
}
#impexpdiag-input::selection {
	background: #555;
	color: #fff;
}
#impexpdiag-input::-moz-selection {
	background: #555;
	color: #fff;
}
#impexpdiag-buttons {
	position: absolute;
	width: 310px;
	height: 50px;
	left: 0;
	bottom: 0;
}
#messagebox-buttons .button,
#impexpdiag-buttons .button {
	float: right;
	width: 78px;
	height: 24px;
	border: 3px solid #555;
	color: #ddd;
	background-color: #333;
	margin-right: 10px;
	line-height: 24px;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
}
#messagebox-buttons .button:hover,
#impexpdiag-buttons .button:hover {
	border-color: #ddd;
	color: #fff;
	background-color: #222; 
}
#impexpdiag-buttons .button.locked {
	cursor: default !important;
	border: 3px solid #222 !important;
	color: #aaa !important;
	background-color: #111 !important;
}
#sidebar {
	position: absolute;
	width: 200px;
	height: 500px;
	top: 0;
	right: 0;
	background-color: #1b1b1b;
}
#sidebar .menuitem {
	display: block;
	height: 40px;
	line-height: 40px;
	color: #bbb;
	font-size: 14px;
	padding-left: 10px;
	border-left: 5px solid #292929;
	text-decoration: none;
	outline: 0;
	cursor: pointer;
}
#sidebar .menuitem.active,
#sidebar .menuitem:hover {
	background-color: #000;
	color: #fff;
	border-left-color: #a20;
}
#sidebar .section {
	max-height: 0;
	background-color: #3c3c3c;
	border-left: 5px solid #373737;
	overflow: hidden;
}
#sidebar .section.expanded {
	max-height: 500px;
	transition: max-height 0.5s ease-in;
}
#color-picker {
	padding: 10px 0 20px 0;
	overflow: auto;
}
#color-picker .color-button {
	float: left;
	width: 23px;
	height: 23px;
	border: 3px solid #222;
	background-color: #000;
	color: #fff;
	margin: 8px 0 0 8px;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	line-height: 23px;
	cursor: pointer;
}
#color-picker .color-button.active,
#color-picker .color-button:hover {
	border-color: #fff;
}
#grid {
	position: absolute;
	width: 480px;
	height: 480px;
	left: 10px;
	top: 10px;
	background-color: #333;
}
#grid-picker {
	padding: 10px 0 20px 0;
	overflow: auto;
}
#grid-picker .grid-button {
	float: left;
	width: 47px;
	height: 26px;
	border: 3px solid #222;
	margin: 8px 0 0 8px;
	color: #888;
	background-color: #333;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 26px;
	cursor: pointer;
}
#grid-picker .grid-button.active,
#grid-picker .grid-button:hover {
	border-color: #fff;
	color: #eee;
}
#impexp-buttons {
	padding: 10px 0 20px 0;
	overflow: auto;
}
#impexp-buttons .button {
	margin: 10px 0 0 10px;
	width: 124px;
	height: 26px;
	padding-left: 40px;
	color: #ddd;
	border: 3px solid #555;
	background-color: #333;
	text-align: left;
	line-height: 26px;
	font-size: 14px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: 6px center;
}
#impexp-buttons .button.active,
#impexp-buttons .button:hover {
	border-color: #ddd;
	color: #fff;
	background-color: #222;
}
#import-button {
	background-image: url('../img/import.png');
}
#export-button {
	background-image: url('../img/export.png');
	color: #fc3 !important;
}