body {
	background: #333;
}

#global-wrapper {
	background: #FFF;
	padding: 1em 2em 1.5em;
	width: 90%;
	margin: 2em auto 0 auto;
}

#footer {
	width: 90%;
	padding: 1em 2em 2em;
	color: #999;
	font-size: .8em;
	margin: .1em auto 2em auto;
}

#footer #lang-toggler {
	width: 30%;
	float: right;
	text-align: right;
}

#footer a { color: #FFF; }

#logo {
	font-size: 5em;
	text-align: center;
	margin: .7em 0 .7em;
}

#config-panel {
	padding: .5em;
	background: #EBEBEB;
	border-bottom: 1px solid #CCC;
	margin: 2em 0 1em;
}

#config-panel ul {
	margin: 0;
	padding: 0;
}

#config-panel ul li {
	margin: 0 1em 0 0;
	padding: 0;
	list-style-type: none;
	float: left;
	width: auto;
}

#config-panel ul li .option-title {
	font-size: .8em;
	font-weight: bold;
	color: #333;
}

#config-panel ul li select {
	width: 16em;
}

#config-panel ul li select#serif-select {
	width: 12em;
}

#config-panel ul li select#typeface-select {
	width: 10em;
}

#config-panel ul li select#lang-select {
	width: 10em;
}

#phrase-container {
	font-size: 30pt;
	line-height: 1.8em;
}

#font-dialog {
	width: 16em;
	border: 1px solid #CCC;
	background: #FFF;
	font-family: Verdana;
	font-size: 8pt;
	font-weight: bold;
	padding: .2em 0;
	z-index: 1000;
}

.a-word { 
	cursor: pointer;
	border: 1px solid #FFF;
	white-space: nowrap;
	float: left;
	margin-right: .5em;
	padding: .2em 0;
	height: 2em;
	line-height: 2em;
}

.a-word.hovered {
	border-top-color: #DDD;
	border-left-color: #DDD;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
}

.a-word-font {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 7pt;
	font-family: Verdana;
	color: #666;
}

#font-dialog ul {
	margin: 0;
	padding: 0;
}

#font-dialog ul li {
	margin: 0;
	padding: 0;
	background: none;
	list-style-type: none;
	padding-left: 1em;
}

#font-dialog ul li.selected {
	background: url(files/images/tick.gif) .2em 40% no-repeat;
}

#font-dialog ul li a {
	padding: .2em .4em;
	display: block;
	color: #000;
	text-decoration: none;
}

.no-display {
	display: none;
}

.clearfloat {
	clear: both;
}

#check-fonts {
	margin: 2em 0 0;
	padding: .5em;
	background: #EBEBEB;
	border-top: 1px solid #CCC;
}

#console {
	font-size: .8em;
}

#font-preview-table {
	width: 100%;
}

#font-preview-table .font-family {
	width: 20%;
}

#font-preview-table .font-regular {
	width: 80%;
}

#font-preview-table .font-regular div {
	overflow: hidden;
	width: 10em;
	position: relative;
	top: 0;
}

#font-preview-table th {
	background: #EBEBEB;
	color: #333;
	padding: .3em;
	font-size: .8em;
	border-bottom: 1px solid #CCC;
}

#font-preview-table td {
	border-bottom: 1px solid #CCC;
	padding: .3em;
	vertical-align: middle;
	position: relative;
}

#font-preview-table td.font-regular {
	font-size: 3em;
}

.important-link {
	position: relative;
	left: -1000em;}