@font-face {
    font-family: myFirstFont;
    src: url(font.ttf);
}

nav,
nav ul,
nav ul li,
nav ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background:url(../images/body_bg.png);

}

nav:after,
nav > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

nav {
  width: auto;
  border-bottom: 2px solid #0CA8E0;
   border-top: 1px solid #0CA8E0;
  font-family: myFirstFont;
  line-height: 1;

}
nav ul {
  background: #ffffff;
   color:#990099;
}
nav > ul > li {
  float: left;

}
nav.align-center > ul {
  font-size: 0;
  text-align: center;
}
nav.align-center > ul > li {
  display: inline-block;
  float: none;
}
nav.align-right > ul > li {
  float: right;
 
}
nav.align-right > ul > li > a {
  margin-right: 0;
  margin-left: -4px;
   color:#990099;
  
}
nav > ul > li > a {
  z-index: 2;
   color:#990099;
  padding: 10px 11px 12px 12px;
  font-size: 14px;
  text-decoration: none;
  color: #444444;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  margin-right: 0px;
}
nav > ul > li.active > a,
nav > ul > li:hover > a,
nav > ul > li > a:hover {
  color: #ffffff;
}
nav > ul > li > a:after {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 110%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  content: "";
  -webkit-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transform: perspective(5px) rotateX(2deg);
  -webkit-transform-origin: bottom;
  -moz-transform: perspective(5px) rotateX(2deg);
  -moz-transform-origin: bottom;
  transform: perspective(5px) rotateX(2deg);
  transform-origin: bottom;
}
nav > ul > li.active > a:after,
nav > ul > li:hover > a:after,
nav > ul > li > a:hover:after {
  background: #0CA8E0;
}

nav, nav ul{

text-align:center;
  background:url(../images/body_bg.png);
}

/*sous menu commence ici*/

nav  li ul{
 left:-4000px; position:absolute;
 
}
nav  li ul li {   
        color:#990099;
	background-color:#fff;
	width:150%;
        height:40px;
	text-decoration:none;
	border-bottom: 3px solid #0CA8E0;
	font-size:14px;
	text-align:left;
	
	}
	nav  li ul li > a  {
	 margin-left:10px;
	 font-style:bold;
	 text-decoration:none;	
}

nav  li ul li a:hover {
	 color: #0CA8E0;
	 font-style:bold;
	 text-decoration:none;	
}

/* Survol d'un lien racine */
nav a:hover, nav li:hover > a { color: #2ab2df;}
nav li:hover > ul { left: 0;  z-index: 10;}

			
/* Survol d'un lien de sous-menu */
nav li li:hover > ul { left: 150px; color: #2ab2df; width:120%;}


	

/* background des liens menus */