/* 
Project Name: Eclectica Film Productions
Client: Eclectica Films
Author: Samantha Roberts
*/

/******************************************
/* COLOURS
/*******************************************/
/* 
body copy 	- #333333
red/orange	- #ff4545
*/

/******************************************
/* SENSIBLE DEFAULTS                   
/*******************************************/
* {
     box-sizing: border-box;
}
.clear {
	clear: both;
}

/******************************************
/* TYPOGRAPHY
/*******************************************/
    @font-face {
    font-family: 'florencesans_blackregular';
    src: url('fonts/florsn33-webfont.eot');
    src: url('fonts/florsn33-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/florsn33-webfont.woff2') format('woff2'),
         url('fonts/florsn33-webfont.woff') format('woff'),
         url('fonts/florsn33-webfont.ttf') format('truetype'),
         url('fonts/florsn33-webfont.svg#florencesans_blackregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/******************************************
/* ANIMATIONS                
/******************************************/
.arrow:hover { 
	-webkit-filter: saturate(0); 
	transition:0.3s;
}


#fade {
    -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 3s; /* Firefox < 16 */
        -ms-animation: fadein 3s; /* Internet Explorer */
         -o-animation: fadein 3s; /* Opera < 12.1 */
            animation: fadein 3s;
    }
    
    @keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Firefox < 16 */
    @-moz-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Internet Explorer */
    @-ms-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Opera < 12.1 */
    @-o-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
	
/******************************************
/* BODY RULES        
/******************************************/
body {
	background-color:#FFF;
	color:#333333;
	font-family:Helvetica, Arial, sans-serif;
	font-size: 13px;
}
.content {
	position:absolute;
	top:100%;
	width:100%;
	text-align:center;	
}
.section {
	max-width:1000px;
	width:100%;
	margin:0 auto;
	text-align: left;
}

h1, h2 {
	font-family: 'florencesans_blackregular', Helvetica, serif;
	font-weight:100;
	letter-spacing:1px;
	text-transform:uppercase;
	}
	
h1 {
	font-size:24px;
}

h2 {
	font-size:18px;
	margin:0;
}

h3 {
	font-family: Courier New, sans-serif;
	font-size:20px;
	margin:-6px auto 0 2px;
	font-weight:100;
}

a:link {
	color:#ff4545;
    text-decoration: underline;
}

a:visited {
    color:#ff4545;
    text-decoration: underline;
}

a:hover {
	color:#999999;
    text-decoration: underline;
	transition:0.3s;
}

a:active {
	color:#ffffff;
    text-decoration: underline;
}
	/* section styling */
	.row {
		display: flex; /* equal height of the children */
		margin:15px 0 25px;
		overflow:hidden;
	}
	.col {
	  flex: 1; /* additionally, equal width */
	}
	.left {
		width:47%;
		float:left;
		margin:0 3% 15px 0;
	}
	.right {
		width:50%;
		float:left;	
	}
	.contact-left {
		width:22%;
		float:left;
		margin:0 3% 15px 0;
	}
	.contact-right {
		width:75%;
		float:left;	
	}
	.thirds {
		width:32%;
		float:left;
		margin: 0 2% 0 0;
	}
		.thirds:nth-child(3) {
			margin:0;
		}
@media screen and (max-width: 767px) {
	.row {
		display:block;
		margin:15px 0;
		overflow:auto;
	}
	.col {
		flex: 0;
		display:block;
	}
	.left {
		width:100%;
		float:none;
		display:block;
		margin:0 auto 30px;
	}
	.right {
		width:100%;
		float:none;
		display:block;
	}
	.contact-left {
		width:31%;
	}
	.contact-right {
		width:65%;
	}
	.thirds {
		width:48%;
		float:left;
		margin: 0 1% 15px;
	}
}
@media screen and (max-width: 610px) {
	.contact-left {
		width:100%;
		float:none;
		margin:0 auto;
	}
	.contact-right {
		width:100%;
		float:none;
		margin:20px auto 0;
	}
}
@media screen and (max-width: 480px) {
	.thirds {
		width:100%;
		float:none;
		margin:0 auto 15px;
	}
}

/******************************************
FIXED SCROLL BACKGROUND 
/******************************************/
.content {
	position:absolute;
	top:100%;
	width:100%;
	text-align:center;	
}
.fixedscrollbg-content {
	position: relative;
 	z-index: 1;
}
.section {
	max-width:1000px;
	width:100%;
	margin:0 auto;
	text-align: left;
}

/* solid bg sections */
.solid-bg-content {
	position: relative;
	padding: 30px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
	z-index: 2;
}
/* ------------------------------------*/

/* image bg sections */ 
.img-bg-content {
	position: relative;
	min-height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
	padding:30px;
	color:#ffffff;
}
	.img-bg-content.bg1 {
		background-image: url("../img/bg_films.jpg");
		height: 50% !important;
	}
	.img-bg-content.bg2 {
		background-image: url("../img/bg_contact.jpg");
		height: 10%;
	}
@media only screen and (min-width: 768px) {
  .img-bg-content {
	  background-attachment: fixed;
  }
}
		
/******************************************
SECTION SPECIFIC 
/******************************************/

/* header */
.header-container {
	position:absolute;
	width:100%;
	height:100%;
	/* border:solid 1px red; */
	text-align:center;
	background: url("../img/bgs/bg1.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:60% center;
}
/* background: url(http://eclecticafilmsproductions.com/img/bgs/rotate.php);
*/

.logo-container {
	position:relative;
	margin-left:auto;
	margin-right:auto;	
	width:90%;
	max-width:980px;
	top:40%;
}
	.logo-container img {
		width:90%;
		margin-top:-20%;
	}
.mobile {
	display:none;
}

@media screen and (max-width: 1024px) {
	.logo-container img {
		width:85%;
		margin:-19% auto 0;
	}
}
@media screen and (max-width: 767px) {
	.mobile {
		display:block;
	}
	.desktop {
		display:none;
	}
	.logo-container {
		width:80%;
		max-width:550px;
		top:32%;
	}
}
	
/* nav */
.nav {
	position:absolute;
	bottom:0;
	background-color:#FFF;
	width:100%;
	z-index: 1;
	height:55px;
	-webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.15);
      box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.15);
	margin:0;
	padding:0;
}
.nav a {
	color:#333333;
    text-decoration: none;
}
	.nav a:visited {
		color:#333333;
		text-decoration: none;
	}
	
	.nav a:hover {
		color:#999999;
		text-decoration: unone;
	}
	.nav a:active {
		color:#ffffff;
		text-decoration: none;
	}
	
	.nav-container {
		width:100%;
		max-width:1000px;
		margin:0 auto;
	} 
		.menu-options {
			float:left;
			margin:19px auto 0 0;
			width:calc(100% - 90px);
			max-width:1000px;
		}
			.menu-options ul {
				list-style: none;
				padding:0 !important;
				margin:0;
			}
			.menu-options .menu {
				display: flex;
				justify-content: space-between;
			}
			
			.menu-options li {
				display:inline;
				font-family: 'florencesans_blackregular', Helvetica, serif;
				letter-spacing:1px;
				line-height:1px;
				text-transform:uppercase;
				font-size:24px;
			}
.nav-icons {
	width:90px;
	margin:8px -5px 0 auto;
	}

.imghov {
	height:35px;
	padding-left:5px;
	}

.imghov:hover { 
	-webkit-filter: opacity(0.5);
	transition:0.3s;
	}
.sticky {	
	background-color: rgba(255,255,255,0.9);
	position: fixed;
	top:0;
	left:0;	
	bottom:auto;	
	z-index: 100;		
}

#nhome-mob, #ncontact-mob {
	display:none;
}

@media screen and (max-width: 1045px) {
	.nav-container {
		width:93%;
	} 
}
/* @media screen and (max-width: 910px) {
	.nav-container {
		width:90%;
	} 
}
*/
@media screen and (max-width: 992px) {
	.menu-options {
		width:calc(100% - 90px);
	}
	#ncase-studies {
		display:none;
	}
}
@media screen and (max-width: 767px) {
	.nav-container {
		padding-top:10px;
	}
	.nav-icons {
		display:none;
	}
	#nhome, #ncontact {
		display:none;
	}
	#nhome-mob, #ncontact-mob {
		display:block;
		margin-top:-11px;
	}
	.menu-options {
		width:100%;
	}
	.menu-options li {
		font-size:18px;
	}
}

.divide {
	background-color:#CCCCCC;
	height:1px;
	margin:15px 0;
} 

/* latest news */
.latest-news h2, .about h2 {
	margin-bottom:15px;
}

.latest-news .right .news-img {
	width:100%;
	height:100%;
	background-image:url("../img/louis.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
	.latest-news .right .news-img img {
		display:none;
	}
@media screen and (max-width: 767px) {
	.latest-news .right .news-img {
		background-image:none;
	}
		.latest-news .right .news-img img {
			display:block;
			width:100%;
		}
}
	
/* about */
.about .left img {
	margin:0 10px 0 0;
}
.about .right .about-img {
	width:100%;
	height:100%;
	max-height:345px;
	background-image:url("../img/about.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
	margin:0 0 5px 0;
}
@media screen and (max-width: 992px) {
	.about .right .about-img {
		background-image:none;
		max-height:inherit;
	}
		.about .right .about-img img {
			display:block;
			width:100%;
		}
}

/* films */
.films .thirds img {
	width:100%;
}

.films .thirds h1 {
	text-align:center;
}
.films .thirds a:hover {
or:#ffffff;
    text-decoration: underline;
	transition:0.3s;
}
.row.films.mobile {
	display:none;
}

@media screen and (max-width: 767px) {
	.row.films.mobile {
		display:block;
	}
	.row.films.desktop {
		display:none;
	}
}

/* contact */
.contact {
	background-color:#ffffff;
	color:#000000;
	padding:30px;
	margin:60px auto;
	widh:80%;
}
.row.contact {
	margin:0;
	padding:15px 0;
}
	.contact h1 {
		margin:0 auto 15px 0;
	}
	.contact h3 {
		margin:15px auto 0 2px;
	}
.fb_iframe_widget {
	display:inline-block;
	position:relative;
	margin-top:15px;
}

@media screen and (max-width: 992px) {
	.contact {
		background-color:#ffffff;
		margin:9% auto 30px
	}
	.row.contact {
		width:100%;
		margin:0 auto;
		padding:15px 0;
	}
}
@media screen and (max-width: 690px) {
	.contact {
		margin:5% auto 30px
	}
}
@media screen and (max-width: 610px) {
	.contact {
		margin:1% auto 30px
	}
	.contact .left {
		margin:0 auto 15px;
	}
}
@media screen and (max-width: 767px) {
	.contact .left {
		margin:0 auto;
	}
}

/* return to top */	
.return-to-top {
	text-align:center;
}
	.return-to-top a {
		color:#dd0413;
		text-decoration:none;
	}
	.return-to-top a:hover {
		color:#ffffff;
		text-decoration: none;
		transition:0.3s;
	}




