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

4point7 (Andrew Philpott's Sandbox) - Master Screen Styles

BY: Andrew Philpott // www.himynameisandrew.com

Author:			Andrew Philpott
Date Created:	3/6/2010
Last Modified:	3/7/2010

Copyright 2009, All Rights Reserved.

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

@import '/assets/css/reset.css';


html {
	text-align: center;
}

body {
	background: #81869a;
	font-family: 'Berthold Akzidenz Grotesk BE', 'Helvetica', 'Arial', sans-serif;
	font-size: 62.5%;
	margin: 0 auto;
	text-align: left;
	width: 984px;
}

#content {
	overflow-x: hidden;
	position: relative;
}

h1,
h1 #more {
	color: #000;
	font-size: 1.6em;
	font-weight: bold;
	margin: 10px 0 1em 10px;
	padding-bottom: 1em;
	text-shadow: 0 2px 1px #969caf, 0 -2px 1px #6e7181;
}
h1 a {
	color: #7e8396;
	display: block;
	font-size: 9.375em;
	letter-spacing: -5px;
	line-height: 0.85em;
	margin-bottom: 0.1em;
	text-decoration: none;
	width: 750px;
	-webkit-transition: color 0.5s linear;
}
h1 a:hover {
	color: #988aa9;
}
h1 span {
	margin-left: 15px;
	white-space: nowrap;
}
h1 span:before {
	content: '(';
}
h1 span:after {
	content: ')';
}
h1 .all {
	display: none;
}
h1 #more {
	color: #7e8396;
	display: inline-block;
	margin: 0 0 0 10px;
	padding-bottom: 0;
	position: relative;
	top: 1px;
	width: 20px;
}
h1 #more:hover {
	color: #000;
}


ol {
	float: left;
	padding-bottom: 100px;
}
li {
	float: left;
	margin: 15px;
	position: relative;
}
li h2 {
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	font-size: 1.6em;
	font-weight: bold;
	left: 0;
	max-height: 125px;
	opacity: 0;
	overflow: hidden;
	padding: 4px 20px 4px 10px;
	position: absolute;
	width: 186px;
	z-index: 1;
	-moz-border-radius-topright: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-top-right-radius: 20px;
	-webkit-border-bottom-right-radius: 20px;
	border-radius: 0 20px 20px 0;
	-webkit-transition: left 0.2s linear, -webkit-box-shadow 0.15s linear;
}
li:hover h2 {
	left: 225px;
	opacity: 1;
	z-index: 999;
	-moz-box-shadow: 0 1px 3px #000;
	-webkit-box-shadow: 0 1px 3px #000;
}
ol > li:nth-child(4n) h2 {
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	font-size: 1.6em;
	font-weight: bold;
	left: 0px;
	max-height: 125px;
	opacity: 0;
	overflow: hidden;
	padding: 4px 10px 4px 20px;
	position: absolute;
	width: 186px;
	z-index: 1;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-bottomleft: 20px;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-radius: 20px 0 0 20px;
	-webkit-transition: left 0.2s linear, -webkit-box-shadow 0.15s linear;	
}
ol > li:nth-child(4n):hover h2 {
	left: -225px;
	opacity: 1;
	z-index: 999;
	-moz-box-shadow: 0 1px 3px #000;
	-webkit-box-shadow: 0 1px 3px #000;
}
li h2 span {
	font-size: 0.625em;
	display: block;
}
li a {
	display: block;
	height: 125px;
	position: relative;
	width: 216px;
	z-index: 2;
	-moz-box-shadow: 0 0 3px #6e7181;
	-webkit-box-shadow: 0 0 3px #6e7181;
	-webkit-transition: -webkit-transform 0.1s linear, -webkit-box-shadow 0.1s linear;
}
li a:hover,
li:hover a {
	z-index: 1000;
	-webkit-animation-name: imgGlow;
	-webkit-animation-direction: alternate;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-box-shadow: 0 0 3px #f599e3;
	-webkit-transform: scale(1.1);
	-moz-box-shadow: 0 0 3px #f599e3;
	-moz-transform: scale(1.1);
}


@-webkit-keyframes imgGlow {
	from {
		-webkit-box-shadow: 0 0 3px #f599e3;
	}
	to {
		-webkit-box-shadow: 0 0 13px #f599e3;
	}
}


#secondary {
	position: absolute;
	right: 3px;
	top: 84px;
	width: 241px;
}

form {
	clear: left;
	margin: 0 10px;
	position: absolute;
}
label {
	display: none;
}
#hello,
button {
	border: 0;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1.5em;
	padding: 3px 10px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 0 2px 5px #6e7181;
}
#hello {
	background: url(/assets/images/bg-hello.png) no-repeat 11px 7px #969caf;
	color: #6e7181;
	width: 131px;
	height: 24px;
}
#hello:focus {
	background: #a5abbe;
}

#message {
	position: absolute;
	top: -9999px;
}

#instructions {
	color: #5e6275;
	display: none;
	font-size: 1.3em;
	line-height: 1.5em;
	position: absolute;
	top: -43px;
}

.chars-left {
	color: #6e7181;
	display: none;
	font-size: 1.6em;
	font-weight: bold;
	left: 10px;
	position: absolute;
	text-shadow: 0 1px 1px #969caf, 0 -1px 1px #6e7181;
	top: 40px;
}
.chars-left:after {
	content: ' characters left';
}

button {
	background: #ee93dc;
	color: #fff;
	cursor: pointer;
}
button:hover {
	background: #e98fd7;
	-webkit-box-shadow: 0 -2px 5px #6e7181;	
}
button:active {
	background: #6e7181;
}

#footer {
	clear: both;
}
#footer span {
	color: #6e7181;
	font-size: 1.6em;
	font-weight: bold;
	margin-left: 10px;
	text-shadow: 0 1px 1px #969caf, 0 -1px 1px #6e7181;
}
#footer a {
	color: #5a5d6b;
	text-decoration: none;
}
#footer a:hover {
	color: #988aa9;
}

#dino {
	background: url(/assets/images/dino.png) no-repeat;
	bottom: 0;
	height: 755px;
	position: fixed;
	width: 960px;
	z-index: 5000;
}