/* 
Title:		Master styles for screen media
Author: 	dan@simplebits.com
*/


body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #222;
	font-size: 100%;
	background: url(../img/space-bg.png) repeat-x fixed -80% 0;
	background: 
		url(../img/stars-1.png) repeat-x fixed -130% 0,
		url(../img/stars-2.png) repeat-x fixed 40% 0,
		url(../img/space-bg.png) repeat-x fixed -80% 0,
		url(../img/clouds.png) repeat-x fixed 100% 0;
	background-color: #1a1a1a;
	}

/* links */

a:link, a:visited {
	text-decoration: none;
	font-weight: bold;
	color: #1e638d;
	outline: none;
	}
a:hover {
	color: #39c;
	}

/* page structure 
--------------------------------------------- */

#wrap {
	width: 920px;
	margin: 0 auto;
	padding: 0;
	background: #fff url(../img/bg-light.jpg) no-repeat 0 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 0 40px rgba(0,0,0,.7);
	-moz-box-shadow: 0 0 40px rgba(0,0,0,.7);
	box-shadow: 0 0 40px rgba(0,0,0,.7);
	}
#page {
	padding: 30px 0 0 0;
	}
div.full {
	position: relative;
	margin: 0 0 30px 0;
	padding: 30px;
	background: #393939;
	background: rgba(23,25,28,.8);
	}
div.main {
	float: left;
	width: 520px;
	margin: 0 0 10px 30px;
	padding: 0 0 0 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
div.secondary {
	float: right;
	width: 270px;
	margin: 0 30px 20px 0;
	font-size: .8em;
	color: #666;
	color: rgba(0,0,0,.5);
	}
#footer {
	width: 820px;
	margin: 20px auto 50px auto;
	padding: 0 50px;
	color: #fff;
	}

/* header 
--------------------------------------------- */

#header {
	width: 920px;
	margin: 0 auto;
	}

#logo {
	float: left;
	padding: 30px 30px 25px 0px;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	}
#logo-mark {
	float: left;
	margin: 0 15px 0 0;
	-webkit-transition: all .6s ease-in-out;
	-moz-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
	}
#logo:hover {
	opacity: .85;
	}
#logo:hover #logo-mark {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
	}
#logo-type {
	float: left;
	margin: 8px 0 0 0;
	}

/* nav */

#nav {
	float: right;
	padding: 42px 0 0 30px;
	font-size: .9em;
	}
#nav li {
	float: left;
	margin: 0 0 0 5px;
	}
#nav li a:link,
#nav li a:visited {
	padding: 5px 15px;
	font-weight: bold;
	color: #ccc;
	color: rgba(255,255,255,.7);
	text-shadow: 0 1px 1px rgba(0,0,0,.5);
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	}
#nav li a:hover {
	color: #fff;
	background: rgba(255,255,255,.15);
	}
#nav li.active a {
	color: #fff;
	background: rgba(0,0,0,.4);
	}

/* main styles 
--------------------------------------------- */

/* full */

div.full h2 {
	clear: left;
	padding: 10px 0 0 0;
	font-size: .7em;
	line-height: 1;
	text-transform: uppercase;
	color: #ccc;
	color: rgba(255,255,255,.75);
	text-shadow: 0 1px 1px rgba(0,0,0,.75);
	}

/* things carousel */

#things-prev {
	position: absolute;
	left: -19px;
	top: 80px;
	}
#things-next {
	position: absolute;
	right: -19px;
	top: 80px;
	}

ul#things li {
	position: relative;
	float: left;
	margin: 0 15px 0 0;
	padding: 10px;
	background: #444;
	background: rgba(255,255,255,.1);
	list-style: none;
	-webkit-border-radius: 4px;
	}
ul#things li:last-child {
	margin-right: 0;
	}
ul#things li a img.moon {
	float: left;
	width: 137px;
	border: none;
	}
ul#things li a img.thing {
	position: absolute;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	}
ul#things li#things-1 a img.thing {	
	width: 60px;
	top: 23px;
	left: 26px;
	}
ul#things li#things-2 a img.thing {	
	width: 50px;
	top: 20px;
	left: 50px;
	}
ul#things li#things-3 a img.thing {	
	width: 80px;
	top: 19px;
	left: 30px;
	}
ul#things li#things-4 a img.thing {	
	width: 70px;
	top: 25px;
	left: 45px;
	}
ul#things li#things-5 a img.thing {	
	width: 80px;
	top: 20px;
	left: 34px;
	-webkit-transition: all 0.4s ease-in;
	-moz-transition: all 0.4s ease-in;
	-o-transition: all 0.4s ease-in;
	transition: all 0.4s ease-in;
	}
ul#things li#things-1 a:hover img.thing {
	-webkit-transform: scale(1.25);
	-moz-transform: scale(1.25);
	-o-transform: scale(1.25);
	transform: scale(1.25);
	}
ul#things li#things-2 a:hover img.thing {
	top: 25px;
	left: 60px;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
	}
ul#things li#things-3 a:hover img.thing {
	left: 45px;
	}
ul#things li#things-4 a:hover img.thing {
	-webkit-transform: rotate(-15deg);
	-moz-transform: rotate(-15deg);
	-o-transform: rotate(-15deg);
	transform: rotate(-15deg);
	}
ul#things li#things-5 a:hover img.thing {
	opacity: .4;
	}
	
/* main */

div.main h1 {
	font-size: 2em; 
	font-weight: normal;
	letter-spacing: -1px; 
	line-height: 1.1;  
	text-shadow: 0 1px 1px #fff;
	}
div.main h3 {
	margin: 0 0 15px 0;
	font-size: 1.2em; 
	font-weight: normal;
	line-height: 1.1;  
	text-transform: uppercase;
	text-shadow: 0 1px 1px #fff;
	}
div.main h4 {
	margin: 0 0 5px 0;
	font-size: 1.4em; 
	font-weight: bold;
	letter-spacing: -1px; 
	line-height: 1.1;  
	text-shadow: 0 1px 1px #fff;
	}
div.main p {	
	margin: 0 0 15px 0;
	line-height: 1.5;
	text-shadow: 0 1px 1px #fff;
	}
div.main p.posted {
	margin: 0 0 30px 0;
	padding: 0 0 0 20px;
	font-size: .8em;
	color: #777;
	background: url(../img/icon-time.png) no-repeat 0 50%;
	}
div.main p.posted span {
	margin: 0 4px;
	color: #ccc;
	}

/* drop cap */

/*div.main p:first-of-type:first-letter {
	float: left;
	margin: 5px 30px 0 0;
	font-family: "Bickham Script Pro", Baskerville;
	font-size: 8.25em;
	font-weight: bold;
	line-height: .5;	
	color: #444;
	color: rgba(0,0,0,.6);
	}*/

/* multi-column */

div.mult {
	font-size: .75em;
	color: #666;
	-webkit-column-count: 3;
	-webkit-column-gap: 20px;
	-webkit-column-rule: 1px dotted #999;
	-moz-column-count: 3;
	-moz-column-gap: 20px;
	-moz-column-rule: 1px dotted #999;
	column-count: 3;
	column-gap: 20px;
	column-rule: 1px dotted #999;
	}

/* secondary styles 
--------------------------------------------- */

div.mod {
	margin: 0 0 30px 0;
	}
div.alt {
	padding: 20px;
	background: #ddd;
	background: rgba(23,25,28,.15);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	}
div.secondary p {	
	line-height: 1.5;
	}
div.secondary h3 {
	margin: 0 0 10px 0;
	font-size: 1.4em;
	font-weight: normal;
	text-transform: uppercase;
	line-height: 1;	
	text-shadow: 0 1px 1px #fff;
	color: #222;
	}
div.secondary h3.alerts {
	padding: 3px 0;
	padding-left: 29px;
	background: url(../img/icon-alerts.png) no-repeat 0 50%;
	}
		
/* newsletter form */

#thing-alerts fieldset {
	margin: 0 0 10px 0;
	}
#thing-alerts fieldset:last-child {
	margin: 0;
	}
#thing-alerts fieldset label {
	display: block;
	font-weight: bold;
	line-height: 1.4;
	color: #666;
	color: rgba(0,0,0,.6);
	text-shadow: 0 1px 1px #fff;
	}
#thing-alerts fieldset input[type="text"] {
	width: 215px;
	padding: 5px 8px;
	font-family: Helvetica, sans-serif;
	font-size: 1.2em;
	color: #666;
	border: none;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 12%, from(#999), to(#fff));
	background-image: -moz-linear-gradient(0% 12% 90deg,#fff, #999);
	background-color: #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	}
	
@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 12px rgba(51,204,255,.2);
	}
	50% {
		-webkit-box-shadow: 0 0 12px rgba(51,204,255,.9);
	}
	100% {
		-webkit-box-shadow: 0 0 12px rgba(51,204,255,.2);
	}
}

@-webkit-keyframes pulse-error {
	0% {
		-webkit-box-shadow: 0 0 12px rgba(204,0,0,.1);
	}
	50% {
		-webkit-box-shadow: 0 0 12px rgba(204,0,0,.5);
	}
	100% {
		-webkit-box-shadow: 0 0 12px rgba(204,0,0,.1);
	}
}

#thing-alerts fieldset input[type="text"]:focus {
	border: none;
	background-image: none;
	background: #fff;
	-webkit-animation: pulse 1.5s infinite ease-in-out;
	}
#thing-alerts fieldset input[type="submit"] {
	padding: 8px 15px;
	font-family: Helvetica;
	font-weight: bold;
	line-height: 1;
	color: #444;
	border: none;
	text-shadow: 0 1px 1px rgba(255,255,255,.85);
	
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#bbb));
	background-image: -moz-linear-gradient(0% 100% 90deg,#bbb, #fff);
	
	-webkit-border-radius: 23px;
	-moz-border-radius: 23px;
	border-radius: 23px;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
	box-shadow: 0 1px 2px rgba(0,0,0,.5);
	}
#thing-alerts fieldset input[type="submit"]:hover {
	color: #333;
	-webkit-animation-name: pulse;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	}
	
/* things count */

h4#things-count {
	float: right;
	width: 270px;
	margin: 10px 30px 30px 0;
	text-align: center;
	}
h4#things-count span {	
	margin: 0 1px;
	padding: 6px 12px;
	font-size: 1.8em;
	color: #fff;
	background: #333 url(../img/flip.png) repeat-x 0 50%;
	background: 
		url(../img/flip.png) repeat-x 0 50%, 
		-webkit-gradient(linear, left top, left bottom, color-stop(0.00, #585858), color-stop(1.00, #222));
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-shadow: 0 -1px 1px #000;
	overflow: auto;
	}
h4#things-count span:after {
	position: absolute;
	top: 50%;
	content: ;
	}
h4#things-count em {
	display: block;
	margin: 8px 0 0 0;
	font-size: 1em;
	font-style: normal;
	color: #666;
	text-shadow: 0 1px 1px #fff;
	}

/* categories list */

ol.cat {
	border: 2px solid rgba(0,0,0,.25);
	background: rgba(255,255,255,.7);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	}
ol.cat li {
	border-bottom: 1px solid rgba(0,0,0,.1);
	}
ol.cat li:last-child {
	border: none;
	}
ol.cat li a {
	position: relative;
	display: block;
	width: 230px;
	padding: 10px 20px;
	font-weight: bold;
	text-decoration: none;
	color: #222;
	text-shadow: 0 1px 1px rgba(255,255,255,.5);
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	-webkit-transition: width 0.3s linear, background 0.2s ease;
	-moz-transition: width 0.3s linear, background 0.2s ease;
	-o-transition: width 0.3s linear, background 0.2s ease;
	transition: width 0.3s linear, background 0.2s ease;
	}
ol.cat li a img {
	position: absolute;
	top: 10px;
	right: 20px;
	opacity: .4;
	}
ol.cat li a em {
	float: right;
	margin: 2px 30px 0 0;
	font-size: .85em;
	font-weight: normal;
	font-style: normal;
	opacity: .5;
	}
ol.cat li a:hover {
	color: #fff;
	width: 245px;
	background-color: rgba(30,99,141,.85);
	text-shadow: 0 -1px 1px rgba(0,0,0,.4);
	}
ol.cat li a:hover img {
	opacity: .6;
	}
ol.cat li a:hover em {
	color: #000;
	text-shadow: 0 1px 1px rgba(255,255,255,.6);
	}

/* footer 
--------------------------------------------- */

#footer p {
	margin: 0 0 10px 0;
	font-size: .8em;
	line-height: 1.6;
	color: #999;
	text-align: center;
	text-shadow: 0 -1px 1px rgba(0,0,0,.9);
	}
#footer p a {
	text-decoration: none;
	font-weight: normal;
	color: #999;
	border-bottom: 1px solid rgba(255,255,255,.1);
	}
#footer-logos {
	margin: 0 0 10px 0;
	text-align: center;
	}
#footer-logos li {
	display: inline;
	}
#footer #footer-logos a {
	border: none;
	}	
#footer #footer-logos a img {
	border: none;
	opacity: .25;
	filter: alpha(opacity = 25);
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-o-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
	}
#footer #footer-logos a:hover img {
	opacity: .5;
	filter: alpha(opacity = 50); /* for IE */
	}

/* misc. 
--------------------------------------------- */

hr, .hide {
	display: none;
	}
a img {
	border: none;
	}

/* self-clear floats */

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