/***************** GENERAL **********************/
*{
  box-sizing: border-box;
  transition-property: all;
  transition-duration: 0.1s;
}

html{
  font-size: 100%;
  min-height: 100%;
  margin-top: 0;
}


@font-face {
    font-family: 'Bodoni_Std';
    src: url('../sources/Bodoni Std/BodoniStd-Bold.otf');
}


@font-face {
    font-family: 'avenir';
    src: url('../sources/Avenir.ttc');
}

body{
  line-height: 1.5;
  margin: 0;
  word-break: word-break;
  background-color: white;
  font-family: Bodoni_Std;
  display: flex;
  flex-direction: column;
  color: #3c3c3b;/* Gris anthracite corporate */
  font-family: 'avenir';
  /* background-image: url('../img/reliure-book.png');
  background-repeat:repeat-x;
  background-position: center top; */

}

.positionGeneral{
  display: flex;
  flex-direction: column;
}

.container{
  width: 80%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  padding: 20px;

}

h1,
h2,
h3,
h4{
  font-family: 'avenir';
  font-weight: 400;
  text-align: center;
}


video,
iframe,
img,
audio{
  max-width: 100%;
}

/***************** HEADER **********************/

header{
  z-index: 1;
  /* background-image: url('../img/test-texture.jpg'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 0.5px solid #e4e4e4;;
  box-shadow: 2px 5px 40px 0px rgba(60, 60, 59, 0.2);
}

.navigationGeneral{
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  /* box-shadow: 2px 5px 40px 0px rgba(60, 60, 59, 0.2); */
}

.logoMAG{
  width: 60%;
  max-width: 300px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.metiers{
font-size: 1.4rem;
font-weight: 500;
margin-top: 5px;
line-height: 1.3;
margin: 0 auto 0;
padding: 0;
}

.metiers span{
  font-weight: lighter;
  font-style: italic;
  color: rgba(60, 60, 59, 0.7);
}

.choixLangTab{
  display: none;
}

.choixLang{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 20px;
}

.choixLangdrapeaux{
  width: 60px;
  height: 35px;
  margin: 20px 10px 0;
}

.choixLangdrapeaux:hover{
  width: 61px;
  height: 36px;
  box-shadow: 2px 3px 6px 0px rgba(60, 60, 59, 0.6);
}

.dottedLine{
  border-top: 1px dotted #3c3c3b;/* Gris anthracite corporate */
}

.dottedLineTab{
  border-bottom: 1px dotted #3c3c3b;/* Gris anthracite corporate */
}

.navHeader{
  display: none;
  flex-direction: column;
  margin-bottom: 0;
  padding-bottom: 0;
}

.navHeader a{
  margin-top: 0;
  font-family: 'avenir';
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: #3c3c3b;/* Gris anthracite corporate */
}

.navHeader a:hover{
  color: #0098d5;
}

.titreNav{
  font-family: 'Bodoni_Std';
  font-weight: 600;
  margin-bottom: 0;
}

.menuDeroulant{
  width: 30px;
  text-align: center;
  /*margin: 0 auto 5px;*/
  margin: 15px auto 15px;
  border: 0;
}

/* #burger{
  margin: 15px auto 15px;
} */

.hide{
  display: none;
}

/***************** MAIN INDEX **********************/

.main_index{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.sectionMonTravail{
  width: 50%;
  height: auto;
}

.sectionMonTravail a{
  display: grid;
  grid-template-columns: repeat(1);
  width: 100%;
  height: auto;
  padding: 15px;

}

.sectionMonTravail a img{
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  font-size: 0;
  border: 0.5px solid #e0e0e0;
}

/* .CRL{
  display: none;
} */

img.hover {
  opacity: 0;
  z-index: 100;
}

img.hover:hover{
  transition-property: all;
  transition-duration: 0.5s;
  opacity: 1;
}


/***************** FOOTER **********************/
footer{
  /* width: 100%; */
  text-align: center;
  /* position: absolute;
  bottom: 0;
  left: 0;
  right: 0; */
  margin-left: auto;
  margin-right: auto;
  display: block;
  bottom: 0;
  width: 100%!important;
  overflow: hidden;
  margin-top: 30px;
}

.MentionsLegales{
  text-decoration: none;
  color: #3c3c3b;/* Gris anthracite corporate */
  padding-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.MentionsLegales i{
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  font-size: 1.5rem;
}

.MentionsLegales p{
  margin: 0px auto 20px;
  text-align: center;
}

 .MentionsLegales:hover{
  color: rgba(60, 60, 59, 0.7);
}

/* .MentionsLegales i:hover{
  color: rgba(60, 60, 59, 0.7);
} */

.mentionL{
  padding: 0 15px 15px;
  text-align: center;
}

.mentionL p{
 font-style: italic;
}

.FAwsome{
  margin-bottom: 0;
}

.mentionL a{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/***************** MA PETITE HISTOIRE **********************/

.main_MaPetiteHistoire{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 20px 20px;
}

.main_MaPetiteHistoire .sectionMonTravail{
  width: 100%;
}

.main_MaPetiteHistoire .titreNav{
  margin: 50px auto 10px;
  font-size: 1.6rem;
}

.main_MaPetiteHistoire h3{
  font-style: italic;
  margin-left: 40px;
  margin-right: 40px;
}

.main_MaPetiteHistoire p{
  margin: 25px 40px 20px;
  text-align: justify;
}

.portrait{
  width: 40%;
  max-width: 200px;
  border-radius: 100%;
  /*box-shadow: 2px 3px 6px 0px rgba(60, 60, 59, 0.3);*/
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.sectionMonTravail a.Fitnext{
  text-decoration: none !important;
  font-weight: bold !important;
  color: #28BCE5 !important;
  display: inline;
}

/***************** ME CONTACTER **********************/

.main_MeContacter{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 20px 20px;
}

.main_MeContacter .sectionMonTravail{
  width: 100%;
}

.main_MeContacter .titreNav{
  margin: 50px auto 10px;
  font-size: 1.6rem;
}

.MaContacterTable{
  width: 75%;
  margin: 20px auto 20px;
}

.label{
  width: 30%;
}

.resultContact{
  width: 70%;
}

.main_MeContacter input{
  width: 100%;
}

.main_MeContacter textarea{
  width: 100%;
}

.main_MeContacter .submit{
  width: auto;
  text-align: left;
}

.main_MeContacter p{
  width: auto;
  text-align: center;
  margin-bottom: 0;
}

.mail{
  display: block;
  color: #3c3c3b;/* Gris anthracite corporate */
  text-align: center;
  text-decoration: none;
}

.mail:hover{
  color: #0098d5;
}


/***************** PAGES SOLOS **********************/
.pages_index .introduction{
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.introduction img{
  width: 100%;
  max-width: 250px;
  margin-top: 30px;

}

.grid{
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  /* columnWidth: 30%; */
}

.grid-item{
  float: left;
  width: 45%;
  height: auto;
  margin: 10px 2.5% 10px;
  border: 1px solid rgba(60, 60, 59, 0.4);
  border-radius: 5px;
  padding: 5px;
}

.grid-item p{
  margin-top: 0;
  margin-bottom: 0;
}

.grid-item img{
  width: 100%;
  border-radius: 5px;
}

.grid-item img:hover{
  opacity: 0.5;
}

.pages_index footer{
  width: 100%!important;
  overflow: hidden;
}





.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

.clickImg {
  cursor: zoom-in;
}

/* The Modal (background) */
#PopUpModal {
  display: none;
  flex-direction: column;
  align-items: center;
  position: fixed;
  z-index: 1;
  padding: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);;
}

#close{
  background-color: white;
  color: black;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 4px;
  text-align: center;
  position: absolute;
  right: 7%;
  top: 15px;
}

.PopUpcontent{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  /* align-items: center; */
}

#prevClick{
  width: 10%;
  padding: 5px;
  text-align: center;
  color: white;
}

.viewerDivImg{
  width: 80%
}

#nextClick{
  width: 10%;
  padding: 5px;
  text-align: center;
  color: white;
}

.legendeImg{
  text-align: center;
}

.viewerImg {
  cursor: pointer;
  width: 100%;
  display: none;
}


/***************** PAGE VIDEO **********************/
.sectionVideo{
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.pageVideo{
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.pageVideo h2{
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
}

.pageVideo p{
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.3rem;
  font-style: italic;
  text-align: left;
}

.containerVideo {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 15px;
    border: 1px solid rgba(60, 60, 59, 0.4);
}
.videoSize {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/***************** PAGE REALISATION WEB **********************/
.sectionRW{
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.pageRW{
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.pageRW h2{
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
}

.pageRW a:hover{
  opacity: 0.5;
}

.pageRW img{
  border: 1px solid rgba(60, 60, 59, 0.7)
}

.alerte{
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  margin-left: 30px;
  margin-right: 30px;
  color: #0098d5;
}

.alerte2{
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  margin-top: 70px;
  margin-left: 30px;
  margin-right: 30px;
  color: #0098d5;
}









/***************** RESPONSIVE DESIGN TABLETTE **********************/
@media screen and (min-width: 800px){

  body{
    /* background-image: url('../img/reliure-book-vertical.png');
    background-repeat:repeat-y;
    background-position: left top; */
  }

  .positionGeneral{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
  }

  /***************** HEADER **********************/

  header{
    width: calc(1/3*100%);
    box-shadow: 2px 5px 70px 0px rgba(60, 60, 59, 0.2);
    padding-bottom: 40px;
    border-bottom: 0;
    border-right: 0.5px solid #e4e4e4;
  }

  .logoMAG{
    width: 80%;
    max-width: 300px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .navigationGeneral{
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    /* margin-left: 44px; */
    padding: 10px;
    /* box-shadow: 2px 5px 30px 0px rgba(60, 60, 59, 0.2); */
  }


  .metiers{
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 5px;

  margin: 0 auto 0;
  padding: 0;
  }

  .metiers span{
    font-weight: lighter;
    font-style: italic;
  }

  .choixLangTab{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 20px;
  }

  .choixLang{
    display: none;
  }


  .navHeader a{
    margin-top: 10px;
    line-height: 1.2;
  }

  .metiers span{
    margin-bottom: 10px;
  }

  .menuDeroulant{
    display: none;
  }

  .choixLangdrapeaux{
    width: 44px;
    height: 25px;
    margin: 20px 5px 20px;
  }

  .choixLangdrapeaux:hover{
    width: 45px;
    height: 26px;
    box-shadow: 2px 3px 6px 0px rgba(60, 60, 59, 0.6);
  }

  /***************** MAIN INDEX **********************/

  main{
    width: calc(2/3*100%);
  }

  .main_index{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
  }

  .sectionMonTravail{
    width: 50%;
    height: auto;
  }

  .sectionMonTravail a{
    display: grid;
    grid-template-columns: repeat(1);
    width: 100%;
    height: auto;
  }

  .sectionMonTravail a img{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    font-size: 0;
    /* border: 0.5px solid #9d9d9d; */
  }

  /***************** FOOTER **********************/
  footer{
    width: calc(3/4*100%);
    text-align: center;
    /* position: absolute;
    bottom: 0;
    left: calc(1/4*100%);;
    right: 0; */
    margin-left: auto;
    margin-right: auto;
    display: block;
    bottom: 0;
  }

  /***************** MA PETITE HISTOIRE **********************/
  .main_MaPetiteHistoire h3{
    font-style: italic;

  }

  .portrait{
    width: 20%;
    max-width: 200px;
    border-radius: 100%;
    /*box-shadow: 2px 3px 6px 0px rgba(60, 60, 59, 0.3);*/
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /***************** PAGES SOLOS **********************/
  .grid-item{
    float: left;
    width: 29.33333%;
    height: auto;
    margin: 10px 2% 10px;
    border: 1px solid rgba(60, 60, 59, 0.4);;
    border-radius: 5px;
    padding: 5px;
  }

  /***************** PAGE VIDEO **********************/
  .sectionVideo{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .pageVideo{
    width: 40%;
    text-align: center;
    margin-left: 2,5%;
    margin-right: 2,5%;
  }

  .containerVideo {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 56.25%;
  }
  .videoSize {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }

  /***************** PAGE REALISATION WEB **********************/
  .sectionRW{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .pageRW{
    width: 40%;
    text-align: center;
    margin-left: 2,5%;
    margin-right: 2,5%;
  }

}









/***************** RESPONSIVE DESIGN ECRAN ORDI **********************/
@media screen and (min-width: 1050px){

  /***************** HEADER **********************/

  header{
    width: calc(1/4*100%);
  }

  .logoMAG{
    width: 80%;
    max-width: 300px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /***************** MAIN INDEX **********************/

  main{
    width: calc(3/4*100%);
  }

  .sectionMonTravail{
    width: calc(1/3*100%);
    height: auto;
  }

  .sectionMonTravail a{
    display: grid;
    grid-template-columns: repeat(1);
    width: 100%;
    height: auto;
  }

  .sectionMonTravail a img{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    font-size: 0;
    /* border: 0.5px solid #9d9d9d; */
  }

  /***************** FOOTER **********************/


  /***************** PAGES SOLOS **********************/
  .introduction img{
    width: 100%;
    max-width: 250px;
    margin-top: 30px;
  }

  .grid-item{
    float: left;
    width: 21%;
    height: auto;
    margin: 10px 2% 10px;
    border: 1px solid rgba(60, 60, 59, 0.4);;
    border-radius: 5px;
    padding: 5px;
  }

  /***************** PAGE VIDEO **********************/
  .sectionVideo{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .pageVideo{
    width: 29.33333%;;
    text-align: center;
    margin-left: 2%;
    margin-right: 2%;
  }

  .containerVideo {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 56.25%;
  }
  .videoSize {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }

  /***************** PAGE VIDEO **********************/
  .sectionRW{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .pageRW{
    width: 29.33333%;;
    text-align: center;
    margin-left: 2%;
    margin-right: 2%;
  }

}

/***************** RESPONSIVE DESIGN ECRAN ORDI GRAND ECRAN **********************/
@media screen and (min-width: 1450px){

  /***************** HEADER **********************/

  header{
    width: calc(1/5*100%);
  }

  .logoMAG{
    width: 80%;
    max-width: 300px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /***************** MAIN INDEX **********************/

  main{
    width: calc(4/5*100%);
  }

  .sectionMonTravail{
    width: calc(1/4*100%);
    height: auto;
  }
}
