/*--------------------------------------------------------------------
         LOS PREMIOS
         By Ge Ricci, 2014
-------------------------------------------------------------------- */

/* ------------------------------ RESET ---------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, main, figure,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}

body {overflow-y: scroll;}

/* --------------------------------------------------------------------------- */
/* -------------------------- THEME'S DEFAULT VALUES ------------------------- */
/* --------------------------------------------------------------------------- */

@font-face {
    font-family: 'serif6_beta_rgregular';
    src: url('serif6beta-regular-webfont.eot');
    src: url('serif6beta-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('serif6beta-regular-webfont.woff2') format('woff2'),
         url('serif6beta-regular-webfont.woff') format('woff'),
         url('serif6beta-regular-webfont.ttf') format('truetype'),
         url('serif6beta-regular-webfont.svg#serif6_beta_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'serif6_beta_rgitalic';
    src: url('serif6beta-italic-webfont.eot');
    src: url('serif6beta-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('serif6beta-italic-webfont.woff2') format('woff2'),
         url('serif6beta-italic-webfont.woff') format('woff'),
         url('serif6beta-italic-webfont.ttf') format('truetype'),
         url('serif6beta-italic-webfont.svg#serif6_beta_rgitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'serif6_beta_rgbold';
    src: url('serif6beta-bold-webfont.eot');
    src: url('serif6beta-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('serif6beta-bold-webfont.woff2') format('woff2'),
         url('serif6beta-bold-webfont.woff') format('woff'),
         url('serif6beta-bold-webfont.ttf') format('truetype'),
         url('serif6beta-bold-webfont.svg#serif6_beta_rgbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sourcesanspro-light';
    src: url('sourcesanspro-light-webfont.eot');
    src: url('sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('sourcesanspro-light-webfont.woff') format('woff'),
         url('sourcesanspro-light-webfont.ttf') format('truetype'),
         url('sourcesanspro-light-webfont.svg#caviar_dreamsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font: 100%/1.2 serif6_beta_rgregular, Palatino, "Times New Roman", Times, serif;
	color: #444;
	background: #FFF;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

h1 {
	font-size: 3em;
	font-size: 13vw;
	font-family: sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	line-height: 1.2;
	text-transform: uppercase;
	color: #999;
	background: #FEFEFE;
	margin: 1em 0 0;
	margin: 1rem 0 0;
}

h2 {
	font-family: sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 3em;
	font-size: 8vw;
	font-weight: normal;
	margin: 1.5em 0 2em;
	margin: 5rem 0 4rem;
}

h3 {
	font-family: sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 2em;
	font-weight: normal;
	margin: 1.5em 0 1em;
	margin: 3rem 0 2rem;
}

p, li, dt, dd {font-size: 1.1em;}
li {line-height: 1.3; padding: 3px 0;}
li li {font-size: 100%;}
li dt, li dd {font-size: 100%;}

code {font-size: 120%;}

dt {font-weight: bold;}

p + ul {margin: 0.5em 0;}

a, a:link {color: #000; background: transparent;}
a:visited {color: #555; background: transparent;}
a:hover {text-decoration: none;}

abbr {border-bottom: 1px dotted #CCC; cursor: help;}
hr {display: none;}
img {max-width: 100%; border: none;}

picture {display: block; margin-bottom: 3vh;}

/* --------------------------------------------------------------------------- */
/* -------------------------------- STRUCTURE -------------------------------- */
/* --------------------------------------------------------------------------- */


header[role=banner] {
	position: relative;
	text-align: center;
	margin-bottom: 2em;
	margin-bottom: 7vh;
}

p.baseline {
	display: inline;
	font-family: sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 3vw;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #999;
	padding-top: 0.5em;
	margin-top: 0.5em;
	border-top: 1px solid #999;
}

aside[role=complementary] {
	padding: 1em 0;
	margin: 2em 0;
	padding: 1rem 0;
	margin: 2rem 0;
}

footer[role=contentinfo] {
	clear: both;
	color: #FFF;
	background: #000303;
	padding: 2em 5%;
	padding: 2rem 5%;
	border-top: 2px solid #C5DBDC;
}

	footer[role=contentinfo] p {
		font: 1em sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	}
	footer[role=contentinfo] p.copyright {
		font-size: 85%;
		color: #999;
		background: #000303;
	}
	footer[role=contentinfo] a, footer[role=contentinfo] a:link {
		color: #999;
		background: #000303;
	}


/* --------------------------------------------------------------------------- */
/* -------------------------------- EDITORIAL -------------------------------- */
/* --------------------------------------------------------------------------- */


/* Hide from UA */

.k-no-display {
	position: absolute;
	overflow: hidden;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
}

article {clear: both;}

	article p  {line-height: 1.5;}
	article p + p {margin-top: 1em;}

article.introduction div.content::before, ul.k-links-list::before {
	display: block;
	position: relative;
	left: 3px;
	width: 50px;
	height: 15px;
	content: "";
	text-align: center;
	margin: 3em auto 2em;
	margin: 3rem auto 2rem;
	border-top: 10px dotted #CCC;
}

div.k-intro {
	width: 85%;
	max-width: 30em;
	font: 1.2em/1.5 serif6_beta_rgitalic, Palatino, "Times New Roman", Times, serif;
	text-align: center;
	margin: 0 auto 3em;
	margin: 0 auto 7vh;
}

	div.k-intro p + p {margin-top: 0;}


figure {
	max-width: 450px;
	padding: 1em 0;
	padding: 1rem 0;
	border-top: 5px solid #999;
}
figcaption {
	font: 1em/1.4 sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: right;
	padding: 1em 0;
	padding: 1rem 0;
	border-bottom: 1px solid #999;
}

article {padding: 0 5%;}
	article div.content {max-width: 55em; }

article.project {
	color: #FFF;
	/*background: #491822;*/
	background: #091A1B;
	padding: 1em 5% 3em;
	margin: 3em 0 0;
	padding: 1rem 5% 3rem;
	margin: 3rem 0 0;
}

ul.k-links-list {
	clear: both;
	list-style-type: none;
	text-align: center;
	margin-top: 2em;
	margin-top: 2rem;
}
	ul.k-links-list li {
		padding: 1em 0;
		padding: 1rem 0;
	}
	ul.k-links-list a {
		display: inline-block;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		text-decoration: none;
		color: #FFF;
		background: #091A1B;
		padding: 0.8em 1em;
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	ul.k-links-list a:hover {background: rgba(255,255,255,.3); border-color: #091A1B;}


/* --- BLOCK QUOTATION --- */

blockquote {
	position: relative;
	display: block;
	text-indent: 0;
	padding: 9px 0 0 0;
	margin: 2em 0 2em 0;
	margin: 2rem 0 2rem 0;
}
	blockquote > p, section blockquote > p {
		font-family: serif6_beta_rgitalic, Palatino, "Times New Roman", Times, serif;
		text-indent: -0.5em;
	}
	blockquote footer {font-size: 85%; margin-top: 1.5em;}

	cite {font-style: normal;}

cite {font-family: serif6_beta_rgitalic, Palatino, "Times New Roman", Times, serif;}



/* --------------------------------------------------------------------------- */
/* -------------------------------- SERIES --------------------------------- */
/* --------------------------------------------------------------------------- */

body#the-series {
	color: #E2E2E2;
	/*background: #0F1D37 url(../../img/work/a-series.svg) top right no-repeat;*/
	background: #EFEFEF;
}

body#the-series #wrapper {
	display: flex;
	display: -webkit-flex;
	min-width: 0;
	padding: 15vh 5%;
}
body#the-series #wrapper.slides {
	display: block;
	padding: 10vh 0;
}

body#the-series h1 {
	display: table-cell;
	font-size: 2em;
	line-height: 1.6;
	text-align: left;
	color: #E2E2E2;
	background: transparent;
	margin: 0;
	vertical-align: middle;
}
body#the-series h2 {
	font-size: 4vw;
	margin: 0 0 2em;
	margin: 0 0 2rem;
}

body#the-series header[role=banner] {
	position: fixed;
	display: table;
	width: 90%;
	background: #0F1D37;
	padding: 0.5em 5%;
	padding: 0.5rem 5%;
	border-bottom: 5px solid #E2E2E2;
	z-index: 100;
}
body#the-series header[role=banner]::before, body#the-series header[role=banner]::after {content: none;}

nav {display: table-cell; text-align: right; vertical-align: middle;}
	nav li {
		display: inline-block;
		font: 1.3em sourcesanspro-light, "Helvetica Neue", Helvetica, Arial, sans-serif;;
	}
	nav a, nav a:link, nav strong {
		display: inline-block;
		font-weight: normal;
		text-decoration: none;
		color: #E2E2E2;
		background: transparent;
		padding: 0 0 0 3em;
		padding: 0 0 0 3rem;
	}

	nav a:visited {color: #C3C3C3;}
	nav a:hover {color: #FFF;}
	nav strong {color: #FFF;}


body#the-series section {
	float: left;
	flex: 2 0 60%;
	-webkit-flex: 2 0 60%;
	min-width: 0;
	color: #333;
	background: #E2E2E2;
	padding: 3em 0;
	padding: 3rem 0;
	margin: 0 10% 0 0;
}
	body#the-series section h2 {padding: 0 10%; margin-top: 0;}
	section p  {font-size: 1.1em; line-height: 1.5; padding: 0 10%;}
	section p + p {margin-top: 1em;}

div.gallery {
	float: right;
	flex: 1 1 auto;
	-webkit-flex: 1 1 auto;
	min-width: 0;
}

	div.gallery ul {
		display: flex;
		display: -webkit-flex;
		flex-flow: row wrap;
		-webkit-flex-flow: row wrap;
		min-width: 0;
	}

	div.gallery li {
		float: left;
		list-style-type: none;
		flex: 1 1 45%;
		-webkit-flex: 1 1 45%;
		min-width: 0;
		padding: 0;
		margin-bottom: 1rem;
	}
	div.gallery li:nth-child(2n+2) {margin-left: 1rem;}

	div.gallery img {vertical-align: bottom;}
	div.gallery a {opacity: .5; transition: opacity 1s;}
	div.gallery a:hover {opacity: 1}


/* --- SLIDES --- */

ul.slide {
	display: flex;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding-top: 3vh;
}
	ul.slide li {
		float: left;
		width: auto;
		flex: 0 0 auto;
		align-self: center;
		list-style-type: none;
		font-size: 0.7em;
		text-align: center;
	}
	ul.slide li:nth-child(2) {
		flex: 1 1 auto;
	}
	ul.slide img {max-height: 80vh;}

	ul.slide a, ul.slide a:link {
		display: block;
		padding: 1em;
		padding: 1rem;
		text-decoration: none;
		text-transform: uppercase;
		color: #999;
		background: rgba(255,255,255,1);
	}

	ul.slide li:first-of-type a {text-align: left;}
	ul.slide li:last-of-type a {text-align: right;}



@media screen and (max-width: 1100px) and (min-width: 750px) {
	body#the-series #wrapper {padding: 12vh 5%;}
	body#the-series h2 {font-size: 6vw;}
	body#the-series section {margin-right: 5%;}
	/*div.gallery {flex: 1 1 20%;}
	div.gallery li {float: none; max-width: 100%; margin: 0 0 1vh 0;}
	div.gallery li:nth-child(3n+1) {margin: 0 0 1vh 0;}*/
}

@media screen and (max-width: 750px) {
	body#the-series #wrapper {display: block; padding: 10em 5%; padding: 10rem 5%;}
	body#the-series #wrapper.slides {padding: 0;}
	body#the-series header[role=banner].slides {position: static; margin: 0;}
	body#the-series h2 {font-size: 6vmax; line-height: 1;}
	body#the-series section {float: none; width: 100%; margin: 0;}
	body#the-series div.gallery {float: none; width: 100%; margin-top: 5%;}

	body#the-series header[role=banner]:not(.slides) h1 {
		display: block;
		text-align: center;
		padding-bottom: 0.5rem;
		margin-bottom: 0.5rem;
		border-bottom: 1px solid #E2E2E2;
	}
	header[role=banner]:not(.slides) nav {display: block; text-align: center;}
	nav a, nav a:link, nav strong {padding: 0 1em; padding: 0 1rem;}

	ul.slide {display: block; padding: 0;}
	ul.slide li {float: none; width: 100%;}
	ul.slide li img {margin-top: 3em; margin-top: 3rem;}
	ul.slide a, ul.slide a:link {
		position: absolute;
		width: 40%;
		top: 4.7em;
		top: 4.7rem;
	}
	ul.slide li:first-of-type a {left: 0;}
	ul.slide li:last-of-type a {right: 0;}
}

@media screen and (max-width: 580px) {
	body#the-series header[role=banner].slides h1 {
		font-size: 24px;
		line-height: 1.3;
		padding-bottom: 0;
	}
	section h2 {font-size: 48px;}
	section p {font-size: 1em;}
	nav li {font-size: 16px;}
	nav a, nav a:link, nav strong {padding: 0 5%;}
	ul.slide a, ul.slide a:link {top: 3.5em; top: 3.5rem;}
}



/* ------------------------------------- QUERIES ---------------------------------------- */

@media screen and (min-width: 530px) {
	article {padding: 0 10%;}
	article.project {float: left; width: 80%; padding: 1em 10% 3em; padding: 1rem 10% 3rem;}
	figure {float: right; width: 100%; max-width: 100%;}
}

@media screen and (min-width: 530px) and (max-width: 900px) {
	figure img {float: right; width: 50%;}
	figcaption {float: left; width: 45%;}
	aside[role=complementary] + div.content h3 {clear: both; padding-top: 4em; padding-top: 4rem;}
}

@media screen and (min-width: 900px) {
	article div.content {float: left; width: 55%; margin: 1.8em 0 4em; margin: 1.8rem 0 4rem;}
	aside[role=complementary] {float: right; width: 35%; padding: 0;}
	article.introduction div.content::before, ul.k-links-list::before {content: none;}
	ul.k-links-list {text-align: left;}
	ul.k-links-list li {display: inline-block; padding: 1em; padding: 1rem;}
}

@media screen and (min-width: 1000px) {
	h1 {font-size: 10em; margin-top: 3em; margin-top: 3rem;}
	h2 {font-size: 6vw;}
	h3 {font-size: 3vw;}
	p.baseline {font-size: 2vw;}
	aside[role=complementary] {width: 30%;}
	p, li, dt, dd {font-size: 1.3em;}
	div.k-intro {width: 100%; max-width: 37em; margin: 16vh auto 15vh;}
	div.k-intro p {font-size: 1.5em;}
	figcaption {font-size: 1.3em;}

	p.baseline::before {
		left: -10%;
		height: 1vw;
	}
	p.baseline::after {
		right: -10%;
		height: 1vw;
	}
	header[role=banner]::before {
		height: 0.3vw;
	}
	header[role=banner]::after {
		height: 0.3vw;
	}
}
