/* Type & image presets */

body {
	font-size: 14px;
	line-height: 24px;		/* Changing this will break the baseline grid. */
	-webkit-text-size-adjust: none;		/* Stops the iPhone scalling type up */
	background: #ddd;
	color: #463651;
	font-family: "proxima-nova-1", "proxima-nova-2", Helvetica Neue, Arial, Helvetica, sans-serif;
}

:focus { 
	outline: 0;
}

a img {
	display: block;		/* Stops image links getting text link styles */
}

img {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	margin-bottom: 24px;
	-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
}

p, ul, ol, blockquote {
	margin-bottom: 24px;	/* Changing this will break the baseline grid. */
	font-weight: 400;
}

ul {
	list-style-type: none;
}

li {
	margin-bottom: 6px;
}

blockquote {
	border-left: 1px solid #c1c1c1;
	color: #747474;
	padding-left: 15px;
	margin-left: -15px;
}

h1, h2 {
	font-size: 22px;
	line-height: 36px;		/* Changing this will break the baseline grid. */
	margin-bottom: 24px;	/* Changing this will break the baseline grid. */
	font-weight: 300;
	text-shadow: 0 -1px 0 #222222;
}

h3 {
	font-size: 11px;
	line-height: 24px;
	margin-bottom: 12px;	/* Changing this will break the baseline grid. */
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0 0 6px 5px;
}

a:link, a:visited {
	text-decoration: none;
	color: #4face2;
	font-weight: 600;
	padding: 1px 3px;
	margin-left: -3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all .2s linear;  
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	transition: all .2s linear;
}

a:hover {
	color: #fff;
	text-shadow: 0 -1px 0 #04537f;
}

a:active {
	outline: 0;
	position: relative;
	top: 1px;
}

.container {
	padding-top: 24px;
}

.me {
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.logo {
	position: relative;
	text-align: center;
}

h1 a:link, h1 a:visited {
	background: #564662 url(../img/logo.png) no-repeat left; 
	display: block;
	width: 140px;
	height: 140px;  
	text-indent: -99999px;
	padding: 0;
	margin: 1px auto;
	-moz-box-shadow: 0 -1px 1px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 -1px 1px rgba(0,0,0,.2);
	box-shadow: 0 -1px 1px rgba(0,0,0,.2);
	-webkit-border-radius: 70px;
	-moz-border-radius: 70px;
	border-radius: 70px;
	-webkit-transition: all .5s ease-out;  
	-moz-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
	transition: all .5s ease-out;
}
		
h1 a:hover, h1 a:active {
	background: #0778b9 url(../img/logo.png) no-repeat right;
	-moz-box-shadow: 0 -1px 1px rgba(0,0,0,.4);
	-webkit-box-shadow: 0 -1px 1px rgba(0,0,0,.4);
	box-shadow: 0 -1px 1px rgba(0,0,0,.4);
}

.logo a.hovered {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	display: none;
	background: none;
	text-indent: -99999px;
}

.logo:hover a.hovered {
	display: block;
	visibility: hidden;
}

.me {
	margin-bottom: -2px;
}

.centered {
	text-align: center;
}

#header {
	background: #463a4e;
	color: #9e92a6;
}

#header span {
	color: #eee;
	font-weight: 600;
}

#work {
	background: #ddd url(../img/bg.png);
	text-shadow: 0 1px 0 #eee;
	overflow: hidden;
	line-height: 0;
	padding-top: 18px;
	border-top: 1px solid #392e41;
	border-bottom: 1px solid #392e41;
}

#footer {
	background: #463a4e;
	color: #9e92a6;
	text-shadow: 0 -1px 0 #232323;
}

#footer h3 {
	font-weight: 600;
	color: #ddd;
	letter-spacing: 2px;
	margin-bottom: 0;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

#footer li {
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding: 6px 0 6px 5px;
	margin: 0;
}

#footer li.end {
	border-bottom: none;
	
}

#footer li:hover {
	color: #c3c3c3;
	color: #9e92a6;
}

#footer a {
	font-weight: 600;
}

#footer span {
	font-weight: 600;
}

#bonus, #phoneprops, #ie {
	padding: 12px 0;
	background: #2E2633 url(../img/bonus.png);
	color: #615768;
	text-align: left;
	text-shadow: 0 -1px 0 #232323;
}

#bonus.top {
	border-bottom: 1px dashed #463651;
}

#bonus.bottom, #phoneprops {
	border-top: 1px dashed #463651;
}

#bonus p, #phoneprops p, #ie p {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
}

#bonus span, #phoneprops span, #ie span {
	font-weight: 700;
	color: #999;
}

::-moz-selection {
	background:#f75555;
	color:#eee;
	text-shadow: 0 -1px 0 #a90404;
}

::selection {
	background: #f75555; 
	color:#eee;
	text-shadow: 0 -1px 0 #a90404;
}

div.image {
	position: relative;
	display: block;
	margin: 0 auto 36px;
	padding: 1px 0;
	max-width: 365px;
	overflow: hidden;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 8px;
	text-align: center;
}

div.image img {
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 8px;
	margin-bottom: 0;
	overflow: hidden;
	-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7), 0 -1px 1px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

div.caption,
div.image:active div.caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #eee;
	overflow: hidden;
	background-color: rgba(70,54,81,.9);
	background-color: rgba(226,46,47,.9);
	background-color: rgba(7,117,181,.9);
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 8px;
	opacity: 0;
	-webkit-transition: opacity .4s ease-out;
	-moz-transition: opacity .4s ease-out;
	-o-transition: opacity .4s ease-out;
	transition: opacity .4s ease-out;
}

div.image:hover div.caption {
	opacity: 1;
}


div.caption,
div.image:active div.caption {
	-webkit-transition: all .5s ease-out;
	-moz-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
	transition: all .5s ease-out;
	-webkit-transform: translate3d(-366px, 0, -60px);
	opacity: 0;
}

div.image:hover div.caption {
	-webkit-transform: translate3d(0, 0, 0);
	opacity: 1;
}


.caption h3 {
	font-size: 22px;
	line-height: 23px;
	padding: 12px 12px 0;
	margin-bottom: 12px;
	text-shadow: 0 -1px 0 rgba(0,0,0,.4);
	text-align: left;
	cursor: default;
}

.browserhint h3,
.mobilehint h3 {
	font-size: 10px;
	line-height: 18px;
	text-align: center;
	color: #615768;
}

.mobilehint {
	display: none;
}

#phoneprops {
	color: #999;
	display: none;
}
