:root {
	--transition: 2s;
}
* {
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}
html {
    overflow-x: auto;
}
body {
    overflow-x: hidden;
    overflow-y: auto;
}
a {
    color:#f7f7f7;
}
a:hover {
    text-decoration: none;
}
p {
    margin:0 0 7px 0;
    font-size:15px;
}
h1 {
    margin:0 0 10px;
    font-size:22px;
}
h1,
p {
    color:#f7f7f7;
}

/* switcher & img */
#bg-body {
    background: #D2D2D0;
    height: 200%;
    left: -50%;
    position: fixed;
    top: -50%;
    width: 200%;
    z-index: 1;
}
#bg-body > img, #bg-body > div.bg-body-html > img {
    bottom: 0;
    left: 0;
    margin: auto;
    min-height: 50%;
    min-width: 50%;
    position: absolute;
    right: 0;
    top: 0;
}
/* switcher loader */
#bg-body-loader {
    background: url("../images/loading.gif") no-repeat scroll center center rgba(0, 0, 0, 0);
    height: 10px;
    left: 50%;
    margin: -5px 0 0 -40px;
    position: absolute;
    top: 50%;
    width: 80px;
}
#bg-body.loading #bg-body-loader {
    display: block !important;
    z-index: 9999;
}
/* switcher bullets */
#bg-body-navigation {
    position: fixed;
    left: 0;
    bottom: 100px;
    width: 100%;
    height: 15px;
    text-align: center;
    z-index: 1;
}
#bg-body-navigation > a {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background:#ccc;
    margin: 0 5px;
}
#bg-body-navigation > a:hover,
#bg-body-navigation > a.active {
    background:#000;
    opacity: .7;
}
/* switcher nav */
#bg-body-prevnext-wrapper {
    position: fixed;
    left: 0;
    bottom: 20px;
    width: 100%;
    height: 72px;
    z-index: 1;
}
.bg-body-prevnext-link {
    display: block;
    width: 35px;
    height: 72px;
    position: absolute;
}
#bg-body-previous-link {
    background: url(../images/ico-prev-sprite.png) no-repeat 0 0;
    left:0;
}
#bg-body-previous-link:hover {
    background: url(../images/ico-prev-sprite.png) no-repeat 0 -72px;
}
#bg-body-next-link {
    background: url(../images/ico-next-sprite.png) no-repeat 0 0;
    right: 0;
}
#bg-body-next-link:hover {
    background: url(../images/ico-next-sprite.png) no-repeat 0 -72px;
}

#wrapper {
    position:relative;
    width:100%;
    height:100%;
    margin:0 auto;
}
#info {
    position:absolute;
    width:400px;
    height:auto;
    bottom:150px;
    right:0;
    background:#000;
    opacity: .7;
    padding: 0;
    box-shadow:10px 10px 20px #333;
    z-index: 2;
}


/*///// PAT /////*/
/*
body #bg-body {
	background: #D2D2D0;
	height: 200%;
	left: -50%;
	position: fixed;
	top: -50%;
	width: 200%;
	z-index: 1;
}
body #bg-body > img, #bg-body > div.bg-body-html > img {
	bottom: 0;
	left: 0;
	margin: auto;
	min-height: 50%;
	min-width: 50%;
	position: absolute;
	right: 0;
	top: 0;
}
*/
body #bg-body {
	background: black !important;
	height: inherit;
	width: inherit;
	left: 0;
	top: 0;
	position: fixed;
	z-index: 1;
}
body #bg-body > img, #bg-body > div.bg-body-html > img {
	bottom: inherit;
	left: inherit;
	margin: auto;
	height: inherit;
	width: auto;
	position: absolute;
	right: inherit;
	top: inherit;
}


body #bg-body > img.fit_width {
	height: auto;
	width: 100vw;
}
body #bg-body > img.fit_height {
	height: 100vh;
	width: auto;
}
body #bg-body > img.trans_gauche,
body #bg-body > img.trans_droite,
body #bg-body > img.trans_haut,
body #bg-body > img.trans_bas {
	transition: transform 6s linear;
}
body #bg-body > img.trans_gauche {
	transform: translateX(calc(100vw - 100%));
}
body #bg-body > img.trans_droite {
	transform: translateX(calc(100% - 100vw)); 
}
body #bg-body > img.trans_haut {
	transform: translateY(calc(100vh - 100%)); 
}
body #bg-body > img.trans_bas {
	transform: translateY(calc(100% - 100vh)); 
}

#wrapper #info {
	position: absolute;
	width: 400px;
	height: auto;
	bottom: inherit;
	right: inherit;
	background: inherit;
	opacity: 1;
/*	box-shadow: 10px 10px 20px #333; */
	box-shadow: none;
	z-index: 2;
	padding: 0;
	top: 0;
	left: 0;
}
#wrapper #info a {
	text-decoration: none;
}
#wrapper #info a:hover {
	color: magenta;
}
.header-elements-wrap {
	background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%,rgba(0,0,0,0) 100%) !important; 
	opacity: 0.3; 
	filter: alpha(opacity=15);
	-moz-opacity: 0.15;
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	text-align: center;
	padding: 2em;
	font-family: 'Open Sans', sans-serif;
}
.header-elements-wrap p{
	opacity: 0;
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
}
.header-elements-wrap:hover{
	opacity: 1;
}
.header-elements-wrap:hover p{
	opacity: 1;
}
.header-elements-wrap .logo img {
	width: 300px;
}

#bg-body-navigation {
	display: none !important;
}


