
/*@font-face {
      font-family: "CaviarDreams";
      src: url("../fonts/CaviarDreams.ttf"),
	  url("../fonts/CaviarDreams_Bold.ttf"),
	  url("../fonts/CaviarDreamsBoldItalic.ttf"),
	  url("../fonts/CaviarDreams_Italic.ttf");
}*/

/*@font-face {
    font-family: 'Caviardreams';
    src: url('../fonts/caviardreams-webfont.woff2') format('woff2'),
         url('../fonts/caviardreams-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}*/

/*@font-face {
    font-family: Georgia, serif;
    font-weight: ultra-light;
    font-style: normal;
}*/

html, body, div, span {
margin:0;
padding: 0;
border:0;
}

body{

background: #BCBABE; 
color: #f1f1f2;
font-family:  Calibri, Helvetica, Arial sans serif;
font-size:100%;

min-width: 290px;

}

/* ENTETE */

#header {
position: relative;
width:100%;
height:auto;
margin: 0;

display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: column;
flex-direction: column;

justify-content: center; 
align-items: center;

/*background: none;*/
background: #008dcb;
}

#header .logo {
Position: relative;
width:100%;
height:80px;
margin: 5px auto;

text-align:center;

}

#header .logoavectel {
Position: relative;
width:100%;
height:80px;
margin: 5px auto;

text-align:center;

}

#header .logo img {
width:auto;
height: 100%;
}

#header .logoavectel img {
width:auto;
height: 100%;
}

#header .slogan {
position:relative;
width:100%;
height:auto;
margin: 5px auto;

font-size: 1.1em;
font-weight:bold;
color:#f8f5f2;
text-align: center;

}

#header .telephone {
position:relative;
width:100%;
height:	auto;
margin: auto;

font-size: 2em;
font-weight:bold;
color:#1995AD; 
text-decoration:none;

text-align: center;
background: #f1f1f2;

}

.lien_telephone {
   color:#1995AD;
   text-decoration:none;
}

.lien_mail {
   color:#1995AD;
   text-decoration:none;
}

@media only screen and (min-width: 670px) { /* pour ordi */

#header .telephone {
	position:fixed;
	top:0;
	left:0;
	height:	50px;
	padding:5px 0;
	box-sizing: border-box;
	line-height:40px;
	
	z-index:1000;
}

#header .logo {
height: 150px;
margin: 0 auto;
}

#header .logoavectel {
height: 150px;
margin: 60px auto 0 auto;
}

#header .slogan {
font-size: 2em;
}

} /* fin media querie pour ordi */ 

/* POPUP */

@media only screen and (max-width: 670px) { /* pour mobile */
 
.button_menu {
  position:fixed;
  
  top:0px;
  right:0;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  background: rgba(188,186,190,0.5); 
  
  font-size: 1em;
  color: #f1f1f2;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}

.button_menu .ligne {
  position:relative;
  
  width: 25px;
  height:2px;
  margin: auto;
  
  background: #f47d4a;
  
  border: 2px solid #f47d4a;
  border-radius: 5px;
  
}

.button_menu .ligne1 {
  top:9px;
}

.button_menu .ligne2 {
  top:14px;
}

.button_menu .ligne3 {
  top:19px;
}

.button_menu a {
  cursor: pointer;
  text-decoration: none;
}

.button_menu:hover {
  background: #BCBABE;
}

.button_contact {
  position:fixed;
  
  top:45px;
  right:0;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  
  background:rgba(188,186,190,0.5);
  
  background-image: url('../images/commun/enveloppe_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  
  text-align:center;
  font-size: 8px;
  color: #f1f1f2;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}

.button_contact a {
  cursor: pointer;
  text-decoration: none;
}

.button_contact:hover {
  background: #BCBABE;
  background-image: url('../images/commun/enveloppe_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
}

.button_home {
  position:fixed;
  
  top:90px;
  right:0;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  background:rgba(188,186,190,0.5);
  
  background-image: url('../images/commun/maison_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  
  text-align:center;
  font-size: 8px;
  color: #f1f1f2;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}

.button_home a {
  cursor: pointer;
  text-decoration: none;
}

.button_home:hover {
  background: #BCBABE;
  background-image: url('../images/commun/maison_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
}

} /* fin media querie pour mobile */ 

@media only screen and (min-width: 671px) { /* pour ordi */
 
 .button_menu {
  position:fixed;
  
  top:5px;
  right:20px;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  background: none; 
  
  font-size: 1em;
  color: #1995AD;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}

.button_menu .ligne {
  position:relative;
  
  width: 25px;
  height:2px;
  margin: auto;
  
  background: #f47d4a;
  
  border: 2px solid #f47d4a;
  border-radius: 5px;
  
}
.button_menu .ligne1 {
  top:9px;
}

.button_menu .ligne2 {
  top:14px;
}

.button_menu .ligne3 {
  top:19px;
}

.button_menu a {
  cursor: pointer;
  text-decoration: none;
}

.button_menu:hover {
  background: #BCBABE;
}

.button_contact {
  position:fixed;
  
  top:5px;
  right:80px;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  background:none;
    
  background-image: url('../images/commun/enveloppe_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  
  text-align:center;
  font-size: 8px;
  color: #f1f1f2;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}
.button_contact a {
  cursor: pointer;
  text-decoration: none;
}

.button_contact:hover {
  background:#BCBABE;
  background-image: url('../images/commun/enveloppe_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
}

.button_home {
  position:fixed;
  
  top:5px;
  right:140px;
  
  width: 50px;
  height:45px;
  margin: auto;
  
  background:none;
  
  background-image: url('../images/commun/maison_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  
  text-align:center;
  font-size: 8px;
  color: #f1f1f2;
  transition: all 0.3s ease-out;

  z-index:9000;
  
}

.button_home a {
  cursor: pointer;
  text-decoration: none;
}

.button_home:hover {
  background: #BCBABE;
  background-image: url('../images/commun/maison_orange.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
}

}  /* fin media querie pour ordi */ 

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  width: 100%;
  height:100%;
  
  display: flex;
display: -webkit-flex;
display: -moz-flex;

  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:10000;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  position: relative;
  width: 80%;
  max-width:1200px;
  height:auto;
  
  margin: auto;
  padding: 20px;
  background: #f1f1f2;
  border-radius: 5px;
  font-size;2em;
  
  transition: all 500ms ease-in-out;
  color:black;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;

}
.popup .close {
  position: absolute;
  top: 0px;
  right: 15px;
  transition: all 200ms;
  font-size: 50px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  
}

.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 90%;
  overflow: auto;
 
}

.heightauto {
  height:auto;
}

#popup_mentions .content {
 
 text-align:center;
}

#popup_menu .content {
 
text-align:center;
font-size:1.1em;
}

#popup_menu .content a{
 
text-decoration:none;
color:#000;
}

#popup_menu .content a:hover{
 
color:#1995AD;
}

 /* CONTENU */

#contenu {

background: #008dcb; 
color: #f1f1f2;

width:100%;
height:auto;

padding:10px 0;

}

.presentation{
position:relative;
width:86%;
max-width:1200px;
height:auto;
margin: 20px auto;
background: #f1f1f2;
color: black;
padding: 5px 2% 20px 2%; 
/*box-sizing: border-box;*/

text-align:justify;
text-justify:newspaper;
font-size:1.2em;
}

.presentation h1{
text-align:left;
font-size:1.5em;
color: #d70026;
}

.presentation h2{
color: #1995AD;
font-size:1.2em;
font-weight:bold;

}

.presentation h3{
color: #d70026;
font-size:1.2em;
font-weight:bold;

}

.conteneur_info{
position:relative;

/*display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: column;
flex-direction: column;*/
	
width:90%;
max-width:600px;
height:auto;
margin: 10px auto;
background : #f1f1f2;
color: black;
}

.conteneur_info .content_text{
position:relative;

height:auto;

font-size: 1.2em;
color: black;
padding:5px 2%;
box-sizing: border-box;
}

.conteneur_info h2{
color: #d70026;
font-size:1.5em;
font-weight:bold;
}

.conteneur_info a {
  cursor: pointer;
  text-decoration: none;
}

.conteneur_info .content_image{
position:relative;

height: auto;

display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: row;
flex-direction: row;
flex-wrap: wrap;

justify-content: space-around;
align-items: center;

margin:auto;
/*padding:10px 5px;
box-sizing: border-box;*/
}

.conteneur_info .content_image img{
width:100%;
height:auto;
padding:10px 5px;
box-sizing: border-box;
}

.image20{
width:20%;
height:auto;
}

.image25{
width:25%;
height:auto;
}

.image30{
width:30%;
height:auto;
}

.image40{
width:40%;
height:auto;
}

.image50{
width:50%;
height:auto;
}

.image75{
width:75%;
height:auto;
}

.image90{
width:90%;
height:auto;
}

.conteneur_info .content_image .sanspadding{
padding:0;
}

.conteneur_info h3{
color: #009000;
font-size:1.3em;
font-weight:bold;
}

.conteneur_liens{ 
position:relative;
width:90%;
max-width:1200px;
height:	auto;

display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: row;
flex-direction: row;

justify-content: center; /*space-around;*/
flex-wrap: wrap;
align-items: center;

margin: 15px auto;
background: none;
color: #f1f1f2;
}

.conteneur_liens a{
	text-decoration:none;
}

.lien{
position:relative;
width:20%;
min-width:110px;
max-width:180px;
margin: 10px 10px;
background : none;
color: #f1f1f2;
text-align:center;
}

.lien img{
width:90%;
height:auto;
z-index:1;
}

@media only screen and (max-width: 670px) { /* pour mobile */


} /* fin media querie pour mobile */ 
 
.lien .label{
position:relative;
/*position:absolute;
display:block;
bottom: 5px;*/
width: 100%;
z-index:2;

background: none;
font-size: 100%;/*1.3em;*/
font-weight:bold;
text-align: center;
color: #d70026;

}

.conteneur_galerie{
position:relative;
width:90%;
max-width:1200px;
height:	auto;

display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: row;
flex-direction: row;

justify-content: center; /*space-around;*/
flex-wrap: wrap;
align-items: center;

margin: 20px auto;
background: none;
color: #f1f1f2;
text-align:justify;
}

.conteneur_galerie>a{
position:relative;
margin: 10px 5px;
text-align:center;
}

.conteneur_galerie .photo{
width:auto;
max-width:100%;
height:150px;
padding:10px;
margin:auto;
}

.conteneur_galerie .photo43{
width:auto;
max-width:200px; /* format 4/3 déforme les photos panoramiques */
height:150px;
padding:10px;
margin:auto;
}

.conteneur_galerie .photo_calendrier{
width:95%;
height:auto;
padding:10px;
margin:auto;
}

/*@media only screen and (max-width: 670px) { /* pour mobile */
	/*.conteneur_galerie .photo_calendrier{
	width:auto;
	height:200px;
	padding:10px;
	margin:auto;
	}
 
  } /* fin media querie */ 
 

.conteneur_galerie .content_text{
position:relative;
height:auto;

font-size: 1.2em;
color: black;
padding:0px 2% 15px 2%;
box-sizing: border-box;
}

.conteneur_galerie a {
text-decoration:none;
}

.zoom_photo {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  width:100%;
  height:100%;
  
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;

  background: rgba(0, 0, 0, 0.9);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:10000;
  
 }

.zoom_photo:target {
  visibility: visible;
  opacity: 1;
}

/* mode portrait */

.zoom_photo .image {
  position: relative;
  width:95vw;
  height:71.25vw;	/* ration 4/3 de 95% de la largeur de l'écran */
  
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  margin: auto;
    
  background: none;
     
  transition: all 500ms ease-in-out;

  overflow:hidden;
}

.zoom_photo img {
  position:relative;
  margin:auto;
  
  width:auto;
  max-width:100%;  /* en cas de photo panoramique >4/3 mais déforme la photo */
  height:100%;
}

@media only screen and (orientation: landscape) { /* mode paysage */
  .zoom_photo .image {
  width:126vh;		/* ration 4/3 de 95% de la hauteur de l'écran */
  height:95vh;	
  }
 
  } /* fin media querie */ 
 
 .image .close {
  position: absolute;
  top: 5px;
  right: 15px;

/* texte centré sur cercle */  
  font-size: 50px;
  font-weight: bold;
  text-decoration: none;
  color: #F47D4A;	/*orange*/
  height : 30px;
  width: 30px;
  line-height:20px;
  text-align:center;
  background: #FFFFFF;
  border-radius: 50%;
  
  transition: all 200ms;
 
  z-index: 200000;
}

.image .precedent {
  position: absolute;
  
  top: 50%;
  left: 10px;
  
  transform: translateY(-25px);
  
/* texte centré sur cercle */
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #F47D4A;	/*orange*/
  height : 30px;
  width: 30px;
  line-height:25px;
  text-align:center;
  background: #FFFFFF;
  border-radius: 50%;  
  
  z-index: 200000;
}

.image .suivant {
  position: absolute;
  
  top: 50%;
  right: 10px;
   
  transform: translateY(-25px);
 
  /* texte centré sur cercle */
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #F47D4A;	/*orange*/
  height : 30px;
  width: 30px;
  line-height:25px;
  text-align:center;
  background: #FFFFFF;
  border-radius: 50%;  

  z-index: 200000;
}

.image .close:hover, .precedent:hover, .suivant:hover{
  color: #FFFFFF;
  background: #F47D4A;
}

/* GARANTIE */

.garantie {
position:relative;
width:90%;
height:auto;
margin: 20px auto;
background : none;
color: black;
padding: 5px 0;
text-align:center;

}

/* COORDONNEES */

.coordonnees {
position:relative;
width:80%;
max-width:600px;
height:auto;
margin: 20px auto;
background : #f1f1f2;
color: black;
padding: 5px 5%;
box-sizing: border-box;
text-align: center;

}

/*.coordonnees a {
text-decoration:none;
color:#1995AD;
}*/

/* LIEN FACEBOOK */

#lien_facebook {
width: 100%;
height:50px;

display: flex;
display: -webkit-flex;
display: -moz-flex;

margin: 0;
background:#f1f1f2;
}

#lien_facebook a{
	
display: flex;
display: -webkit-flex;
display: -moz-flex;
-webkit-flex-direction: row;
flex-direction: row;
flex-wrap:nowrap;

justify-content: center;
align-items: center;

margin:auto;	
text-decoration:none;
color:#000;
}

#lien_facebook a:hover{
color:#1995AD;
}

#lien_facebook span{
font-size:20px;
margin:auto;
}


#lien_facebook img{
height:30px;
margin:auto;
}

/* PIED DE PAGE */

#footer {
position: relative;
width: 100%;
height: auto;
margin: auto;
background:#BCBABE;

padding: 30px 0;
font-size:1em;
color:#f1f1f2;
text-align:center;
}

#footer a{
text-decoration:none;
color:#f1f1f2;

}

#footer a:hover{
color:#1995AD;

}

/* FORMULAIRE DE CONTACT */

#formulaire {
    position: relative;
	width: 100%;
	height: 400px;
	margin: 0 auto;
	   
    background: #f1f1f2; 
  
}

input:required, textarea:required {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input:not([type="submit"]), textarea {
    outline: none;
    display: block;
    width: 90%;
	margin: 6px auto;
	padding: 3px 8px;
    border: 1px dashed #DBDBDB;
    color: #3F3F3F;
    font-family: Josefin, arial, sans-serif;
    font-size: 1em;
    
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    
	-webkit-transition: background 0.2s linear, box-shadow 0.6s linear;
    -moz-transition: background 0.2s linear, box-shadow 0.6s linear;
    -o-transition: background 0.2s linear, box-shadow 0.6s linear;
    transition: background 0.2s linear, box-shadow 0.6s linear;
}

input:not([type="submit"]):active, textarea:active, input:not([type="submit"]):focus, textarea:focus , input:not([type="submit"]):hover, textarea:hover{
    background: #F7F7F7;
    border: dashed 1px #969696;

    -webkit-box-shadow: 2px 2px 7px #E8E8E8 inset;
    -moz-box-shadow: 2px 2px 7px #E8E8E8 inset;
    box-shadow: 2px 2px 7px #E8E8E8 inset;
}

input:not([type="submit"]) { height: 20px }

/* consigne a l'interieur des cases */

::-webkit-input-placeholder {
    color: #BABABA;
    font-style: italic;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #BABABA;
    font-style: italic;
}

textarea {
    height: 100px;
	max-height: 100px;
    resize: vertical;
}

.indication {
	position:absolute;
	bottom:10px;
	right:10px;
    color: #878787;
    font-size: .8em;
    font-style: italic;
    text-align: right;
    
}

/* bouton envoyer */

input[type=submit] {
    width:auto;
	
	margin: 5px auto;
	cursor: pointer;
   
    font-family: Josefin, arial, sans serif;
    color: #000;
    font-size: 1em;
   
	padding: 5px 5px;

	background: #00A9EC;
    
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    
	-webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

input[type=submit]:hover {
    color: #686868;
    background:#f1f1f2;
	
	-webkit-box-shadow: 0 0 0px 5px #00A9EC;
    -moz-box-shadow: 0 0 0px 5px #00A9EC;
    box-shadow: 0 0 0px 5px #00A9EC;
}

input[type=submit]:active, input[type=submit]:focus {
    position: relative;
    top: 1px;
    color: #686868;
    
	background: #f1f1f2;
	
	-webkit-box-shadow: 0px -1px 1px #f1f1f2 inset, 0 0 0px 5px #00A9EC;
    -moz-box-shadow: 0px -1px 1px #f1f1f2 inset, 0 0 0px 5px #00A9EC;
    box-shadow: 0px -1px 1px #f1f1f2 inset, 0 0 0px 5px #00A9EC;
}

