/*
Theme Name: 	Lacon
Theme URI: 		http://anendlesssupply.co.uk
Description: 	Wordpress template
Version: 		1.0
Author: 		An Endless Supply
Author URI: 	http://anendlesssupply.co.uk
Tags: 			clean, basic
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
@import "css/reset.css";
html {
	height: 100%;
}
body {
	height: 100%;
	min-height: 100%;
}
div,
article,
section,
header,
footer,
nav,
li {
	position: relative;
}
.group:after {
	display: block;
	height: 0;
	clear: both;
	content: ".";
	visibility: hidden;
}
body {
	background: #fff;
}
::-moz-selection {
	background: #ddd;
	color: #fff;
}
::selection {
	background: #ddd;
	color: #fff;
}

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
*,
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body,
input,
textarea {
	font-family: "Helvetica Neue", "Helvetica", sans-serif;
	color: #222;
	font-size: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}
h3 {
	font-size: 0.6em;
	line-height: 1rem;
}
a {
	color: inherit;
	text-decoration: none;
	color: #00d;
	outline: 0 !important;
}
p {
	margin-bottom: 0.8em;
}
ul {
	margin-bottom: 1em;
}
img {
	max-width: 100%;
	height: auto;
}
/* ---------------------------------------------------------------------------------------------------------- 
03 Structure ------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
header {
	width: 100%;
	float: left;
	padding: 0.5em;
}
header h1,
header nav {
	font-size: 0.6em;
}
header h1 a,
header nav a {
	text-decoration: line-through;
}
header .current-menu-item a,
body.single-bibliography li.menu-item-12 a,
body.single-exhibition li.menu-item-12 a,
body.home header h1 a {
	text-decoration: none;
}
#wrap {
	width: 100%;
	float: left;
	padding: 0.5em;
}
#wrap h2 {
	margin-bottom: 1.6em;
}
.thumbnail {
	margin: 0.75em 3em 2.25em 0;
	float: left;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.caption {
	margin-top: 1em;
	font-size: 0.6em;
}
.image {
	margin-bottom: 1em;
}
/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
.post-type-archive-work #wrap > a,
.single-work #wrap > a {
	display: inline-block;
	cursor: pointer;
	cursor: -webkit-image-set(
				url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNrE2C0WwjAMAOB24LFIBAeYwDPJMcaNOAJHQM4BN0Aikcjh4XXJ3kT5b5O0yXthK6LvI4U2zDrnDCfsw07x6kbuypmnYCJKuJwxh3t6YEUoae5mBtlCuiHxvqTOR64ILMUFLjvvrQnkgVwZ6ifwKrP1qkKuDBsihRGBSGDEIFyMKISDEYdQMUkgFEwySCwmKSQGkxwSiskCCcFYHMBOvzF5YvkyvkFWcG6dEFLBYG/0AjGLwugHntrzMby0kEelpcFYw9I0ml9WzFr75/uE0NrQ3hAaW/xHRO5D7ysiZxvwE5GrMfqLyNEqBiFSN8/BiJR/J6IQIhAJBBsihWBB+j5GCCFRkVoC0XdoAg9qVsPTgYYzTyfAABRTvvjwnGo2AAAAAElFTkSuQmCC)
					1x,
				url(img/slider-right.png) 2x
			)
			0 0,
		pointer;
}

@media only screen and (min-width: 768px) {
	header {
		width: 30%;
	}
	#wrap {
		width: 70%;
		height: 100%;
		margin-bottom: 5em;
	}
	.caption {
		margin-top: 0;
		position: fixed;
		bottom: 1.6em;
	}
	.image > .caption {
		margin-top: 1em;
		position: relative;
		bottom: auto;
	}
	img {
		max-width: 520px;
		max-width: calc(70vw - 1em);
		max-height: 520px;
		max-height: calc(100vh - 3.8em);
		width: auto;
		height: auto;
		margin-top: 0.75em;
	}
	article img {
		margin-top: 0;
	}
}

/* 20.01.29 */
.page-template-front header {
	width: 100%;
	/*
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: flex-start;
*/
}
.page-template-front header h1,
.page-template-front header nav,
.page-template-front .menu-navigation-container,
.page-template-front .menu-navigation-container ul,
.page-template-front .menu-navigation-container li {
	display: inline;
}
.page-template-front header h1,
.page-template-front .menu-navigation-container li {
	margin-right: 0.5em;
}
.page-template-front header h1,
.page-template-front header nav {
	font-size: 32px;
}
@media screen and (min-width: 320px) {
	.page-template-front header h1,
	.page-template-front header nav {
		font-size: calc(32px + 88 * ((100vw - 320px) / 960));
	}
}
@media screen and (min-width: 1280px) {
	.page-template-front header h1,
	.page-template-front header nav {
		font-size: 120px;
	}
}
