/*
Theme Name: The Great Flip-Off WordPress Theme
Author: Roman Franklin
Author URI: http://romanfranklin.com
Description: A theme designed to be used with The Great Flip-Off WordPress
Version: 1.0
Tags: the great flip-off
*/

@font-face {
	src: url('fonts/LeagueGothic-Regular.otf');
	font-family: 'LeagueGothic';
}

html {
	overflow-x: hidden;
}

html, body {
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	background: url('images/curtain-pattern.jpg');
	color: #fff;
	font-family: arial;
	font-size: 18px;
}


header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.75);
	z-index: 100;
	transition: .35s;
}

body.admin-bar header {
	top: 32px;
}

a {
	text-decoration: none;
}

a:link,
a:visited {
	color: #ffb438;
}

p {
	color: #fff;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1; /* ie 6/7 */
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'LeagueGothic';
	font-weight: normal;
}

h3 {
	font-size: 1.3em;
}

.press-posts h3 {
	font-family: 'LeagueGothic';
	font-size: 1.4em;
	font-weight: normal;
}

.press-posts p {
	font-size: 14px;
	line-height: 1.6;
}

.aligncenter {
	margin: 0 auto;
}

header img.title {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
	transition: .35s;
}

nav {
	height: 50px;
	line-height: 50px;
}

body.home header nav {
	margin-top: 0;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	text-align: center;
}

nav ul li {
	display: inline-block;
	padding: 0 6px;
	position: relative;
}

nav ul li ul {
	display: none;
	position: absolute;
	background: rgba(255, 255, 255, 0.75);
	top: 50px;
	width: auto;
	text-align: left;
}

nav ul li ul li {
	padding: 0 10px;
	line-height: 20px;
	float: left;
	clear: both;
	padding: 10px;
}

nav ul li:hover > ul {
	display: block;
}

nav a:link,
.mobile-nav-container a:link,
nav a:visited,
.mobile-nav-container a:visited {
	color: #bc2e2b;
	font-size: 22px;
	text-transform: uppercase;
	font-family: 'LeagueGothic';
	transition: .25s;
}

nav a:hover {
	color: #ea3633;
}

.mobile-nav {
	display: none;
}

.mobile-nav-container {
	height: 100%;
	width: 300px;
	position: fixed;
	left: -300px;
	top: 50px;
	background: rgba(0, 0, 0, 0.9);
	transition: .3s;
	padding-left: 30px;
	box-sizing: border-box;
}

.mobile-nav-container ul {
	padding: 0;
	list-style: none;
	background: none;
}

.mobile-nav-container ul li {
	padding: 5px 0;
	background: none;
}

span.social-icons-mobile li {
	float: left;
	margin-right: 10px;
	font-size: 30px;
}

.parallax {
	height: 120%;
	box-sizing: border-box;
	position: relative;
/*	overflow: hidden;*/
}

.parallax-slide {
	position: absolute;
	height: 100%;
	width: 100%;
}

#layer-sky-bg {
	background: url('images/sky-bg.jpg');
	background-size: cover;
	transform: translate3d(0, 0, 0);
}

#layer-logo {
	text-align: center;
}

#layer-logo p {
	margin: 30px auto;
	color: #fff;
	font-family: arial;
	font-weight: bold;
	line-height: 40px;
	font-size: 2em;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

#layer-logo img {
	display: block;
	margin: 100px auto 0;
	max-width: 95%;
	height: auto;
}

#layer-curtains {
	background: url('images/curtains.jpg') center repeat-y;
	background-size: 100% auto;
}

#layer-tents {
/*	background: url('images/curtains.jpg') center repeat-y;
	background-size: 100% auto;*/
	transform: translate3d(0, 0, 0);
	z-index: 10;
	height: 10px;
}

#layer-tents img {
	width: 100%;
	transform: translateY(-50%);
}

.people-container {
	max-width: 1432px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	transition: .25s;
	-webkit-transition: .25s;
}

#layer-1, #layer-2, #layer-3, #layer-4,
#layer-5, #layer-6, #layer-7, #layer-8 {
	/*background: url('images/layer-1.png') center -100px no-repeat;*/
	transform: translate3d(0, 0, 0);
}

.parallax-slide img.right {
	position: absolute;
	right: 0;
}

.parallax-slide img.left {
	position: absolute;
	left: 0;
}

.parallax-slide img {
	display: block;
	margin: 0 auto;
}

.mobile-page {
	height: 100%;
	width: 100%;
	display: none;
	background: url('images/sky-bg.jpg') center;
	background-size: cover;
}

.main-container {
	position: relative;
}

.main-container.home {
/*	padding-top: 33%; */
/*	background: url('images/curtains.jpg') repeat-y;
	background-size: 100% auto;	*/
}

.content-container {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	padding: 192px 50px 50px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.6);
}

.main-container.home .content-container {
	padding-top: 0;
	background: none;
	max-width: 90%;
}

.movie-title {
	max-width: 400px;
	text-align: center;
	font-size: 1.2em;
	line-height: 1.2;
	margin: 80px auto;
}

.movie-title img {
	max-width: 95%;
	margin: 0 auto 50px;
}

.content-container img {
	max-width: 100%;
	height: auto;
	display: block;
}

.tents-mobile {
	display: none;
	width: 100%;
	height: 620px;
	position: absolute;
	top: 0;
}

.tents-mobile img {
	width: 100%;
	height: auto;
	display: block;
	transform: translateY(-50%);
}

.video-box {
	width: 100%;
	max-width: 900px;
	margin: 0 auto 50px;
	position: relative;
}

.video-box.home {
	width: 60%;
	margin: 0 2% 50px 0;
	float: left;
}

.video-box .donate {
	margin-top: 50px;
}

.lunchbox-logos {
	width: 488px;
	margin: 0 auto;
}

.lunchbox-logos img {
	display: block;
	float: left;
}

.main-content {
	margin: 50px 0;
}

.main-content.home {
	float: right;
	width: 38%;
}

@media only screen and (max-width: 1500px) {
	.video-box.home {
		width: 48%;
	}

	.main-content.home {
		width: 50%;
		margin-top: -38px;
	}
}

@media only screen and (max-width: 1000px) {
	.video-box.home {
		float: none;
		width: 100%;
	}

	.main-content.home {
		width: 100%;
		float: none;
	}
}

.video-box-inner {
	overflow: hidden;
	position: relative;
}

.video-box-inner:after {
	padding-top: 56.7%;
	display: block;
	content: "";
}

.video-box iframe {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}



.col-50 {
	width: 50%;
	float: left;
}

.col-70 {
	width: 65%;
	float: left;
}

.col-30 {
	width: 30%;
	float: right;
}

.col-30.right {
	padding-left: 30px;
	box-sizing: border-box;
}

.social-media-side {
	margin-bottom: 30px;
}

.movie-poster {
	position: relative;
}

.movie-poster img {
	width: 33%;
	height: auto;
}

.movie-poster img.left,
.movie-poster img.right {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.movie-poster img.left {
	left: 0;
}

.movie-poster img.right {
	right: 0;
}

img.middle {
	margin: 0 auto;
}

ul.rig {
	margin: 0;
	padding: 0;
	list-style: none;
	margin-left: -1%;
}

ul.rig.trailers,
ul.rig.crew {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.full-credits {
	max-width:600px; margin: 0 auto; text-align: center
}

.full-credits h1 {
	margin-top: 60px;
}

.full-credits table {
	margin: 0 auto 40px;
}

.full-credits td {
	vertical-align: top;
	padding: 10px 20px;
	text-align: left;
	width: 50%;
}

.full-credits td:first-child {
	text-align: right;
}

.trailer-desc-wrap {
	max-width: 900px;
	margin: 0 auto 50px;
}

.trailer-desc {

}

.trailer-container {
	max-width: 900px;
	margin: 0 auto;
}

ul.rig li {
	float: left;
	margin: 0 0 1% 1%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background: rgba(0, 0, 0, 0.4);
	padding: 20px;
	cursor: pointer;
	transition: .25s;
}

ul.rig li:hover {
	background: rgba(188, 46, 43, 0.5);
}

ul.rig li.col-2 {
	width: 49%;
}

ul.rig li.col-3 {
	width: 32%;
}

ul.rig li.col-4 {
	width: 24%;
}

 ul.rig.trailers li .image {
	width: 100%;
	height: 150px;
}

ul.rig.crew li .image {
	width: 100%;
}

ul.rig li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

ul.cast {
	width: 32.33%;
	margin-left: 0;
	margin-right: 1%;
	float: left;
	padding: 0;
	list-style: none;
}

ul.cast:last-child {
	margin-right: 0;
}

ul.cast li {
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
	margin-bottom: 3%;
	padding: 20px;
	box-sizing: border-box;
}

ul.cast li .image {
	width: 100%;
}

ul.cast li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

ul.cast li h3 {
	margin-top: 0;
}

ul.cast li p,
ul.rig.crew li p {
	font-size: 14px;
	line-height: 1.4em;
}



footer {
	min-height: 120px;
	background: #171717;
	color: #bc2e2b;
	font-size: 13px;
	text-align: center;
	line-height: 40px;
	padding-bottom: 1px;
}

.footer-copy {
	background: url('images/dark_exa.png');
	width: 100%;
	padding: 30px 0;
	margin: 0 auto;
}

.footer-copy img {
	margin: 0 auto;
}

#loader-wrapper {
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	z-index: 100;
	background: #440808;
}

.curtain {
	background: url('images/curtain-pattern.jpg');
	width: 100%;
	height: 100%;
	position: absolute;
}

#loader {
	z-index: 1001;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 250px;
	width: 90%;
	height: 10px;
	border: 1px solid #000;
}

#loader-bar {
	width: 0%;
	height: 100%;
	background: #fff;
	transition: .25s;
}

#progress {
	text-align: center;
	margin-top: 20px;
}

.loaded #loader-wrapper {
	animation: loader-clear 0.3s 0.4s ease-in-out;
	animation-fill-mode: forwards;
/*	opacity: 0;
	-webkit-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	        transform: translateY(-100%);
    -webkit-transition: all 0.25s 0.5s ease-out;
            transition: all 0.25s 0.5s ease-out;      */
}

@keyframes loader-clear {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.loaded #loader {
	opacity: 0;
    -webkit-transition: all 0.25s ease-out;
            transition: all 0.25s ease-out;
}



/*.loaded .curtain {
	opacity: 0;
    -webkit-transition: all 0.25s 0.5s ease-out;
            transition: all 0.25s 0.5s ease-out;
}*/



@media only screen and (max-width: 1432px) {
	.parallax-slide img.right {
		right: -200px;
	}

	.parallax-slide img.left {
		position: relative;
		left: -415px;
	}

/*	.tents-bottom img {
		transform: translateY(-70%);
	}*/
}

@media only screen and (max-width: 769px) {
	.col-50 {
		float: none;
		width: 100%;
	}

	.main-content {
		margin: 0;
	}

	.content-container {
		padding: 0 5%;
		width: 100%;
	}

	.parallax-slide img.right {
		width: 100%;
		top: -25%;
	}

	.parallax-slide img.left {
		top: -25%;
		width: 100%;
	}
}

@media only screen and (max-width: 600px) {
	body {
		overflow-x: hidden;
	}

	nav ul li{
		display: none;
	}

	header img.title {
		display: none;
	}

	nav ul li.mobile-nav {
		display: block;
	}

	nav ul li:hover > ul {
		display: none;
	}

	nav ul span.social-icons {
		display: none;
	}

	ul {
		background: rgba(255, 255, 255, 0.8);
	}

	.parallax {
		display: none;
	}

	.mobile-page {
		display: block;
	}

	.mobile-page #layer-logo img.logo {
		margin-top: 70px;
	}

	#layer-logo p {
		font-size: 20px;
		width: 90%;
	}

	.movie-title {
		padding-top: 100px;
	}

	.tents-mobile {
		display: block;
	}

	.parallax-slide {
		height: auto;
	}

	.parallax-slide img.right {
		right: -110px;
		width: 100%;
		top: 40px;
	}

	.parallax-slide img.left {
		position: relative;
		left: -110px;
		width: 100%;
		top: 40px;
	}

	#layer-8 img {
		right: -80px;
	}

	#layer-4 img {
		top: -50px;
	}

	.content-container {
		padding: 115px 15px 50px;
		width: 100%;
	}

	ul.cast {
		background: none;
		width: 100%;
		float: none;
	}

	ul.cast li {
		width: 95%;
		margin: 0 auto 20px;
		float: none;
	}

	ul.rig {
		background: none;
	}

	ul.rig li.col-3,
	ul.rig li.col-4 {
		width: 100%;
	}

	.social-media-side {
		display: none;
	}

	.col-70 {
		width: 100%;
	}

	.lunchbox-logos img {
		max-width: 70%;
		margin: 0 auto;
		float: none;
	}
}









/*-------------------- CSS LOADER -------------------------- */
.spinner-wrapper {
	width: 40px;
	height: 40px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -20px;
	margin-left: -20px;
}

.spinner {
  width: 40px;
  height: 40px;

  position: relative;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #e2e2e2;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
