@font-face {
	font-family: 'Nexa';
	src: url('../fonts/Nexa_Free_Bold-webfont.eot');
	src: url('../fonts/Nexa_Free_Bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Nexa_Free_Bold-webfont.woff') format('woff'),
		 url('../fonts/Nexa_Free_Bold-webfont.ttf') format('truetype'),
		 url('../fonts/Nexa_Free_Bold-webfont.svg#nexa_boldregular') format('svg');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Nexa';
	src: url('../fonts/Nexa-Light.woff2') format('woff2'),
		 url('../fonts/Nexa-Light.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@-ms-viewport {
	width: device-width;
}

::selection,
::-moz-selection {
	background: #ff5e1d;
	color: #fff;
}

/* This is required to ensure CSS animations actually play. */
.preload * {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}

html, body {
	margin: 0;
	padding: 0;
	background: #edebe4;
	color: #2c2a28;
}

html {
	height: 100%;
	font-family: Merriweather, Georgia, serif;
	line-height: 1.6;
}

body {
	min-height: 100%;
	position: relative;
	text-align: center;
}

body img {
	border: none;
}

.content-container {
	padding-bottom: 600px;
}

header {
	background: #2c2a28;
	height: 76px;
	color: #fff;
	overflow: auto;
	font-family: Nexa, Neutraface, Avenir, Gotham, 'Century Gothic', sans-serif;
	line-height: 76px;
}

.xmas header {
	background: url('../img/xmas-tile-small.png') repeat-x 50% 100%;
	height: 157px;
}

.xmas.home header {
	background-color: #e4e2dc;
}

header h1,
header ul {
	margin: 0;
	padding: 0;
}

header h1 {
	float: left;
	height: 76px;
	width: 250px;
	background: url('../img/logo-studioiq.gif') no-repeat 50% 50%;
	overflow: hidden;
	text-indent: -999px;
}

header h1 a {
	display: block;
	height: 100%;
}

header h1 img {
	display: none;
}

header .quick-contact {
	display: none;
}

header nav {
	text-align: right;
}

header nav li {
	list-style: none;
	display: inline;
	padding: 0 0 0 2em;
	font-weight: normal;
	letter-spacing: 2px;
	font-size: 1em;
}

header a {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
}

/*
	This is necessary to prevent WebKit on Mac from selecting the link text when you right-click on it.
	It does not prevent the user from clicking on it (nor from selecting the text in normal usage)
*/
header nav a:active {
	background: #ff5e1d;
	-webkit-user-select: none;
}

header a.active,
header ul.work li.work a,
header ul.blog li.blog a,
header ul.about li.about a,
header ul.contact li.contact a {
	color: #7b7773;
}

header a:hover {
	text-decoration: underline;
}

article {
	margin-top: 3.8em;
}

h1, h2, h3 {
	font-family: Nexa, Neutraface, Avenir, Gotham, 'Century Gothic', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
}

h1 {
	font-size: 5.5em;
	text-rendering: optimizeLegibility;
	letter-spacing: -1px;
	margin: 25px auto 0 auto;
}

article h1, h2, h3, h4, h5, h6 {
	margin: 16px auto 8px auto;
}

h2,
article h1 {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 1.9em;
}

h1 a,
h2 a,
h3 a,
article h1 a {
	text-decoration: none;
	color: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
article h1 a:hover {
	text-decoration: underline;
}

h3,
article h2 {
	text-transform: uppercase;
	font-size: 1.4em;
	letter-spacing: .1em;
}

h4,
article h3 {
	font-size: 1.1em;
}

a,
article footer a {
	color: #ff5e1d;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

a.button {
	background: #d9d5cf;
	color: #2c2a28;
	display: inline-block;
	text-transform: uppercase;
	font-family: Nexa, Neutraface, Avenir, Gotham, 'Century Gothic', sans-serif;
	font-weight: normal;
	text-decoration: none;
	padding: 9px 22px;
	letter-spacing: 2px;
	border-radius: 5px;
	line-height: 1.2;
	cursor: pointer;
}

a.button:hover {
	text-decoration: none;
	background: #797672;
	color: #fff;
}

a.button + a.button {
	margin-left: 1em;
}

a.button.active,
a.button:active {
	background-color: #ff5e1d;
	color: #fff;
}

a[href^=tel\:] {
	color: inherit;
	text-decoration: none;
}

.content {
	margin: 0 auto;
	width: 960px;
	max-width: 100%;
}

article p,
article ul,
article ol {
	text-align: left;
	max-width: 700px;
	margin: 1em auto;
}

p.byline {
	margin: 20px auto;
	color: #89837e;
}

p.tweet {
	margin: 20px 0 0 0;
}

.hero {
	margin-bottom: 80px;
	background-color: #e4e2dc;
	width: 100%;
	padding-top: 78px;
	padding-bottom: 61px;
}

.hero img {
	max-width: 100%;
}

.hero h1 {
	font-size: 6em;
	margin: 0 0 8px 0;
}

.hero p {
	font-size: 1.2em;
	line-height: 1.6em;
	max-width: 800px;
	margin: 0 auto;
}

.home .service,
.about .service {
	width: 275px;
	display: inline-block;
	padding: 0 1em 80px 1em;
	vertical-align: top;
	min-height: 325px;
	position: relative;
}

.home .service > img,
.about .service > img {
	max-height: 128px;
	max-width: 128px;
}

.home .service h2,
.about .service h2 {
	margin: 0.5em 0 0 0;
}

.home .service .button-container,
.about .service .button-container {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

.home .service .button,
.about .service .button {
	margin: 0.5em auto 2em;
}

.about .service ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.about .service ul li {
	padding: 18px 0 12px 0;
	border-bottom: solid 1px #c5bfba;
}

.about .service ul li:first-child {
	background: url('../img/bg-hr.gif');
	background-repeat: repeat-x;
	background-size: 3px 2px;
}

.about .service h3 {
	margin-bottom: 30px;
}

.about .players-content {
	overflow: auto;
}

.home .clients-container {
	text-align: left;
	display: inline-block;
	max-width: 912px; /* 6 x (itemWidth + horizontal margin) */
}

.home .clients .client {
	text-align: center;
	position: relative;
	display: inline-block;
	background: #e2e0d9;
	height: 128px;
	width: 128px;
	vertical-align: middle;
	border-radius: 5px;
	background-color: white;
	margin: 12px;
}

.home .clients .client a,
.home .clients .client .no-projects {
	display: table-cell;
	height: 128px;
	width: 128px;
	vertical-align: middle;
}

.home .clients .client img {
	max-height: 128px;
	max-width: 128px;
	vertical-align: middle;
}

.home .clients .has-projects {
	position: absolute;
	top: 3px;
	right: 3px;
}

.home .clients .has-projects img {
	vertical-align: top;
}

.home .clients p {
	margin-bottom: 22px;
}

.home .clients .button {
	margin-top: 30px;
}

.page-icon,
.content-icon {
	background: #ff5e1d;
	width: 110px;
	height: 110px;
	line-height: 110px;
	border-radius: 50%;
	margin: 55px auto 0;
	border: 10px solid #e0ddd1;
}

.page-icon img,
.content-icon img {
	vertical-align: middle;
}

.content-icon {
	margin: 20px auto 0;
}

a.content-icon {
	display: block;
}

.twitterimage .content-icon {
	width: 90px;
	height: 90px;
	line-height: 90px;
}

body.clients #page-description {
	min-height: 75px;
}

#page-description {
	margin-bottom: 3.75em;
	font-size: 1.2em;
}

#page-description p {
	margin-top: 20px;
}

body.clients #page-description:empty {
	margin: 1em 0;
}

#sortable-headings {
	border: 1px solid #c5bfba;
	border-width: 1px 0;
	padding: 12px 0;
	margin: 0 0 60px 0;
}

#sortable-headings a {
	margin-top: 4px;
	margin-bottom: 4px;

	/*
		This reduces the items to smaller than they are in the design,
		but keeping them all on one line is more significant.
	*/
	font-size: 0.9em;
}

#sortable-container {
	position: relative;
	text-align: left;
	overflow: hidden;

	-webkit-transition: height 0.5s ease-in-out;
	-moz-transition: height 0.5s ease-in-out;
	-ms-transition: height 0.5s ease-in-out;
	-o-transition: height 0.5s ease-in-out;
	transition: height 0.5s ease-in-out;
}

.success,
.invalid {
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: Nexa;
	margin: 0 0 1.5em;
	padding: 0;
}

.success {
	color: #579820;
}

.invalid {
	color: #c43836;
}


.js-positioned {
	position: absolute;
}

body.clients .client {
	width: 33%;
	height: 410px;
	display: inline-block;
	vertical-align: top;
	text-align: center;

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

body.clients .client .image-wrap {
	position: relative;
	display: block;
	width: 230px;
	height: 230px;
	margin: 0 auto 16px;
	border: 10px solid #e4e1d6;
	border-radius: 50%;
	overflow: hidden;

	text-align: center;
	vertical-align: middle;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.2em;

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

body.clients .client .image-wrap img,
body.clients .client .image-wrap a,
body.clients .client .image-wrap span {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	border-radius: 50%;
	text-align: center;
	vertical-align: middle;
}

body.clients .client .image-wrap a {
	color: #fff;
	text-decoration: none;

	vertical-align: middle;
	text-align: center;

	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

body.clients .client .image-wrap p {
	font-family: Nexa, Neutraface, Avenir, Gotham, 'Century Gothic', sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	letter-spacing: 5px;
	line-height: 1.2em;
	display: inline-block;
	color: #fff;

	/* Vertically center the text */
	margin: 50% 0 0 0;
	position: relative;
	top: -1.2em;

	/*
		Smoothing isn't subpixel antialiased once transitions are applied.
		Reapply it to match the weight of the text beneath it.
	*/
	-webkit-font-smoothing: subpixel-antialiased;

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;

	opacity: 0;

	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
}

body.clients .client .image-wrap:hover p {
	opacity: 1;

	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

body.clients .client .image-wrap:hover a {
	box-shadow: inset 0 0 0 125px rgba(255, 94, 29, 0.8);
}

body.clients .client .image-wrap:hover {
	border-color: rgba(255, 94, 29, 0.8);
}

body.about .playersleadin {
	margin-top: 18px;
	margin-bottom: 60px;
	padding: 0 70px;
}


body.about .person {
	width: 320px;
	height: 410px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

body.about .person .position {
	color: #89837e;
}

body.clients .client.inactive {
	opacity: 0;
}

body.blog .twitterimage .image,
body.about .person .image {
	position: relative;
	display: block;
	width: 230px;
	height: 230px;
	margin: 0 auto 16px;
	border: 10px solid #e4e1d6;
	border-radius: 50%;
	overflow: hidden;
}

body.blog .twitterimage .image {
	width: 100px;
	height: 100px;
}

body.about .person .image img {
	width: 230px;
	height: 230px;
}

body.about .person .image,
body.about .person .image > div {
	width: 230px;
	height: 230px;
	border-radius: 50%;
}

body.about .person .image {
	position: relative;

	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
}

body.about .person .image .image-front,
body.about .person .image .image-back {
	position: absolute;
	top: 0;
	left: 0;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

body.about .person .image .image-front {
	z-index: 5;
}

body.about .person .image .image-back {
	z-index: 0;

	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

body.about .person .image:hover .image-front {
	z-index: 5;

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

body.about .person .image:hover .image-back {
	z-index: 10;

	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

body.clients .client img,
body.about .person img {
	border-radius: 50%;
	width: 230px;
	height: 230px;
}

body.blog .twitterimage img {
	border-radius: 50%;
	width: 100px;
	height: 100px;
}

body.clients .client p {
	margin: 6px 0 0 0;
	color: #89837e;
}

.description {
	margin-bottom: 2em;
}

.project.weblink {
	margin-bottom: 40px;
}

article img {
	margin: 0 auto 20px auto;
	border: 1px solid #fff;
	max-width: 100%;
}

.digital-overlay {
	margin-bottom: 20px;
	padding: 37px 0 183px 0;
	position: relative;
	display: block;
}

.digital-overlay::after {
	content: '';
	background: url('../img/overlay-mac.png') 50% 0 no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.digital-overlay img {
	border: none !important;
	display: block;
	margin-bottom: 0 !important;
	background: #000;
	width: 827px;
	height: 465px;
	color: #fff;
}

.digital-overlay .mobile {
	position: absolute;
	right: 120px;
	bottom: -10px;
	z-index: 1;
	width: 102px;
	height: 181px;
	padding: 27px 8px 30px 8px;
}

.digital-overlay .mobile::after {
	content: '';
	background: url('../img/overlay-iphone-7-small.png') 50% 0 no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.digital-overlay .mobile img {
	width: 102px;
	height: 181px;
}

.mobile-overlay,
.android-overlay {
	margin-bottom: 20px;
	padding: 93px 26px 96px 26px;
	position: relative;
}

.android-overlay {
	padding-left: 19px;
	padding-right: 19px;
}

.mobile-overlay.two-up,
.android-overlay.two-up {
	display: inline-block;
	margin: 0 15px 20px 15px;
}

.mobile-overlay::after,
.android-overlay::after {
	content: '';
	background: url('../img/overlay-iphone-7.png') 50% 0 no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.android-overlay::after {
	background-image: url('../img/overlay-nexus-5x.png');
}

.mobile-overlay img,
.android-overlay img {
	border: none;
	display: block;
	margin-bottom: 0 !important;
	background: #000;
	width: 320px;
	height: 568px;
	color: #fff;
}

.caption-overlay,
.before-overlay,
.after-overlay,
.two-up-caption-overlay {
	margin: 0 auto 20px;
	max-width: 900px;
	background-color: #e0ddd1;
}

.caption-overlay img,
.before-overlay img,
.after-overlay img,
.two-up-caption-overlay img {
	margin-bottom: 0 !important;
	display: block;
	border: 1px solid #fff;
	background-color: #edebe4;
}

.caption {
	font-size: 0.8em;
	padding: 0.5em;
	margin: 0;
	text-align: center;
}

.caption p {
	margin: 0;
	max-width: 100%;
	text-align: center;
}

.none-overlay img {
	border: none !important;
}

.two-up-overlay {
	display: inline-block;
	margin: 0 10px;
	margin-bottom: 0 !important;
}

.two-up-no-border-overlay {
	display: inline-block;
	margin: 0 10px;
	margin-bottom: 0 !important;
}

.two-up-no-border-overlay img {
	border: none !important;
}

.before-overlay,
.after-overlay,
.two-up-caption-overlay {
	display: inline-block;
	max-width: 440px;
	margin: 0 10px 20px;
	vertical-align: top;
}

.project.videos {
	position: relative;
}

.project.videos .video-container,
.blog .video-container {
	margin: 0 auto 20px;
	max-width: 898px;
}

/* Courtesy of: http://amobil.se/2011/11/responsive-embeds/ */
.project.videos .video,
.blog .video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border: solid 1px white;
}

.project.videos .video iframe,
.project.videos .video object,
.project.videos .video embed,
.blog .video iframe,
.blog .video object,
.blog .video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hr {
	background: url('../img/bg-hr.gif');
	height: 2px;
	width: 502px;
	margin: 50px auto 100px auto;
}

.hr hr {
	display: none;
}

.contactactions {
	width: auto;
	overflow: auto;
}

.contactactions section {
	width: 33%;
	max-width: 100%;
	display: inline-block;
}

.contactactions section p {
	color: #89837e;
}

.contactactions section p a {
	color: inherit;
	border-bottom: 1px solid #ff5e1d;
}

.contactactions section p a:hover {
	color: #ff5e1d;
	text-decoration: none;
}

body.contact section.formsection {
	width: 50%;
	float: left;
}

.input {
	padding: 9px;
	margin-bottom: 9px;
	position: relative;
}

.input label {
	text-align: left;
	display: block;
}

.input .error-message {
	color: #c43836;
	position: absolute;
	top: 9px;
	right: 9px;
}


.formelement {
	line-height: 1.6;
	font-size: 1em;
	padding: 6px 6px 6px 2px;
	border: none;
	font-family: Merriweather, Georgia, serif;
	width: 97%;
/* 	margin: 0 -9px -9px -9px; */
	color: #979695;
	background: #d9d5cf;
}

.formelement:focus, .nonempty-formelement {
	background: #fff;
	color: #2c2a28;
}

textarea.formelement {
	height: 120px;
	min-height: 111px;
	resize: vertical;
	overflow: auto;
}

.project-planner .form-row {
	margin-bottom: 25px;
	position: relative;
	overflow: auto;
}

.project-planner .form-row .input {
	width: 33%;
	display: block;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	outline: none;
}

.project-planner .form-row.input.select .checkbox {
	display: block;
	float: left;
	width: 33%;
}

.project-planner .form-row.input input[type="checkbox"] {
	display: block;
	float: left;
	margin: 19px 9px 19px 19px;
}

.project-planner .form-row.input .checkbox label {
	color: #2C2A28;
	padding: 6px 6px 6px 2px;
	background: #d9d5cf;
	margin: 9px;
}

.project-planner .form-row.input.select {
	width: 100%;
	margin: 0;
	padding: 0;
}

.project-planner .form-row .input.select select {
	width: 100%;
	height: 43px;
	color: #2C2A28;
	margin: 0;
}

.project-planner .form-row.full-width-input {
	width: 100%;
}

.project-planner .form-row.full-width-input .input {
	width: 50%;
	margin: 0 auto;
	float: none;
}

.project-planner .form-row .input .error-message {
	padding-top: 9px;
	position: relative;
	text-align: right;
	top: 0;
	right: 0;
}

.project-planner .form-row .input.select .error-message {
	padding-top: 0;
}

.formelement.fullwidth {
	width: 100%;
}

body.contact .enquiries {
	height: auto;
	overflow: auto;
	position: relative;
}

body.about .person {
	width: 33%;
	float: left;
	height: 400px;
}

footer {
	background: #2c2a28;
	color: #c5bfba;
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 40px 0 0 0;
	overflow: hidden;
	margin-top: 150px;
}

article footer {
	position: static;
	width: auto;
	background: transparent;
	color: inherit;
}

footer .content {
	max-width: 750px;
}

footer h1 {
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 4px;
	margin: 0;
}

footer .content p {
	margin: 18px 0 11px 0;
}

footer a {
	color: #c5bfba;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer ul {
	list-style: none;
	margin: 0 0 14px 0;
	padding: 0;
}

footer li {
	margin: 0;
	padding: 0;
	height: 108px;
	width: 108px;
	background: #232220;
	background-color: #ff5e1d;
	border-radius: 50%;

	display: inline-block;
	position: relative;
}

footer li a {
	position: absolute;
	top: -1px;
	left: -1px;
	display: block;
	height: 110px;
	line-height: 110px;
	width: 110px;
	color: #fff;
	border-radius: 50%;
	box-shadow: inset 0 0 0 10px #232220;

	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

footer li + li {
	margin-left: 42px;
}

footer li a:hover {
	box-shadow: inset 0 0 0 0 #232220;
}

footer li a img {
	vertical-align: middle;
}

footer dl, dd {
	margin: 0;
	padding: 0;
}

footer dt {
	display: none;
}

footer .phone {
	font: bold 38px Nexa, Neutraface, Avenir, Gotham, 'Century Gothic', sans-serif;
	margin: 0 0 6px 0;
	white-space: nowrap;
}

footer .address {
	font-size: 18px;
}

footer .content .copyright,
footer .content .terms-and-conditions {
	margin: 0;
	font-size: 0.75em;
}

footer .content .copyright {
	margin-top: 10px;
}

footer .content .terms-and-conditions {
	margin-bottom: 45px;
}

article.hidden,
article.future {
	border: 5px solid #0075ab;
	position: relative;
	border-radius: 7px;
}

article.hidden:before,
article.future:before {
	content: 'Hidden until article date';
	color: #fff;
	background: #0075ab;
	position: absolute;
	top: 0;
	left: 0;
	padding: 2px 7px;
	border-bottom-right-radius: 7px;
}

article.hidden {
	border-color: gold;
}

article.hidden:before {
	content: 'Hidden';
	background: gold;
}

article p + h2 {
	margin-top: 2em;
}

article.tweet p {
	text-align: center;
	max-width: 700px;
	margin: 1em auto;
}

.byline {
	margin: 1.5em auto;
}

.byline p {
	text-align: center;
	margin-top: 0;
}

.byline-image {
	width: 55px;
	height: 55px;
	line-height: 55px;
	border-radius: 50%;
	border: 5px solid #e0ddd1;
	margin: 0 auto;
}

.byline img {
	margin: 0;
	border-width: 0;
}

article.blog .byline img {
	width: 55px;
	height: 55px;
	border-radius: 50%;
}

article.tweet .byline-image {
	background-color: #ff5e1d;
}

article.tweet .byline img {
	vertical-align: middle;
}

article .hr {
	margin: 50px auto;
}

blockquote,
pre {
	border-left: 1px solid #fff;
	padding: 1px 16px 1px 32px;
	background-color: #e4e2dc;
}

blockquote p {
	font-size: 0.9em;
}

article blockquote {
	margin: 1em auto;
}

article blockquote p {
	max-width: 100%;
}

pre {
	text-align: left;
	overflow-x: auto;
	padding-top: 16px;
	padding-bottom: 16px;
}

article footer {
	max-width: 700px;
	margin: 150px auto 0;
	padding: 0;
}

article footer .hr {
	margin: 0 auto 50px;
}

article footer .author-image {
	float: left;
	border-radius: 50%;
	border: 10px solid #e0ddd1;
	width: 110px;
	height: 110px;
}

article .author-image img {
	border: none;
	margin: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

article footer p {
	margin-left: 150px;
}

/* T&C */
body.terms-and-conditions #page-description ol {
	counter-reset: item;
	text-align: left;
	padding-left: 0;
	margin: 0 0 20px 0;
}

body.terms-and-conditions #page-description ol ol {
	padding-left: 2.5em;
	margin-left: 2em;
}

body.terms-and-conditions #page-description ol ol ol {
	padding-left: 2.5em;
	margin-left: 0;
}

body.terms-and-conditions #page-description ol > li > p:first-child {
	display: inline-block;
}

body.terms-and-conditions #page-description li {
	text-align: left;
	margin: 10px 0 20px 0;
	list-style: none;
}

body.terms-and-conditions #page-description li:before {
	align-content: left;
	content: counters(item, ".") ".";
	counter-increment: item;
	width: 2em;
	margin: 0 0 0 0;
	display: inline-block;
	font-weight: bold;
}

body.terms-and-conditions #page-description li li:before {
	width: 2.5em;
	margin: 0 0 0 -2.5em;
	font-weight: normal;
}

body.terms-and-conditions #page-description li li li {
	list-style-type: lower-alpha;
	margin-bottom: 10px;
}

body.terms-and-conditions #page-description li li li:before {
	content: none;
	width: 2.5em;
}

body.terms-and-conditions #page-description li li li ol {
	counter-reset: fourth-level-item;
}

body.terms-and-conditions #page-description li li li li {
	counter-increment: fourth-level-item;
	list-style: none;
}

body.terms-and-conditions #page-description li li li li:before {
	content: "(" counter(fourth-level-item, lower-roman) ")";
	padding-right: .5rem;
	text-align: right;
	width: 2.5rem;
}

body.privacy-policy #page-description {
	text-align: left;
}

body.privacy-policy #page-description h2 {
	margin-top: 1em;
}

/* Narrower than the content width */
@media screen and (max-width: 960px) {
	header ul {
		padding-right: 20px;
	}

	.content-container > div.content {
		padding-left: 1em;
		padding-right: 1em;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.home .clients-container {
		max-width: 760px; /* 5 x (itemWidth + horizontal margin) */
	}

	body.about .person,
	body.clients .client {
		width: 50%;
	}

	.digital-overlay {
		padding: 0;
	}

	.digital-overlay::after {
		background: none;
	}

	.digital-overlay img {
		border: 1px solid #fff;
		height: auto;
	}

	.digital-overlay .mobile {
		display: none;
	}

	p .digital-overlay {
		margin: 0;
	}

	.two-up-overlay {
		display: block;
		margin: 0 auto;
	}

	footer .content {
		width: auto;
		padding: 0 1em;
	}
}

/* Just narrower than 5 clients wide */
@media screen and (max-width: 840px) {
	.home .clients-container {
		max-width: 608px; /* 4 x (itemWidth + horizontal margin) */
		text-align: center;
	}
}

/* Narrower than the mobile/iPhone overlay image */
@media screen and (max-width: 430px) {
	.mobile-overlay {
		padding: 0;
	}

	.mobile-overlay::after {
		background: none;
	}

	.mobile-overlay img {
		border: 1px solid #fff;
		height: auto;
	}

	.before-overlay,
	.after-overlay {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}
}


/* Switching to stacked form earlier to account for browsers which use the scroll bar width in calculations */
@media screen and (max-width: 720px) {
	body.contact section.formsection {
		width: 100%;
		float: none;
		margin: auto;
		padding: 0;
	}
}

/* Mobile/sidebar nav */
@media screen and (max-width:700px) {
	body {
		font-size: 14px;
		min-width: 200px;
	}

	header {
		height: 44px;
		line-height: 44px;
		overflow: visible;
	}

	.xmas header {
		height: 110px;
		background-position-y: -35px;
	}

	header h1 {
		background-position: 15px 6px;
		background-size: 99px 31px;
		width: 129px;
		height: 44px;
	}

	header h1 a {
		width: 99px;
		height: 0px;
		padding: 44px 15px 0 15px;
		overflow: hidden;
	}

	header .quick-contact {
		display: block;
	}

	.quick-contact a.button {
		background-color: #484745;
		color: #fff;
	}

	.quick-contact a.button:hover {
		background-color: #82807c;
	}

	.quick-contact a.button:active {
		background-color: #ff5e1d;
	}

	.quick-contact dl {
		margin: 0;
		position: relative;
		width: 100%;
	}

	.quick-contact dt {
		position: absolute;
		width: 44px;
		height: 0;
		padding-top: 44px;
		overflow: hidden;
		cursor: pointer;
	}

	.quick-contact dt.phone {
		right: 100px;
		background: url('../img/icon-phone-nav.png') no-repeat;
	}

	.quick-contact dt.location {
		right: 50px;
		background: url('../img/icon-map-nav.png') no-repeat;
	}

	.quick-contact dt.active {
		background-position: 0 -44px !important;
		background-color: #161514;
	}

	.quick-contact dd {
		position: absolute;
		top: 44px;
		left: 0;
		background: #161514;
		color: #fff;
		width: 100%;
		padding: 1em 0;
		display: none;
	}

	.quick-contact p {
		line-height: 1.2;
	}

	body.quick-contact-open .content-container {
		padding-top: 80px;
	}

	header nav {
		float: right;
		cursor: pointer;
	}

	header nav:before {
		content: 'Menu';
		background: url('../img/icon-menu.gif') 13px 15px no-repeat;
		background-size: 17px 15px;
		height: 0;
		overflow: hidden;
		padding: 44px 14px 0 13px;
		width: 17px;
		float: right;
	}

	header nav ul {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		background: #161514;
		width: 0px;
		overflow: hidden;
		-webkit-transition: width 0.2s ease-in-out;
		-moz-transition: width 0.2s ease-in-out;
		-ms-transition: width 0.2s ease-in-out;
		-o-transition: width 0.2s ease-in-out;
		transition: width 0.2s ease-in-out;
		cursor: default;
		z-index: 99;
		padding: 0;
	}

	header nav li {
		display: block;
		text-align: left;
		border-bottom: 1px solid #666;
		padding: 0;
		width: 200px;
	}

	header nav a {
		display: block;
		padding: 0 0 0 20px;
	}

	header nav a:hover {
		text-decoration: none;
		background: #ff5e1d;
	}

	body.nav-open header nav ul,
	body.nojs header nav:hover ul {
		width: 200px;
		border-left: 1px solid #666;
	}

	body.nav-open div.content {
		margin-left: -201px;
	}

	body.nav-open footer {
		left: -201px;
	}

	body.nav-open footer div.content {
		margin: 0 auto;
	}

	h1 {
		font-size: 2em;
		margin-top: 10px;
	}

	.hero {
		padding-top: 1px;
		padding-bottom: 40px;
		margin-bottom: 20px;
	}

	.hero h1 {
		font-size: 2.5em;
		margin-top: 30px;
	}

	.hero p {
		margin: 0 1em;
	}

	.content-container {
		-webkit-transition: padding-top 0.2s ease-in-out;
		-moz-transition: padding-top 0.2s ease-in-out;
		-ms-transition: padding-top 0.2s ease-in-out;
		-o-transition: padding-top 0.2s ease-in-out;
		transition: padding-top 0.2s ease-in-out;
	}

	.page-icon,
	.content-icon {
		width: 96px;
		height: 96px;
		line-height: 96px;
	}

	.home .clients-container {
		margin: 0 -1em;
	}

	/* Rescale homepage client logos */
	.home .clients .client {
		height: 96px;
		width: 96px;
		margin: 4px;
	}

	.home .clients .client a,
	.home .clients .client .no-projects {
		height: 96px;
		width: 96px;
	}

	.home .clients .client img {
		max-height: 60px;
		max-width: 80px;
	}

	body.clients #page-description {
		display: none;
	}

	#sortable-headings {
		margin: 40px 0;
	}

	#sortable-headings a {
		font-size: 1em;
	}

	a.button {
		padding: 9px 12px;
	}

	a.button + a.button {
		margin-left: 0.5em;
	}

	div.content {
		-webkit-transition: margin 0.2s ease-in-out;
		-moz-transition: margin 0.2s ease-in-out;
		-ms-transition: margin 0.2s ease-in-out;
		-o-transition: margin 0.2s ease-in-out;
		transition: margin 0.2s ease-in-out;
	}

	.contactactions section {
		margin-bottom: 20px;
		width: 220px;
	}

	.project-planner .form-row .input,
	.formelement {
		float: none;
		margin: 0;
		width: 100%;
		box-sizing: border-box;

		/* Set explicitly to avoid iOS zooming the text */
		font-size: 16px;
	}

	.project-planner .form-row .input.radio,
	.project-planner .form-row.full-width-input .input,
	.project-planner .form-row.input.select .checkbox {
		width: 100%;
		margin: 7px 0;
		box-sizing: border-box;
	}

	.input {
		padding: 0;
		margin: 0 0 25px 0;
	}

	.input .error-message {
		top: 0;
		right: 0;
	}

	label {
		display: block;
	}

	body.about .person,
	body.clients .client {
		width: 100%;
	}

	body.contact section.formsection .message {
		float: none;
	}

	.hr {
		width: 200px;
	}

	footer {
		-webkit-transition: left 0.2s ease-in-out;
		-moz-transition: left 0.2s ease-in-out;
		-ms-transition: left 0.2s ease-in-out;
		-o-transition: left 0.2s ease-in-out;
		transition: left 0.2s ease-in-out;
	}

	footer li {
		height: 82px;
		width: 82px;
	}

	footer li + li {
		margin-left: 10px;
	}

	footer li a {
		height: 84px;
		line-height: 84px;
		width: 84px;
	}

	footer .address {
		font-size: 14px;
	}

	footer .phone {
		font-size: 24px;
	}
}

/* Retina mobile UI only */
@media screen and (max-width:700px) and (min-resolution: 192dpi),
screen and (max-width:700px) and (-webkit-min-device-pixel-ratio: 2),
screen and (max-width:700px) and (min--moz-device-pixel-ratio: 2),
screen and (max-width:700px) and (-o-min-device-pixel-ratio: 2/1),
screen and (max-width:700px) and (min-device-pixel-ratio: 2),
screen and (max-width:700px) and (min-resolution: 2dppx) {
	.quick-contact dt.phone {
		background-image: url('../img/icon-phone-nav@2x.png');
		background-size: 44px 88px;
	}

	.quick-contact dt.location {
		background-image: url('../img/icon-map-nav@2x.png');
		background-size: 44px 88px;
	}
}

/* 320px items can't fit with both padding and the standard 1em margin */
@media screen and (max-width:339px) {
	.home .service,
	.about .service {
		width: auto;
		min-height: 0;
		padding-bottom: 20px;
	}

	#sortable-headings {
		margin: 25px 0;
	}

	body.clients .client {
		height: 250px;
	}

	body.clients .client .image-wrap {
		width: 115px;
		height: 115px;
	}

	body.clients .client .image-wrap p {
		display: none;
	}

	body.clients .client .image-wrap:hover a {
		box-shadow: none;
	}

	body.clients .client .image-wrap:hover {
		border-color: #e4e1d6;
	}

	body.clients .client h1 {
		margin: 8px auto 0;
	}

	body.clients .client p {
		font-size: 0.85em;
		margin: 0;
	}
}

@media screen and (max-width:300px) {
	header .quick-contact {
		display: none;
	}

	footer .phone {
		white-space: normal;
	}
}

@media print {
	body {
		font-size: 12pt;
	}

	html,
	body,
	header,
	.hero,
	footer {
		background: #fff;
		color: #000;
	}

	a,
	footer a,
	.contactactions section p a {
		text-decoration: underline;
		color: #FF5E1D;
	}

	.contactactions section p a {
		border-bottom: none;
	}

	header nav,
	.page-icon,
	.content-icon,
	a.content-icon,
	span.has-projects,
	a.button,
	footer ul,
	#sortable-headings,
	.twitterimage,
	.articlenav,
	.gmnoprint,
	body.contact .enquiries {
		display: none;
	}

	header {
		overflow: visible;
		height: auto;
		line-height: normal;
	}

	header h1 {
		background: none;
		overflow: visible;
		width: auto;
		height: auto;
		text-indent: 0;
		float: none;
	}

	header h1 a {
		height: auto;
	}

	header h1 img {
		display: inline;
		width: 49.87mm;
	}

	.hero {
		padding: 0;
		margin-bottom: 10mm;
	}

	h1,
	.hero h1 {
		font-size: 3em;
	}

	h1, h2, h3 {
		page-break-after: avoid;
	}

	.home .service,
	.about .service {
		min-height: 0;
		padding-bottom: 10mm;
	}

	.hr {
		background: none;
		margin: 10mm auto 20mm;
		border-top: 1px solid #B7B1AB;
	}

	.home .clients .client {
		border: 1px solid #B7B1AB;
		margin: 11px;
		page-break-inside: avoid;
	}

	.content-container {
		padding-bottom: 0;
	}

	#sortable-container {
		overflow: visible;
	}

	.js-positioned {
		position: static;
	}

	body.clients .client {
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding: 5mm;
		height: 400px;
	}

	body.clients .client .image-wrap {
		width: 150px;
		height: 150px;
	}

	body.clients .client.inactive {
		display: none;
	}

	.digital-overlay {
		position: static;
		padding: 0;
	}

	.digital-overlay img {
		width: auto;
		height: auto;
	}

	.digital-overlay::after {
		display: none;
	}

	.project.images img {
		max-height: 40%;
		border: 1px solid #B7B1AB;
		display: block;
		margin: 10mm auto;
	}

	.client-projects article h1 {
		page-break-before: always;
	}

	.client-projects article:first-of-type h1 {
		page-break-before: avoid;
	}

	.project.description {
		page-break-after: avoid;
		page-break-before: avoid;
		page-break-inside: avoid;
	}

	div.tweet {
		margin: 10mm 0;
	}

	p.byline {
		margin: 0 auto;
	}

	p.tweet {
		margin: 0;
	}

	article.blog .hr {
		page-break-after: always;
	}

	article.blog img {
		max-height: 80mm;
	}

	article.blog p {
		page-break-inside: avoid;
		margin-left: 20mm;
		margin-right: 20mm;
	}

	article.blog footer p {
		margin-left: 150px;
		margin-right: auto;
	}

	.video {
		display: none;
	}

	article footer {
		page-break-inside: auto;
	}

	article.blog footer .hr {
		page-break-after: auto;
	}

	footer {
		position: static;
		margin-top: 20mm;
		padding: 0;
		page-break-inside: avoid;
	}

	footer .content {
		max-width: 100%;
	}

	footer .phone {
		font-size: 1.5em;
	}
}