/*
THEME NAME: Siert Dallinga
THEME URI: http://www.siertdallinga.com
DESCRIPTION: Siert Dallinga
VERSION: 1.0
AUTHOR: Filling Pixels
AUTHOR URI: http://www.fillingpixels.com
COPYRIGHT: Filling Pixels
TAGS:
*/

/* -------------------------------------------------------------- CSS Reset */

html, body, div, span, h1, p, a, img, strong, b, form, label {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

ul,li {
	list-style: none;
}

body {
	line-height: 1;
}

* {
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
	background-position: center center;
}

html, *, *:before, *:after {
   	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

* :focus {outline: none;}

/* -------------------------------------------------------------- Body */

html, body {
    height: 100%;
}

body {
	-webkit-text-size-adjust: none;
	font-family: "aktiv-grotesk-std", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6em;
	width: 100%;
	height: 100%;
	color: #777;
	background-color: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.icon {
	font-family: inherit;
	font-weight: 100 !important;
	-webkit-font-smoothing: antialiased !important;
}

@media (max-width: 1280px) and (min-width: 960px) {
	body {
		font-size: 15px;
	}
}

@media (max-width: 960px) {
	body {
		font-size: 14px;
	}
}

/* -------------------------------------------------------------- Fonts */

h1 {
	font-weight: 500;
	font-size: .9em;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 0 0 20px 0;
}

h2 {
	font-weight: 500;
	font-size: 1em;
	padding: 0 0 10px 0;
}

h3 {
	font-weight: 500;
	font-size: 1.1em;
	padding: 0 0 20px 0;
}

b,strong {
	font-weight: 600;
}

p {
	padding: 0 0 20px 0;
}

a,a:active,a:visited {
	text-decoration: none;
	color: #777;
	-o-transition: color .2s;
  	-ms-transition: color .2s;
  	-moz-transition: color .2s;
  	-webkit-transition: color .2s;
 	transition: color .2s;
}

a:hover {
	color: #000;
}

/* -------------------------------------------------------------- Main */

.main {
	float: left;
	width: 100%;
	height: 100%;
	padding: 0 260px 5% 260px;
}

@media (max-width: 1280px) and (min-width: 960px) {
	.main {
		padding: 0 220px 5% 220px;
	}
}

@media (max-width: 960px) and (min-width: 720px) {
	.main {
		height: auto;
		padding: 40px 0 0 0;
	}
}

@media (max-width: 720px) {
	.main {
		height: auto;
		padding: 100px 0 0 0;
	}
}

/* -------------------------------------------------------------- Wrapper */

.wrapper {
	position: relative;
	float: left;
	width: 100%;
	height: 100%;
	min-height: 960px;
}

@media (max-height: 960px) and (min-height: 800px) {
	.wrapper {
		min-height: 800px;
	}
}

@media (max-height: 800px) and (min-height: 640px) {
	.wrapper {
		min-height: 640px;
	}
}

@media (max-height: 640px) {
	.wrapper {
		min-height: 560px;
	}
}

@media (max-width: 960px) {
	.wrapper {
		height: auto;
		min-height: 0;
	}
}

/* -------------------------------------------------------------- Vertical Align */

.container {
  	position: relative;
  	text-align: center;
  	height: 100%;
}

.vertical-align-wrap {
  	position: absolute;
  	width: 100%;
  	height: 100%;
  	display: table;
}

.vertical-align {
  	background: white;
  	display: table-cell;
}

.vertical-align--middle {
  	vertical-align: middle;
}

@media (max-width: 960px) {
	.container {
		height: auto;
	}
	
	.vertical-align-wrap {
		position: relative;
		height: auto;
	}
}

/* -------------------------------------------------------------- Holder */

.holder {
	margin: 0 auto;
	width: 100%;
	max-width: 960px;
}

@media (max-height: 960px) and (min-height: 800px) {
	.holder {
		max-width: 800px;
	}
}

@media (max-height: 800px) and (min-height: 640px) {
	.holder {
		max-width: 600px;
	}
}

@media (max-height: 640px) {
	.holder {
		max-width: 560px;
	}
}

/* -------------------------------------------------------------- Content */

.content {
	float: left;
	width: 100%;
	padding: 80px 40px 80px 40px;
	text-align: left;
}

@media (max-width: 800px) {
	.content {
		padding: 40px;
	}
}

/* -------------------------------------------------------------- Exhibitions Image */

.exhibitions-image {
	float: left;
	width: 100%;
	padding: 0 0 20px 0;
}

.exhibitions-image img {
	width: 100%;
	max-width: 100% !important;
	height: auto;
}

/* -------------------------------------------------------------- Post */

.post {
	float: left;
	width: 100%;
	padding: 0 0 60px 0;
}

/* -------------------------------------------------------------- Sidebar */

.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 260px;
	border-right: 1px solid #eee;
}

@media (max-width: 1280px) and (min-width: 960px) {
	.sidebar {
		width: 220px;
	}
}

@media (max-width: 960px) and (min-width: 800px) {
	.sidebar {
		position: relative;
		width: 100%;
		height: 60px;
		border-right: 0;
		border-bottom: 1px solid #eee;
		padding: 10px 0 10px 0;
	}
}

@media (max-width: 800px) {
	.sidebar {
		position: absolute;
		width: 100%;
		bottom: auto;
		border-right: 0;
		border-bottom: 1px solid #eee;
		padding: 10px 0 10px 0;
		background-color: #fff;
		z-index: 999;
	}
}

/* -------------------------------------------------------------- Logo */

.logo a,.logo a:active,.logo a:visited {
	float: left;
	display: block;
	width: 100%;
	padding: 40px;
	font-weight: 500;
	font-size: .85em;
	text-transform: uppercase;
	letter-spacing: .2em;
	color: #000;
}

@media (max-width: 1280px) and (min-width: 960px) {
	.logo a,.logo a:active,.logo a:visited {
		padding: 30px;
	}
}

@media (max-width: 960px) {
	.logo a,.logo a:active,.logo a:visited {
		width: auto;
		padding: 0 30px 0 30px;
		line-height: 40px;
	}
}

/* -------------------------------------------------------------- Menu */

.menu {
	float: left;
}

.menu a,.menu a:active,.menu a:visited {
	float: left;
	width: 100%;
	padding: 0 0 0 40px;
	font-size: .75em;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #777;
	-o-transition: color .2s;
  	-ms-transition: color .2s;
  	-moz-transition: color .2s;
  	-webkit-transition: color .2s;
 	transition: color .2s;
}

.menu a:hover {
	color: #000;
}

.menu-toggle {
	position: absolute;
	display: none;
	top: 0;
	right: 0;
	padding: 0 30px 0 30px;
	height: 60px;
	line-height: 60px;
	cursor: pointer;
}

.shadow {
	-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1280px) and (min-width: 960px) {
	.menu a,.menu a:active,.menu a:visited {
		padding: 0 0 0 30px;
	}
}

@media (max-width: 960px) and (min-width: 800px) {
	.menu {
		float: right;
		padding: 0 15px 0 0;
	}

	.menu a,.menu a:active,.menu a:visited {
		display: inline-block;
		width: auto;
		line-height: 40px;
		padding: 0 15px 0 15px;
	}
}

@media (max-width: 800px) {
	.menu {
		display: none;
		width: 100%;
		padding: 15px 0 15px 0;
	}
	
	.menu-show {
		display: block;
	}
	
	.menu-toggle {
		display: block;
	}
	
	.menu a,.menu a:active,.menu a:visited {
		padding: 0 0 0 30px;
	}
}

/* -------------------------------------------------------------- Index */

.index {
	float: left;
	width: 100%;
	padding: 30px;
}

.index-item {
	position: relative;
    float: left;
    width: 20%;
	padding: 10px;
}

@media (max-width: 960px) and (min-width: 720px) {
	.index {
		padding: 35px;
	}

	.index-item {
		padding: 5px;
	}
}

@media (max-width: 720px) {
	.index {
		padding: 10px;
	}
	
	.index-item {
		width: 33.33%;
		padding: 5px;
	}
}

/* -------------------------------------------------------------- Cover */

.cover {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}

/* -------------------------------------------------------------- Item */

.item {
	position: relative;
    float: left;
    width: 100%;
    padding: 0 44px 0 44px;
}

.item-wrapper {
    float: left;
    width: 100%;
}

.item-container {
    position: relative;
    float: left;
    width: 100%;
}

.item-dummy {
    padding-top: 100%; /* forces 1:1 aspect ratio */
}

.item-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align:center; /* Align center inline elements */
    font: 0/0 a;
}

.item-image .item-centerer {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.item-image img {
    vertical-align: middle;
    display: inline-block;
    max-height: 100%;  /* <-- Set maximum height to 100% of its parent */
    max-width: 100%;   /* <-- Set maximum width to 100% of its parent */
}

/* -------------------------------------------------------------- Sub */

.sub {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 260px;
	height: 100%;
	padding: 0 0 5% 0;
	border-left: 1px solid #eee;
}

.sub-holder {
	position: relative;
	float: left;
	width: 100%;
	height: 100%;
	min-height: 960px;
}

@media (max-height: 960px) and (min-height: 800px) {
	.sub-holder {
		min-height: 800px;
	}
}

@media (max-height: 800px) and (min-height: 640px) {
	.sub-holder {
		min-height: 640px;
	}
}

@media (max-height: 640px) {
	.sub-holder {
		min-height: 560px;
	}
}

@media (max-width: 1280px) and (min-width: 960px) {
	.sub {
		width: 220px;
	}
}

@media (max-width: 960px) {
	.sub {
		position: relative;
		float: left;
		width: 100%;
		height: auto;
		border-left: 0;
	}
	
	.sub-holder {
		height: auto;
		min-height: auto;
	}
}

/* -------------------------------------------------------------- Details */

.details {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	font-size: .8em;
	line-height: 1.6em;
	padding: 40px;
	z-index: 999;
}

@media (max-width: 1280px) and (min-width: 960px) {
	.details {
		padding: 30px;
	}
}

@media (max-width: 960px) {
	.details {
		position: relative;
	}
}

/* -------------------------------------------------------------- Nav */

.nav {
	float: left;
	width: 100%;
	padding: 0 35px 0 35px;
}

.nav-thumb {
	float: left;
	width: 50%;
	padding: 5px;
}

.nav-thumb img {
	float: left;
	width: auto;
	max-width: 100% !important;
	height: auto;
	max-height: 700px;
}

.nav-item {
	position: relative;
    float: left;
    width: 50%;
    padding: 5px;
}

@media (max-width: 1280px) and (min-width: 960px) {
	.nav {
		padding: 0 25px 0 25px;
	}
}

@media (max-width: 960px) and (min-width: 720px) {
	.nav {
		padding: 35px;
		border-top: 1px solid #eee;
	}

	.nav-item {
		width: 20%;
	}
}

@media (max-width: 720px) {
	.nav {
		padding: 10px;
		border-top: 1px solid #eee;
	}
	
	.nav-item {
		width: 33.33%;
	}
}

/* -------------------------------------------------------------- Navigation */

.next a,.next a:active,.next a:visited {
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -22px;
	width: 44px;
	height: 44px;
	line-height: 44px;
	font-size: 1.4em;
	text-align: center;
	color: #777;
}

.previous a,.previous a:active,.previous a:visited {
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -22px;
	width: 44px;
	height: 44px;
	line-height: 44px;
	font-size: 1.4em;
	text-align: center;
	color: #888;
}

.next a:hover,
.previous a:hover {
	color: #000;
}

/* -------------------------------------------------------------- Animation */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Static-site additions */

a:focus-visible,
button:focus-visible {
	outline: 2px solid #111;
	outline-offset: 3px;
}

.menu-toggle {
	border: 0;
	background: transparent;
	font: inherit;
	color: #777;
	text-transform: uppercase;
}

.menu a[aria-current="page"] {
	color: #000;
}

.item-image a {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	max-height: 100%;
}

.item-image a img {
	display: block;
}

.artwork-placeholder {
	display: inline-block;
	max-width: 80%;
	vertical-align: middle;
	font-size: 14px;
	line-height: 1.4;
	text-transform: uppercase;
}

.nav-item--text {
	display: table;
	min-height: 90px;
}

.nav-item--text a {
	display: table-cell;
	padding: 8px;
	vertical-align: middle;
	font-size: .65em;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
}

.news-post time {
	display: block;
	margin: -14px 0 16px;
	font-size: .75em;
	color: #aaa;
}

.pagination {
	float: left;
	width: 100%;
	padding-bottom: 40px;
}

.not-found {
	max-width: 540px;
}

@media (prefers-reduced-motion: reduce) {
	.cover {
		animation: none;
	}
}
