html:fullscreen, html:-moz-full-screen, html:-webkit-full-screen {
    background: white;
}

/*--------------------------------TEXTES------------------------------*/
/*TITRE*/
.credit{
    color: rgba(255,255,255,1); 
    text-align: center;
    margin:0;
}

h1.credit{   
    font-size: 5.625em;
    line-height: 0.89em;
    margin-bottom: 0.5em;    
}
/*Sous-titre 1ère page*/
h2.credit {   
    font-size: 2em;
    line-height: 1.2em;    
}
/*Petits Sous-titre 1ère page*/
h3.credit{   
    font-size: 1em;
    line-height: 1.2em;   
}

/*Légende images & video full screen*/
h4.legende{
    margin:0;
    font-size: 0.8em;
    padding:0.5em 0.8em 0.5em 0.8em;
    color: rgba(255,255,255,1.0);
    background-color: black;
    display:inline-block;    
}

a.credit{
   color: rgba(255,255,255,1);
    text-decoration: none;    
}

a.credit:hover{
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

img.logo{
    display: inline-block;
    height:2.2em;
    width:auto;
    opacity: 1.0;
    margin: 0.5em 1em 0.5em 1em 
}
img.logo:hover{   
    opacity: 0.8;    
}

h4.legende.negative{
    color: rgba(0,0,0,1);
    background-color: white;
    overflow:scroll;
    opacity:1.0;
}

/*menu*/
.menu_li_pre {
	position: relative;
	left: 0px;
	top: 0px;
}
h5.menu{
    color:white;
    font-size: 0.6em;
    line-height: 1.2em;
    margin:0;
    padding:0.5em;
    padding-left:1em;
    padding-right:1em;
    background-color:black;
    
}


#bloc_text{
    display:inline-block;
    visibility:visible;
    
    width:60%;
    height:100%;
    /*new*/
    padding:0;
    opacity: 1;
    overflow:scroll;
    
    
}

#bloc_icon{ 
    position: absolute;
    display:inline-block;
    top:2.5em;
    right:2.5em;
   
}

#bloc_icon_menu { 
    position: fixed;
    display:inline-block;
    bottom:0;
    right:0;
    z-index:20000;
    width: 9em;
    background-color: black; 
}
    
/*FULL SCREEN IMAGE*/

#container_intro{
    
    -webkit-background-size: contain;
	-moz-background-size: contain;
    position:absolute; 
    display:block;
    width:100%;
    height:100%;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(data/DSCF8993.jpg);
    background-color:black;
    
    width:100%;
    height:100%;
    padding: 2.5em 2.5em 2.5em;
}

#container_credit{
    display:none;
    width:100%;
    height:100%;
    position:absolute;
    padding: 2.5em 2.5em 2.5em;
    background-color: black;
    z-index: 12000;
}

#overlayText{
     background-color:transparent; 
     height:2600px;
    width:120%;
    display:inline-block;
    display: inline;
    position: relative;
    z-index:10;
      
}

/*------------------CONTAINER--------------------------*/

/*FULL SCREEN IMAGE*/
#container_image{
    -webkit-background-size: contain;
	-moz-background-size: contain;
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    /*used to load image*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('photos_MOY/DSCF5197.jpg');
    background-color:black;
    z-index: 11000;
}


/*SMALLER CONTAINER FOR DESCRIPTIONS AND BUTTONS*/
#container_description{
    padding: 2.5em;
    z-index: auto;
    position: absolute;
    top: 0px;
    width:100%;
    height:100%;    
}



/*SMALLER CONTAINER ONLY FOR DESCRIPTIONS*/
#description_image{
    display:inline-block;
    visibility:visible;
    opacity:1.0;
    width:60%;
    padding:0;
    opacity: 1.0;   
}

#subtitle_bloc{
    position: absolute;
    display:inline-block;
    opacity:1.0;
    width:60%;
    padding:0;
    opacity: 1.0;
    bottom:2.5em;
    left:2.5em;
    z-index: 10000;
    
}

/*FULL SCREEN VIDEO*/
#container_video{
   
    position:absolute; 
    display:block;
    width:100%;
    height: 100%;
    background-color:black;
    z-index: 11000;
    
}

/*FULL SCREEN TEXTE*/
#container_texte{
   
    position:absolute; 
    display:block;
    width:100%;
    height: 100%;
    background-color:white;
    overflow:scroll;
    
}
#container_menu{ 
   
    position:absolute; 
    display:none;
    width:100%;
    height:100%;
    background-color:transparent; 
}

#menu_ul{
    
    width:9em;
    background-color:grey;
    margin:0;
    padding:0;
    position:fixed;
    right:0;
    bottom:1.5em;
    z-index: 10000;
    display: none;
    cursor: pointer;
    
    
}

.menu_li{
	display: block;
	position: relative;
    text-decoration: none;
    list-style-type: none;
    margin:0;
    padding:0;
    /*line-height: 1em;*/
}

.menu_li:hover{
    text-decoration: none;
    list-style-type: none;
    margin:0;
    padding:0;
    
    color:white;
    opacity:0.6; 
    /*line-height: 1em;*/
}

#container_small_texte{
    padding: 2.5em;
    /*new*/
    z-index: auto;
    position: absolute;
    top: 0px;
    /*overflow:scroll;
    text-overflow: clip;*/
    /*width:100%;
    height:100%;*/
    
}

/*CONTAINER CREDIT*/
#container_logo, #container_titre, .container_txt{
    display: block;
   text-align:center;
    margin : auto; 
}
.container_txt{
    margin-bottom:1em; 
}



/*------------------------------BUTTON-------------*/
button, a.shares{
    
    font-size:0.8em; 
    background-color: transparent;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 1.0;
    display: inline-block;
    margin : auto;
    margin-top : 0;
    bottom: 2em;
    width:0.8em;
    height:0.8em; 
    padding:0.5em;
    float: right;
    background-color: black;
    border:solid black 8px;
    border-radius: 0px;    
}

#button_fullscreen{  
    float:right;
    background-image: url(data/bouton/fullscreen_1.png);
    bottom: 0;   
}

#button_menu{
    float:left;  
    background-image: url(data/bouton/menu_2.png);   
    bottom: 0;
}

#button_plus{
    float:right;
    background-image: url(data/bouton/plus.png);
    bottom: 0;
}

button.croix{
    background-image: url(data/bouton/Croix_1.png);
}

button.shares.facebook{
    background-image: url(data/bouton/facebook.png);
}

button.shares.twitter{
    background-image: url(data/bouton/twitter.png);
}

button:focus{
   outline:0 !important;    
}

button:hover{
    opacity:0.6; 
    
}

/*JUSTE POUR MONTRER LE PRINCIPE*/
.smallImg{
   display:inline;
    position:absolute;
    width:400px;
    height:auto;
    z-index: 0;   
}

#smallImg1{
    left:100px;
    top:100px;   
}
#smallImg2{
    left:550px;
    top:150px;  
}

#smallImg3{
    left:550px;
    top:450px;  
}






/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}
button {
	cursor: pointer;
}
