html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
p {margin:0;}
button,iframe{
  pointer-events:auto;
}

button, input[type="submit"], input[type="reset"] {
	/*background: none;*/
	border: none;
	color: inherit;
	padding: 0;
	cursor: pointer;
	outline: inherit;
}

.not-displayed{
  z-index: 0;
}

#bio .texte{
  z-index: 1;
  position: relative;
    max-width: 100vw;
    margin: auto;
    width: 600px;
    text-align: left;
}

#bio .images .image-wrapper{
  height: 100vh;
} 

#full .images img{
  box-shadow: none;
}

.media {
  text-align:center;
}
.images img {
  position: relative;
  z-index: 1;
}

.icon {
    font-family: "entypo";
}

.container .content:after {
  content: ' ';
  position: fixed;
  height: 100%;
  top: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}


.images .galerie{
  text-align:center;
}

.images .selecteurs{
  display: inline-block;
  text-align:left;
  position: relative;
}

.images .image-wrapper { 
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 100vw;
}

.images img {
  margin: auto;
}

#vertical .images img {
  max-width: 100%;
}

#gallery .images img{
  display:none;
  max-width: 100%;
}

.galerie-pic{
  display:none;
}

button{cursor:pointer;}


.bell{
  position: absolute;
  overflow: hidden;
  display: none;
}

.bell:after{    
  font-family: "entypo";
  content: '\f0f3';
  position: absolute;
}

.main-page-main-title{
  text-align: center;
  text-transform: uppercase;
}

.menu a{
  text-decoration: none;
  color: inherit;
}

@media only screen and (orientation: portrait) {

  body{
    height:100vh;
    position: fixed;
    overflow: hidden;
  }

  .main-page:after {
    content:"";
    display: block;
    position: relative;
    height:24vw;
  }


.menu-info h1{
  margin: 0;
  font-size: 4vw;
  line-height: 10vw;
  padding: 0;
}
.menu-info h2{
  font-size: 4vw;
  color: #9aa0c0;
  margin: 0;
}
.menu-info p {
  font-size: 4.4vw;
  margin: 2vw 0vw;
}

  .main-page .main-page-main-content img{
    width: 100%;
  }

  #full .images img{
    display: block;
  }
  #full .images .images-content{
    display: flex;
  }

  #horizontal .sticky {
    position: relative;
    top: 12vw;
  }
  
  #horizontal .images .images-content{    
    padding-top: 6vw;
  }

  #horizontal .images .image-wrapper{
    height: 100vh;
  }


  div.container {
    display: table;
    width:100%;
  }

  .container .navigation {
    display: table;
    position: fixed;
    width: 100vw;
    z-index: 4;
  }

  .navigation .navigation-wrapper {
    display: table-cell;
    background: white;
    text-align: center;
  } 

  .navigation .navigation-wrapper .menu-content{
    vertical-align: middle;
    position: relative;
    width: 100vw;
    max-height: 80vh;
    overflow: scroll;
  }

  .navigation .menu {
    height: 100%;
    width: 100%;
    text-align: center;
    display: table;
  }

  .navigation .menu .option {
    display: table-cell;
    vertical-align: middle;
  }

  .navigation .menu .option .label{
    display: none;
  }

  .main {
    display: block;
    width:100%;
  }

  .container .content:before {
    content: "";
    display: block;
    width: 100%;
    position: relative;
  }

  .container .content {
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    vertical-align: middle;
  }

  .images img {
    width: 100%;
  }

  .images .legende .galerie{
    display: block;
    width: 100%;
  }

  .images .selecteurs .selecteur{
    display: inline-block;
  }

  .images .legende .fill{
    display: block;
  }

  .infos {
    position: relative;
  }
  
  .footer {
    width: 100%;
    z-index:1;
    position: relative;
  }
  
  .bell{
    display:none;
  }  
  
  .bio-wrapper{
    width: 100vw;
    padding: 0 10vw 10vw 10vw;
    box-sizing: border-box;
  }
  .bio-wrapper .photo {
    text-align: center;
    height: 90vh;
    vertical-align: middle;
    display: table-cell;
  }
  .bio-wrapper .photo img{
    width: 80%;
  }
  .label.main-title{
    display: none;
  }
}


@media only screen and (orientation: landscape) {


  body {
    position: relative;
  }
#horizontal .images{
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  height:100vh;
}

#horizontal .sticky{    
  height: 100vh;
  position: sticky;
}

  .menu-info h1{
    margin-top: 0;
    font-size: 13pt;
  }
  .menu-info h2{
    font-size: 12pt;
    color:#9aa0c0;
  }


.main-diapo{
  position: absolute;
}

  .main-page-menu {
    background: white;
    z-index: 1;
    position: relative;
}

  .main-page .main-page-main-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .main-page .main-page-main-content {
    flex: 1;
  }
  .main-page .main-page-main-content img{
    width: 100%;
    box-sizing: border-box;
  }
  .main-page-main-content-wrapper{
    width:100%;
    height:100%;
    display: table;
  }
  .main-page {
    display: table;
    width:100%;
  }
  
  .main-page .main-page-main{
    display: table-cell;
    width: 100%;
    vertical-align: top;
  }

  .main-page .main-page-menu{
    display: table-cell;
    height:100vh;
    float:right;
    overflow: scroll;
    position: absolute;
    left: 0;
    top: 0;
  }

  #full .images img{
    margin-right: -4px;
  }

  #full .images{
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height:100vh;
  }
  
  #full .images img{
    height:100vh;
  }
  
  #full .sticky{    
    height: 100vh;
    position: sticky;
  }
  
  #horizontal .image-wrapper{
    height: 100vh;
    box-sizing: border-box;
  }

  div.container {
    display: table;
  }

#gallery .container .content .main .images img {
  max-height: 100%;
}

#horizontal .container .content .main .images img {
  max-height: 100%;
}

#vertical .container .content .main .images img {
  max-height: 100%;
}


#gallery .images {
  display: table-cell;
  vertical-align: middle;
  z-index:2;
  position: relative;
}

  .navigation {
    display: table-cell;
    vertical-align: middle;
    max-height: 100vh;
    table-layout: fixed;
    z-index:3;
    position: relative;
  }

  .navigation .navigation-wrapper {
    position: fixed;
    top: 50vh;
    left: -50vh;
    transform: rotate(-90deg);
    width: 100vh;
    text-align: center;
    display: table;
  } 


  .navigation  .navigation-wrapper .menu {
    position: fixed;
    width: 100vh;
    display: table;
  } 

  .navigation  .navigation-wrapper .menu-content {
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
  } 

  .navigation  .navigation-wrapper .menu-content .actual-menu-content{    
    width: 100%;
    height: 100vh;
    font-size: 12pt;
    overflow: scroll;
    margin: 0;
    border-right: 2px solid;
  }

  .navigation  .navigation-wrapper .menu-content .menu-wrapper{    
    transform: rotate(90deg);
    width: 340px;
    height: 340px;
    position: absolute;
    right: 0;
  } 

  .navigation .menu .option {
    display: table-cell;
    vertical-align: bottom;
  }

  .navigation .menu .menu-content {
    display: table-cell;
    vertical-align: bottom;
  }

  .navigation .menu .option .icon{
    display: none;
  }

  .container .content {
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    vertical-align: middle;
    z-index:2;
  }

  .content .main {
    width: 100%;
    display: table;
    table-layout: fixed;
    height: 100vh;
  }

  .images .legende .galerie{
    display: table-cell;
    width:100%;
  }

  .images .selecteurs .selecteur{
    display: inline-block;
  }

  .images .legende{
    display: table;
    width: 100%;
  }

  .images .legende .fill{
    display: table-cell;
    vertical-align : top;
    max-width:100%;
  }

  .scroll {
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 100vh;
  }
  
  #gallery .sticky{    
    display: table;  
    height: 100vh;
  }

  .container .content .footer {
    width: 100%;
    position: relative;
    z-index:2;
  }


  .bio-wrapper{
    display: table;
    display: table;
    margin: auto;
    height: 100vh;
  }
  .bio-wrapper .photo{
    display: table-cell;
    vertical-align: middle;
  }
  .bio-wrapper .photo img{
    width : 100%;
  }
  .bio-wrapper .texte{
    display: table-cell;
    vertical-align: middle;
    padding: 0 0 0 60px;
  }
  .main-page-main-title{
    display: none;
  }

}

@media only screen and (max-width: 1200px) and (orientation: landscape) {
  
  .main-page-menu{
    width:300px;
  }

  .sticky{
    position: relative;
  }

  .sticky:before{
    position: fixed;
    content: ' ';
    left: 0;
    top: 0;
    width:100%;
    height:100%;
    z-index:1;
  }

  .sticky:after{
    font-family: "entypo";
    position: absolute;
    content: '\e801';
    color: #F7F7F9;
    left: 50%;
    z-index:0;
  }
  #full .sticky:after{
    z-index: 1;
    opacity: 0;
    transition:opacity 0.4s;
  }
  #full .sticky:hover:after{
    z-index: 1;
    opacity: 0.3;
  }

  .images .images .images-content {
    margin: auto;
    z-index: 2;
    position: relative;
  }

  .infos {
    position: relative;
    display:table;
    width: 100%;
    z-index:2;
  }

  .infos .texte{
    display: table-cell;
    vertical-align: middle;
  }
  .bio-wrapper{
    width : 80%;
  }
  .bio-wrapper .photo{
    width : 30%;
  }
  .bio-wrapper .texte{
    width: 520px;
  }

}

@media only screen and (min-width: 1200px) and (orientation: landscape) {
  
  .main-page-menu{
    /*width:420px;*/
    width:380px;
  }

  .images {
    overflow: hidden;
    box-sizing: border-box;
    vertical-align: middle;
  }

  #galley .images{
    display: table-cell;
  }

  #vertical .images {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100vh;
    position: absolute;
  }

  .sticky{    
    width: 100%;
    position: sticky;
    top: 0;
  }

  #gallery .sticky{    
    pointer-events: none;
  }

  #vertical .sticky {    
    height: 100vh;
  }

  #galley .images .images-content {
    margin: auto;
  }

  .infos {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    box-sizing: border-box;
  }

  .infos .texte{
    box-sizing: border-box;
    max-height: 100vh;
    overflow: auto;
  }
  .bio-wrapper{
    width : 60%;
  }
  .bio-wrapper .photo{
    width : 30%;
  }
  .bio-wrapper .texte{
    width: 520px;
  }

}
.menu-info {
  padding: 20px;
  /*border-bottom: 1px dashed #fff;
  background-color: #232538;
  color: #fff;*/
  border-bottom: 1px dashed #87839b;
}
.menu-info .vgn{
  display: table-cell;
  width: 30%;
  vertical-align: top;
}
.menu-info .text{
  display: table-cell;
  vertical-align: top;
}
.menu-info img{
  width: 100%;
}
.main-diapo-image-wrapper{
  display: table-cell;
  position: relative;
  vertical-align: middle;
  text-align: center;
  width:100%;
  height:100%;
}