/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; font-family: 'Lato', sans-serif; font-weight: 400; }




/* =============================================================================
   Links
   ========================================================================== */


a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 5px 40px; }
dt {
	font-style: italic;
}
nav ul, nav ol, #footer-links ul, ul.slidelist { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */



body {
	-webkit-box-shadow:  0px 0px 20px 10px rgba(0, 0, 0, 0.1);
    box-shadow:  0px 0px 20px 10px rgba(0, 0, 0, 0.1);
}
header {
	float:left;
	width:100%;
	margin-bottom:1em;
	background-color: white;
}
header h1 {
	background-image: url(../../img/logo_768.png);
	height:154px;
}
header p, header h1 {
	color: #444;
	margin: 0;
	padding-right:1em;
}
header h2 {
	font-family: 'Nanum Myeongjo', serif;
	position: absolute;
	top: 60px;
	left: 500px;
	font-size: 1.7em;
}
hgroup {
	height:154px;
	background-image: url(../../img/header-background_768.png);
	background-repeat: no-repeat;
	float: left;
	width: 100%;
	display: inline;
	position: relative;
}

h1, h2, nav li a, nav li a:visited, .credits-header {
	font-family: 'Voltaire', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}

nav {
	width: 100%;
	float: left;
}
nav li {
	float: left;
}
nav {
	background-color: white;
	padding:0.5em 0 0.5em -0.5em;
}
nav li a {
	display: block;
	padding: 8px 12px;
	text-decoration: none;
	font-size: 16px;
}

body#home a#navhome,body#synopsis a#navsyno,body#castandcrew a#navcast,body#behindthescenes a#navbehi,body#reviews a#navrevi,body#press a#navpres,body#bonus a#navbonu,body#statement_dir a#navdir,body#statement_prod a#navprod,body#techinfo a#navtech,body#festivals a#navfest {
	background: transparent url(../../img/nav-highlight.png) no-repeat bottom center;
}


#footer-links {
   width:100%;
   overflow:hidden;
   position:relative;
   border-top:1px solid #CCC;
	
}
#footer-links ul {
	clear:left;
   float:left;
   list-style:none;
   margin:0.5em 0 0;
   padding:0;
   position:relative;
   left:50%;
   text-align:center;
}
   
#footer-links ul li {
   display:block;
   float:left;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   right:50%;
}   
#footer-links ul li a {
   display:block;
   padding:3px 10px;
   text-decoration:none;
   line-height:1.3em;
   background:none !important;
   font-size: 0.875em;
}

nav select {
  display: none;
}
@media (max-width: 768px) {
  nav ul     { display: none; }
  nav select { display: inline-block; margin: 10px 0 10px 5%;}
}
nav ul {
	margin: 0 3%;
}
.film-credits, .job-title, .credits-header {
	text-transform:uppercase;
}
.content-item-title {
	font-weight:700;
}

.quote-attr {
	font-style:italic;
}
.content-item-supplementary {
}
.credits-header {
	background-color: white;
	display: inline;
	float: left;
	width: 100%;
}
.credits-header p {;
	padding: 0.3em 3%;
	font-size:1.2em;
}
.credits-footer p {
	font-size: 75%;
}
#screenings .content-item img, #latest .content-item img, #fest .content-item img {
	margin-right:0.8em;
	
}
#latest .content-item a.bigbutton {
	margin-bottom: 0.5em;
}
#latest .content-item:last-child a.bigbutton {
	margin-bottom: 0;
}
.content-item {
	float: left;
	border-bottom: 1px solid #E6E6E6;
	width: 100%;
	padding-top: 1em;
	padding-bottom: 1em;
}
.content-item:last-child, .home-reviews.content-item {
	border-bottom: none;
}
#castandcrew .content-item-body, #castandcrew .content-item-supplementary {
	margin-left: 112px;
}
.content-box, #featured {
	margin-bottom: 1em !important;
}
.content-box {
	font-size: 0.875em;
}
.content-item-body {
	
}
.tweetbox {
	margin-bottom: 1em;
}
.container {
	border:1px solid rgb(230, 230, 230);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: white;
	overflow: hidden;
	padding:0 1em 1em;
}
.container h2 {
	margin-bottom: 0;
}
#wrapper {
	margin:1em 2%;
}

.home-reviews {
	width: 30%;
	margin-right: 5%;
	text-align: center;
	margin-top: 1em;
}
.home-reviews:last-child {
	margin-right:0;
}

#intro p {
	font-size: 0.9em;
	text-shadow:1px 1px 1px #fff;
}

#intro p:first-child {
	margin-top:0;
}

.screenbox p {
	
}

.screenbox p.content-item-title, .home-reviews p.content-item-title {
	margin-bottom:0;
	margin-top:0;
}
.screenbox p.content-item-body, .home-reviews p.content-item-body {
	margin-top:0;
	margin-bottom:0;
}
.festinfo {
	float:left;
}
.festinfo {
	margin-right:2em;
	margin-bottom:0.5em;
}
.festinfo ul {
	padding-left:1.5em;	
	margin-top:0;
}
.festinfo ul li {
	font-style: italic;
	font-size:0.75em;
}


/*! http://responsiveslides.com v1.32 by @viljamis */


#viewer {
  font-size:0;
  background: #666666; /* Old browsers */
	background: -moz-linear-gradient(left,  #666666 0%, #aaaaaa 50%, #666666 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#666666), color-stop(50%,#aaaaaa), color-stop(100%,#666666)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #666666 0%,#aaaaaa 50%,#666666 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #666666 0%,#aaaaaa 50%,#666666 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #666666 0%,#aaaaaa 50%,#666666 100%); /* IE10+ */
	background: linear-gradient(to right,  #666666 0%,#aaaaaa 50%,#666666 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#666666',GradientType=1 ); /* IE6-9 */
	text-align: center;

}

.moviecontainer {
  position: relative;
  margin: 0 auto;
  }
.moviecontainer img {
  width:100%;
  max-width: 600px;
  }
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0; 
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
.slideviewer {
	font-size:100%;
}
.slideviewer ul {
	padding:0;
}
.slideviewer li {
	float:left;
	display:inline;
}
.slideviewer li img {
	max-width:100px;
	padding:0;
	margin:0;
}

body {
	background: rgb(240, 245, 250) url(../../img/pyongyang_background_960.png) no-repeat bottom center;
	max-width: 1140px;
	margin:0 auto;
}

ul#boxes {
	padding:0;
}

footer {
	float:none !important;
	clear:left;
	display:block !important;
	padding-bottom: 1em;	
}
footer ul#boxes li {
	text-align: center;
	height:75px;
	}
#footer-logos {
	margin:0 2%;
	padding-top: 1em;
}
 img.extlink {
	float: none;
	margin: 0 !important;
}
#gallery img {
	width:100%;
}
.content-item img.right-image {
	float: right;
	margin-left: 1em;
}
.content-item img.left-image {
	float: left;
	margin-bottom: 0.5em;
}
body#synopsis .content-item {
}


/* Tweet box styles  */

.tweet, .query {
	font-size: 0.875em;
}
.tweet_list {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: hidden;
}
.tweet_list li {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 1em 0.5em;
	list-style-type: none;
}
.tweet_list .tweet_even {
	background-color: rgb(240, 245, 250);
}
.tweet_list .tweet_avatar {
	padding-right: .5em; float: left;
}
.tweet_list .tweet_avatar img {
	vertical-align: middle;
}


.bigbutton {
	margin-top: 0.5em;
	margin-right:0.5em;
	-moz-box-shadow:inset 0px 1px 0px 0px #fbafe3;
	-webkit-box-shadow:inset 0px 1px 0px 0px #fbafe3;
	box-shadow:inset 0px 1px 0px 0px #fbafe3;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff5bb0), color-stop(1, #ef027d) );
	background:-moz-linear-gradient( center top, #ff5bb0 5%, #ef027d 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bb0', endColorstr='#ef027d');
	background-color:#ff5bb0;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #ee1eb5;
	display:inline-block;
	color:#ffffff !important;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #c70067;
}.bigbutton:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ef027d), color-stop(1, #ff5bb0) );
	background:-moz-linear-gradient( center top, #ef027d 5%, #ff5bb0 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef027d', endColorstr='#ff5bb0');
	background-color:#ef027d;
}.bigbutton:active {
	position:relative;
	top:1px;
}

#social {
	float:right;
	margin-right:3%;
	padding-right:5px;
	margin-top:0.5em;
	margin-bottom: 0.5em;
	overflow:visible;
}
.social-button {
	margin-left:0.5em;
}


/*VIDEO PLAYER */

.vjs-default-skin .vjs-progress-holder .vjs-play-progress, .vjs-default-skin .vjs-progress-holder .vjs-load-progress {
	height:0.5em !important;
}
.vjs-default-skin div.vjs-progress-control {
	height:0.5em !important;
}
.vjs-default-skin .vjs-time-controls {
	height:0.5em !important;
	top: -0.8em !important;
}
.vjs-default-skin .vjs-controls {
	height:2.1em !important;
}
.vjs-default-skin .vjs-progress-holder {
	height:0.5em !important;
}
.vjs-default-skin div.vjs-progress-control {
	top: -0.8em !important;
}
.vjs-default-skin div.vjs-seek-handle {
	background: url('../../img/video-js.png') 0 -50px !important;
}
.vjs-default-skin div.vjs-seek-handle {
	margin-top: -0.5em !important;
}
/*-------------------------------------
FORM CORE
------------------------------------------*/

#contact-form {
	
}
form#contact fieldset {
	margin: 0 auto;
	border: 0;
	background-color: #fff;
	text-align: left;
}

form#contact input[type="text"], input[type="url"], 
input[type="email"], input[type="tel"], textarea {
	margin: 3px 0 0 0;
	padding: 6px; 
	width: 260px; 
	font-family: arial, sans-serif; 
	font-size: 12px; 
	border: 1px solid #ccc;
    background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #f4f4f4), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #f4f4f4 1px, #FFFFFF 15px);
}

form#contact textarea {
	height: 150px;
}

form#contact label {
	display: block;
	font-size: 13px;
	margin-top: 10px;
	font-weight: bold;
}

form#contact label.error { 
	width: 270px;
	margin: 3px 0 0 0;
	display: block;
	font-size: 11px; 
	text-align: right;
}

form#contact .placeholder {
	color: #aaa;
}

form#contact .button {
	display: block;
	margin: 15px 0 0 0;
	padding: 5px 15px 5px 15px;
	border: none;
	color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

form#contact .button:hover {
	cursor: pointer;
}

form#contact .button:active {
	margin-top: 16px;
	cursor: pointer;
}
#press-info {
	float:right;
	margin-left:1em;
	width:50%;
	z-index: 10;
	position: relative;
}
#success, #error {
    display:none;
    position: relative;
    width: 45%;
}
#success span, #error span {
    display:block;
    position:absolute;
    top:0;
    width:100%
}
#success span p, #error span p {
    margin-top:2em
}
#success span p {
  color:#9bd32d;
}
#error span p {
  color:#c0392b;
}

/*__________________________
jw-player */

#overlayer {
	background: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	position: absolute;
	left:0;
	top:0;
	z-index: 1050;
	color: white;
	display: none;
}

#videocontainer {
/*	position:absolute;
	top: 50%;
    left: 50%;
    margin: -270px 0 0 -480px; */
    max-width: 960px;
	margin: auto;
	position: relative;
	margin-top: 2em;
	
}
#trailer_960 {
	
}

.close_video, .open_video {
	cursor: pointer;
}
a.close_video:hover, .share_buttons a:hover {
	background-color: transparent;
}
#videoclose {
	margin-top:-20px;
}
.share_buttons {
	position: absolute;
	right: 0px;
	top:-22px;
	white-space: nowrap;
}


/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
  display: none;
}

/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}
#u_0_0 {
	width: 100% !important;
}



/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */


@media only screen and (min-width: 961px) {

	#subhead {
		float: right;
		background: transparent url(../../img/header-background_dove_768.png) no-repeat top right;
		height: 154px;
		width:225px;
	}
	header h2 {
		font-size: 2em;
		top: 60px;
		left: 520px;
	}
	#videocontainer {
	top: 50%;
	margin-top: -270px;
}



@media only screen and (max-width: 768px) {
	body {
		background-image: url(../../img/pyongyang_background_768.png);
	}
	
	#viewer {
		float:none;
		margin-left: 0;
		margin-bottom:1em;	
	}
	header h2 {
		font-size: 1.5em;
		top: 60px;
		left: 490px;
	}
	.credits-header p {
		font-size:1em;
	}
	.festinfo {
	float:none;
	}
	#success, #error {
   	width:100%;
}

		
	
}


@media only screen and (max-width: 600px) {
	body {
		background-image: url(../../img/pyongyang_background_600.png);
	}
	header h1 {
		background-image: url(../../img/logo_480.png);
	}
	header h2 {
		font-size: 1.3em;
		top: 100px;
		left: 200px;
	}
	#press-info {
		float:none;
		margin-left:0;
		width:inherit;
	}
	#social {
		margin-top:0.3em;
		margin-bottom: 0.3em;
	}
	.content-item img.right-image {
		display: none;
	}
	
}


@media only screen and (max-width: 480px) {
	body {
		background-image: url(../../img/pyongyang_background_480.png);
	}
	header h1 {
		background-image: url(../../img/logo_320.png);
		height:111px;
	}
	hgroup {
		height:111px;
		background-image: url(../../img/header-background_320.png);
	}
	.credits-header p {
		font-size:0.9em;
	}
	header h2 {
		font-size: 1.0em;
		top: 70px;
		left: 140px;
	}
	.home-reviews {
		width: 100%;
		margin-right: 0;
	}
	
}
}


@media only screen and (max-width: 320px) {
	 body {
		background-image: url(../../img/pyongyang_background_320.png);
	}
	
	
}





/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

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

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
