
html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 1em;
	
	background-color: #222;
	color: #fff;
}

section { display: block }

#designer-nav,
#designer-interface,
#designer-viewer {
	position: relative;
	font-size: .8em;
}

#designer-nav {
	display: block;
	background: #444 url(nav-bg.gif) center bottom repeat-x;
	border-bottom: 1px solid #666;
	height: 40px;
	line-height: 40px;
	letter-spacing: 1px;
	margin: 0;
	padding: 0;
	color: #fff;
}
#designer-nav ul {
	display: block;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
#designer-nav ul li {
	display: block;
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}
#designer-nav ul li a,
#designer-nav ul li span {
	display: block;
	color: #fff;
	padding: 0 14px;
	text-decoration: none;
	text-shadow: 1px 1px 3px #000;
}
#designer-nav ul li.active a,
#designer-nav ul li a:active,
#designer-nav ul li:hover a {
	background-color: #333;
}

.secondary-bar {
	display: block;
	background: #555;
	border-bottom: 1px solid #666;
	height: 42px;
	line-height: 42px;
	letter-spacing: 1px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #fff;
	padding: 0 5px;
}

#designer-interface {
	position: absolute;
	top: 41px;
	left: 0;
	width: 250px;
	bottom: 0;
	overflow: auto;
	border-right: 1px solid #666;
}
#designer-interface section {
	overflow: auto;
}
#designer-interface h2 {
	display: block;
	background: #333;
	border-bottom: 1px solid #666;
	height: 25px;
	line-height: 25px;
	letter-spacing: 1px;
	font-size: 1em;
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #fff;
	padding: 0 5px;
	cursor: pointer;
}
#designer-interface section ~ h2 {
	border-top: 1px solid #666;
}
#designer-interface section > div {
	
}

#designer-interface textarea {
	width: 100%;
	border: 1px solid #333;
	-moz-box-sizing: border-box; -khtml-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
}

#designer-viewer {
	position: absolute;
	top: 41px;
	left: 251px;
	right: 0;
	bottom: 0;
	overflow: auto;
}
#designer-viewer-path {
	overflow: hidden;
	white-space: nowrap;
}
#designer-wrongskinmessage {
	position: absolute;
	z-index: 3;
	top: 43px;
	left: 50px; right: 50px;
	padding: 0 1em;
	background: #555;
	color: #fff;
	border: 1px solid #666;
	border-top-width: 0;
	-moz-border-radius-bottomleft: 5px; -khtml-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px; -khtml-border-bottom-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
	display: none;
}

#designer-viewer-framewrapper {
	position: absolute;
	top: 43px; bottom: 0;
	left: 0; right: 0;
	-moz-box-sizing: border-box; -khtml-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
}
#designer-iframe {
	display: block;
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	width: 100%; height: 100%;
	border: none;
	-moz-box-sizing: border-box; -khtml-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
	background: white;
}

#safewrapper {
	position: absolute;
	width: 100%; height: 100%;
	top: 0; right: 0; bottom: 0; left: 0;
	background: white;
	opacity: 0.1;
	z-index: 5;
}
.horizontal-resizer {
	display: block;
	position: absolute;
	background: #555;
	text-align: center;
	vertical-align: middle;
	padding: 0 5px;
	-moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
	font-size: 12px;
	height: 20px;
	line-height: 20px;
	cursor: ew-resize;
	z-index: 10;
}

#designer-interface {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-box-align: stretch;
}
#designer-interface > * {
	-webkit-box-flex: 0;
}
#designer-interface > section {
	position: relative;
	-webkit-box-flex: 1;
}


