/* Typography, grids, resets */
@font-face {
	font-family: 'bebas_neuebold';
	src: url('fonts/bebasneue_bold-webfont.eot');
	src: url('fonts/bebasneue_bold-webfont.eot?#iefix') format('embedded-opentype'),
			 url('fonts/bebasneue_bold-webfont.woff') format('woff'),
			 url('fonts/bebasneue_bold-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'bebas_neue_regularregular';
	src: url('fonts/bebasneue_regular-webfont.eot');
	src: url('fonts/bebasneue_regular-webfont.eot?#iefix') format('embedded-opentype'),
			 url('fonts/bebasneue_regular-webfont.woff') format('woff'),
			 url('fonts/bebasneue_regular-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
html, input, textarea {
	-webkit-font-smoothing: antialiased;
}
html, body, h1,h2,h3,h4,p,ul,ol,li,strong, section, article, figure {
	padding: 0;
	margin: 0;
	border: 0;
}
body {
	font: normal 16px/1.4 'Lora', "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: white;
}
h1, h2, h3 {
	font-family: bebas_neuebold, sans-serif;
}
.festivals h2 {
  font: bold 16px/1.4 'Lora', "Helvetica Neue", Helvetica, Arial, sans-serif
}
/* Icons */

.icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	vertical-align: middle;
	background-image: url(img/sprite.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.i_fb {
	background-position: center top;
}
.i_tw {
	background-position: center 25%;
}
.i_ig {
	background-position: center 50%;
}
.i_close {
	background-position: center 75%;
}
.i_hamburger {
	background-position: center bottom;		
}
.show_nav .i_hamburger {
	background-position: center 75%;			
}
/*
.i_play {
	background-position: center bottom;
	margin-right:0;
}
*/

.nav {
	font-family: bebas_neue_regularregular, sans-serif;
	width: 100%;
	top: 0;
	overflow: hidden;
	transition: height 0.2s ease;
	background-color: #3C61AF;
}
	.nav_dropdown {
		z-index: 100;
		position: absolute;
		width: 100%;
		height: 0;
		border-top: 1px solid white;
		box-shadow: 0 3px 15px rgba(0,0,0,.5);
		overflow: hidden;
	}
	.show_nav .nav_dropdown {
		height: auto;
	}
	.nav_group {
		background-color: rgba(0,0,0,.8);
	}
	.nav a {
		color: white;
		text-decoration: none;
	}
	.nav a:hover {
		text-decoration: underline;
	}
	.nav_item {
		box-shadow: 0 -1px 0 white;
	}
	.nav_link {
		display: block;
		font-size: 1.25em;
		line-height: 2em;
		text-align: center;
	}
	.nav_controls {
		display: block;
		position: relative;
		z-index: 101;
		border: 0;
		padding: .5em 1em;
	}
	.nav_label {
		font-style: normal;
	}

.section {
	padding: 1em;
}
.section a {
	text-decoration: underline;
	color: black;
}
.section a:hover {
	text-decoration: none;
	color: red;
}
.section a:active {
	color: #a00;
}
.section-title {
	text-align: center;
	font-size: 3em;
	margin-bottom: .25em;
}
.article-title {
	font-size: 2.5em;
}
.article-subtitle {
	font-style: italic;
	font-weight: normal;
	font-size: 1em;
	margin-bottom: 1em;
}


.header {
	width: 90%;
	height: 0;
	padding: 0 5%;
	padding-bottom: 110%;
	margin: 0;
	background-image: url('img/background_portrait_small.jpg');
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
}
.brand {
	text-align: center;
	padding: 0;
	padding-bottom: 59.2%;
	Width: 100%;
	height: 0;
	margin: 0 auto;
	background-image: url('img/fishermens_conversations.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
	-ms-interpolation-mode:bicubic;
	position: relative;
	top: 1.5em;
}
.brand_title {
	opacity: 0;
}
.cta {
	color: white;
	text-align: right;
	font-size: 22px;
	font-family: bebas_neue_regularregular, sans-serif;
	display: block;
	margin-top: .5em;
	text-decoration: none;
}

.people {
}
	.people-item {
		margin-bottom: 2em;
	}
	.people-links {
		margin: 1em;
	}
	.people-body + p {
		margin-top: 1em;
	}

.synopsis p + p {
	margin-top: 1em;
}

.play_trailer {
	display: none;
}
.trailer {	
}
	.trailer iframe {
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		z-index: 1;
	}
	.trailer h3 {
		text-align: center;
		width: 100%;
	}
	.trailer.show_trailer {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right:0;
		z-index: 200;
		height: auto;
		padding:0;
	}
	.trailer .i_close {
		display: none;
		z-index: 3;
	}
	.trailer.show_trailer .i_close {
		display: block;
		top: .8em;
		right: .8em;
		position: absolute;
		cursor: pointer;
	}

	.trailer-open {
		position: absolute;
			 top: 0;
			left: 0;
		 right: 0;
		bottom: 0;
		z-index: 2;
	}
	.trailer-fullscreen {
		z-index: 0;
	}

	.footer {
		font-size: .9em;
		padding: 2em 0;
		text-align: center;
		color: white;
		background-color: black;
	}
	.footer a {
		text-decoration: none;
		color: white;
	}
	.footer p + p {
		margin-top: 2em;
	}
	.sponsors {
		max-width: 60em;
		margin: 1em auto 0em;
		list-style-type: none;
		text-align: center;
	}
  li.sponsor {
		display: inline-block;
		width: 24%;
		margin-bottom: 1em;
		vertical-align: middle;
  }
	img.logo {
	  display: block;
	  width: 70%;
	  margin: 0 auto;
	}
  li.sponsor_pinch {
    display: block;
    min-width: 15em;
    max-width: 20em;
    margin: 2em auto;
    width: auto;
  }
  li.sponsor_pinch img.logo {
    width: 100%;
  }

	.credits {
	  max-width: 45em;
	  margin: 0 auto;
	}
	.logo_festival {
    width: 25%;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 1rem;
	}
	.logo_festival img {
	  display: block;
	  width: 80%;
	  margin: 0 auto;
	}
  @media (min-width:38em) { /* 37*16 = 480px */
    .logo_festival {
      width: 17%;
    }
  }
/* Media queries start here */

@media (min-width:38em) { /* 37*16 = 480px */

	.nav {
		height: auto;
		text-align: center;
		background-color: #3e71b8;
		background-color: rgba(62,113,184, .7);
	}
		.nav_dropdown {
			border: 0;
			overflow: visible;
			box-shadow: none;
			height: auto;
			background-color: rgba(0,0,0,.3);
		}
		.nav_controls {
			display: none;
		}
		.nav_group {
			display: inline-block;
			background-color: transparent;
			padding: .25em;
		}
		.nav_item {
			display: inline-block;
			box-shadow: none;
			margin: 0 .6em;
		}
		.nav_label {
			display:none;
		}

	.header {
		width: 70%;
		padding-left: 15%;
		padding-right: 15%;
		padding-bottom: 40%;
	}
	.brand {
		top: 6em;
	}
	.section {
		padding: 2em;
	}
	.play_trailer {
		display: block;
	}
	.footer {
		padding: 2em;
	}

	.sponsors {
		margin-top: 2em;
  	text-align: center;	
	}
  li.sponsor {
		width: 17%;
  }
  .sponsors img {
		width: 80%;
  }
}

@media (min-width:38em) and (min-height:17em) { /* 37*16 = 480px */
	.header {
		padding-bottom: 110%;
	}
	.section {
		position: relative;
	}
	.section-title {
		position: absolute;
		top: -2em;
		left: 0;
		color: white;
		width: 100%;
		font-weight: normal;
		font-size: 7em;
		text-shadow: 0 1px 1px black;
	}
}

@media (min-width:50em) { /* 40*16 = 800px */
	.section-title {
		position: static;
		color: black;
		width: 100%;
		background-color: transparent;
		text-shadow: none;
	}
	.section {
		position: static;
		margin: 0 auto;
		max-width: 44em;
		padding: 3em;
	}
	.nav {
		text-align: left;
	}
	.nav_social {
		position: absolute;
		top: 0;
		right: 0;
	}
	.play_trailer {
		display: none;
	}
	.icon {
		margin-right: .25em;
	}
	.footer {
		padding: 4em;
	}
}

@media (min-width:50em) and (min-height:35em) { /* 40*16 = 800px */
	.header {
		width: 40%;
		padding-left: 30%;
		padding-right: 30%;
		padding-bottom: 42%;
	}			
	.section-title {
		font-size: 6em;
	}
}