/* @override http://hicksdesign.co.uk/css/layout.16.css */


/* @group Typography */

*, body {
	margin: 0;
	padding: 0;
}

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

html {
	font-size: calc(100% + 0.2vw);
	transition: font-size 0.2s;
}

body {
	line-height: 1.6;
	background: #fff;
	color: rgba(0,0,0,0.85);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;

}

a {
	text-decoration: none;
	color: #8787c1;
	transition: color 0.2s;
	font-family: BrandonText-Bold, sans-serif;	
	font-weight: normal;
	}
	
a:hover,
a:focus {
	color: #000;
	}
	
a:visited {
	font-weight: normal;
	}
	
body, h1, cite, .date, #test #content, #work #content, .fusion a, .bookplug span {
font-family:	BrandonText-Regular,
				"Gill Sans", 
				"Gill Sans MT",
				GillSansMT,
				GillSans,
				Helvetica, 
				Arial,
				sans-serif;	
				font-weight: normal;
}

h1 {
	font-family: BrandonText-Medium, sans-serif;
	font-weight: normal;
}


h2, h2 a, footer, .previous a, .next a, .intrologo, cite {
	font-family: BrandonText-Medium, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}

logo a, h3, h3 a, .archives h4, nav a, .details, .posted b {
	font-family: BrandonText-Bold, sans-serif;	
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}

strong, blockquote p  {
	font-family: BrandonText-Bold, sans-serif;	
	font-weight: normal;
}

.textlogo {
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}
	
h1 {
	font-size: 1.75rem;
	line-height: 1.2;
	text-align: center;
	max-width: 23em;
	margin: 1rem auto;
/*	color: #666;*/
}
	
h1 span {
	color: #666;
	color: #E69A17;
	font-weight: 400;
	}

#contact h1 span {
	display: block;
}
	
h2 {
	font-size: 1.3125rem;
	line-height: 1.2;
	margin: 0 0 2rem 0;
	/*color: #e38549;*/
	text-align: center;
	}
	
.work article h2 {
	font-size: 1rem;
}

.archives h4+h2 {
	border-top: 1px solid #ddd;
	margin: 1rem 0 0.5em 0;
	padding: 1rem 0 0 0;
	}	
	
h3 {
	font-size: 1rem;
	line-height: 1.2;
	margin: 0 0 1rem 0;
	text-align: center;
}

header h3 {
	margin: 0 0 1rem 0;
	color: #999;
	font-size: 0.875rem;
}

section h3 {
	margin: 0 0 0.5rem 0;
}

p+h3, ul+h3, ol+h3 {
	margin: 2rem 0 0.25rem 0;
	}
	
	
h3.date {
	margin: 0 0 1.5em 0;
	font-size: 0.81em;
	}
	
h4 {
	font-size: 1rem;
	font-family: BrandonText-Medium, sans-serif;	
	font-weight: normal;
	}

.archives h4 {
	padding: 0 0 0.25rem 5rem;
	}

p, pre, ul, ol, .lines, object, input, code {
	margin: 0 0 1.6rem 0;
	}

figcaption, .caption {
	margin: -1rem 0 2rem 0;
	color: #555;
	font-size: 0.8125rem;
}

img {
	border: 0;
	max-width: 100%;
	height: auto;
	}
	
blockquote {
	margin: 0;
	padding: 0;
    border-left: 1px solid rgba(0,0,0,0.3);
	max-width: 33em;
}

blockquote p {
    font-size: 1.125rem;
    text-indent: -0.4rem;
    padding: 0 0 0 2rem;
    box-sizing: border-box;
}

blockquote p:before {
	content: '“';
	}
blockquote p:after {
	content: '”';
	}	
	
cite {
	display: block;
	font-style: normal;
	text-align: right;
	font-size: 0.875rem;
	}
	
pre {
	background: #f8f8f8;
	overflow: auto;
	padding: 0.75rem;
	margin: 0 0 1rem 0;
    border-left: 1px solid #ddd;	
   }

code {
	font-family: Consolata, monospace;
	background: #f8f8f8;
	}
	
fieldset {
	border: 0;
	}

article li {
	margin: 0 0 0.25rem 0;
	}
	
nav ul {
	list-style-type: none;
	font-size: 0.875rem;
	line-height: 1;
	width: 100%;
	}
	
nav a {
	display: block;
	margin: 0 0.5rem;
	padding: 0.5rem 0;
	line-height: 1rem;
	}

.n-troika, .n-goodies {
	display: none;
}
	
/*selected states*/
#default .n-work a,
#test .n-work a,
#work .n-work a,
#speaking .n-speaking a,
#journal .n-journal a,
#archive .n-journal a,
#tag .n-journal a,
#troika .n-troika a,
#goodies .n-goodies a,
#boxmodel .n-goodies a,
#iconreference .n-goodies a,
#contact .n-contact a { 
	color: #000;
	border-bottom: 2px solid #E1B200;
}
	
.details {
	list-style: none;
	font-size: 0.875rem;
	text-transform: uppercase;
	margin: 2rem 0;
	color: #888;
	padding: 0 0 0 6rem;
	}
	
.details span {
	display: inline-block;
	width: 6rem;
	margin: 0 0 0 -6rem;
}

.posted b {
	color: #3f3f3f;	
	}

footer {
	color: #666;
	font-size: 0.875rem;
	letter-spacing: 0.1rem;
	margin: 2rem 0;
	text-align: center;
	}
	
.vcard .flex{
	display: flex;
}

.flex .org {
	flex-grow: 2;
}
	
.adr p { margin: 0; }
.vcard.flex .adr { margin: 0 4rem 0.875em 0;}

.socials a {
	display: inline-block;
	padding: 0.25rem;
	margin: 0 0.25rem 0 0;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: 0.6;
	transition: opacity 0.2s ease-in-out;
}

.socials a:hover {
	-webkit-filter: none;
	filter: none;
	opacity: 1;
}

#fusionads {
	display: block;
	}
	
#fusionads a {
	font-weight: normal;
	display: block;
	color: #333;
	text-align: center;
	}
	
#fusionads img {
  margin: 0.5rem auto;
}

.fusion-poweredby {
	text-transform:uppercase;
	font-weight: bold;
	display: block;
	margin: 0.5em 0;
	color: #666;
	letter-spacing: 0.1rem;
	font-size: 0.62rem;
	}
	
/* @end */

/* @group Layout */

/*html5 elements*/	
article,section,nav,header,footer,figure,figcaption {
	display: block;
	}
	
.hide {
  display: none;
}

body {
	padding: 1rem 8%;	
	}
	
.page {
	margin: 0 auto;
}
	
header {
	padding: 2rem 0;
}

#default header,
#work header,
#troika header {
	background: none;
	border: 0;
}

.icon img {
	margin: 0 auto;
	display: block;
	width: 9rem;
	height: auto;
}
	
.logo a {
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	color: #3f3f3f;
	display: inline-block;
  background: url(http://www.hicksdesign.co.uk/images/logo-solo.svg) no-repeat;
  background-size: auto 88%;
  height: 2.25rem;
  padding: 0.8rem 0 0 2.8rem;
  margin-top: -.5rem;
}
	
nav {
	text-align: center;
}
	
nav li {
	display: inline-block;
}

/*Work*/
	
.icons img{
	display: inline-block;
	margin: 1rem;
}

.client-logo {
	max-width: 66%;
}

.flex-grid {
	column-count:1;
	column-gap:0px;
	line-height: 0;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	margin: 0 0 2rem 0;
}
			
.flex-grid figure { 
	width: 100%;
	height: auto;
	margin: 0;
/* 	display: inline-block; */
}

.flex-grid img {
	width: 100%;
	height: auto;
}

#default article  {
	width: 50%;
	height: auto;
	float: left;
	position: relative;
	padding: 0;
	vertical-align: top;
	transition: width,height 0.2s ease-in-out;
	border-bottom: 0;
	}
	
#work article {
	border: 0;
	padding: 0;
	margin: 0;	
}

#default article h2  {
	margin: 0;	
	padding-top:75%;
}

#default article h2 span,
#default article h2 a {
	text-indent: -999em;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	padding: 1em;
	transition: background 0.2s ease-in-out;
	text-align: center;
}
#default article h2 span:hover,
#default article h2 a:hover,
#default article h2 a:focus,
#default article h2 a:active{
	text-indent: 0;
	background-color: rgba(233,91,53,0.8);
	color: #fff;
}

#default article .body{
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;	
}

.work .centered img {
	margin: 0 auto;
}

.work .body ul {
	list-style-type: none;
	max-width: 33em;
}

/*Float Clearance*/
#journal article:after,
.work:after,
.covers:after,
#contact #content:after,
#default #main:after,
.clients:after,
.playlist ol:after  {
   content: "";
   clear: both;
   display: block;
 }
	 
/*Clients*/

.clients {
	padding: 2rem 0;
	line-height: 1.6;
}

.clients img {
  display: inline-block;  
  margin: 0.5rem 4%;
  vertical-align: middle;
  max-width: 24%;
} 


/* Leigh's Portfolio */

.leigh article {
  margin-bottom: 2rem;
}

.leigh figure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.leigh.work h4 {
  margin-bottom: 0.5rem;
}

.leigh figure > * {
  flex: 1 0 5rem; 
  margin: 0 1em 0 0;
}

.leigh figure img {
  max-width: 100%;
  height: auto;
}

.print img {
  box-shadow: 0 2px 10px 2px rgba(0,0,0,0.2);
}

/*Journal*/

article {
	border-bottom: 1px solid #ddd;
	}

article p,
article ul,
article ol {
	max-width: 33em;
	margin: 0 auto 1.6rem auto;
}

article .video p:first-child,
article p.img {
	max-width: 90%;
}
#tag article:last-child {
	border-bottom: 0;
}

article img,
.photo img {
	height: auto;
	display: block;
	}
	
article img.right {
	margin: 0 0 0 auto;
	text-align: right;
}

article figure {
	margin: 0 0 1rem 0;
}

article figure img {
	margin: 0;
}
	
article img.fr {
	float: right;
	margin: 0 0 1.5rem 1.5rem;
	width: auto;
}

.fl {
	float: left;
	margin: 0 0.5rem 0.5rem 0;	
}

.fr {
	float: right;
	margin: 0 0 0.5rem 0.5rem;	
}
	
li.tags {
	border-right: 0;
}

/*li.tags a {
	background: #ccc;
	color: #fff;
	padding: 0 0.3rem;
	line-height: 2;
	display: inline-block;
}*/

.backanforth {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.5rem 0;
	text-align: center;
	}

.previous, .next {
	display: inline-block;
	width: 49%;
}

.previous a, .next a {
	padding: 3rem 1% 1rem 1%;
	background-repeat: no-repeat;
	background-position: 50% 1.75rem;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing:0.15rem;
	font-size: 0.875em;
	width: 100%;
}

.previous a { background-image: url(/images/older.png);}
.next a { background-image: url(/images/newer.png);}

.previous a:hover, .next a:hover {
	background-color: #f9f2e3;
}

#work .postie {
	display: flex;
	justify-content: center;
}

#work .postie .previous,
#work .postie .next {
	width: 2rem;
	height: 2rem;
}

#work .postie a {
	width: 2rem;
	height: 2rem;	
	padding: 0;
	text-indent: -999em;
	overflow: hidden;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0.4;
	transition: opacity 0.2s ease-in-out;
}

#work .postie a:hover {
	opacity: 1;
	background-color: initial;
}

#work .previous a {
	background-image: url(/images/icons/prev.svg);
}

#work .view-all a {
	background-image: url(/images/icons/all.svg);
}

#work .next a {
	background-image: url(/images/icons/next.svg);
}
	
.archives {
	margin: 1rem 0;
	}
	
.archives h4 {
	padding: 0 0 0.25rem 6rem;
	}
	
.archives h4 span {
	float: left;
	width: 6rem;
	color: #888;
	margin: 0 0 0 -6rem;
	}

.archives a {
}

#archive .archives span {
	width: 1.5rem;
	margin: 0 1rem 0 -1.5rem;
	}
	
#archive .archives h4 {
	padding: 0 0 0 1.5rem;
	margin: 0 0 0.25rem 2rem;
	}	
		
.search {
	border-top: 1px solid #ddd;
	padding: 2em 0 0 0;
width: 100%;
	}
	
.search p {
	display: flex;
	width: 100%;
}
	
.search label {
	margin: 0 0.5em 0 0;
	}

.search #q,
input.submit  {
	padding: 0 0.5rem;
	font-size: 0.875em;
	border:  0;
	height: 2rem;
	box-sizing: border-box;
	line-height: 2rem;
		}

.search #q {
	flex-grow: 2;
	border-bottom: 1px solid #ccc;
	
	}	
	
input.submit {
	border-radius: 0 2px 2px 0;
	background: #ccc;
	color: #fff;
	margin: 0 0 0 -1px;
	font-family: BrandonText-Medium, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	box-sizing: border-box;
	}

input.submit:hover, input.submit:focus {
	background: #DBAF2B;
}

/*Troika*/

.troika-cover {
	/*max-width: 80%;*/
	/*max-height: 80vh;*/
	margin: 0 0 1rem 0;
	max-width: 33em;
}

.troika-cover img {
    margin: 0;
}

.troika-cover audio {
  background-color: #000;
}

audio {
  max-height:100%;
  width: 100%;
  max-width: 40em;
  margin: 0 0 1rem 0;
}

#troika header {
	border: 0;
}

.covers {
	margin: 0 0 2rem 0;
}

#troika article {
	margin: 0;
	padding: 0;
	border: 0;
}

#troika article .troika-cover {
	float:left;	
	border: 0;
	margin: 0;
	width: 25%;
}

#troika article audio {
	display: none;
}

/*Side Sections*/

#side  {
	display: flex;
	flex-wrap: wrap;
}

#side section {
	margin: 0 0 1rem 0;
	background-repeat: no-repeat;
	background-position: 0 0.5rem;
	font-size: 0.875rem;
	width: 46%;
	box-sizing: border-box;
	}
	
#side section.about-hicks {
		margin-right: 8%;
	}

.playlist iframe{
	height: 300px !important;
}	

#side section.playlist {
	background-position: 0 2rem;
	background-image: url(/images/icons/Playlist.svg);
	padding: 4rem 0 1.25rem 0;
	width: 100%;
	}
#side section.contact {
	background-image: url(/images/icons/Contact.svg);
	padding: 2.5rem 0 1.25rem 0;
	}

#side section.bookplug {
	width: 100%;
}

.bookplug a {
	color: #000;
	display: block;
}

.bookplug p {
	margin: 0;
}

.bookplug a span {
	font-weight: normal;
	display: block;
}

.bookplug img {
	margin: 0 1rem 1rem 0 ;
	float: left;
}

/*Contact Section*/

.needs {
	list-style-type: none;
	padding: 0;
	}
	
.needs li {
	margin: 0 0 0.75em 0;
	padding: 0 0 0 2.5rem;
	background-repeat: no-repeat;
	background-position: 0 4px;
	}

.needs .time {	background-image: url(/images/sideicons_timescale.png);}
.needs .budget {	background-image: url(/images/sideicons_budget.png);}
.needs .scope {	background-image: url(/images/sideicons_scope.png);}

.adr {
	margin: 1rem 0;
}


@media screen and (min-width: 620px) {	

	
	.logo{
		float: left;
		margin-left: -33px;
	}
	
	nav {
		margin: 0 0 0 30%;
		padding: 0.3rem 0 0 0;
		text-align: right;
	}
	
	  nav ul {
	  	font-size: 1rem;
	  	padding: 1em 0 0 0;
  	}
  		
	nav a {
  		letter-spacing: 0.2rem;
	}
	
	header {
		min-height: 4rem;
		}
		
	.flex-grid { column-count:2;}	
/*

	.work article img {
		max-height: 70vh;
	}
*/
	
	.col {
		display: flex;
		margin: 0 0 2rem 0;
}

	.col2 section  {
		width: 47.5%;
		margin: 0 2.5% 0 0;
	}

	.col2 section+section  {
		width: 47.5%;
		margin: 0 0 0 2.5%;
	}		

	#side section.about-hicks,
	#side section.fusion,
	#side section.bookplug {
		width: 28%;
		margin: 0 8% 0 0;		
		}
		
	#side section.bookplug {
		order: 1;
	}
		
	#side section:last-child {
		margin-right: 0;
	}

	.bookplug img {
		display: block;
		max-width: 50%;
		height: auto;
		float: none;
		margin: 0 auto 1rem auto;
	}
	
	/*.body {
		max-width: 40em;
	}*/
	
	
	/*Contact*/
	
	#contact .body {
		max-width: 100%;
		display: flex;
	}
	
	#contact .body section {
		width: 45%;
		margin: 0 2.5% 0 0;
	}

	#contact .body section+section {
		margin: 0 0 0 2.5%;
	}

}	

@media screen and (min-width: 1024px) and (min-height: 440px) {
	
	}
	
@media screen and (min-width: 1024px) and (min-height: 440px) {

	body {
		padding: 0 4% 2rem 4%;	
		}

	.col3 {
		column-count: 3;
	}	
	
	.col3 div:nth-child(2) {
		display: block;
	}

	#troika body {
		padding: 0;		
	}	
			
	.page {
	 	max-width: 100%;
	 	margin: 0;
	 	padding: 0 0 0 22%;
	}

	.logo, nav, footer {
		position: fixed;
		left: 5%;
		right: 78%;
		z-index: 1;
	}
	
	.logo {
		top: 2.4rem;
		margin-left: -2rem;
		background-position: 0 0;
		}
		
	.logo a {
		margin: 0;
	}
		
	.n-troika, .n-goodies {
		display: block;
	}
	
	nav {
		top: 8rem;
		text-align: left;
		margin: 0;
	}
	
	nav li {
		display: block;
		margin: 0.75rem 0;
	}
	
	nav a {
		padding: 3px 0 0 1rem;
		margin: 0;	
	}
	
	.icon  {
		float: right;
	}
	
	.icon img {
		width: auto;
		height: 4rem;
		display: block;
		margin: -0.75rem 0 0 0;
	}
	
	#work img.fr {
		margin: 0 -25% 1.5rem 1.5rem;
	}
	
	
	/*selected states*/
	
	#default .n-work a,
	#test .n-work a,
	#work .n-work a,
	#journal .n-journal a,
	#archive .n-journal a,
	#troika .n-troika a,
	#tag .n-journal a,
	#goodies .n-goodies a,
	#boxmodel .n-goodies a,
	#contact .n-contact a { 
		border-bottom: 0;
		border-left: 3px solid #E1B200;	
		margin-left: -3px;
	}

	h1 {
		margin: 0 0 1rem 0;
	}
	
	h1, h2, h3 {
	text-align: left;
}

	header {
		min-height: 5.8rem;
		padding: 3rem 0 0 0;
		}

	article p,
	article ul,
	article ol {
		margin: 0 auto 1.6rem 0;
	}

	article img,
	.img img {
		height: auto;
		display: block;
		margin: 0;
		}
	
	footer {
		font-size: 0.625rem;
		bottom: 1rem;
		margin: 0;
		text-align: left;
	}
	
	footer p {
		margin: 0;
	}
	
	#work .postie {
		justify-content: flex-start;
		margin: 0 0 0 -0.75rem;
		padding: 0.5rem 1rem 1rem 0;
		position: fixed;
		bottom: 0;
		right: 4%;
	}
	
	.flex-grid { column-count:3;}	

	/*Borders*/
	#te {
		position: fixed;
		z-index: 10;
		height: 6px;
		top: 0;
		left: calc(5% + 1rem);
		right: 80%;
		background: url(/images/paulsmith.gif);
		}	
	
	.clients img {
  		width: 20%;
	}	
	
	/*Work Section*/
	#default .work article{width: 33%;}

	.clients .col {
	  max-width: 33%;
	  float: left;
	}
	
	.clients img {
	  width: 13%;
	} 
}


@media screen and (min-width: 1280px) {

	#default .work article:first-child {
		width: 50%;
	}
	
	#default .work article:first-child h2 {
		padding-top: 74.95%;
	}
	
	#default .work article{
		width: 25%;
		}
}


#test article {
	padding: 1rem 0;
}

#backinstock #content {
	display: flex;
	justify-content: center;
	flex-direction: column;
	height: 100vh;
}

