/*
 * Purple: #490A3D
 * Pink: #BD1550
 * Orange: #E97F02
 * Yellow: #F8CA00
 * Green: #8A9B0F
 * Darkgreen #098048
 * Red: #D8372D
 * Lightpink: #BC558C
 * Blue: #919BD6
 */


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography
	---------- */

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 10, 2011 06:11:21 AM America/New_York */
@font-face {
    font-family: 'JosefinSansStdLight';
    src: url('/assets/fonts/JosefinSansStd-Light-webfont.eot');
    src: url('/assets/fonts/JosefinSansStd-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/JosefinSansStd-Light-webfont.woff') format('woff'),
         url('/assets/fonts/JosefinSansStd-Light-webfont.ttf') format('truetype'),
         url('/assets/fonts/JosefinSansStd-Light-webfont.svg#JosefinSansStdLight') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4 {
	font-family: 'JosefinSansStdLight', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
	font-weight:normal;
}

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge {
	font-size: 68px;
	line-height: 72px;
	letter-spacing: -1px;
}

.large, h1 {
	font-size: 42px;
	line-height: 48px;
}

.bigger, h2 {
	font-size: 26px;
	line-height: 36px;
}

.big, h3, h4 {
	font-size: 22px;
	line-height: 30px;
}

body {
	font: 16px/24px Georgia, serif;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}

.tiny {
	font-size: 11px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */
::selection         {background: #F8CA00;}
::-moz-selection    {background: #F8CA00;}
img::selection      {background: transparent;}
img::-moz-selection {background: transparent;}
body {-webkit-tap-highlight-color: #F8CA00;}


/* other colours */
.purple {color:#490A3D;}
.purple-light {color: #570c4a;}
.pink {color:#BD1550;}
.orange {color:#E97F02;}
.yellow {color:#F8CA00;}
.green {color:#8A9B0F;}
.darkgreen {color:#098048;}
.red {color:#D8372D;}
.lightpink {color:#BC558C;}
.blue {color:#919BD6;}

/*		Default Layout: 992px.
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	padding: 6px 0 110px;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	background:#490A3D;
	color:#fff;
	font-family:'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}
@media only screen and (max-width: 580px) {
	body {
		padding: 6px 0;
	}
	/* Hide the search on mobile */
	.top-search, header.tiny {
		display: none;
	}
}

header,
#search,
.top-search,
#wrapper {
	max-width: 896px;
	margin:0 auto;
}
#wrapper { padding: 0 48px 0; }

@media only screen and (max-width: 580px) {
	#wrapper { padding: 0 12px 0; }
}


a {color:#fff;}
p {
	font-weight:300;
}
p a {
	color:#BD1550;
	text-decoration:none;
}
	p a:hover {text-decoration:underline;}

nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
}
	nav ul li {
		margin:0;
		padding:0;
		float:left;
	}

/*front page*/
#michael {
	height: calc(100vh - 101px);
	display: flex;
	align-items: center;
	justify-content: center;
}
#michael h1 {
	font-weight:normal;
	text-align:center;
	margin:24px 0 48px 0;
}
@media only screen and (max-width: 580px) {
	#michael {
		padding-top: 100px;
		display: block;
	}
	#michael h1 {
		display: none;
	}
}
#michael .masthead {
	margin: 0 auto;
	height: 340px;
	width: 340px;
	background-size: cover;
	-webkit-border-radius: 340px;
	-moz-border-radius: 340px;
	border-radius: 340px;
}


header h2 {
	margin-bottom: 24px;
}
#news h3 {
	margin-bottom: 12px;
}

.home-section {
}

/* svg divider */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.25);
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0) rotate(0);
		animationTimingFunction: cubic-bezier(0, 0, 0.2, 1);
	}
	50% {
		transform: translateY(-25%) rotate(30deg);
		animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);
	}
}

@keyframes straightbounce {
	0%, 100% {
		transform: translateY(0);
		animationTimingFunction: cubic-bezier(0, 0, 0.2, 1);
	}
	50% {
		transform: translateY(-25%);
		animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);
	}
}


.divide {
	text-align: center;
	margin: 4rem auto;
}

#michael .divide {
	margin-bottom: 0;
}
#michael .divide svg {
	animation: straightbounce 1.5s infinite;
}

.spin:hover svg {
	animation: spin 10s linear infinite;
}
.pulse:hover svg {
	animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.bounce:hover svg {
	animation: bounce 1s infinite;
}




header.search-header {
	height:48px;
}
header nav ul {float:right;}
	header nav ul li {margin-left:6px;}

/*footer*/
footer {
	background:#490A3D;
	position:fixed;
	bottom:0;
	width:100%;
	padding:24px 0 0 0;
}
	footer nav {
		display:block;
		min-height:70px;
		text-align:center;
		max-width:992px;
		margin:0 auto;
	}
		footer nav ul {display:inline-block;}
		footer nav ul li {
			width:90px;
			margin:0 12px;
		}

@media only screen and (max-width: 580px) {
	footer {
		display: none;
	}
	.menu-open {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding-top: 80px;
		overflow-y: scroll;
		overflow-x: hidden;
	}
	.menu-open nav {
		width: 100%;
	}
	.menu-open  nav ul {
		display: block;
	}
	.menu-open  nav ul li {
		display: block;
		width: 100%;
		margin-bottom: 24px;
	}
}

.top-bar {
	display: none;
}
@media only screen and (max-width: 580px) {
	.top-bar {
		display: block;
		position: fixed;
		z-index: 100;
		top: 0;
		left: 0;
		right: 0;
		height: 56px;
		background:#490A3D;
	}
	.top-bar h1 {
		font-weight:normal;
		text-align:center;
		margin:8px 0 0 0;
	}
	.top-bar h1 a {
		text-decoration: none;
	}
	.menu-trigger {
		position: absolute;
		top: 16px;
		left: 10px;
		display: block;
		cursor: pointer;
		font-size: 28px;
	}
}


/*search*/
.top-search {
/*	height:34px;*/
	position:relative;
}
#search {
	height:34px;
	top:-80px;
	position:absolute;
}
#search div,
#search label,
#search input.text {
	width:201px;
	display:block;
	float:left;
	margin-right:24px;
	color:#fff;
	padding:2px;
	font-size:13px;
}
#search label {text-transform:uppercase;}
#search input.submit {
	width:24px;
	height:20px;
	padding:0 0 2px 0;
	line-height:0;
	text-transform:uppercase;
	border:none;
	color:#fff;
	background:#BD1550;
	float:left;
	margin-top:32px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}

/*forms*/
input.text,
textarea,
input.submit {
	border:none;
	background:#BD1550;
	outline:none;
	color:#fff;
	padding:2px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
	input:focus.text,
	textarea:focus {
		-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
		-moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
		box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
	}
	input:hover.submit {
		cursor:pointer;
		-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
		-moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
		box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
	}
#email-form label {
	font-size:13px;
	text-transform:uppercase;
	display:block;
	margin:12px 0 0 0;
}
#email-form input.text {
	margin:0;
	width:160px;
}
#email-form input.submit {
	margin:0;
	display:block;
	text-transform:uppercase;
}
#email-form textarea {
	margin:0;
	width:436px;
}
@media only screen and (max-width: 580px) {
	#email-form textarea {
		width:100%;
	}
}

/*works*/
#works section {
	margin-bottom:48px;
	width:45%;
	float:left;
}
@media only screen and (max-width: 824px) {
	#works section {
		width:100%;
		float:none;
		clear:both;
	}
}
#works .odd {margin-right:24px;}
#works img,
#works h2 {margin:0 0 12px 0;}
#works h2 a {text-decoration: none;}
#works h2 a:hover {text-decoration: underline;}
#works img {
	max-width: 100%;
}
#works .meta,
#works .inst {margin:0 0 12px 0;}
section h1 {margin:0 0 20px 0;}


/* Work entry */
#work-entry {
	margin:0 auto 48px auto;
	max-width:400px;
	width: 100%;
}

#work-entry .eyebrow {
	font-family: 'JosefinSansStdLight', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
	font-weight:normal;
	text-transform: lowercase;
	font-size: 20px;
	margin: 48px 0 24px 0;
}
#work-entry .eyebrow a {text-decoration: none;}
#work-entry .eyebrow a:hover {text-decoration: underline;}

@media only screen and (max-width: 580px) {
	#work-entry .eyebrow {
		margin: 72px 0 24px 0;
	}
}

#work-entry h1 {
	font-weight: normal;
	margin: 24px 0 48px 0;
}

#work-entry img {
	max-width: 100%;
	margin:0 0 12px 0;
}
#work-entry .meta,
#work-entry .inst {margin:0 0 12px 0;}



/*round buttons*/
a.round-orange,
a.round-green,
a.round-yellow,
a.round-darkgreen,
a.round-red,
a.round-lightpink,
a.round-blue,
a.round-pink,
a.round-orange-active,
a.round-green-active,
a.round-yellow-active,
a.round-darkgreen-active,
a.round-red-active,
a.round-lightpink-active,
a.round-blue-active,
a.round-pink-active {
	display:inline-block;
	min-width:40px;
	margin:0 0 12px 0;
	text-decoration:none;
	text-transform:uppercase;
	text-align:center;

	font-size: 10px;
	line-height: 1.5;
}

a.round-orange:before,
a.round-green:before,
a.round-yellow:before,
a.round-darkgreen:before,
a.round-red:before,
a.round-lightpink:before,
a.round-blue:before,
a.round-pink:before,
a.round-orange-active:before,
a.round-green-active:before,
a.round-yellow-active:before,
a.round-darkgreen-active:before,
a.round-red-active:before,
a.round-lightpink-active:before,
a.round-blue-active:before,
a.round-pink-active:before,
a.round-orange-active:hover:before,
a.round-green-active:hover:before,
a.round-yellow-active:hover:before,
a.round-darkgreen-active:hover:before,
a.round-red-active:hover:before,
a.round-lightpink-active:hover:before,
a.round-blue-active:hover:before,
a.round-pink-active:hover:before {
	content: '';
	display: block;
	margin: 0 auto 4px auto;
	width: 40px;
	height: 40px;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;

	background-color: #BD1550;
}


/*.purple {color:#490A3D;}
.pink {color:#BD1550;}
.orange {color:#E97F02;}
.yellow {color:#F8CA00;}
.green {color:#8A9B0F;}
.darkgreen {color:#098048;}
.red {color:#D8372D;}
.lightpink {color:#BC558C;}
.blue {color:#919BD6;}*/

@media only screen and (max-width: 580px) {
	a.round-orange,
	a.round-green,
	a.round-yellow,
	a.round-darkgreen,
	a.round-red,
	a.round-lightpink,
	a.round-blue,
	a.round-pink,
	a.round-orange-active,
	a.round-green-active,
	a.round-yellow-active,
	a.round-darkgreen-active,
	a.round-red-active,
	a.round-lightpink-active,
	a.round-blue-active,
	a.round-pink-active,
	a:hover.round-orange-active,
	a:hover.round-green-active,
	a:hover.round-yellow-active,
	a:hover.round-darkgreen-active,
	a:hover.round-red-active,
	a:hover.round-lightpink-active,
	a:hover.round-blue-active,
	a:hover.round-pink-active {
		font-size: 14px;
	}
}

a.round-orange-active:before,
a.round-orange:hover:before {background-color:#E97F02;}
a.round-green-active:before,
a.round-green:hover:before {background-color:#8A9B0F;}
a.round-yellow-active:before,
a.round-yellow:hover:before {background-color:#F8CA00;}
a.round-darkgreen-active:before,
a.round-darkgreen:hover:before {background-color:#098048;}
a.round-red-active:before,
a.round-red:hover:before {background-color:#D8372D;}
a.round-lightpink-active:before,
a.round-lightpink:hover:before {background-color:#BC558C;}
a.round-blue-active:before,
a.round-blue:hover:before {background-color:#919BD6;}
a.round-pink-active:before,
a.round-pink:hover:before {background-color:#BD1550;}



/*text buttons*/
.pink-button {
	background:#BD1550;
	text-decoration:none;
	text-transform:uppercase;
	padding:2px;

	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
:hover.pink-button {
	-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
	box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
}


.whirlygig {
	width:16px;
	height:16px;
	background:url(../images/ajax-loader.gif) 0 0 no-repeat;
	display:inline-block;
	margin:12px 0 0 10px;
}

/*error page*/
.error-page {
	text-align: center;
	padding: 25% 0;
}
@media only screen and (max-height: 600px) {
	.error-page {
		padding: 15% 0;
	}
}


.title {
	text-transform: lowercase;
	font-weight:normal;
	text-align:center;
	margin:24px 0 48px 0;
}

@media only screen and (max-width: 580px) {
	.title {
		margin-top: 96px;
	}
}


.error {
	font-size: 14px;
}


/**
 * Video pages
 */
.video-page section {
	max-width: 600px;
	margin: 24px auto;
}



/**
 * Videos listing
 */
.videos-list {
	list-style-type:none;
	margin:0;
	padding:0;
}
	.videos-list li {
		margin:0;
		padding:0;
		float:left;
		width: 50%;
		height: 250px;
	}

	@media only screen and (max-width: 580px) {
		.videos-list li {
			width: 100%;
			/*height: 250px;*/
		}
	}
		.videos-list li a {
			display: block;
			position: relative;
			width: 100%;
			height: 250px;
			background-position: center center;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
		}
			.videos-list li a .overlay {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;

				display: table;
				height: 100%;
				width: 100%;

				background: rgba(0, 0, 0, 0.8);
			}

			.videos-list li a .overlay span {
				display: table-cell;
				vertical-align:middle;
				text-align: center;

				font-family: 'JosefinSansStdLight', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
				font-weight:normal;
				color: #fff;
				font-size: 42px;
			}
			.videos-list li a:hover .overlay {
				background: none;
			}
			.videos-list li a:hover .overlay span {
				display: none;
			}


/**
 * Round btns with icons
 */
.fabtn {
	width: 27px;
	height: 27px;
	margin: 12px 0;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	float: left;
	margin-right: 12px;
	text-decoration: none;
	color: #490A3D;
	text-align: center;
	line-height: 27px;
	font-size: 16px;
}
.fabtn:hover {
	background-color:#BD1550;
}
.fabtn div {
	text-indent: -9999px;
}

.fabtn--purple {background-color:#490A3D;}
.fabtn--pink {background-color:#BD1550;}
.fabtn--orange {background-color:#E97F02;}
.fabtn--yellow {background-color:#F8CA00;}
.fabtn--green {background-color:#8A9B0F;}
.fabtn--darkgreen {background-color:#098048;}
.fabtn--red {background-color:#D8372D;}
.fabtn--lightpink {background-color:#BC558C;}
.fabtn--blue {background-color:#919BD6;}

.body {
	margin-bottom: 48px;
}

.body ul,
.body ol {
	margin-bottom: 24px;
	margin-left: 24px;
}

.body p {
	margin-bottom: 24px;
}

.body hr {
	margin-bottom: 24px;
	height: 1px;
	border: 0;
	background: #fff;
}

.body blockquote {
	margin-bottom: 24px;
	margin-left: 24px;
	font-style: italic;
}

body figure {
	margin-bottom: 24px;
}

body img {
	max-width: 100%;
}

body figcaption {
	font-style: italic;
	font-size: 0.75rem;
}


.body :last-child,
#works .body {
	margin-bottom: 0;
}

.videos-page {
	overflow: hidden;
}

input#newsletterSignup {
	display: none;
}