/*
	mobile.css
	-----------------------------------------------------------------
	Style sheet for ‘today’s’ smartphones, triggered by media queries
	on devices that are between 321 pixels and 640 pixels.
	-----------------------------------------------------------------
	Project:	Thijs Wolzak Fotografie
	Link:		http://www.thijswolzak.nl
*/


/*
	Foundation (see also: basic.css)
	---------------------------------
*/



body { -webkit-text-size-adjust: 100%; }


/*
	Headings (see also: basic.css)
	------------------------------
*/

header h1, header h1 a, .photos-grid > h1 { /* LH = 21/14=1.502 | M = 14/1.618 = 9 */
	font-size: 14px; line-height: 1.402;
	margin-top: 6px; margin-bottom: 3px; }

.content section > h2 {
	font-size: 15px; line-height: 1.134;
	margin-top: 7px; margin-bottom: 4px; }


/*
	Typography (see also: basic.css)
	--------------------------------
*/

header h1, header h1 a, .photos-grid h1, .nav-year ul > li > h2 a, .content section > h2, .content section dt, p {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal; }

h1, h2, h3, h4, h5, h6, header > nav a, .container > footer p, a.button {
	text-transform: uppercase; }

header h1, header h1 a, header > nav, .photos-grid h1, .nav-year ul > li > h2 a {
	text-shadow: rgba(145,152,153,.4) -1px -1px 0; }

header h1 a:hover, header > nav a:hover, .nav-year ul > li:hover h2 a {
	text-shadow: none; }

/* Webfont loader, see: http://code.google.com/apis/webfonts/docs/webfont_loader.html */

/* Loading */
.wf-loading header h1, .wf-loading header h1 a, .wf-loading .photos-grid h1,
.wf-loading .nav-year ul > li > h2 a, .wf-loading .content section > h2, .wf-loading .content section, .wf-loading p, .wf-loading a.button {
	visibility: hidden; }

/* Active */
.wf-active header h1, .wf-active header h1 a, .wf-active .photos-grid h1,
.wf-active .nav-year ul > li > h2 a, .wf-active .content section > h2, .wf-active .content section, .wf-active p, .wf-active a.button {
	font-family: "myriad-pro-semi-condensed-1","myriad-pro-semi-condensed-2", Helvetica, Arial, sans-serif;
	visibility: visible; }

.wf-active header h1, .wf-active header h1 a, .wf-active .photos-grid h1,
.wf-active .nav-year ul > li > h2 a { /* LH = 21/17=1.237 */
	font-size: 17px; line-height: 1.237;
	letter-spacing: .1em; }

.wf-active header h1, .wf-active header h1 a, .wf-active .photos-grid h1,
.wf-active .nav-year ul > li > h2 a, .wf-active .content section > h2, .wf-active .content section dt, .wf-active p,
.wf-active .content section > p, .wf-active .content section dl p {
	font-weight: 400; }

/* Inactive */
.wf-inactive header h1, .wf-inactive header h1 a, .wf-inactive header > nav, .wf-inactive .photos-grid h1,
.wf-inactive .nav-year ul > li > h2 a, .wf-inactive .content section > h2
.wf-inactive .content section dt, .wf-inactive p {  }


/*
	Links (see also: basic.css)
	---------------------------
*/

a, a:active, a:visited { color: rgb(255,255,255); text-decoration: none; }

a:link { -webkit-tap-highlight-color: rgb(122,128,129) } /* http://j.mp/webkit-tap-highlight-color */


/*
	Layout
	------
*/

body {
	background: rgb(158,167,168)
	-webkit-gradient(
    	linear,
    	left top,
    	left bottom,
    	color-stop(0, rgb(152,159,161)),
    	color-stop(1, rgb(158,167,168)))
		left 50px no-repeat;
	-webkit-background-size:100% 184px;
	color: rgb(255,255,255);
	padding: 14px 0; }
	

.content > article > header {
	margin-bottom: 10px; }

.content {
	margin-top: 42px; }

/* Navigation */
a.button {
	background: rgb(255,255,255);
	color: rgb(111,119,120);
	padding: 2px 5px;
	position: absolute;
	top: 0;
	right: 0; }

nav select {
 	margin: 42px 0 28px;
 	width: 100%; }

/* Photos grid */
.photos-grid > ul {
	background: rgb(168,176,178) url(skin/grid-lines-dark-98.png) left top repeat;
	min-height: 194px;
	list-style: none;
	margin: 0; }

	.photos-grid > ul li {
		border-right: 2px solid transparent;
		border-bottom: 2px solid transparent;
		display: inline;
		float: left;
		width: 96px;
		height: 96px; }

		

		.photos-grid > ul li img {
			float: left;
			width: 96px;
			height: 96px; }

/* Photo details */
.container.photo-detail article {
  margin-top: 60px;
}
.container.photo-detail article > header {
	display: none; }

.container.photo-detail > section > article img {
	width: 100%;
	height: auto; 
  
/*  position: relative;
  left: 50%;
  transform: translate3d(-50vw, 0, 0);
*/
}

	.container.photo-detail article > footer > p {
		margin: 4px 0 0 0;
		padding: 0; }
    .container > footer {
      overflow: hidden;
/*      position: relative;
      width: 100vw;
      left: 50%;
      transform: translate3d(-50vw, 0, 0);
      padding: 0 14px;
      box-sizing: border-box;
*/    }
  	.container > footer p:first-child {
  		float: left;}
      

  	.container > footer p:last-child {
      display: none;
    }
  
		
		.container.photo-detail article footer a {
			text-decoration: underline;
			color: #fff;
		}

.container.photo-detail.ajaxed {
	float: left; }

	.container.photo-detail.ajaxed > section {
		display: none;
		width: 292px;
		float: left; }

	.container.photo-detail.ajaxed > section.current {
		display: block; }

/* Content */
.content > article > section {
	background: rgb(255,255,255) url(skin/grid-lines-light-98.png) left top repeat;
	color: rgb(111,119,120);
	padding: 14px; }

	.content > article:nth-child(1n+2) {
		margin-top: 28px; }

	.content > article > section a {
		color: rgb(111,119,120); }

	.content section dt {
		clear: left;
		color: rgb(158,165,167);
		float: left; }

	.content section dd {
		padding-left: 1em; }

		.content section dd p {
			margin-bottom: 0; }

			.content section a {
				border-bottom: 1px dotted rgb(158,167,168); }

			.content section a.org, .content section .adr a {
				border-bottom: 0; }

	.content section > .vcard .adr {
		margin-bottom: 1em;}

/* Next, previous navigation */
.next-prev {
  position: absolute;
	margin: 12px 0 6px 0;
	width: 100%;
	left: 0;
  top: 24px;
}

	.next-prev li {
		width: 44px;
		height: 44px; }

		.next-prev li.next {
			float: right;
			margin-right: -12px; }

		.next-prev li.prev {
			float: left;
			margin-left: -12px; }

		.next-prev li a {
			background: transparent url(skin/nav-arrows.png) -25px 13px no-repeat;
			height: 100%; }

		.next-prev li.prev a { background-position: 13px 13px; }

/* Footer */
.container > footer {
	margin-top: 14px; }

	.container > footer p, .container > footer a {
		color: rgb(111,119,120);
		margin: 0; }


/*	Style adjustments for mobile (iPhone) layout in landscape view
	--------------------------------------------------------------*/


/*
	Hide elements
	-------------
*/

.hidden { /* Hide for both screenreaders and browsers (http://css-discuss.incutio.com/wiki/Screenreader_Visibility) */
    display: none;
    visibility: hidden; }

.visuallyhidden, /* Hide only visually, but have it available for screenreaders (http://www.webaim.org/techniques/css/invisiblecontent/, solution from: http://j.mp/visuallyhidden) */
.vcard .adr > em, .vcard .adr > .type, .vcard .adr > .country-name,
.vcard .type {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px); }

.invisible { visibility: hidden } /* Hide visually and from screenreaders, but maintain layout */


/*
	(Reusable) Image Replacement
	----------------------------
*/

.ir,
.next-prev li > a {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
	text-align: left;
	direction: ltr; }


/*
	Clearfix Reloaded (http://bit.ly/clearfix-reloaded)
	---------------------------------------------------
*/

.clearfix:before, .clearfix:after,
.photos-grid > ul:before, .photos-grid > ul:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden; }

.clearfix:after,
.photos-grid > ul:after {
	clear: both; }
  
.hide-small {
  display: none !important;
}


.container {
  position: relative;
  max-width: 882px;
  margin: 0 auto;
}

body {
  overflow-x: hidden;
}

@media only screen and (max-width: 910px) {
  .container {
    max-width: 588px;
  }
}

@media only screen and (max-width: 615px) {
  .container {
    max-width: 392px;
  }
}

@media only screen and (max-width: 419px) {
  .container {
    max-width: 294px;
  }
}
@media only screen and (max-width: 320px) {
  body {
    padding: 14px 10px;
  }
}