body {
	font-family: 'Open Sans', sans-serif;
	background: #444 url(../img/navy_blue.png);
}

.container {
	width: 960px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

#page-head {
	margin: 20px 0 60px;
	font-size: 2em;
}

#page-head h1 {
	margin-bottom: 15px;
	color: #fff;
	font-weight: bold;
	font-family: 'Gentium Book Basic', serif;
}

#tagline {
	font-size: 0.5em;
	max-width: 500px;
	width: 500px;
	margin: 0 auto;
	font-weight: normal;
}

.cube {
	width: 260px;
	background: #FF0000;
	padding: 20px;
	float: left;
	margin-right: 30px;
	text-transform: uppercase;
}

.cube-title {
	font-weight: normal;
	margin-top: 0;
}

#erect-percentile 	{ background: #00acab; }
#flaccid-percentile { background: #ff5158; }
#girth-percentile 	{ background: #8c49b0; }

.cube:last-child {
	margin-right: 0;
}

.input-container {
	text-align: left;
	height: 30px;
}

.size-input {
	text-align: center;
	border: none;
	border-radius: 2px;
	color: #666;
	width: 220px;
	height: 100%;
}

.emoticon {
	font-family: monospace;
	text-align: right;
	width: 30px;
	display: table-cell;
	vertical-align: middle;
	float: right;
	font-size: 22px;
	color: #fff;
	height: 100%;
}

.example {
	text-transform: none;
	font-size: 0.75em;
}

.percentage {
	color: #fff;
	display: block;
	font-size: 3em;
	margin: 20px 0;
	font-weight: bold;
}


#footer {
	color: #ccc;
	font-size: 0.8em;
	padding-top: 60px;
	float: left;
	width: 100%;
}

a {
	color: #777;
}


@media (max-width: 960px) {
	#page-head {
		margin-top: 0;
		margin-bottom: 40px;
	}

	#page-head h1 {
		font-size: 1.4em;
	}

	.container, #tagline {
		width: 100%;
	}

	.cube, .cube:last-child {
		margin: 0 auto 20px;
		float: none;
	}

	#footer {
		padding-top: 20px;
		width: 300px;
		margin: 0 auto;
		display: block;
		float: none;
	}
}

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}