/*
Title:	Mighty Lab master stylesheet
Author:	eric[at]mightydream.com
*/


@font-face {
	font-family: Vegur;
	src: local('Vegur-Regular'), url(/fonts/vegur-regular.otf) format("opentype");
	font-weight: normal;
	}
@font-face {
	font-family: Vegur;
	src: local('Vegur-Bold'), url(/fonts/vegur-bold.otf) format("opentype");
	font-weight: bold;
	}


*, html {
	margin: 0;
	padding: 0;
	}
body {
	margin: 0;
	padding: 0 0 36px;
	background: url(/img/bg-noise.png) center top repeat;
	color: #fff;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 17px;
	text-shadow: 0 2px 1px #000;
	-webkit-text-stroke: 1px rgba(255,255,255,.01);
	}
#mighty {
	background: url(/img/bg-top.png) left top repeat-x;
	}
#lab {
	margin: 0 auto;
	background: url(/img/bg-light.png) center top no-repeat;
	position: relative;
	width: 700px;
	}


/* Defaults
-------------------------------------------------------------- */

a {
	color: #ccc;
	text-decoration: none;
	}
	a:hover {
		color: #fff;
		}

h1, h2, h3, h4 {
	font-family: Vegur, Helvetica, sans-serif;
	}
h1 {
	font-size: 30px;
	font-weight: normal;
	}
h2 {
	font-size: 24px;
	font-weight: normal;
	}
h3 {
	font-size: 16px;
	font-weight: bold;
	}
h4 {
	font-size: 14px;
	font-weight: bold;
	}


/* Global
-------------------------------------------------------------- */

.mighty-blue, a.mighty-blue {
	color: #5ba4d2;
	}
.mighty-gray, a.mighty-gray {
	color: #b2b5b7;
	}

.content :first-child {
	margin-top: 0;
	}
.content a {
	color: #a3d39e;
	}
	.content a:hover {
		color: #999;
		}
.content h2, .content h3, .content h4 {
	margin-top: 27px;
	margin-bottom: 9px;
	}
.content p {
	margin-bottom: 9px;
	}
.content ol,
.content ul {
	margin: 0 0 9px 27px;
	list-style: circle;
	}
.content li {
	margin-bottom: 4px;
	color: #b4babe;
	}
	.content li strong { color: #fff; }

/* grid */

.one	{ width: 40px; }
.two	{ width: 100px; }
.three	{ width: 160px; }
.four	{ width: 220px; }
.five	{ width: 280px; }
.six	{ width: 340px; }
.seven	{ width: 400px; }
.eight	{ width: 460px; }
.nine	{ width: 520px; }
.ten	{ width: 580px; }
.eleven	{ width: 640px; }
.push-one	{ margin-left: 60px; }
.push-two	{ margin-left: 120px; }
.push-three	{ margin-left: 180px; }
.push-four	{ margin-left: 240px; }
.push-five	{ margin-left: 300px; }

/* alignment */

.align-left { float: left; }
.align-right { float: right; }
.align-center { margin: 0 auto; text-align: center; }

/* separator */

.separator {
	padding-bottom: 11px;
	margin-bottom: 9px;
	background: url(/img/line.png) center bottom no-repeat;
	}

/* images */

.image {
	display: block;
	}
a.image { display: block; }
	a.image img,
	img.border {
		padding: 1px;
		background: #222f40;
		border: 2px solid #ccc;
		display: block;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-box-shadow: 0 2px 3px #07090d;
		-webkit-box-shadow: 0 2px 3px #07090d;
		}
	a.image img {
		-webkit-transition: border-color .25s linear;
		}
	a.image:hover img {
		border-color: #fff;
		}

/* notice */

.notice {
	margin-top: 9px;
	padding: 0 45px;
	color: #7d8285;
	font-size: 12px;
	line-height: 15px;
	}

/* special text */

.new {
	color: #5ba4d2;
	font-size: 80%;
	text-transform: uppercase;
	}

/* list: image */

.image-list {
	margin-left: 0 !important;
	list-style: none !important;
	}
	.image-list li {
		margin-right: 9px;
		float: left;
		}


/* Masthead
-------------------------------------------------------------- */

#masthead {
	margin-bottom: 36px;
	overflow: hidden;
	}
#logo {
	margin: 100px auto 0;
	background-image: url(/img/logo-plastic.png);
	height: 106px;
	width: 359px;
	}
	#logo img { display: none; }
#logo.marker {
	margin-top: 0;
	margin-left: -90px;
	background-image: url(/img/logo-marker.png);
	height: 117px;
	position: fixed;
	top: 0;
	width: 68px;
	}
	a#logo.marker:hover { background-position: left -117px; }
#masthead .intro {
	margin: 0 auto;
	padding-top: 13px;
	background: url(/img/intro.png) left top no-repeat;
	display: block;
	height: 52px;
	text-align: center;
	width: 500px;
	}
	#masthead h1.intro {
		font-size: 16px;
		font-weight: bold;
		line-height: 56px;
		}
	#masthead p.intro {
		padding-top: 21px;
		padding-right: 10px;
		padding-left: 10px;
		font-size: 13px;
		height: 44px;
		line-height: 17px;
		width: 480px;
		}


/* Main: Experiments
-------------------------------------------------------------- */

.nav.experiments {
	margin: 0 auto;
	width: 660px;
	}
.nav.experiments li {
	margin-bottom: 4px;
	padding-top: 4px;
	padding-left: 3px;
	background: url(/img/experiment-bg.png) left top no-repeat;
	height: 118px;
	list-style: none;
	overflow: hidden;
	width: 657px;
	}
	.nav.experiments li.first {
		background-image: url(/img/experiment-bg-first.png);
		}
	.nav.experiments li.last  {
		margin-bottom: 0;
		background-image: url(/img/experiment-bg-last.png);
		}
.nav.experiments .details,
.nav.experiments .details h2 a,
.nav.experiments .image,
.nav.experiments .image .glass {
	height: 114px;
	width: 654px;
	}
.nav.experiments .details {
	position: absolute;
	z-index: 1;
	}
	.nav.experiments li.first .details {
		-moz-border-radius: 7px 7px 0 0;
		-webkit-border-top-left-radius: 7px;
		-webkit-border-top-right-radius: 7px;
		}
	.nav.experiments li.last .details {
		-moz-border-radius: 0 0 7px 7px;
		-webkit-border-bottom-left-radius: 7px;
		-webkit-border-bottom-right-radius: 7px;
		}
	.nav.experiments .details h2 a {
		background: rgba(0,0,0,0.5);
		color: #fff;
		display: block;
		font-size: 36px;
		line-height: 36px;
		opacity: 0;
		text-decoration: none;
		text-align: center;
		text-shadow: 0 2px 3px #000;
		-webkit-transition: opacity 0.25s linear;
		}
		.nav.experiments .details h2 a:hover { opacity: 1; -webkit-transition: opacity 0.25s linear; }
		.nav.experiments .details h2 a span {
			padding-right: 46px;
			background: url(/img/icn-34-arrow-green.png) right top no-repeat;
			position: relative;
			top: 44px;
			}
.nav.experiments .image {
	position: relative;
	}
	.nav.experiments .image .glass {
		background: url(/img/experiment-glass.png) left top no-repeat;
		display: block;
		left: 0;
		position: absolute;
		top: 0;
		}
		.nav.experiments li.first .image .glass { background-image: url(/img/experiment-glass-first.png); }
		.nav.experiments li.last .image .glass  { background-image: url(/img/experiment-glass-last.png); }
.nav.experiments h2.placeholder {
	margin: 44px auto 0;
	background-image: url(/img/placeholder-experiment.png);
	height: 33px;
	width: 182px;
	}


/* Simplenote restyled
-------------------------------------------------------------- */

#simplenote-restyled #masthead {
	margin-bottom: 27px;
	}
h1.simplenote-restyled {
	margin: 80px auto 0;
	background-image: url(/img/simplenote-restyled/logo-simplenote.png);
	height: 174px;
	width: 306px;
	}
#simplenote-restyled #main > .content {
	padding-top: 18px;
	}
#simplenote-restyled h2, #simplenote-restyled h3 {
	color: #9eb8d3;
	}
#simplenote-restyled h3.intro {
	font-weight: normal;
	}
	#simplenote-restyled h3.intro strong {
		color: #fff;
		}
#simplenote-restyled .btn.download {
	margin-left: -2px;
	background-image: url(/img/simplenote-restyled/btn-download.png);
	height: 44px;
	width: 240px;
	}
#simplenote-restyled ul.screenshots {
	margin-top: 27px;
	}
#simplenote-restyled .preview-toggle a.current {
	color: #fff;
	font-weight: bold;
	}


/* Footer
-------------------------------------------------------------- */

#footer {
	margin-top: 36px;
	color: #7d8285;
	text-align: center;
	}
#copyright a {
	text-decoration: none;
	}

/* external links */

.nav.external {
	margin: 0 auto;
	list-style: none;
	width: 96px;
	}
	.nav.external li {
		margin-right: 4px;
		padding-right: 10px;
		background: url(/img/nav-ext-sep.png) right center no-repeat;
		float: left;
		}
		.nav.external li:last-child {
			background: none;
			margin-right: 0;
			padding-right: 0;
			}
	.nav.external .mighty-dream {
		background-image: url(/img/nav-ext-mightydream.png);
		height: 45px;
		width: 42px;
		}
		.nav.external .mighty-dream:hover { background-position: left -45px; }
	.nav.external .twitter {
		margin-top: 3px;
		background-image: url(/img/nav-ext-twitter.png);
		height: 37px;
		width: 30px;
		}
		.nav.external .twitter:hover { background-position: left -37px; }


/* Utilities
-------------------------------------------------------------- */

/* image replacement */

.img {
	background-color: transparent;
	background-position: left top;
	background-repeat: no-repeat;
	display: block;
	overflow: hidden;
	text-indent: -9000px;
	}

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clr:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}