/*----------------------------------------------------------------------

AEA Seattle 2010 Notes - Master Screen Styles

BY: Andrew Philpott // www.himynameisandrew.com

Author:			Andrew Philpott
Date Created:	04-05-2010
Last Modified:	04-05-2010

Copyright 2010, All Rights Reserved.

----------------------------------------------------------------------*/

@import 'base.css';

body {
	background: url(grid.png) repeat-y center top;
	background: url(../images/bg-body.png);
	color: rgba(51, 51, 51, 0.7);
	font-family: 'Baskerville', 'Garamond', 'Hoefler Text', 'Times New Roman', serif;
	text-align: left;
}

#content {
	margin: 0 auto;
	position: relative;
	width: 96em;
}

article, header, section, footer {
	display: block;
}

body > header {
	border-bottom: 4px solid rgba(190, 190, 190, 0.7);
	margin: 0 auto;
	padding: 2em 0;
	position: relative;
	width: 96em;
}
body > header h1 {
	font-size: 3.6em;
	line-height: 1em;
}
body >header time {
	display: block;
	font: italic 1.6em 'Georgia', 'Times New Roman', serif;
	margin: 0.5em 0;
}

.content {
	margin: 2em 0 0 0;
}
#content:after {
	content: '.';
	display: block;
	clear: left;
	height: 0;
	visibility: hidden;
}

#primary {
	background: rgba(223, 225 , 232, 0.9);
	float: left;
	margin-bottom: 35em;
	padding: 0 1.5em;
	position: relative;
	width: 61em;
	z-index: 10;
}
#secondary {
	float: left;
}

h1, h2, h3 {
	line-height: 1.5em;
}
article h1 {
	cursor: pointer;
	font-size: 2.4em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
		-moz-transition: color 0.5s linear;
		-webkit-transition: color 0.5s linear;
	transition: color 0.5s linear;
}
.current h1 {
	color: #7b88b9;
	text-shadow: 0 1px 1px #fff, 0 -1px 1px #888;
}
.current h1:before {
	color: #ffac0d;
	content: '*';
	display: block;
	left: -0.5em;
	position: absolute;
	text-shadow: 0 1px 1px #fff, 0 -1px 1px #888;
}
article h1:hover,
article h1:focus {
	color: #990000;
}
article h2 {
	color: rgba(25, 25, 25, 0.7);
	font: italic 2em 'Georgia', 'Times New Roman', serif;
	margin: 0 0 0.25em 0;
}
article h3 {
	color: rgba(85, 85, 85, 0.7);
	font: italic 1.6em 'Georgia', 'Times New Roman', serif;
	margin: 0 0 0.25em 0;
}

article header {
	margin-left: -1.5em;
}
article header h1 {
	margin-right: 0.1em;
}
article header cite,
article header time {
	display: inline-block;
	color: rgba(100, 100, 100, 0.7);
	font-size: 1.8em;
	margin: 0 0.133em 1em 0;
}
article header time:before {
	content: '- ';
}

article {
	border-bottom: 4px dashed rgba(190, 190, 190, 0.7);
	margin: 0 0 2.5em 0;
	padding: 0 0 1.5em 1.5em;
	position: relative;
}
article:last-of-type {
	margin-bottom: 0;
}

p,
article > ol li,
article > ul li,
article > span {
	font: normal 1.3em 'Georgia', 'Times New Roman', serif;
	line-height: 1.5em;
}

p,
ol,
ul {
	margin-bottom: 2em;
}

p + ol,
p + ul,
ol + ol,
ol + ul,
ul + ol,
ul + ul {
	margin-top: -1em;
}

a,
a:link {
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e5e5e5), to(#fff));
	background-image: -moz-linear-gradient(0% 100% 90deg,#e5e5e5, #fff);
		-moz-border-radius: 19px;
		-webkit-border-radius: 19px;
	border-radius: 19px;
		-moz-box-shadow: 0 0 5px #ddd;
		-webkit-box-shadow: 0 0 5px #ddd;
	box-shadow: 0 0 5px #ddd;
	color: #990000;
	display: inline-block;
	margin: 0.25em 0;
	padding: 0.25em 1.5em;
}
a:hover,
a:focus {
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#e5e5e5));
	background-image: -moz-linear-gradient(0% 100% 90deg,#fff, #e5e5e5);
}

.note,
article > cite {
	color: rgba(100, 100, 100, 0.7);
	display: block;
	font: italic 1.2em 'Georgia', 'Times New Roman', serif;
	margin-bottom: 1em;
}
article > blockquote {
	border-top: 1px solid #ccc;
	padding: 1em 0 0;
}
article > cite {
	border-bottom: 1px solid #ccc;
	margin: -0.5em 0 1.5em;
	padding: 0 0 1em;
}
article > cite:before {
	content: '-';
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

pre {
	background: #e9ecf5;
	border: 1px solid #ccc;
	display: block;
	margin: 1em 0;
	overflow: auto;
	padding: 0 1.5em;
	width: 450px;
}
code {
	font-family: 'Andale Mono', 'Lucida Console', 'Courier New', monospace;
}
li > code {
	background: #e9ecf5;
	border: 1px solid #ccc;
	display: inline-block;
	margin: 0.25em 0;
	padding: 0 0.5em;
}


#secondary {
	padding: 0 1.5em;
	position: absolute;
	right: 1.5em;
	width: 26em;
}

#secondary h1 {
	color: #990000;
	font-size: 2em;
	margin: 0.25em 0 0 0;
	text-shadow: 0 1px 1px #fff, 0 -1px 1px #888;
}

#secondary p,
#secondary > ol li,
#secondary > ul li,
#secondary > span {
	font-size: 1.3em;
	line-height: 1.5em;
}

footer {
	background: url(../images/bg-space-needle.png) 80% bottom no-repeat,
				url(../images/bg-haze.png),
				url(../images/bg-clouds.png) 200% top repeat-x,
				url(../images/bg-buildings-close.png) 60% bottom repeat-x,
				url(../images/bg-buildings-far.png) 20% bottom repeat-x;
	bottom: 0;
	height: 321px;
	opacity: 1;
	padding-left: 100px;
	position: fixed;
	width: 100%;
		-moz-transition: padding 1s ease-in-out;
		-webkit-transition: padding 1s ease-in-out;
	transition: padding 1s linear;
		-webkit-animation-name: city-animate;
		-webkit-animation-duration: 1s;
		-webkit-animation-iteration-count: 1;
		-webkit-animation-timing-function: ease-in-out;
		-webkit-animation-direction: alternate;
}
footer:hover,
footer:focus,
footer:active {
	padding-left: 200px;
}


/*@-webkit-keyframes city-animate {
	from {
		padding-left: 0;
	}
	to {
		padding-left: 100px;
	}
}*/


nav {
	font-size: 1.3em;
	position: absolute;
	right: 0;
	top: 2.75em;
}
nav ol {
	margin: 0;
}
nav li {
	float: left;
	list-style: none;
	margin: 0 0 0 1em;
}
