/* Mise en forme générale sections */

html {
  height: 100%;
}

.container {
width: 930px;
margin: 0 auto;
}

#fondbleu { 
  background:url(../img/fond/fondbleu.jpg)no-repeat center center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top;
  width: 100%;
  height: 706px;
}

#fondgris { 
  background:url(../img/fond/fondgris.jpg)no-repeat center center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top;
  box-shadow: -1px 2px 10px 3px rgba(0, 0, 0, 0.3) inset;
  text-align: center;
  width: 100%;
  height: 650px;
}

#fondrose { 
  background:url(../img/fond/fondrose.jpg)no-repeat center center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top;
  width: 100%;
  height: 894px;
  color: #fff;
  text-align: center;
}

#fondorange { 
  background:url(../img/fond/fondorange.jpg)no-repeat center center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top;
  box-shadow: -1px 2px 10px 3px rgba(0, 0, 0, 0.3) inset;
  width: 100%;
  height: 880px;
  text-align: center;
  font-family: 'Josefin Sans', futura, sans-serif;
  color: #fff;
}

/*--- Mise en forme Barre de Nav ----------------------------*/

html>body #barren {
  position: fixed;
}

#barren {
  z-index:200;
  background-color: rgba(255, 255, 255, 0.7);
  width: 100%;
  height:60px;
}

div nav {
  width: 930px;
  text-align:right;
  margin: 0 auto;
}

nav ul li{
  display: inline;
  line-height: 60px;
}

nav a {
  text-decoration: none;
  color: #575757;
  font-family: 'Josefin Sans', futura, sans-serif;padding-left: 15px;
  font-size: 1.2em;
}

nav a:hover {
  text-decoration: underline;
}

#acc {
  display: block;
  float: left;
}

#acc a {
  padding-left: 0;
}

nav img {
  width: 73px;
}

/* Mise en forme En-tête ---------------------------------*/

#fondbleu h1 {
  display: none;
}

#fondbleu div {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  padding-top: 110px;
}

#soleil {
  width: 400px;
  position: absolute;
  z-index: 2;
}

#nmi {
  position: absolute;
  width: 400px;
  z-index: 1;
}

/*>>>>> Effet Rotate <<<<*/

.rotate{
  -webkit-transition-duration: 4s;
  -moz-transition-duration: 4s;
  -o-transition-duration: 4s;
  transition-duration: 4s;
     
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  transition-property: transform;
     
  overflow:hidden;
}   
 
.rotate:hover   
{ 
  -webkit-transform:rotate(100deg);
  -moz-transform:rotate(100deg); 
  -o-transform:rotate(100deg);
}

/*--- Mise en forme Travaux ---------------------------------*/

#fondgris h2 {
  font-family: 'Norican', cursive;
  color: #53829a;
  font-size: 50px;
  padding-top: 90px;
  margin-bottom: 50px;
}

#fondgris hr {
  display: inline-block;
  color: #53829a;
  width: 250px;
  height: 1px;
  margin: 15px;
}

#fondgris .container {
  height: 283px;
}

/*>>>>> Global: Vignette <<<<<*/

#effect-1 {
  height: 283px;
  margin: 0 auto;
}

/*.effects {
  padding-left: 15px;
}*/

.effects .img {
  position: relative;
  /*float: left;*/
  display: inline-block;
  margin-bottom: 5px;
  width: 30%;
  overflow: hidden;
  border: solid 2px #575757;
}

.effects .img:nth-child(n) {
  margin-right: 5px;
}

/*.effects .img:first-child {
  margin-left: -15px;
}*/

.effects .img:last-child {
  margin-right: 0;
}

.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}

a.close-overlay.hidden {
  display: none;
}

a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 90%;
  height: 120px;
  text-align: left;
  color: #575757;
  line-height: 30px;
  font-weight: 700;
  font-size: 30px;
  font-family: 'Josefin Sans', futura, sans-serif;  text-decoration: none;
}

/*>>>>> Effect Slide in bottom <<<<<*/
#effect-1 .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}

#effect-1 .overlay a.expand {
  left: 0;
  right: 0;
  bottom: 50%;
  margin: 0 auto -30px auto;
}

#effect-1 .img.hover .overlay {
  height: 100%;
}

/*--- Mise en forme À propos --------------------------------*/
#containrel {
  width: 930px;
  height: 894px;
  margin: 0 auto;
  position: relative;
}

#fondrose h2 {
  width: 260px;
  margin: 0 auto 80px;
  padding-top: 90px;
  padding-bottom: 40px;
}
  
#fondrose h2 img {
  float: left;
  height: 50px;
  margin: 0 5px;
}

#fondrose h2 p {
  float: left;
  width: 200px;
  height: 40px;
  margin-top: 10px;
  font-family: 'Coustard',serif;
  font-size: 40px;
}

#containpo {
  width: 43%;
  height: 65.36%;
  padding-left: 40px;
}

#portrait {
  width: 100%;
  float: left;
  left: 70px;	
  margin: 50px auto 10px; 
}

#biocache {
  position: absolute;
  width: 312px;
  left: 45%;
  top: 375px;
}

#dlcv {
  position: absolute;
  width: 340px;
  left: 45%;
  top: 660px;
}

#dlcv a {
  text-decoration: none;
  text-align:center;
  font-family: 'Norican', cursive;
  font-size: 35px;
  color: #53829A;
}

#dlcv a:hover {
  color: white
}


/*>>>>> Info bulle <<<<<
[data-tip] {
  position: relative;
}

[data-tip]:hover:before{
  content: attr(data-tip);
  position: absolute;
  padding: 0 8px;
  height: 42px;
  line-height: 42px;
  background-color: #fff;
  left: -250px;
  top: 20px;
  margin-bottom: 50px;
  font-size: 21px;
  font-family: 'Josefin Sans', futura, sans-serif;
  border-radius: 42px;
  white-space: nowrap;
  color: #53829a;
}

[data-tip]:hover:after {
  content: "";
  position: absolute;
  border-top: 8px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  left: -208px;
  top: 62px;
}*/

/*>>>>> Flipping Animate <<<<*/

/* entire container, keeps perspective */
.flip-container {
  perspective: 1000;
}

/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
  transform: rotateX(180deg);
}

.flip-container, .front, .back {
  width: 114px;
  height: 114px;
}

/* flip speed goes here */
.flipper {
  transition: 0.5s;
  transform-style: preserve-3d;
  /*position: relative;*/
}

/* hide back of pane during swap */
.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

/* front pane, placed above back */
.front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateX(0deg);
}

/* back, initially hidden pane */
.back {
  transform: rotateX(180deg);
}

.flip-container .flipper {
  transform-origin: 100% 57px;
}

.flip-container{
  margin-left: 80px;
  display: inline-block;
}

#containrel div.flip-container:nth-child(2) {
  margin-left: 0;
}

/*>>>>> Toggle <<<<<*/

/*1*/
#toggle1{
  width: 312px;
  margin:1em;
  text-align:left;
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 21px;
  line-height: 27px; }

#toggle1 p{text-align:center;padding:0}

/*2*/
#toggle2{
  width: 312px;
  margin:1em;
  text-align:left;
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 21px;
  line-height: 27px; }

#toggle2 p{text-align:center;padding:0}

/*3*/
#toggle3{
  width: 312px;
  margin:1em;
  text-align:left;
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 21px;
  line-height: 27px; }

#toggle3 p{text-align:center;padding:0}

#toggle3 a{color: #fff}

/*--- Mise en forme Contact ---------------------------------*/

#fondorange h2 {
  font-size: 51px;
  padding-top: 90px;
}

#fondorange hr {
  width: 152px;
  height: 3px;
  background-color: #fff;
  border-style: none;
  margin: 5px auto 0;
}

#cocarte {
  width: 50%;
  float: left;
}

#cocarte img {
  width: 100%;
  margin: 80px 0 20px;
}

#map {
  width: 100%;
  height: 270px;
}

/*>>>>> Formulaire <<<<<*/

#monformulaire {
  width: 50%;
  height: 482px;
  margin-top: 80px;
  float: right;
  font-family: 'Josefin Sans', futura, sans-serif;
  /*background-color: #ccc;*/
}

#monformulaire label {
  display: none;
}

/*mise en forme des grande zone fieldset*/
fieldset {
  border: none;
}

/* mise en forme du champ de message*/
textarea {
  -moz-box-sizing: padding-box;
  box-sizing: padding-box;
  width: 89.690722%;
  height: 305px;
  float: right;
  padding-left: 10px;
  padding-top: 10px;
  margin-bottom: 22px;
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 30px; 
  color: #4b4b4b;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: none;
}

/* mise en forme du champs e mail*/
input {
  -moz-box-sizing: padding-box;
  box-sizing: padding-box;
  width: 89.690722%; /* 400/446 */
  height: 60px;
  float: right;
  padding-left: 10px;
  margin-bottom: 22px; 
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 30px;
  color: #4b4b4b;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: none;
}

/* lorsque le curseur est dans le champ change de couleur de fond*/
input:focus, textarea:focus {
  background: #d3e7f1;
}

/* mise en forme du bouton d'envoi*/
input[type=submit] {
  cursor: pointer;
  width: 89.690722%; /* 400/446 */
  height: 60px;
  padding: 0;
  margin: 0;
  float: right; 
  font-family: 'Josefin Sans', futura, sans-serif;
  font-size: 30px;
  color: #fff;
  background-color: #53829a;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: none;
}

/*mise en forme du survol du bouton d'envoi*/
  input[type=submit]:hover {
  border: 1px solid #fff;
}

/*--- Mise en forme Footer ---------------------------------*/

footer {
  font-family: 'Josefin Sans', futura, sans-serif;
  color: #fff;
  background-color: #575757;
  height: 95px;
}

footer nav {
  width: 930px;
  text-align:left;
  margin: 0 auto;
  padding-top: 15px;
}

#viadeo {
  display: block;
  float: right;
  /*padding-right: 10px;*/
}

#viadeo img {
  width: 35px;
  padding-left: 10px;
}

#linkedin {
  display: block;
  float: right;
  /*padding-right: 5px;*/
}

#linkedin img {
  width: 35px;
  padding-top: 4px;
}


/*--- Mise en forme pour Tablette -------------------------*/

@media (max-width: 940px) {

/*Général*/
  .container {
    width: 100%;
  }

/*Barre de nav*/
  #acc a {
  padding-left: 10px;
  }
  
  #barren nav {
    width: 100%;
  }
  
  #barren ul:last-child {
    padding-right: 10px;
  }

/*Travaux*/
  .overlay {    
    overflow: visible;
  }

  #effect-1 .overlay {  
  width: 100%;
  height: 100%;
  }

/*A propos*/
  #containrel {
    width: 100%;
  }

  .back {
  backface-visibility: visible;
  }

/*Contact*/
  #cocarte img {
    margin-left: 10px;
  }

  #map {
    margin-left: 10px;
  }

  textarea {
    margin-right: 10px;
  }

  input {
    margin-right: 10px;
  }

  input[type=submit] {
    margin-right: 10px;
  }

  
/*Footer*/
  footer nav {
    width: 100%;
    } 
  footer ul {
    padding: 0 10px;
  }

}

















