/*/////////////////////////////////////////////////////////////////////////////////

jackappleby.com

/////////////////////////////////////////////////////////////////////////////////*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, fieldset, form, label, legend, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	}

body {
	background: url(../images/bg.jpg);
	text-align: left;
	font-size: 62.5%;
	line-height: 1em;
	font-weight: normal;
	font-family: Helvetica, Arial, sans-serif;
	color: #777676;
	}

a {
	text-decoration: none;
	color: #00A580;
	word-wrap: break-word;
	}
	
a:hover, a:focus, li.active a, li.active ul li a:hover {
	text-decoration: none;
	color: #E3D003;
	}
li.active ul li a {
	color: #00A580;
	}

hr {
	display: none;
	}
	
h1, h2, h3 {
	font-size: 4em;
	line-height: 1em;
	margin: 0 0 0.6em 0;
	}
	
h1 a {
	color: #333;
	}
	
h2 {
	font-size: 3em;
	word-wrap: break-word;
	}
	
h3 {
	font-size: 2em;
	line-height: 1.3em;
	}
	
p, ul, ol, pre {
	font-size: 1.5em;
	margin: 0 0 1em 0;
	line-height: 1.5em;
	}
	
img {
	width: 100%;
	}
	
#container {
	width: 80%;
	max-width: 1100px;
	margin: 5em auto;
	padding: 3em;
	background: #FEFEFE;
	-moz-box-shadow: 0 0 10px #CCCCCC;
	-webkit-box-shadow: 0 0 10px #CCCCCC;
	box-shadow: 0 0 10px #CCCCCC;
	}

#header {
	float: left;
	width: 25%;
	margin-right: 2.5%;
	}
#header h1 {
	margin-bottom: 0.4em;
	}
#header p {
	font-size: 1.6em;
	}
#nav ul {
	list-style-type: none;

	}
#nav ul li {
	margin-bottom: 0.1em;
	}	
#nav ul li a {
	display: block;
	}
#nav ul ul {
	font-size: 1em;
	margin-left: 1em;
	margin-bottom: 0;
	}
#article {
	float: left;
	width: 50%;
	margin-top: 0.8em;
	}
body#journal #article {
	width: 70%;
	}
#aside {
	width: 18%;
	float: right;
	}
#aside p {
	font-size: 1.2em;
	}
	
.item {
	padding: 0 0 2em 0;
	margin: 0 0 2em 0;
	border-bottom: 2px solid #eee;
	}
.meta {
	border-top: 2px solid #eee;
	padding: 2em 0 0 0;
	margin: 2em 0 0 0;
	}	
.item a img:hover {
	opacity: 0.6;
	}
body#home .item {
	padding: 0 0 3em 0;
	}

#age, #gravity {
	border-bottom: 2px solid #eee;
	}
	
#age {
	padding-top: 0.6em;
	position: relative;
	}	
#age .square {
	width: 10px;
	height: 10px;
	float: left;
	margin: 1px;
	background: #E9003A;
	}
#age p {
	clear: left;
	padding-top: 0.7em;
	}

#gravity {
	margin-top: 3em;
	position: relative;
	}	
#gravity .meMarsForce {
	background: #FF5A00;
	-moz-box-shadow: 0 0 5px #FF5A00;
	-webkit-box-shadow: 0 0 5px #FF5A00;
	box-shadow: 0 0 5px #FF5A00;
	}	
#gravity .meHouseForce {
	background: #CCF600;
	margin-bottom: 1.5em;
	-moz-box-shadow: 0 0 5px #CCF600;
	-webkit-box-shadow: 0 0 5px #CCF600;
	box-shadow: 0 0 5px #CCF600;
	position: relative;
	}	
#gravity p.percentDiff {
	position: absolute;
	top: 75px;
	right: 33px;
	margin: 0;
	color: #fff;
	}
#gravity span.orange {
	color: #FF5A00;
	}
#gravity span.green {
	color: #CCF600;
	}	
#gravity p.percentDiff span {
	font-size: 1.6em;
	}
	
#househouse img {
	margin: 1em 1em 0em 0;
	}
#househouse a img {
	opacity: 0.6;
	}
#househouse img:hover {
	opacity: 1;
	}
#househouse img.last {
	margin: 15px 0 0 0;
	}
	
.clear {
	clear: both;
	}
	
@media (max-width: 1000px) {
	#aside {
		display: none;
		}
	#article {
		width: 71%;
		}
}
@media (max-width: 800px) {
	#header, #article, body#journal #article {
		width: 100%;
		float: none;
		}
	#container {
		padding: 15px;
		margin-top: 1.8em;
		}
	#header {
		text-align: center;
		margin-bottom: 20px;
		}
	#header h1 {
		margin-bottom: 5px;
		font-size: 3em;
		}
	#nav ul {
		overflow: hidden;
		margin: 0 auto 3px auto;
		}
	#nav ul:nth-child(1) li, #nav ul:nth-child(1) li a {
		display: inline;
		}
	#nav ul:nth-child(2) li, #nav ul:nth-child(2) li a {
		display: block;
		}
	#nav p {
		display: none;
		}
	#nav ul li a {
		padding: 3px;
		}
	#nav ul ul {
		display: none;
		}
	h2 {
		font-size: 1.9em;
		}
	h3 {
		font-size: 1.6em;
		}
}

