@charset "UTF-8";

/* GLOBAL */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	position: relative;
	font-family: Arial, sans-serif;
	font-size: 1em;
	line-height: 1.25;
	background: #1a1a1a;
}

#debug {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	color: #000;
	margin: 0;
	text-align: center;
}

/* MAIN */
#main {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

/* SPLATCH */
#splatch {
	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	opacity: 1;
}
#splatch.hide {
	opacity: 0;
}
#splatch .logo {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: auto;
	height: 150px;
	color: #fff;
	margin-top: -75px;
}
body.splatch #splatch {
	display: block;
}
body.splatch #main {
	display: none;
}

.splatch .loading {
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	margin-right: 45px;
	height: 6px;
	margin-top: 30px;
	border-radius: 3px;
	background: rgba(0,0,0,.5);
}
.splatch .loading.hide {
	opacity: 0;
}
.splatch .loading .bar {
	display: block;
	width: 0;
	height: 6px;
	border-radius: 3px;
	background: #fff;
	-webkit-transition:all .5s ease-out; -moz-transition:all .5s ease-out; -ms-transition:all .5s ease-out; -o-transition:all .5s ease-out; transition:all .5s ease-out;
}
.splatch .loading .prct {
	position: absolute;
	top: -6px;
	right: -50px;
	font-family: 'Work Sans';
	font-size: 15px;
	color: #fff;
	font-weight: 700;
}

.splatch .bottom {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	text-align: center;
	font-family: 'Work Sans';
	font-size: 15px;
	color: #fff;
}
.splatch .bottom strong {
	font-weight: 700;
}

/* ADD PWA */
#ios-home-screen {
	display: none;
	position: fixed;
	z-index: 100;
	left: 50%;
	bottom: 20px;
	width: auto;
	text-align: center;
	background: rgba(255,255,255,.75);
	border-radius: 3px;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 900;
	pointer-events: none;
}
#ios-home-screen:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	margin-left: -10px;
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid rgba(255,255,255,.75);
}
#ios-home-screen p {
	text-align: center;
	margin: 0;
}
#ios-home-screen.hide {
	opacity: 0;
}

/* TURN PHONE */
#turn-phone {
	display: none;
	position: absolute;
	z-index: 900;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
}
#turn-phone p {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-weight: bold;
	color: #fff;
}
@media only screen and (max-device-width : 600px) and (orientation:landscape) {
	#turn-phone {
		display: flex;
	}
	body.can-rotate #turn-phone {
		display: none !important;
	}
}

/* MENU */
#menu {
	position: fixed;
	z-index: 2;
	top: 25px;
	right: 25px;
}
body.is-nav #menu {
	top: 55px;
}
#menu .action, #menu .action-menu {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	display: block;
	width: 50px;
    height: 50px;
	border-radius: 50%;
	/*box-shadow: 0 0 20px 0 rgba(0,0,0,.1);*/
}
#menu .action {
	z-index: 2;
}
#menu .action-menu {
	opacity: 0;
}
#menu.open .action-menu {
	opacity: 1;
}
#menu.open .action-menu.n1 {
	right: 55px;
}
#menu.open .action-menu.n2 {
	right: 110px;
}
#menu.open .action-menu.n3 {
	right: 165px;
}
#menu .action .close {
	display: none;
}
#menu.open .action .open {
	display: none;
}
#menu.open .action .close {
	display: block;
}
#menu .action .circle, #menu .action-menu .circle {
	-webkit-transition:all .15s ease-out; -moz-transition:all .15s ease-out; -ms-transition:all .15s ease-out; -o-transition:all .15s ease-out; transition:all .15s ease-out;
}
#menu.light .action .circle, #menu.light .action-menu .circle {
	fill: #fff;
}

/* INFOS */
/*.infos-button {
	position: absolute;
	z-index: 30;
	left: 50%;
	bottom: 25px;
	margin-left: -30px;
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
}
.infos-button.open {
	box-shadow: none;
}
.infos-button > svg.i {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	opacity: 1;
	-webkit-transform:scale(1);
	-moz-transform:scale(1);
	-ms-transform:scale(1);
	-o-transform:scale(1);
	transform:scale(1);
}
.infos-button > svg.x {
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	margin: 15px;
	opacity: 0;
	-webkit-transform:rotate(45deg) scale(.7);
	-moz-transform:rotate(45deg) scale(.7);
	-ms-transform:rotate(45deg) scale(.7);
	-o-transform:rotate(45deg) scale(.7);
	transform:rotate(45deg) scale(.7);
}
.infos-button.open > svg.i {
	-webkit-transform:scale(.7);
	-moz-transform:scale(.7);
	-ms-transform:scale(.7);
	-o-transform:scale(.7);
	transform:scale(.7);
}
.infos-button.open > svg.x {
	opacity: 1;
	-webkit-transform:rotate(0) scale(1);
	-moz-transform:rotate(0) scale(1);
	-ms-transform:rotate(0) scale(1);
	-o-transform:rotate(0) scale(1);
	transform:rotate(0) scale(1);
}
.infos-button > .black {
	display: none;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 24px;
	height: 24px;
	margin: 13px;
	background: #000;
	-webkit-transform:scale(1);
	-moz-transform:scale(1);
	-ms-transform:scale(1);
	-o-transform:scale(1);
	transform:scale(1);
}
.infos-button.transition > .black {
	display: none;
}
.infos-button.open > .black {
	-webkit-transform:scale(.17);
	-moz-transform:scale(.17);
	-ms-transform:scale(.17);
	-o-transform:scale(.17);
	transform:scale(.17);
}
.infos-background {
	position: absolute;
	z-index: 10;
	left: 50%;
	bottom: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-left: -25px;
	-webkit-transform:scale(0);
	-moz-transform:scale(0);
	-ms-transform:scale(0);
	-o-transform:scale(0);
	transform:scale(0);
}
.infos-content {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transform-origin: center bottom;
	-moz-transform-origin: center bottom;
	-ms-transform-origin: center bottom;
	-o-transform-origin: center bottom;
	transform-origin: center bottom;

	-webkit-transform:translate(0,75%) scale(.7);
	-moz-transform:translate3d(0,75%,0) scale(.7);
	-ms-transform:translate3d(0,75%,0) scale(.7);
	-o-transform:translate3d(0,75%,0) scale(.7);
	transform:translate(0,75%) scale(.7);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}
.infos-content.open {
	-webkit-transform:translate(0,0) scale(1);
	-moz-transform:translate3d(0,0,0) scale(1);
	-ms-transform:translate3d(0,0,0) scale(1);
	-o-transform:translate3d(0,0,0) scale(1);
	transform:translate(0,0) scale(1);
	visibility: visible;
	opacity: 1;
}

#menu, #fp-nav.fp-right, .fp-slidesNav.fp-top {
	-webkit-transition:opacity .15s ease-out; -moz-transition:opacity .15s ease-out; -ms-transition:opacity .15s ease-out; -o-transition:opacity .15s ease-out; transition:opacity .15s ease-out;
}
#menu.hide, #fp-nav.fp-right.hide, .fp-slidesNav.fp-top.hide {
	opacity: 0;
}

@media only screen and (max-device-width : 600px) and (orientation:landscape) {
	.infos-button, .infos-background {
		left: auto;
		right: 150px;
	}
}*/

.infosv2 {
	position: absolute;
	z-index: 10;
	bottom: 35px;
	left: 38px;
	right: 38px;
	max-height: 34px;
	max-width: 100px;
	background: #fff;
	border-radius: 17px;
	overflow: hidden;
	margin: 0 auto;
}
.infosv2.open {
	max-width: calc(100vw - 38px - 38px);
}
.infosv2.open2 {
	bottom: 25px;
	max-height: calc(50vh - 25px);
}
.infosv2 .inner {
	font-family: 'Work Sans';
	padding: 20px 26px;
}
.infosv2 .icon {
	display: block;
	text-align: center;
	opacity: 0;
}
.infosv2 .icon svg {
	width: 12px;
	height: 12px;
	margin: 12px 0 0 -6px;
}
.infosv2 .label {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	color: #000;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}
.infosv2.open .label {
	opacity: 0;
}
.infosv2 .title {
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	color: #000;
	opacity: 0;
}
.infosv2 .text {
	font-weight: 400;
	font-size: 13px;
	color: rgba(0,0,0,.5);
	opacity: 0;
}
.infosv2.open2 .title, .infosv2.open2 .text, .infosv2.open2 .icon {
	opacity: 1;
}

/* SCAN */
#scan {
	position: absolute;
	z-index: 900;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	visibility: hidden;
	pointer-events: none;
	-webkit-transform:translate(100%,0);
	-moz-transform:translate3d(100%,0,0);
	-ms-transform:translate3d(100%,0,0);
	-o-transform:translate3d(100%,0,0);
	transform:translate(100%,0);
}
#scan.open {
	-webkit-transform:translate(0,0);
	-moz-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0);
	-o-transform:translate3d(0,0,0);
	transform:translate(0,0);
	visibility: visible;
	pointer-events: auto;
}

#scan #canvas-scan {
	display: block;
	width: 100%;
	height: 100%;
}

#scan a.close {
	position: absolute;
	z-index: 10;
	display: block;
	top: 30px;
	right: 30px;
	width: 31px;
	height: 31px;
	border-radius: 50%;
}

#scan .message {
	position: absolute;
	z-index: 9;
	display: block;
	top: 50%;
	left: 20px;
	right: 20px;
	font-weight: bold;
	color: #fff;
	border-radius: 5px;
	background: rgba(0,0,0,.5);
	padding: 8px 16px;
	margin: 0;
	text-align: center;
	opacity: 0;
	pointer-events: none;
}
#scan .message.scan, #scan .message.noqrcode {
	top: auto;
	bottom: 20px;
}
#scan .message.open {
	opacity: 1;
	pointer-events: auto;
}

#scan .scan-v2 {
	position: absolute;
	top: 50%;
	left: 50%;
}
#scan #input-scan {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
#scan #input-scan + label {
	cursor: pointer;
}
#scan #input-scan + label {
	font-size: 15px;
	font-weight: 900;
	color: #fff;
	padding: 8px 16px;
	background-color: #f00;
	display: inline-block;
}

/* TABLES */
#tables {
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 900;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	visibility: hidden;
	pointer-events: none;
	-webkit-transform:translate(100%,0);
	-moz-transform:translate3d(100%,0,0);
	-ms-transform:translate3d(100%,0,0);
	-o-transform:translate3d(100%,0,0);
	transform:translate(100%,0);
}
#tables.open {
	-webkit-transform:translate(0,0);
	-moz-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0);
	-o-transform:translate3d(0,0,0);
	transform:translate(0,0);
	visibility: visible;
	pointer-events: auto;
}

#tables a.close {
	position: absolute;
	z-index: 10;
	display: block;
	top: 30px;
	right: 30px;
	width: 31px;
	height: 31px;
	border-radius: 50%;
}

#tables .scroll {
	width: 100%;
	max-height: 100%;
	overflow-y: scroll;
}
#tables .inner {
	color: #fff;
	padding: 30px 30px;
	text-align: center;
}
#tables .inner .title {
	display: inline-block;
	margin: 0;
	margin-bottom: 30px;
}
#tables .inner ul, #tables .inner li {
	margin: 0;
	padding: 0;
}
#tables .inner > ul > li {
	margin-bottom: 20px;
}
#tables .inner > ul > li > ul > li {
	
}

/* HELP */
#help {
	position: absolute;
	z-index: 900;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	visibility: hidden;
	overflow: hidden;
	pointer-events: none;
	-webkit-transform:translate(100%,0);
	-moz-transform:translate3d(100%,0,0);
	-ms-transform:translate3d(100%,0,0);
	-o-transform:translate3d(100%,0,0);
	transform:translate(100%,0);
}
#help.open {
	-webkit-transform:translate(0,0);
	-moz-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0);
	-o-transform:translate3d(0,0,0);
	transform:translate(0,0);
	visibility: visible;
	pointer-events: auto;
}

#help a.close {
	position: absolute;
	z-index: 10;
	display: block;
	top: 30px;
	right: 30px;
	width: 31px;
	height: 31px;
	border-radius: 50%;
}

#help .bottom {
	position: absolute;
	z-index: 11;
	left: 0;
	right: 0;
	bottom: 10px;
	color:#fff;
	font-weight: bold;
}

#help .steps {
	position: absolute;
	z-index: 9;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#help .steps.n2 {
	-webkit-transform:translate(-100%,0);
	-moz-transform:translate3d(-100%,0,0);
	-ms-transform:translate3d(-100%,0,0);
	-o-transform:translate3d(-100%,0,0);
	transform:translate(-100%,0);
}
#help .steps.n3 {
	-webkit-transform:translate(-200%,0);
	-moz-transform:translate3d(-200%,0,0);
	-ms-transform:translate3d(-200%,0,0);
	-o-transform:translate3d(-200%,0,0);
	transform:translate(-200%,0);
}
#help .steps.n4 {
	-webkit-transform:translate(-300%,0);
	-moz-transform:translate3d(-300%,0,0);
	-ms-transform:translate3d(-300%,0,0);
	-o-transform:translate3d(-300%,0,0);
	transform:translate(-300%,0);
}
#help .steps.n5 {
	-webkit-transform:translate(-400%,0);
	-moz-transform:translate3d(-400%,0,0);
	-ms-transform:translate3d(-400%,0,0);
	-o-transform:translate3d(-400%,0,0);
	transform:translate(-400%,0);
}

#help .steps .step {
	position: absolute;
	width: 100vw;
	height: 100%;
	top: 0;
	left: 0;
	color: #fff;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}
#help .steps .step.n2 {
	left: 100%;
}
#help .steps .step.n3 {
	left: 200%;
}
#help .steps .step.n4 {
	left: 300%;
}
#help .steps .step.n5 {
	left: 400%;
}

#help .bg svg {
	position: absolute;
	width: 100%;
	height: 100%;
}
#help .bg svg .bg-mask {
	fill: rgba(0, 0, 0, .8);
}
#help .bg svg .polygon  {
	display: none;
}

#help .bg.n2 svg .polygon.n2, #help .bg.n2 svg .polygon.n2bis,
#help .bg.n3 svg .polygon.n3,
#help .bg.n4 svg .polygon.n4,
#help .bg.n5 svg .polygon.n5 {
	display: block;
}

/* FULLPAGE */
.fp-slidesNav {
	text-align: center;
}
.fp-slidesNav.fp-top {
	top: 7px;
}
#fp-nav {
	display: none !important;
}
#fp-nav.fp-right {
	right: 7px;
}
.fp-sr-only {
	color: transparent;
	opacity: 0;
}
#fp-nav ul li a span, .fp-slidesNav ul li a span {
	width: 4px !important;
	height: 4px !important;
	margin: -4px 0 0 -4px !important;
	border: 2px solid #333;
	background-color: transparent;
	-webkit-transition:all .15s ease-out;-moz-transition:all .15s ease-out;-ms-transition:all .15s ease-out;-o-transition:all .15s ease-out;transition:all .15s ease-out;
}
#fp-nav ul li, .fp-slidesNav ul li {
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
}
#fp-nav ul li a, .fp-slidesNav ul li a {
	width: auto;
	height: auto;
	padding: 8px;
}
#fp-nav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li a.active span, .fp-slidesNav ul li:hover a.active span {
	background-color: #333;
}
#fp-nav ul li:hover a span, .fp-slidesNav ul li:hover a span {
	background-color: rgba(51,51,51,.65);
}

#fp-nav.light ul li a span, .fp-slidesNav.light ul li a span {
	border-color: #fff;
}
#fp-nav.light ul li a.active span, #fp-nav.light ul li:hover a.active span, .fp-slidesNav.light ul li a.active span, .fp-slidesNav.light ul li:hover a.active span {
	background-color: #fff;
}
#fp-nav.light ul li:hover a span, .fp-slidesNav.light ul li:hover a span {
	background-color: rgba(255,255,255,.65);
}

.fp-no-easing {
	-webkit-transition: all 0s ease-out !important;
	-moz-transition: all 0s ease-out !important;
	transition: all 0s ease-out !important;
}

.section, .slide {
	position: relative;
	overflow: hidden;
}

.section > .top {
	position: absolute;
	z-index: 100;
	top: 11px;
	left: 20px;
	right: 45px;
	pointer-events: none;
}
.section > .top p {
	color: #fff;
	margin: 0;
	font-family: 'Work Sans';
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.section > .top .rotate {
	position: absolute;
	z-index: 10;
	top: -2px;
	right: -30px;
	pointer-events: none;
}
.section > .top .rotate > svg {
	width: 30px;
	height: 19px;
}

.fp-slidesNav.fp-top {
	top: 32px;
	left: 20px !important;
	right: 17px;
}
.fp-slidesNav.fp-top ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.fp-slidesNav.fp-top ul li {
	width: 100%;
	margin-right: 3px;
}
.fp-slidesNav.fp-top ul li a {
	padding: 0;
	height: 3px;
	background: rgba(255,255,255,.5);
}
.fp-slidesNav.fp-top ul li:first-child a {
	border-radius: 1px 0 0 1px;
}
.fp-slidesNav.fp-top ul li:last-child a {
	border-radius: 0 1px 1px 0;
}
.fp-slidesNav.fp-top ul li a span {
	display: none;
}

.fp-slidesNav.fp-top ul li.video a.active {
	background: rgba(255,255,255,.75) !important;
}

.fp-slidesNav.fp-top.light ul li a.active, .fp-slidesNav.fp-top.light ul li a.active2 {
	background: #fff !important;
}
.fp-slidesNav.fp-top.light ul li.video a.active {
	background: rgba(255,255,255,.75) !important;
}

.fp-slidesNav.fp-top ul li.video .progress {
	position: absolute;
	z-index: 1;
	top: 0;
	height: 100%;
}
.fp-slidesNav.fp-top.light ul li.video .progress {
	background: #fff !important;
}

/* CONTENT */
.content-margin {
	width: 280px;
	height: 400px;
}

/* BACKGROUND */
.slide .bg, .slide .bg > div,
.fp-tableCell > .bg, .fp-tableCell > .bg > div {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.slide .bg > div {
	background-position: center;
}

/* TEMPLATE */
.template {
	position: relative;
	width: 100%;
}

.template .content {
	position: relative;
	z-index: 1;
}
.template .content > .inner {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	max-width: 275px;
}
.template .content > .inner p {
	position: relative;
	margin: 0;
}
.template .content > .inner p sub, .template .content > .inner p sup {
	position: absolute;
	bottom: .4em;
	font-size: .4em;
	line-height: normal;
}
.template .content > .inner p sup {
	bottom: auto;
	top: .4em;
}
.template .content > .inner > .graphics {
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
}
.template .content > .inner > .graphics .graphic {
	position: absolute;
}

/* VIDEO */
.template-video, .template-video .content, .template-video .content .player, .template-video .content .player video {
	width: 100vw;
	height: 100%;
}
.template-video .content .player {
	/*background: #000;*/
}
.template-video .content .player video {
	position: absolute;
	z-index: 0;
	object-fit: cover;
	opacity: 0;
	pointer-events: none;
}
.template-video .content .player.open video {
	opacity: 1;
}

.template-video .content .player .layer {
	position: absolute;
	z-index: 2;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.template-video .content .player .pause {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}
.template-video .content .player.paused .pause {
	opacity: 1;
}

.template-video .content .player .loading {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}
.template-video .content .player.loading .loading {
	opacity: 1;
}

.template-video .content .player .mute {
	position: absolute;
	z-index: 3;
	bottom: 27px;
	right: 40px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: rgba(0,0,0,.1);
	opacity: 0;
	pointer-events: none;
}
.template-video .content .player.open .mute {
	pointer-events: auto;
	opacity: 1;
}
.template-video .content .player.open .mute svg {
	padding: 11px;
	width: 28px;
	height: 28px;
}
.template-video .content .player .mute .on,
.template-video .content .player.muted .mute .off {
	opacity: 1;
}
.template-video .content .player .mute .off,
.template-video .content .player.muted .mute .on {
	opacity: 0;
}

.template-video .content .player .progress {
	display: none !important;
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 0;
	pointer-events: none;
}
.template-video .content .player.open .progress {
	pointer-events: auto;
	opacity: 1;
}
.template-video .content .player .progress span, .template-video .content .player .progress:after {
	position: absolute;
	display: block;
	z-index: 1;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background-color: #fff;
	opacity: .75;
}
.template-video .content .player .progress span.load {
	opacity: 0;
}
.template-video .content .player .progress:after {
	content: '';
	width: 100%;
	background: rgba(255,255,255,.5) !important;
	opacity: 1;
}
@media only screen and (min-device-width : 600px) {
	.template-video .content .player video {
		width: auto;
		left: 50%;
		top: 50%;
		-webkit-transform:translate(-50%,-50%);-moz-transform:translate3d(-50%,-50%,0);-ms-transform:translate3d(-50%,-50%,0);-o-transform:translate3d(-50%,-50%,0);transform:translate(-50%,-50%);
	}
	.template-video .content .player {
		background: #000;
	}
}

/* PHOTO */
.template-photo, .template-photo .content, .template-photo .content .gallery {
	width: 100vw;
	height: 100%;
}
.template-photo .content .gallery {
	display: flex;
	align-items: center;
	justify-content: center;
}
.template-photo .content .gallery > img {
	position: absolute;
	width: 100%;
	height: 100%;
  	object-fit: cover;
  	pointer-events: none;
}
.template-photo .content .gallery.can-rotate img {
	position: absolute;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}
.template-photo .content .gallery img.reload {
	max-width: 99%;
}
@media only screen and (min-device-width : 600px) {
	.template-photo .content .gallery > img {
		width: auto;
	}
}
@media only screen and (max-device-width : 820px) and (max-device-height : 400px) and (orientation:landscape) {
	.template-photo .content .gallery.can-rotate img {
		object-fit: cover;
		width: 100%;
		height: 100%;
	}
}

/* ROTATE */
.section > .top .rotate {
	display: none;
}
body.can-rotate .section > .top .rotate {
	display: block;
}
@media only screen and (min-device-width : 600px) {
	.section > .top .rotate {
		display: none !important;
	}
}
@media only screen and (max-device-width : 820px) and (max-device-height : 400px) and (orientation:landscape) {
	.section > .top .rotate {
		display: none;
	}
}

/* IPHONE 5 */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
	.template .content > .inner {
		max-width: 250px;
	}
}

/* IPHONE 6, 7, 8 */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) {
	.template .content > .inner {
		max-width: 275px;
	}
}

/* INACTIVITY */
body.is-template-video.mask-ui #menu,
body.is-template-video.mask-ui .section > .top,
body.is-template-video.mask-ui #fp-nav.fp-right,
body.is-template-video.mask-ui .fp-slidesNav.fp-top,
body.is-template-video.mask-ui .template .content .rotate,
body.is-template-video.mask-ui .infos-button,
body.is-template-video.mask-ui .infosv2,
body.is-template-video.mask-ui .player .mute,

body.is-template-photo.mask-ui #menu,
body.is-template-photo.mask-ui .section > .top,
body.is-template-photo.mask-ui #fp-nav.fp-right,
body.is-template-photo.mask-ui .fp-slidesNav.fp-top,
body.is-template-photo.mask-ui .template .content .rotate,
body.is-template-photo.mask-ui .infos-button,
body.is-template-photo.mask-ui .infosv2,
body.is-template-photo.mask-ui .player .mute {
	opacity: 0 !important;
}