/**
 * CSS desktop
 * 
 */

 @font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100;
  src: local('Josefin Sans Thin'), local('JosefinSans-Thin'), url(../fonts/q9w3H4aeBxj0hZ8Osfi3dy1dfeF-hbOdKKuBDEXxqhQ.woff) format('woff');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Josefin Sans Light'), local('JosefinSans-Light'), url(../fonts/C6HYlRF50SGJq1XyXj04z2Fp2sMiApZm5Dx7NpSTOZk.woff) format('woff');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Josefin Sans'), local('JosefinSans'), url(../fonts/xgzbb53t8j-Mo-vYa23n5nhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
 
html {
  width:100%;
  height:100%;
  min-width: 1024px;
  min-height: 600px;
  background-color:#fff;
  }

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Josefin Sans', arial, serif;
  font-size: 16px;
  color: #444;
  }
a {
  text-decoration: none;
  color: #000;
  }

.hidden {
  display: none;
  }	

#load, #modale {
  z-index: 1;
  justify-content: center; 
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  margin: 0;
  }
#load {
  background-color: #fff;
  }
#modale {
  background-color: #000;
  cursor: pointer;
  }
#modale img {
  max-width: 100%;
  max-height: 100%;
  }
  
/* en-tête 
   _______ */

#entete {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 60px;
  }
/* #lang {
  margin: 15px;
  width: 30px;
  height: 30px;
  border: 1px solid #444;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  } */
#langSvg {
  position: relative;
  display:  inline-block;
  margin: 15px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  }
#lang {
  position: absolute;
  top: 0;
  width: 40px;
  line-height: 44px;
  text-align: center;
  font-size: 16px;
}
.titre {
  box-sizing: border-box;
  margin: 0 0 0 20px;
  padding: 10px 0 10px 10px;
  line-height: 40px;
  font-size: 32px;
  font-weight: normal;
  }	

/* div flexible: main/auto, nav/150px 
   __________________________________ */

body > div {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  height: calc(100% - 60px); /* 60px = hauteur titre */
  margin: 0 20px;
  }

/* nav: barre de navigation latérale
   _________________________________ */

nav {
  width: 150px;
  height: calc(100% - 10px);
  padding-top: 10px;
  }
  
/* nav: enveloppe
   ______________ */
   
nav div.c101, nav div.a101 {
  position: relative;
  width: 60px;
  height: 37px;
  margin-left: 45px;
  margin-top: 35px;
  margin-bottom: 5px;
  background-color: #968a70;
  opacity: .5;
  }
nav div.c101.palette1ligne, nav div.a101.palette1ligne {
  margin-top: -25px;  
  }
nav div.c101.palette2lignes, nav div.a101.palette2lignes {
    margin-top: 10px;
  }
nav div.c101:before, nav div.a101:before {
  content:"";
  position: absolute; 
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 24px solid #ddd;
  }
nav div.c101:after, nav div.a101:after {
  content:"";
  position: absolute; 
  top: -24px;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 24px solid #ddd;
  }
nav div.c101:after {
  opacity: 0;
  } 
nav div.c101:hover:after {
  opacity: 1;
  }
  
/* palette des 6 cases à cocher pour la navigation dans une catégorie d'images
   ___________________________________________________________________________ */
  
nav div.palette {
  position: relative;
  width: 80px;
  height: 67px;
  margin-left: 35px;
  margin-bottom: 10px;
  }
  
/* palette: 9 cases à cocher
   _________________________ */ 
  
nav div.palette > a > div {
  position: absolute; 
  width: 12px;
  height: 12px;
  /* border-radius: 1px; */
  border-radius: 50%;
  }	
nav div.palette div:hover {opacity: 1} 	
.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9 { background-color: #968a70; opacity: 0.2;}
.opaque {opacity: 1;}	
nav div.palette a:nth-of-type(1) div	{top:  5px; left: 10px;}  
nav div.palette a:nth-of-type(2) div	{top:  5px; left: 32px;}  
nav div.palette a:nth-of-type(3) div	{top:  5px; left: 54px;}  
nav div.palette a:nth-of-type(4) div	{top: 30px; left: 10px;}  
nav div.palette a:nth-of-type(5) div	{top: 30px; left: 32px;}  
nav div.palette a:nth-of-type(6) div	{top: 30px; left: 54px;}
nav div.palette a:nth-of-type(7) div	{top: 55px; left: 10px;}  
nav div.palette a:nth-of-type(8) div	{top: 55px; left: 32px;}  
nav div.palette a:nth-of-type(9) div	{top: 55px; left: 54px;}  
    
/* nav, barre de navigation latérale: liste des catégories (chacune contenant une palette)
   _______________________________________________________________________________________ */ 
    
nav ul {
  display: block;
  margin: 0;
  padding: 0 0 0 5px;
  }	
nav li {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type:none; 
  }
nav li:first-of-type h2 {
  margin-top: 0;
  }
nav h2 {
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 3px;
  padding-left: 0;
  text-align: center;
  font-size: 18px;
  font-weight: normal;
  }
nav h2.palette1ligne {
  margin-top: -50px;
  }
nav h2.palette2lignes {
  margin-top: -25px;
  }
  
/* partie principale  
   _________________ */
   
main {
  width: calc(100% - 150px);
  height: 100%;
  overflow:hidden;
  }
  
/* partie principale : zone virtuelle = 10 x zone réelle) 
   ______________________________________________________ */

main > section {
  display: flex;
  width: 1000%;
  height: 100%;
  }
  
/* partie principale : zone réelle obtenue par scrolling 
   _____________________________________________________ */	
  
main > section > section {
  width: 10%;
  height: 100%;
  box-sizing: border-box;
  transform: translate(0px, 0px) scale(1);
  }

[data-type] img {
  cursor: pointer;
  }

/* section 1 : zone image oeuvre + légende 
   _______________________________________ */	

[data-type="t1"] > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 20px);
  height: calc(100% - 30px);
  margin: 10px 10px 20px 10px;
  box-sizing: border-box;
  box-shadow: 0 0 2px 1px #aaaaaa;
  }

[data-type="t1"] img {
  display: block;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 70px);
  
  }

/* sous-titre des images */	
  
[data-type="t1"] p {  
  position: relative;
  width: 80%;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  }
 
/* section 2 images côte à côte 
   ____________________________ */	

[data-type="t2"] > div {
  display: flex;
  margin: 10px 10px 20px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 30px);
  box-sizing: border-box;
  box-shadow: 0 0 2px 1px #aaaaaa;
  }

[data-type="t2"] > div > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 20px);
  margin: 10px 0;
  box-sizing: border-box;
  }
  
[data-type="t2"] img {
  display: block;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 30px);
  }
  
/* sous-titre des images */	
    
[data-type="t2"] p {  
  position: relative;
  width:  calc(100% - 20px);
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  }
  
/* section type image texte texte
   ______________________________ */	
  
[data-type="t3"] > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  margin: 10px 10px 10px 10px;
  box-sizing: border-box;
  box-shadow: 0 0 2px 1px #aaaaaa;
  }
[data-type="t3"] img {
  max-width: 60%;
  max-height: 60%;
  padding: 10px 0 20px 0;
  }
[data-type="t3"] div p{
  width: 90%;
  padding: 10px 0 20px 0;
  margin: 0;
  box-sizing: border-box;
  text-align: left;
  font-size: 16px;
  background-color: #ffffff;
  }

/* section 101 : formulaire
   ________________________ */

section#s101 > div {
  margin: 10px 10px 20px 10px;
  background-color: #ffffff;
   }
#s101 form{
  display: inline-block;
  width: 100%;
  max-height: 90%;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 40px;
  text-align: left;
  font-size: 18px;
  background-color: #dddddd;
  }
#s101 label {
  display: inline-block;
  vertical-align: 135%;
  width: 17%;
  margin: 0 0 5px 0;
  padding-right: 1%;
  text-align: right;
  }
#s101 label[for='message'] {
  vertical-align: 0px;
  }	
#s101 form > div {
  display: inline-block;
  width: 69%;
  margin: 0 0 5px 0;
  }		
#s101 input {
  width: 100%;
  line-height: 32px;
  padding: 0 5px;
  font-family: 'Josefin Sans', arial, serif;
  font-size: 18px;
  }
#s101 div > span, #s101 form > span {
  display: block;
  padding: 2px 0 5px 10px;
  font-family: 'Josefin Sans', arial, serif;
  font-size: 16px;
  }
#err-message {
  margin-left: 7%;	
  }
#s101 button {
  width: 15%;
  margin-left: 68%;
  padding: .5%;
  font-family: 'Josefin Sans', arial, serif;
  font-size: 19px;
  line-height: 32px;
  border: none;
  border-radius: 5%;
  }	
#s101 textarea {
  width: 81%;
  padding: 0 5px;
  line-height: 32px;
  max-height: 30%;
  margin-left: 7%;
  margin-top: 1%;
  font-family: 'Josefin Sans', arial, serif;
  font-size: 18px;
  }

/* animations des sections scrollées, pilotées par javaScript: hb (de haut en bas), gd (de gauche à droite) ,... 
   _____________________________________________________________________________________________________________ */

@keyframes a_entre_hb       { 0% {opacity: 0; transform: translate(0px, -1000px) scale(0) ;}
                            100% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}}
@keyframes a_entre_bh       { 0% {opacity: 0; transform: translate(0px, 1000px)  scale(0) ;}
                            100% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}}
@keyframes a_entre_gd       { 0% {opacity: 0; transform: translate(-1000px, 0px) scale(0) ;}
                            100% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}}
@keyframes a_entre_dg       { 0% {opacity: 0; transform: translate(1000px, 0px)  scale(0) ;}
                            100% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}}	
@keyframes a_entre          { 0% {opacity: 0; transform: scale(0)   ;}
                            100% {opacity: 1; transform: scale(1)   ;}}	
@keyframes a_entre_legende  { 0% {opacity: 0; transform: scale(0)   ;}
                             67% {opacity: 0; transform: scale(0.5) ;}
                            100% {opacity: 1; transform: scale(1)   ;}}

@keyframes a_sort_hb { 0% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}
                     100% {opacity: 0; transform: translate(0px, 1000px)  scale(0) ;}}
@keyframes a_sort_bh { 0% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}
                     100% {opacity: 0; transform: translate(0px, -1000px) scale(0) ;}}
@keyframes a_sort_gd { 0% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}
                     100% {opacity: 0; transform: translate(1000px, 0px)  scale(0) ;}}
@keyframes a_sort_dg { 0% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}
                     100% {opacity: 0; transform: translate(-1000px, 0px) scale(0) ;}}
@keyframes a_sort    { 0% {opacity: 1; transform: translate(0px, 0px)     scale(1) ;}
                     100% {opacity: 0; transform: scale(0) ;}}

.a_entre_hb      {animation:  a_entre_hb  1s ease-out .5s;}		
.a_entre_bh      {animation:  a_entre_bh  1s ease-out .5s;}		
.a_entre_gd      {animation:  a_entre_gd  1s ease-out .5s;}		
.a_entre_dg      {animation:  a_entre_dg  1s ease-out .5s;}		
.a_entre         {animation:  a_entre     1s ease-out .5s;}
.a_entre_legende {animation:  a_entre     2s ease-out .5s;}				 

.a_sort_hb	{animation:  a_sort_hb  .8s ease-out;}		
.a_sort_bh	{animation:  a_sort_bh  .8s ease-out;}		
.a_sort_gd	{animation:  a_sort_gd  .8s ease-out;}		
.a_sort_dg	{animation:  a_sort_dg  .8s ease-out;}
.a_sort		  {animation:  a_sort     .8s ease-out;}