@charset "UTF-8";
/* CSS Document */

body {
	margin: 0;
	padding: 0;
	background-image: url(IMG/background.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	font-family: 'Athiti', sans-serif;
	font-size: 16px;
}

#menu, #menu2 {
	position: absolute;
	z-index: 1000;
	display: none;
}

li {
	display: inline;
	list-style: none; /* pour enlever les puces sur IE7 */
	margin: 0;
	cursor: pointer;
}

li a {
	display: inline-block;
	width: auto;
	padding: 5px 10px;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	background: #000000;
} 

.right {
	text-align: right;
	margin-top: -20px;
	margin-bottom: 30px;
	margin-right: 40px;
}
.dates {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	line-height: 20px;
}

h3 {
	text-decoration: underline;
	text-transform: uppercase;
	margin-bottom: -18px;
	color: #00AFEF;
}

#logoBox {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
    -webkit-transform: translateZ(-1px)  scale(2);
    transform: translateZ(-1px)  scale(2);
}

#logo {
    position:relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
	width: 100px;
	height: auto;
    top: 50%;
    transform: translateY(-50%);
}

.parallax {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 1px;
    perspective: 1px;
}

.txtBlocs {
	width: 400px;
	height: auto;
  	left: 50%;
  	margin-left: -200px;
	padding: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
	z-index: 100;
	margin-bottom: 150px;
}
#txtPresentationBloc {
	margin-top: 100%;
	position: relative;
	/*top: 100%;*/	
}
#txtDatesBloc {
	position: relative;
	/*top: 230%;*/	
}
#txtLaboBloc {
	position: relative;
	/*top: 700%;*/
}
#txtContactBloc {
	position: relative;
	/*top: 820%;*/
	padding-bottom: 150px;
}

.fondTxtBlocs {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	z-index: -1;
    opacity: 0.9;
    filter: alpha(opacity=90);	
}

.txt {
	padding: 20px;
}

.designBlocs {
	width: 100%;
	z-index: -100;
	position: absolute;
  	perspective: 1px;
  	height: 100vh;
  	overflow-x: hidden;
  	overflow-y: auto;
	z-index: 1;
}

#design1 {
	height: 500px;
	top: 250%;
	background-image: url("IMG/DesignBackground1-01.png");
    -webkit-transform: translateZ(-1px)  scale(2);
    transform: translateZ(-1px)  scale(2);
}
#design2 {
	height: 500px;
	top: 300%;
	background-image: url("IMG/photo2.gif");
    -webkit-transform: translateZ(-2px)  scale(3);
    transform: translateZ(-2px)  scale(3);
}
#design3 {
	height: 500px;
	top: 600%;
	background-image: url("IMG/photo3.gif");
	background-repeat:no-repeat;
	background-position:center center;
    -webkit-transform: translateZ(-1px)  scale(2);
    transform: translateZ(-1px)  scale(2);
}
#design4 {
	height: 1000px;
	top: 600%;
	background-image: url("IMG/DesignBackground1-01.png");
    -webkit-transform: translateZ(-2px)  scale(3);
    transform: translateZ(-2px)  scale(3);
}

#logoLabOmfi {
	width: 200px;
	height: auto;
	margin: auto;
}

.smallPhotos {
	display: inline;
	margin: 10px 0 0 0;
	height:100px;
	width: auto;
	cursor: pointer;
}

#blocPhotos, #blocAudio, #blocVideo, #blocVideo2 {
	position: fixed;
	background-color: #FFFFFF;
	top: 0;
	padding: 0;
	z-index: 10000;
	display: none;
	width: 100%;
	height: 100%;
	text-align:center
}
.bigPhotos {
	display: none;
	max-height: 90%;
	max-width: 90%;
}
#closer, #closer2, #closer3, #closer3b {
	display: none;
	position: fixed;
	width: 30px;
	height: auto;
	top: 20px;
	right: 20px;
	z-index: 100;
	cursor: pointer;
}
.soundsBtn, .videosBtn, .videosBtn2 {
	text-decoration: underline;
	cursor: pointer;
}

#credit {
	position: fixed;
	z-index: 2000;
	margin: 0 20px 0 0;
	padding: 10px;
	background-color: #ffffff;
	right: 0;
	bottom: 0;
}


@media only screen and (max-device-width: 480px) {
	body {
		font-size: 32px;
	}

	.txtBlocs {
		width: 600px;
  		margin-left: -300px;
	}
	.dates {
		margin-top: 60px;
		margin-bottom: 60px;
		line-height: 40px;
	}
	h3 {
		margin-bottom: -36px;
	}
	#logoLabOmfi {
		width: 400px;
	}
	.smallPhotos {
		margin: 20px 0 0 0;
		height:200px;
	}
	#closer {
		width: 60px;
		top: 40px;
		right: 40px;
	}
}