/* ******************************************************************************************************************* */
/*  HEADER FIXY ONLY FOR HOMEPAGE
/* ******************************************************************************************************************* */

#header{
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  right: 0;

  /*
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  */
}

/* ******************************************************************************************************************* */
/*  COVER
/* ******************************************************************************************************************* */
#cover{
  background-image: url(../../images/bg/fond-default.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

  padding: 30px;
  margin-top: 40px;
}

@media only screen and (min-width: 680px) {
  #cover{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 0;
  }
}

@media only screen and (min-width: 800px) {
  #cover{
    padding-top: 100px;
  }
}



/* ******************************************************************************************************************* */
/*  COVER > LEFT
/* ******************************************************************************************************************* */
@media only screen and (min-width: 800px) {
  #cover-left{
    width: 420px;
  }
}

#cover-left img{
  display: none;
}

@media only screen and (min-width: 680px) {
  #cover-left img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
  }
}

@media only screen and (min-width: 1400px) {
  #cover-left img{
    max-width: unset;
  }
}

#cover .frame-type-text{
  color: #FFFFFF;
  margin-top: 20px;
  font-size: 12px;
  margin-bottom: 30px;
}

#cover .frame-type-text header{
  font-size: 45px;
  line-height: 45px;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Amatic sc';
}


@media only screen and (min-width: 680px) {
  #cover .frame-type-text header{
    display: none;
  }

  #cover .frame-type-text{
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.4em;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1400px) {
  #cover .frame-type-text{
    font-size: inherit;
    margin-top: 50px;
  }
}


/* ******************************************************************************************************************* */
/*  COVER > RIGHT
/* ******************************************************************************************************************* */
@media only screen and (min-width: 800px) {
  #cover-right{
    width: 50%;
  }
}

#cover-right img{
  width: 100%;
  height: auto;
}





/* ******************************************************************************************************************* */
/*  CORPORATE
/* ******************************************************************************************************************* */
#corporate{
  position: relative;
}

@media only screen and (min-width: 680px) {
  #corporate{
    padding-right: 70px;
  }
}

@media only screen and (min-width: 800px) {
  #corporate{
    padding-left: 5vw;
    display: flex;
    align-items: center;
  }
}

@media only screen and (min-width: 1400px) {
  #corporate{
    padding-left: 10vw;
  }
}

@media only screen and (min-width: 800px) {
  #corporate::before{
    content: '';
    background: #f2f2f2;
    height: 90vh;
    display: block;
    position: absolute;
    top: 5vh;
    left: 0;
    z-index: -1;
    width: 15vw;
  }
}

@media only screen and (min-width: 1400px) {
  #corporate::before{
    width: 20vw;
  }
}




/* ******************************************************************************************************************* */
/*  CORPORATE > blocs verts
/* ******************************************************************************************************************* */
#corporate-left{
  display: flex;
  justify-content: center;
  background: #F2F2F2;
  padding: 10px 0;
  margin-bottom: 30px;
}

@media only screen and (min-width: 800px) {
  #corporate-left{
    display: block;
    background: none;
    padding: 0;
    margin-bottom: 0;
  }
}

#corporate-left .frame{
  background: #99BD29;
  padding: 20px;
  width: 45%;
  margin: 1%;
}

@media only screen and (min-width: 800px) {
  #corporate-left .frame{
    margin: 10px;
    width: auto;
    padding: 20px 30px;
  }
}

@media only screen and (min-width: 1400px) {
  #corporate-left .frame{
    width: 300px;
    height: 300px;
    margin: 30px;
  }
}

#corporate-left .frame .ce-gallery img{
  max-width: 140px;
  height: auto;
  width: 100%;
}

@media only screen and (min-width: 800px) {
  #corporate-left .frame .ce-gallery img{
    max-width: 200px;
  }
}

@media only screen and (min-width: 1400px) {
  #corporate-left .frame .ce-gallery img{
    max-width: unset;
  }
}

#corporate-left .frame .ce-bodytext{
  text-align: center;
  margin-top: 20px;
}

#corporate-left .frame .ce-bodytext a{
  color: #FFFFFF;
  position: relative;
  display: inline-block;
  font-size: 14px;
}

@media only screen and (min-width: 1400px) {
  #corporate-left .frame .ce-bodytext a{
    font-size: 20px;
    background: url(../../images/pics/arrow.png) no-repeat left center / contain transparent;
    padding-left: 30px;
  }
}


/* ******************************************************************************************************************* */
/*  CORPORATE > RIGHT
/* ******************************************************************************************************************* */
#corporate-right{
  width: 100%;
  padding: 0 10px;
}

@media only screen and (min-width: 800px) {
  #corporate-right{
    padding: 0;
  }
}

#corporate .video-embed{
  position: relative;
}
@media only screen and (min-width: 800px) {
  #corporate .video-embed{
    padding: 10px;
  }
}

@media only screen and (min-width: 800px) {
  #corporate .video-embed::before{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: -20px;
    top: -20px;
    width: 200px;
    height: 200px;
    background: rgba(153, 189, 41, .2);
  }

  #corporate .video-embed::after{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    background: rgba(153, 189, 41, .2);
  }
}

@media only screen and (max-width: 680px) {
  #corporate .video-embed iframe{
    width: 90vw;
  }
}

#c101{
  margin: 10px 0 30px 0;
}

@media only screen and (min-width: 1400px) {
  #c101{
    margin: 8vh 0 0 0;
  }
}

#c101 h2{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 5px;
  display: none;
}
@media only screen and (min-width: 1400px) {
  #c101 h2{
    display: block;
  }
}

#c101 .ce-bodytext{
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

@media only screen and (min-width: 800px) {
  #c101 .ce-bodytext{
    justify-content: center;
  }
}

#c101 strong{
  font-family: 'kgprimarydots';
  font-size: 100px;
  line-height: 80px;
}

@media only screen and (min-width: 1400px) {
  #c101 strong{
    font-size: 200px;
    line-height: 150px;
  }
}

#c101 p{
  font-size: 12px;
  max-width: 200px;
  text-align: center;
  margin: 0 10px;
}

@media only screen and (min-width: 800px) {
  #c101 p{
    margin: 0 40px;
  }
}

#c102{
  text-align: center;
}

#c102 a{
  display: inline-block;
  border: 2px solid #97BC2E;
  padding: 5px 20px;
  border-radius: 320px;
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: bold;
  color: #97BC2E;
  letter-spacing: 1px;
  font-size: 12px;

  position: relative;
  overflow: hidden;

  transition: color 0.3s ease .15s;
  -moz-transition: color 0.3s ease .15s;
  -webkit-transition: color 0.3s ease .15s;
  -o-transition: color 0.3s ease .15s;
}

@media only screen and (min-width: 1400px) {
  #c102 a{
    margin-top: 50px;
    font-size: 14px;
    padding: 10px 30px;
  }
}

#c102 a:hover{
  color: #FFFFFF;
}

#c102 a::before{
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #97BC2E;

  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

#c102 a:hover::before{
  width: 100%;
}


#c9 h2{
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  margin-bottom: 30px;
}
#c9 .text-center{
  font-size: 20px;
  line-height: 1.6em;
}
