.toggleNode {
	display: none;
}
.object > .toggleNode, .array > .toggleNode {
	display: block;
	font-size: 14px;
	font-weight: bold;
	font-family: Arial;
	cursor: pointer;
	border-radius: 8px;
	background-color: black;
	color: white;
	height: 16px;
	width: 16px;
	line-height: 16px;
	text-align: center;
	position: absolute;
	top: 3px;
	left: 2px;
}

.toggleNode.open + .placeholder {
	display: none;
}

.toggleNode.close + .placeholder {
	display: block;
	margin: 2px 25px 0px 25px;
}

.toggleNode.close + .placeholder + .data{
	display: none;
}

.settingsNode {
	position: absolute;
	top: 2px;
	right: 2px;
	background: url(gearWheel.png) no-repeat 50% 50%;
	display: block;
	height: 16px;
	width: 16px;
	cursor: pointer;
}
.settingsNode .settings {
	display: none;
	position: absolute;
	z-index: 2;
	top: 0px;
	right: 20px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: white;
	padding: 4px;
}
.settingsNode .settings button{
	min-width: 100%;
}
.settingsNode .settings *{
	white-space: nowrap;
}


.settingsNode.open .settings{
	display: block;
}

.key > div, .value > div{
	margin: 2px 0px;
}

.string input, .number input {
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	margin: 0;
}

.key.string {
	background-color: lightblue;
}
.key.number {
	background-color: #FFAAAA;
}
.key.boolean {
	background-color: #AAFFAA;
}
.key.null {
	background-color: red;
}
.key.array {
	background-color: orange;
}
.key.object {
	background-color: #E0EE66;
}

.null, .number, .string, .boolean, .object, .array {
	position: relative;
}

.value {
	width: 100000px;
}

.object .key, .array .key {
	white-space: nowrap;
	font-weight: bold;
	vertical-align: top;
}
.object .data, .array .data {
	margin: 0px 25px;
	max-height: 400px;
	overflow: auto;
}
.root {
	min-height: 100%;
}
.root > .data {
	margin: 0px;
	min-height: 100%;
	max-height: initial;
}
.root > .toggleNode {
	display: none;
}
.root > .settingsNode .delete {
	display: none;
}

.object .data td, .array .data td {
	border-radius: 4px;
	border: 1px solid darkgray;
	padding: 0px 5px;
}

.JSONInput {
	width: 100%;
	height: 100%;
}