/*
	Theme Name: Jane
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */

html {
	height: 100%;
	font-size: 75%;
}
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 200;
	color:#000;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000;
	text-decoration:none;
}
a:hover {
	color:#000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

body {
	min-height: 100%;
}

.container {
	max-width: 1300px;
	margin: 0 auto;
	position: relative;
}
body.home > .container {
	height: 100vh;
}
.home-image-zone {
	position: absolute;
	top: 6.4rem;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	margin: 0 auto;
	background: #ccc;
	overflow: hidden;
}
.home-image {
    display:block;
    position:absolute;
    margin:auto;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-size: cover;
    background-position: center center; 
}
.home-image.home-image-paysage {
	display: none;
}
.logo {
	font-size: 2rem;
	text-align: center;
	font-weight: 200;
	padding: 1rem;
	text-transform: uppercase;
}
.logo img {
	width: 50px;
	position: absolute;
	top: -0.7rem;
	display: none;
	left: 0;
}


/*------------------------------------*\
    SPLASH
\*------------------------------------*/

.splash {
	height: 100vh;
	width: 100vw;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
	background: #000;
	cursor: pointer;
	
}

.splash canvas {
	opacity: 0;
	position: absolute;
	top: -100%;bottom: -100%;left: -100%;right: -100%;
	margin: auto;
	animation: fadeInSplash 1s;
	animation-fill-mode: forwards;
}
/*.splash canvas.loaded {
	opacity: 1;
}*/

.splash-content {
	width: 100%;
	height: 100%;
	position: relative;
}

.splash-content:after {
	width: 100%;
	height: 100%;
	content: "";
	position: absolute;
	background: white;
	opacity: 0;
	left: 0;
	top: 0;
}

.splash-bg {
	width: 100%;
	height: 100%;
	position: relative;
	background-position: center;
	background-size: cover;
	background-image:url(img/splash/noise.gif);
	opacity: 0.1;
}

.splash video {
	position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0.0875;
}

.splash._off .splash-content {
  animation: shutdown 400ms linear;
  animation-fill-mode: forwards;
}

.splash._off .splash-content:after {
  animation: shutdown-opa 400ms linear;
  animation-fill-mode: forwards;
}
.splash-logo {
	width: 180px;
	height: 249px;
	position: absolute;
	top: 0;left: 0;right: 0;bottom: 0;
	margin: auto;
}
.splash-logo img {
	width: 100%;
}

#canvas-logo {
	width: 230px;
	height: 249px;
}

 @keyframes 
shutdown {  0% {
 transform: scale3d(1, 1, 1);
}
 20% {
 transform: scale3d(1, 1.6, 1);
}
 50% {
 transform: scale3d(1, 0.005, 1);
}
 100% {
 transform: scale3d(0, 0, 1);
}
}

@keyframes 
shutdown-opa {  0% {
 opacity: 0;
}
 50% {
 opacity: 1;
}
 100% {
 opacity: 1;
}
}

@keyframes 
fadeInSplash {  0% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {
	font-family: 'Work Sans', sans-serif;
	position: relative;
	padding: 1rem;
}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    GLITCH ANIMATIONS
\*------------------------------------*/

.glitch {
	animation: fadeIn 0.7s;
	animation-fill-mode: forwards;
	animation-delay: 0.2s;
	opacity: 0;
}
.glitch img.main{
  position:absolute;
  display:block;
  /*animation:tilt 1s infinite linear alternate-reverse;*/
	animation: logomain step-end 2s infinite;
	animation-fill-mode: forwards;
	/*animation-delay: 1s;*/
}
.glitch img.main2 {
	animation:logomain2 step-end 2s infinite;
	animation-fill-mode: forwards;
	/*animation-delay: 1s;*/
}
.glitch img.main3 {
	animation:logomain3 step-end 2s infinite;	
	animation-fill-mode: forwards;
	/*animation-delay: 1s;*/
}
.glitch img.main2, .glitch img.main3{
	position: absolute;
	left: 0;
	top: 0;
}
.glitch img.after{
  position:absolute;
  left:1px;
  top:0;
  overflow:hidden;
  clip:rect(0,900px,0,0);
  animation:noise step-end 1s infinite;
  animation-fill-mode: forwards;
  /*animation-delay: 1s;*/
}
.glitch img.before{
  position:absolute;
  left:-1px;
  top:0;
  overflow:hidden;
  clip:rect(0,900px,0,0);
  animation:noise2 step-end 2s infinite;
  animation-fill-mode: forwards;
  /*animation-delay: 1s;*/
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 0.5;
	}
}
@keyframes tilt {
  0% {
    top: -4px;
    left: 1px;
  }
  5% {
    top: 1px;
    left: 2px;
  }
  10% {
    top: 4px;
    left: -4px;
  }
  15.0% {
    top: 3px;
    left: 4px;
  }
  20% {
    top: -2px;
    left: 2px;
  }
  25% {
    top: 4px;
    left: -3px;
  }
  30.0% {
    top: 1px;
    left: 3px;
  }
  35% {
    top: -2px;
    left: 1px;
  }
  40% {
    top: 2px;
    left: 2px;
  }
  45% {
    top: 4px;
    left: 3px;
  }
  50% {
    top: 1px;
    left: 1px;
  }
  55.0% {
    top: -4px;
    left: 4px;
  }
  60.0% {
    top: 4px;
    left: 1px;
  }
  65% {
    top: -1px;
    left: -2px;
  }
  70% {
    top: 2px;
    left: 4px;
  }
  75% {
    top: -1px;
    left: -4px;
  }
  80% {
    top: 2px;
    left: 1px;
  }
  85.0% {
    top: 1px;
    left: 3px;
  }
  90% {
    top: 4px;
    left: 4px;
  }
  95% {
    top: -4px;
    left: 2px;
  }
  100% {
    top: 3px;
    left: 3px;
  }
}


/*------------------------------------*\
    MAIN MENU
\*------------------------------------*/

/*nav div > ul:first-child > li a:hover {
	font-weight: 400;
}*/

nav {
	display: none;
	position: absolute;
	z-index: 9999;
	background: rgba(255,255,255,0.85);
	text-align: center;	
	top: 100%;
	left: 0;
	right: 0;
	padding: 2rem 1rem;
}

nav ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	font-size: 1.1rem;
	text-transform: lowercase;
}

nav ul ul {
	display: none;
}
nav li {
	font-size: 1.5rem;
	line-height: 1.8;
}
.page-item-37 {
	display: none;
}
.page_item_wpglobus_menu_switch{
	position: absolute;
	top: 0;
}
.page_item_wpglobus_menu_switch ul {
	display: inline-block!important;
}
.wpglobus_flag {
	background: transparent!important;
	padding: 0!important;
}
nav ul.social {
	padding: 2.2rem 0;
}
nav ul.social li {
	display: inline-block;
	position: relative;
	height: 3rem;
	width: 3rem;
	margin: 0 0.5rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

nav ul.social li::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;left: 0;bottom: 0;right: 0;
	transform: scaleX(0.8) rotate(45deg);
	border: 1px solid #000;
	z-index: -1;
}
nav ul.social li a {
	padding: 1rem 0.8rem;
}
nav ul.social li.facebook a {
	padding: 1rem;
}
html .langswitch li {
	text-transform: uppercase;
	font-size: 1rem;
	color: #000;
}
html .langswitch li a:hover {
	font-weight: 400;
}
html[lang*="EN"] .langswitch .toEn, html[lang*="FR"] .langswitch .toFr {
	display: none!important;
}
nav ul.lang-md {
	display: none;
}

@keyframes text-flicker {
		0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
		opacity: .99;
		text-shadow: -1px -1px 0 $outline, 1px -1px 0 $outline, -1px 1px 0 $outline, 1px 1px 0 $outline, 0 -2px 8px, 0 0 2px, 0 0 5px #ff7e00, 0 0 15px #ff4444, 0 0 2px #ff7e00, 0 2px 3px #000;
	}
	20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
		opacity: 0.4;
		text-shadow: none;
	}
 /* 0% {
    opacity:0.3;
  }
  
  2% {
    opacity:1;
  }
  8% {
    opacity:0.3;
  }
  9% {
    opacity:1;
  }
  12% {
    opacity:0.3;
  }
  20% {
    opacity:1;
  }
  25% {
    opacity:0.5;
  }
  30% {
    opacity:1;
  }
  
  70% {
    opacity:0.7;
  }
  
  72% {
    opacity:0.2;
  }
  
  77% {
    opacity:.9;
  }
  100% {
    opacity:.9;
  }*/
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

#nav-icon {
width: 2.1rem;
height: 1.3rem;
position: absolute;
top: 2.6rem;
right: 1rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: #000;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 0.6rem;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 1.2rem;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: -0.15rem;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top: 0.1rem;
}





/*------------------------------------*\
   SCROLLDOWN
\*------------------------------------*/

a.scrolldown {
	position: absolute;
	top: calc(100vh - 3.9rem);
	right: 68px;
	z-index: 900;
}
a.scrolldown span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 18px;
	height: 18px;
	margin-left: -9px;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: rotate(-45deg);
	animation: sdb05 1.5s;
	animation-iteration-count: 2.25;
	animation-fill-mode: forwards;
	box-sizing: border-box;

}

@keyframes sdb05 {
	0% {
		transform: rotate(-45deg) translate(0, 0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: rotate(-45deg) translate(-9px, 9px);
		opacity: 0;
	}
}

/*------------------------------------*\
    LISTE GALERIES
\*------------------------------------*/

#gallery-list {
	max-width: 420px;
	margin: 0 auto;
}
.gallery-link {
	display: block;
	padding-bottom: 33%;
	position: relative;
	height: 0;
}
.gallery-link > span {
	position: absolute;
	display: block;
	top: 0;left: 0;bottom: 0;right: 0;margin: auto;	
	background-size: cover;
	background-position: center;
}
.gallery-link > span > span {
	position: absolute;
	display: block;
	top: 0;left: 0;bottom: 0;right: 0;margin: auto;
	background-color: rgba(255,255,255,0.7);
	transition: opacity 0.5s;
}
/*.gallery-link:focus > span {
	opacity: 0;
}*/
.gallery-link > span > span > span {
	position: absolute;
	text-transform: lowercase;
	/*animation:tilt 1s infinite linear alternate-reverse;*/
	padding: 20px;
	font-size: 1.5rem;
}


/*------------------------------------*\
    GALERIE
\*------------------------------------*/

body.page-template-template-gallery	{ 
	max-width: 1300px;
	margin: 0 auto!important;
	position: relative;
	height: 100%!important;
}
.page-template-template-gallery header {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9998;
	background: white;
	max-width: 1300px;
    margin: auto;
}
.page-template-template-gallery main {
	text-align: center;
}

.page-template-template-gallery footer {
	position: fixed;
	bottom: 0;
	height: 1rem;
	width: 100%;
	background: white;
}
.page-template-template-gallery main .section-inner {
	height: calc(100% - 7.4rem);
	margin: 6.4rem 4.2rem 1rem;
	position: relative;
}
.page-template-template-gallery main .section-inner div {
	/*position: relative;
	height: 100%;*/
	position: absolute;
	top: 0;left: 0;right: 0;bottom: 0;margin: auto;

}
.page-template-template-gallery main img {
	/*max-width: calc(100vw - 2rem);
	max-height: calc(100vh - 7.4rem);*/
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 100%;
    max-height: 100%;
}
/*
#fp-nav {
	margin-top: 0!important;
	top: auto;
	bottom: 0;
}
*/
html #fp-nav {
    right: 0;
    bottom: 5.4rem;
    top: 6.4rem;
    margin-top: 0!important;
    max-width: 1300px;
    margin: 0 auto;
    position: absolute;
}
html #fp-nav.right {
	right: 0;
}
html #fp-nav ul {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    position: absolute;
    right: 11px;

}

html #fp-nav ul li {
	margin: 5px 7px;
}

html #fp-nav ul li a span, html #fp-nav ul li:hover a span  {
    transform: scaleX(0.8) rotate(45deg);
    border: 1px solid #000;
    border-radius: 0;
    position: absolute;
    z-index: 1;
    height: 0.7rem;
    width: 0.7rem;
    background: transparent;
    left: 50%;
    top: 50%;
    margin: -0.35rem 0 0 -0.35rem;
}
html #fp-nav ul li a.active span, html #fp-nav ul li:hover a.active span {
    border-radius: 0;
    background-color: #000;
    height: 0.7rem;
    width: 0.7rem;
    margin: -0.35rem 0 0 -0.35rem;
}


.gallery-legend-toggle {
    cursor: pointer;
    height: 2.1rem;
    width: 2.1rem;
    position: absolute!important;
    top: calc(100vh - 3.6rem);
    right: 1rem;
    background-image: url('img/svg/logo-question.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9997;
}
.gallery-legend-toggle::before {
	content: "";
	border: 1px solid #000;
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
	transform: scaleX(0.8) rotate(45deg);
}
.gallery-legend {
	display: none;
	position: fixed;
	bottom: 5.4rem;
	left: 0;
	z-index: 9998;
	color: black;
	background: rgba(255,255,255,0.85);
	padding: 0 1rem;
	width: 100%;
	text-align: center;
	border-top: 1px solid rgba(0,0,0,0.1);

}
.gallery-legend .container {
	max-width: calc(1300px - 2rem);
}
.gallery-legend h1 {
	font-size: 1.4rem;
	margin: 0.55rem 0 0.3rem;
	font-weight: 200;
	text-transform: uppercase;
}
.gallery-legend p {
	margin: 0 auto 0.5rem;	
}
.gallery-legend-close {
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 0.5rem;
	width: 2rem;
	height: 2rem;
}
.gallery-legend-close::before,.gallery-legend-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	height: 1px;
	width: 1.5rem;
	background-color: #000;
	margin-left: -0.75rem;
	margin-top: -0.5px;
	-webkit-transform-origin: center center;
 	-moz-transform-origin: center center;
	-o-transform-origin: center center;
 	transform-origin: center center;
}
.gallery-legend-close::before {
	transform: rotate(45deg);

}
.gallery-legend-close::after {
	transform: rotate(-45deg);

}

.image-overlay {
	display: none;
	opacity: 0;
	background: rgba(255,255,255,0.3);
}
.image-overlay-inner > div {
	position: static;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}


/*------------------------------------*\
	VIDEO
\*------------------------------------*/

article.video {
	max-width: 800px;
	margin: 0 auto;
	padding: 1rem;
	text-align: center;
	
}
article.video .embed-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}


article.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
article.video h2 {
	font-size: 1.2rem;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 0;
}
article.video .legende>p:first-child {
	margin-top: 0;
}

article.video>img {
	display: none;
}
article.video .fa {
	display: none !important;
	font-size: 4rem;
	line-height: 1;
	margin: 1rem 0;
}

/*------------------------------------*\
	CINE
\*------------------------------------*/

#cinema-main {
	padding: 1rem;
}
.film {
	width: 100%;
	max-width: 400px;
	margin: 0 auto 3rem;
	text-align: center;
	line-height: 1.5;
}
.film h4, .comingsoon h4 {
	font-size: 1.5rem;
	text-transform: uppercase;
	font-weight: 200;
	margin-top: 0.5rem;
	margin-bottom: 0;
}
.film p, .comingsoon p {
	margin: 0;
}
.film .role::before, .film .role::after {
	content: '';
	height: 1px;
	width: 30px;
	display: block;
	background: rgba(0,0,0,0.1);
	margin: 0.5rem auto;
}
.film .role, .comingsoon .role {
	font-size: 1.1rem;
}	
.film .front {
	position: relative;
	padding-bottom: 135%;
}
.film .front div{
	position: absolute;
	top: 0;bottom: 0;left: 0;right: 0;
	margin: auto;
	background-size: cover;
	background-position: center;
}



a.trailer {
	display: block;
	margin: 1rem auto;
	position: relative;
	height: 2.6rem;
	width: 2.6rem;
}
.comingsoon .film {
	position: relative;
	text-align: left;
}
.comingsoon a.trailer {
	position: absolute;
	right: 0;
	top: 1rem;
	display: block;
	margin: 1rem auto;
	height: 2.6rem;
	width: 2.6rem;
	text-align: center;
}
a.trailer::before {
	display: block;
	position: absolute;
	content: "";
	height: 2.6rem;
	width: 2.6rem;
	border: 1px solid rgba(0,0,0,0.5);
	transform: scaleX(0.8) rotate(45deg);
	transition: border-color 0.5s;
}
a.trailer span {
    line-height: 2.6rem;
    font-size: 1.4rem;
	border-color: rgba(0,0,0,0.5);
	transition: border-color 0.5s;
}
a.trailer:hover::before, a.trailer:hover span {
	border-color: black;
}

.comingsoon h3 {
	text-transform: lowercase;
	text-align: center;
	font-weight: 200;
	
}

.comingsoon .filmsoon::before {
	content: '';
	height: 1px;
	width: 100%;
	display: block;
	background: rgba(0,0,0,0.1);
	margin: 1rem auto;
}
.comingsoon .film .role::after {
	display: none!important;
}
.comingsoon h4 {
	text-align: left;
	font-size: 1.2rem;
}

.comingsoon .role::before {
	content: '';
	height: 1px;
	width: 30px;
	display: block;
	background: rgba(0,0,0,0.1);
	margin: 0.5rem 0;
}
/*------------------------------------*\
	BIOOGRAPHY
\*------------------------------------*/

.page-template-template-bio main {
	padding: 0 10px 10px;
}
.biography {
	/*border-bottom: 1px solid rgba(0,0,0,0.2);*/
	text-align: justify;
	font-size: 1.2rem;
}
.biography img {
	display: block;
	max-width: 200px;
	margin: 0 auto;
}
.biography>div>p:last-child {
	border-top: 1px solid rgba(0,0,0,0.2);
	font-size: 1rem;
	padding-top: 1rem;
}
/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (orientation: landscape) {
	.home-image.home-image-portrait {
		display: none;
	}
	.home-image.home-image-paysage {
		display: block;
	}	
	.gallery-legend {
		bottom: 1rem;
	}

	a.scrolldown {
		display: none;
		top: calc(100vh - 7.8rem);
		left: auto;
		right: 1rem;
		height: 2.1rem;
		width: 2.1rem;
	}
	a.scrolldown::before {
		display: block;
		position: absolute;
		content: "";
		height: 2.1rem;
		width: 2.1rem;
		border: 1px solid rgba(0,0,0,0.5);
		transform: scaleX(0.8) rotate(45deg);
		transition: border-color 0.5s;
	}
	a.scrolldown span {
		width: 10px;
		height: 10px;
		margin-left: -5px;
		margin-top: 0.1rem;
		border-color: rgba(0,0,0,0.5);
		transition: border-color 0.5s;
	}
	a.scrolldown:hover::before, a.scrolldown:hover span {
		border-color: black;
	}
}
@media only screen and (orientation: portrait) {
	.page-template-template-gallery main .section-inner {
		height: calc(100% - 11.8rem);
		margin: 6.4rem 1rem 5.4rem;
	}
	.page-template-template-gallery footer {
		height: 5.4rem;
	}
	.gallery-legend-toggle {
		cursor: pointer;
		z-index: 9999;
	}
	html #fp-nav.right {
		left: 0.6rem;
		right: auto;
		top: auto;
		bottom: 1.6rem;
	}
	html #fp-nav ul {
		position: static;
		flex-flow: row nowrap;
	}
	html #fp-nav ul li {
		margin: 0.4rem 0.33rem;
	}
}

@media only screen and (max-height:420px) and (max-width:1024px) and (orientation: landscape) {
	nav {
		padding: 1rem 0;
		margin: 0 -1rem;
		border-bottom: 1px solid rgba(0,0,0,0.1);
		z-index: 9999;
	}
	nav .menu ul {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		max-width: 23rem;
		margin: 0 auto;
	}
}

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

}
@media only screen and (min-width:640px) {
	.page-template-template-bio main {
		max-width: 800px;
		margin: 0 auto;
	}
	.biography  {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		justify-content: center;
	}
	.biography > div {
		margin-left: 3rem;
	}
	.biography img {
		margin: 1rem 0;
	}
	/*
	.page-template-template-bio main {
		padding: 0 10px 10px;
	}
	.biography {
		border-bottom: 1px solid rgba(0,0,0,0.2);
		text-align: justify;
		font-size: 1.2rem;
	}
	.biography img {
		display: block;
		max-width: 150px;
		margin: 0 auto;
	}
	*/
		.image-overlay.sized {
		display: block;
		transition: all 0.5s;
		overflow: hidden;

	}
	.image-overlay svg, .image-overlay .image-overlay-inner div{
		transform: scale(0.1);
		transition: all 0.5s;
	}
	.image-overlay.sized:hover {
		opacity: 1;	
	}
	.image-overlay:hover svg, .image-overlay:hover .image-overlay-inner div{
		transform: scale(1);
	}
	.image-overlay a {
		color: rgba(0,0,0,0.4);
		font-size: 3rem;
		width: 3rem;
		margin: 0 auto;
		transition: color 0.5s;
	}
	.image-overlay a:hover {
		color: black;
	}
	.image-overlay a.gallery {
		font-size: 4rem;
		width: 4rem;	
	}

	.page-template-template-gallery main .section-inner .image-overlay-inner div {
		top: 20%;
		bottom: 20%;
	}
	.image-overlay a.next:hover {
		animation: animdown 1s;
		animation-iteration-count: infinite;
		transition: all 0.7s;
	}
	.image-overlay a.prev:hover {
		animation: animup 1s;
		animation-iteration-count: infinite;
		transition: all 0.7s;
	}
	@keyframes animdown {
	0% {
		transform: translate(0, 0px);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translate(0, 8px);
		opacity: 0;
	}
	}
	@keyframes animup {
	0% {
		transform: translate(0, 0px);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translate(0, -8px);
		opacity: 0;
	}
	}

	#gallery-main .section:first-child a.prev, #gallery-main .section:last-child a.next {
		visibility: hidden;
	}
	.page-template-template-gallery .fancybox-bg {
		background-color: #fff!important;
		opacity: 0.95!important;
	}
	.page-template-template-gallery .fancybox-container--thumbs .fancybox-slider-wrap,
	.page-template-template-gallery .fancybox-container--thumbs .fancybox-controls {
		right: 0!important;
	}
	.fancybox-thumbs {
		/*top: auto;
		left: 0;bottom: 0;right: 0;*/
		width: 110px;
		background: rgba(255,255,255,0.5);
		margin-top: 44px;
		padding: 5px;
	}
	.fancybox-thumbs > ul {
		/*text-align: center;
		white-space: nowrap;
		overflow-y: hidden;
		overflow-x: auto;*/
	}
	.fancybox-thumbs > ul > li {
		/*float: none;
		display: inline-block;*/
		border: 5px solid transparent;
		max-width: 100%;

	}
}
@media only screen and (min-width:1024px) {
	.logo {
		text-align: left;
		position: relative;
		float: left;
	}
	.logo a {
		padding-left: 4rem;
	}
	.logo img {
		display: block;
	}

	#nav-icon {
		display: none;
	}
	nav {	
		display: block;
		position: static;
		float: right;
		padding: 1rem 0 1rem 1rem;
		background: transparent;
	}

	nav > div, nav > ul {
		float: left;
	}

	nav > div > ul:first-child > li {
		display: inline-block;
		padding: 0 0.4rem;
	}
	nav > div > ul:first-child > li:first-child {
		display: none;
	}
	nav > div > ul:first-child > li > a {
		display: inline-block;
	}
	body.home nav > div > ul:first-child > li > a {
		padding-bottom: 1.7rem;		
	}
	nav ul.social {
		padding: 0.25rem 1rem 0;
	}
	nav ul.social li {
		width: 2.2rem;
		height: 2.2rem;
		font-size: 1.3rem;
	}
	nav ul.social li::before {
		border-color: rgba(0,0,0,0.5);
		transition: all 0.5s;
	}
	nav ul.social li:hover::before {
		border-color: #000;
	}
	nav ul.social li a {
		padding: 1rem 0.6rem;
		color: rgba(0,0,0,0.4);
		transition: all 0.5s;
	}
	nav ul.social li.facebook a {
		padding: 1rem 0.8rem;
	}
	nav ul.social li:hover a {
		color: #000;
	}
	nav ul.langswitch {
		display: none;
	}
	nav ul.lang-md {
		display: block;
		color: #777;
		position: relative;
		transition: color 0.5s;
		margin: 0.6rem 0 0 0.5rem;
	}
	nav ul.lang-md:hover {
		color: #000;
	}
	.menu_item_wpglobus_menu_switch .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
	}
	nav ul.lang-md > li {
		display: inline-block;
		width: 22px;
		text-align: left;
	}
	nav ul.lang-md li {
		line-height: 1;
	}
	nav ul.lang-md a {
		font-size: 1.2rem;
		color: #999;
		transition: color 0.5s;
		text-transform: uppercase;
	}
	nav ul.lang-md:hover a {
		color: #000;
	}
	nav ul li {
		position: relative;
	}
	nav li:hover>a {
		font-weight: 400!important;
	}
	nav .menu > ul:first-child li:hover > a {
			animation: text-flicker 3s linear infinite;
	}
	nav li:hover ul.children {
		display: block;
		position: absolute;
		top: 100%;
		left: -100%;
		right: -100%;
		z-index: 9999;
		padding: 1rem;
		background-color: rgba(255,255,255,0.8);
		margin: 0 -2rem;
		/*border-left: 1px solid rgba(0,0,0,0.4);
		border-bottom: 1px solid rgba(0,0,0,0.4);*/
	}
	nav ul ul li {
		white-space: nowrap;
		position: relative;
	}

	.menu_item_wpglobus_menu_switch .sub-menu a:hover {
		font-weight: bold;
	}
	#gallery-list {
		max-width: 860px;
		display: flex;
		flex-flow: row wrap;
	}
	.gallery-link {
		width: 400px;
		padding-bottom: 0;
		height: 133px;
		margin: 15px;
		overflow: hidden;
	}
	.gallery-link > span {
		transition: all 0.3s;
	}
	.gallery-link:hover > span {
		 transform: scale(1.05);
		}
	.gallery-link > span > span {
		opacity: 0;
		transform: opacity 0.5s;
		background-color: rgba(255,255,255,0.85);
	}
	.gallery-link:hover > span > span {
		opacity: 1;
	}
	.gallery-link:hover > span > span > span {
		animation:tilt 1s infinite linear alternate-reverse;
		font-weight: 400;
	}


	.gallery-legend-toggle {
		opacity: 0.5;
		transition: opacity 0.5s;
	}
	.gallery-legend-toggle::before {
		border-color: black;
	}
	.gallery-legend-toggle:hover {
		opacity: 1;
	}
	.gallery-legend h1 {
		font-size: 1.8rem;
	}
	.gallery-legend p {
		font-size: 1.2rem;
	}




	#videos-main {
		margin: 0 auto;
		max-width: 860px;
		display: flex;
		flex-flow: row wrap;
	}
	article.video {
		width: 400px;
		overflow: hidden;
		position: relative;
		padding: 0;
		margin: 15px;
		transition: all 0.3s;
	}
	article.video img {
		display: inline-block;
		transition: all 0.3s;
	}
	article.video iframe, article.video .embed-wrap {
		display: none;
	}
	article.video>a {
		display: block;
	}
	article.video .fa {
		display: block !important;
	}


	article.video:hover img {
		transform: scale(1.05);
	}

	article.video .legende {
		position: absolute;
		top: 0;
		left: 0;
		right:0;
		bottom: 0;
		background: rgba(255,255,255,0.85);
		content: '';
		opacity: 0;
		transition: all 0.3s;
		display: table;
		height: 225px;
		width: 100%;
	}
	article.video .legende-inner {
		display: table-cell;
		vertical-align: middle;
	}
	article.video .legende:hover {
		opacity: 1;
	}




	#cinema-main {
		padding: 0;
		margin: 0 auto;
		max-width: 860px;
		display: flex;
		flex-flow: row wrap;
	}
	article.film, .comingsoon {
		overflow: hidden;
		position: relative;
		padding: 0;
		margin: 15px;
		transition: all 0.3s;
	}


	/* entire container, keeps perspective */
	article.film, .comingsoon {
		perspective: 1000px;
	}
	/* flip the pane when hovered */
	article.film:hover .flipper, article.film.hover .flipper,
	.comingsoon:hover .flipper, .comingsoon.hover .flipper {
		transform: rotateY(180deg);
	}

	article.film, .comingsoon, .front, .back {
		width: 256px;
		height: 346px;
	}

	/* flip speed goes here */
	.flipper {
		transition: all 0.6s;
		transform-style: preserve-3d;

		position: relative;
	}

	/* hide back of pane during swap */
	.front, .back {
		backface-visibility: hidden;

		position: absolute;
		top: 0;
		left: 0;
	}

	/* front pane, placed above back */
	.front {
		z-index: 2;
		/* for firefox 31 */
		transform: rotateY(0deg);
	}

	/* back, initially hidden pane */
	.back {
		transform: rotateY(180deg);
		display: table;
	}
	.back-content {
		display: table-cell;
		vertical-align: middle;
		margin: 1rem;
	}


	.film .back-bg {
		position: absolute;
		top: 0;bottom: 0;left: 0;right: 0;
		margin: auto;
		background-size: cover;
		background-position: center;
		opacity: 0.1;
		transform: scaleX(-1);
	}

	article.film .role::after {
		display: none;
	}
	article.film a.trailer {
		margin-top: 4rem;
	}
	article.film a.trailer, article.film a.trailer::before {
		width: 3.6rem;
		height: 3.6rem;
	}
	article.film a.trailer span {
		line-height: 3.6rem;
		font-size: 1.8rem;
	}
	.comingsoon .front, .comingsoon .back {
		display: table;	
		padding: 1rem;
	}
	.comingsoon .front::before, .comingsoon .back::before {
		content: '';
		position: absolute;
		top: 0;left: 0;right: 0;bottom: 0;margin: auto;
		opacity: 0.08;
	    background-size: cover;
	    background-image: url(img/splash/noise.gif);
	    background-position: center;
	}
	.comingsoon h3 {
		font-size: 1.8rem;
		margin: 0;
		display: table-cell;
		vertical-align: middle;
	}
	.filmsoon:first-child a.trailer {
		top: 0;
	}
	.filmsoon:first-child::before {
		display: none;
	}



}

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

}
@media only screen and (min-width:1200px) {
	#cinema-main {
		max-width: 1150px;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/* réso bug iOS */

/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
.fullheight {
height: 768px;
}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
.fullheight {
height: 1024px;
}
}
/* iphone5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
.fullheight {
height: 320px;
}
}
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
.fullheight {
height: 568px;
}
}
/* iPhone 4 */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
.fullheight {
height: 320px;
}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
.fullheight {
height: 480px;
}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	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:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	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;
	}
}
