

@keyframes tourne_Text {
  0% {
transform: skewX(180deg);
  }
  20%, 40%, 60%, 80% {
 transform:skewX(30deg);
  }
  100% { 
 transform: skewX(0deg);
  }
} 
.titre {
  color: #000000;
  font-family: Roboto, Arial, sans-serif;
  font-size:48px;
   position: relative; transform-origin: 0 0;
   animation: tourne_Text 4s;
}
.fond{
margin-top: 0em;padding:3px; background-color: grey;
}
.cadre{
margin-top: 0em;padding:1%; background-color:white; color:white; border-radius:10PX;font-size: 1rem;width:98%;margin-left:auto;margin-right:auto;
}
.ligne-cadre{
	margin-top: 0em;padding:3px; border: 1px solid grey;color:black;border-radius:10PX;
}
.text-top{
	width:90%; margin: 10px auto 0px auto;
}
#contact{
	position:absolute;right:3px;top:70px;width:140px;
}
.menu_sel{
	 transform:scale(1.1);width:92%;
  border-radius: 10px;
text-decoration: underline;
transition-duration:0.8s; background-color:  #0f0e0d;
}



.menu_unsel {
 transform:  scale(1);width:100%;
  border-radius: 0px;
text-decoration: none;
transition-duration:0.8s;background-color:  #216179;
}
.custom-box {
	border-radius:30px;
    border: 2px solid grey;
    text-align: center;
    padding: 10px;
    width: fit-content;
    background-color: white;
    margin: auto;
}

#modal {
   	position:absolute;top:40%; width:40% ;left:calc(calc(100% - 40%)/2);padding:20px 20px 20px 20px;overflow:auto;font-size:18px;border-radius:30px;
	z-index:1;background-color: grey; 
/*	position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);*/
}
#modal button {
    background-color: #0090c5;
    border: none;
    padding: 1em;
    color: white;
    margin: 1em;
    border-radius: 5px;
}
/*Reset CSS*/
*{
    margin: 0px;
    padding: 0px;
    font-family: Avenir, sans-serif; 
}
body
{
	
  display: grid;
  grid-gap: 0px;
grid-auto-columns: minmax(300px, auto);
  grid-template-rows: 100px 100px auto 50px;
  grid-template-areas:  "logo"
                        "menu"
                        "contenu"
                        "footer"; 
}
 
.box
{
  background: #333;
  color: #fff;
  padding: 10px;
}
 
.logo
{
	  background-color:#359cc4;
  grid-area: logo;
/*  background-image:url('../images/logo.png');background-size: contain;background-repeat: no-repeat;*/
z-index:0;
}
.logo2
{
	 height:80px;
}
 
.menu
{
  grid-area: menu;
  display: flex;
  justify-content: bottom;
  align-items:flex-end;
  font-size: 0.3em;
  font-family: 'hobeaux-rococeaux-background', Helvetica;
  cursor: pointer;
  transition: all .3s ease;



   background-image:-moz-linear-gradient(top, #359cc4, white);
background-image:-webkit-linear-gradient(top,#359cc4, white);
background-image:-o-linear-gradient(top,#359cc4, white);
background-image:linear-gradient(top, #359cc4, white);  
}


 .menu-services {
	 padding-top:-20px;
   width: 94%;
   margin: 0px auto 0px auto;
    background-color: #f2f3f4  ;border-radius: 13px;
    position: sticky;border: 1px solid #dbe9f4 ;
}
/*Evite que le menu n'ait une hauteur nulle*/
.menu-services  ul::after{
    content: "";
    display: table;
    clear: both;
}
 .menu-services li{
    float: left;
    width: 32%;/*100% divisé par le nombre d'éléments de menu*/
    text-align: center;/*Centre le texte dans les éléments de menu*/
	
	padding : 0px  1px ;
}
.menu-services a, .menu-services .active{

    display: block; /*Toute la surface sera cliquable*/
    text-decoration: none; font-style: italic;
    color:grey;line-height:32px;
   /* border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
  font-size:12px;font-weight: bold;
    padding: 5px 0px ;/*Agrandit le menu et espace la bordure du texte*/
}
.menu-services .active{
	color:#359cc4;
	border-radius: 33px;
	background-color: #f0f8ff ;
	 text-decoration: underline;
	}
.menu-services a:hover{
	 background-color:  #0f0e0d;
  padding : 10px  0px ;color:#ffce2d;
   /* border-bottom: 2px solid gold;*/
}

.nav{
    width: 100%;
   margin: 0px auto 0px auto;
    background-color: #216179;
    position: sticky;
    bottom: 0px;
	border-radius: 3px;
}

.nav ul,  .menu-services ul{
    list-style-type: none;
}

.nav li{
    float: left;
    width: 20%;/*100% divisé par le nombre d'éléments de menu*/
    text-align: center;/*Centre le texte dans les éléments de menu*/
	
	padding : 0px  0px ;
}

/*Evite que le menu n'ait une hauteur nulle*/
.nav ul::after{
    content: "";
    display: table;
    clear: both;
}

.nav  button{
border:0 none;  background-color: #216179;width:100%;
    display: block; /*Toute la surface sera cliquable*/
    text-decoration: none;
    color:#f1f1f1;line-height:38px;
   /* border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
  font-size:12px;
    padding: 10px 0px ;/*Agrandit le menu et espace la bordure du texte*/
}


.menu_titre {
	
	display:block;
	position:bottom;

}
.menu_img {
	display:block;
	
/*    width: 20%;/*100% divisé par le nombre d'éléments de menu*/
  /*  text-align: center;/*Centre le texte dans les éléments de menu*/
max-height:24px; padding-right:5px;margin-bottom:-10px;padding-left:5px;
}
 .nav butteon:hover{
	 background-color:  #0f0e0d;
  padding : 10px  0px ;color:#ffce2d;
   /* border-bottom: 2px solid gold;*/
}
 
.visited{
	 background-color:  white;
  padding : 15px  0px ;color:#ffce2d;
   /* border-bottom: 2px solid gold;*/
}
.contenu
{
  grid-area: contenu;
 /* display: grid;
  grid-template-columns: 1fr ;
  grid-auto-rows: minmax(100px, auto);*/
  grid-gap: 10px;   background-color: #ffffff;color:#000000;padding:10px;list-style: inside;
}
 
.sidebar
{
	position:fixed;
display:none;

top:10%;
height:10%;
 width :10% ;
right:0%;
          background :#ffffff;*/

}
 
.footer
{
  grid-area: footer;  background-color: black ;color:white;
}
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media(min-width: 769px) and (max-width: 1023px) 
{
 body
  {
    grid-template-columns: 43% auto;
    grid-template-rows:  90px 0% auto 5%;
    grid-template-areas:  "logo menu "
                          "menu2 menu2"
                          "contenu contenu "
                          "footer footer ";
  }
  .fond{
padding:0.5em; 
}
.logo2
{
	 height:80px;
}
.cadre{
padding:1%; border-radius:10PX;font-size: 1.2rem;width:96%;
}
.ligne-cadre{
	margin-top: 0em;padding:0.5em; border: 1px solid grey;color:black;border-radius:10PX;
}
.text-top{
	width:90%; margin: 20px auto 0px auto;
}
  .menu {
	height:100%;
	 grid-column: 2;
  grid-row: 1;

  display: flex;
  justify-content: bottom;
  align-items:flex-end;
  font-size: 0.7em;
  font-family: 'hobeaux-rococeaux-background', Helvetica;
  cursor: pointer;
  transition: all .3s ease;

 background-image:-moz-linear-gradient(left, #359cc4, white);
background-image:-webkit-linear-gradient(left,#359cc4, white);
background-image:-o-linear-gradient(left,#359cc4, white);
background-image:linear-gradient(left, #359cc4, white);        

}
.menu_titre {
	
	display:inline;
	

}
.menu_img {
	
	
/*    width: 20%;/*100% divisé par le nombre d'éléments de menu*/
  /*  text-align: center;/*Centre le texte dans les éléments de menu*/
max-height:24px; padding-right:2px;margin-bottom:-10px;padding-left:2px;
}
.nav button{

    display: block; /*Toute la surface sera cliquable*/
    text-decoration: none;
    color:#f1f1f1;line-height:26px;
   /* border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
 /*  font-size:24px;*/
    padding: 10px 0px ;/*Agrandit le menu et espace la bordure du texte*/
}

.nav button:hover{
	 background-color:  #0f0e0d;
    color: #f6f6f6;padding : 10px  0px ;color:#ffce2d;
   /* border-bottom: 2px solid gold;*/
}	
#contact{
	position:absolute;right:10px;top:3px;width:110px;z-index:999;display:block;
}	
 .menu-services {	
   width: 92%; 
}

 .menu-services li{
	   width: 31%;
		padding : 0px  1% ;
}
.menu-services a, .menu-services .active{

  
  line-height:22px;
 
  font-size:18px;font-weight: bold;border-radius: 33px;
    padding: 10px 0px ;
}
}
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media(min-width: 1024px) and (max-width: 1388px)
{
	#contact{
	position:absolute;right:10px;top:4px;width:140px;
}
  body
  {
    grid-template-columns: 41% 1fr;
    grid-template-rows:  105px 0% auto 5%;
    grid-template-areas:  "logo menu "
                          "menu2 menu2"
                          "contenu contenu "
                          "footer footer ";
  }
  .logo2
{
	 height:95px;
}
    .fond{
padding:0.5em; 
}
.cadre{
padding:1%; border-radius:10PX;font-size: 1.2rem;width:96%;
}
.ligne-cadre{
	margin-top: 0em;padding:0.5em; border: 1px solid grey;color:black;border-radius:10PX;
}
.text-top{
	width:90%; margin: 20px auto 0px auto;
}
  .menu {
	height:100%;
	 grid-column: 2;
  grid-row: 1;

  display: flex;
  justify-content: bottom;
  align-items:flex-end;
  font-size: 0.9em;
  font-family: 'hobeaux-rococeaux-background', Helvetica;
  cursor: pointer;
  transition: all .3s ease;

 background-image:-moz-linear-gradient(left, #359cc4, white);
background-image:-webkit-linear-gradient(left,#359cc4, white);
background-image:-o-linear-gradient(left,#359cc4, white);
background-image:linear-gradient(left, #359cc4, white);        

}
.menu_titre {
	
	display:inline;
	

}
.menu_img {
	
	
/*    width: 20%;/*100% divisé par le nombre d'éléments de menu*/
  /*  text-align: center;/*Centre le texte dans les éléments de menu*/
max-height:26px; padding-right:2px;margin-bottom:-10px;padding-left:2px;
}
.nav button{

    display: block; /*Toute la surface sera cliquable*/
    text-decoration: none;
    color:#f1f1f1;line-height:34px;
   /* border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
 /*  font-size:24px;*/
    padding: 10px 0px ;/*Agrandit le menu et espace la bordure du texte*/
}

.nav buttton:hover{
	 background-color:  #0f0e0d;
    color: #f6f6f6;padding : 10px  0px ;color:#ffce2d;
   /* border-bottom: 2px solid gold;*/
}
 .menu-services {	
   width: 82%; 
}

 .menu-services li{
	   width: 31%;
		padding : 0px  1% ;
}
.menu-services a, .menu-services .active{

  
  line-height:22px;
 
  font-size:18px;font-weight: bold;border-radius: 33px;
    padding: 10px 0px ;
}
.text-top{
	width:75%; margin: 10px auto 0px auto;
}
}
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media(min-width: 1389px) {
		#contact{
	position:absolute;right:10px;top:4px;width:180px;
}
	  body
  {
    grid-template-columns: 39% 1fr;
    grid-template-rows:  128px 0% auto 5%;
    grid-template-areas:  "logo menu "
                          "menu2 menu2"
                          "contenu contenu "
                          "footer footer ";
  }
    .logo2
{
	 height:128px;
}
    .fond{
padding:1em; 
}
.cadre{
padding:2%; border-radius:10PX;font-size: 1.4rem;width:90%;
}

.ligne-cadre{
	margin-top: 0em;padding:0.5em; border: 1px solid grey;color:black;border-radius:10PX;
}
.text-top{
	width:90%; margin: 20px auto 0px auto;
}
	.menu {
	height:100%;
	 grid-column: 2;
  grid-row: 1;

  display: flex;
  justify-content: bottom;
  align-items:flex-end;
  font-size: 1.2em;
  font-family: 'hobeaux-rococeaux-background', Helvetica;
  cursor: pointer;
  transition: all .3s ease;

 background-image:-moz-linear-gradient(left, #359cc4, white);
background-image:-webkit-linear-gradient(left,#359cc4, white);
background-image:-o-linear-gradient(left,#359cc4, white);
background-image:linear-gradient(left, #359cc4, white);        

}
.menu_titre {
	
	display:inline;
	

}
.menu_img {
	
	
/*    width: 20%;/*100% divisé par le nombre d'éléments de menu*/
  /*  text-align: center;/*Centre le texte dans les éléments de menu*/
max-height:32px; padding-right:5px;margin-bottom:-10px;padding-left:5px;
}
 .menu-services {	
   width: 72%; 
}

 .menu-services li{
	   width: 31%;
		padding : 0px  1% ;
}
.menu-services a, .menu-services .active{

  
  line-height:22px;
 
  font-size:18px;font-weight: bold;border-radius: 33px;
    padding: 10px 0px ;
}
.text-top{
	width:80%; margin: 20px auto 0px auto;
}
.text-top{
	width:80%; margin: 10px auto 0px auto;
}
}
/**
 * Tooltip Styles
 */

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
 
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  top: -350%;
 left:calc(100% - 300px);
  margin-bottom: 5px;
  margin-left: 0px;
  padding: 4px;
 
  width: 280px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: black;
 font-style: italic;
  color: white;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble 
[data-tooltip]:after {
  position: absolute;
  top:-10px;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}
*/
/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;

}