
/*
 * bleu		002851
 * rouge	b9091a
 * sable	ffc373
 * bleuATN	2dccd3
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);



#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  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;
  transition: 1s;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  /*Voir width dans small.css*/
  font-family: Verdana, sans-serif;
  background: #002851;
  z-index: 30;
  padding: 25px 0 28px 0;
  /*border-top: solid 1px #b9091a;*/
}

#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li {
  float: left;
}


#cssmenu > ul > li > a {
  padding: 20px 25px;
  font-size: 15px;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: color .5s ease;
  -moz-transition: color .5s ease;
  -ms-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #2dccd3;
  -webkit-transition: color .5s ease;
  -moz-transition: color .5s ease;
  -ms-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}

#cssmenu ul > li.has-sub > a:after {
  content: '';
  position: absolute;
  right: 5px;
  top: 21px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}


#cssmenu ul > li.has-sub:hover > a:after {
  background-position: 0 -18px;
}
#cssmenu ul > li.has-sub > a:before {
  content: '';
  position: absolute;
  right: 11px;
  top: 32px;
  display: block;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #034713;
  z-index: 99;
}
#cssmenu ul > li.has-sub:hover > a:before {
  border-top-color: #034713;
}


#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  opacity: 0;
  -webkit-transition: top .2s ease, opacity .2s ease;
  -moz-transition: top .2s ease, opacity .2s ease;
  -ms-transition: top .2s ease, opacity .2s ease;
  -o-transition: top .2s ease, opacity .2s ease;
  transition: top .2s ease, opacity .2s ease;
  z-index: 100;
}
#cssmenu > ul > li > ul {
  top: 98px;
  padding-top: 8px;
  border-radius: 5px;
}
#cssmenu > ul > li:hover > ul {
  left: auto;
  top: 85%;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  top: 40px;
}
#cssmenu ul ul > li:hover > ul {
  top: 0;
  left: 248px;
  padding-left: 10px;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 248px;
  padding-left: 0;
  padding-right: 10px;
  opacity: 1;
}
#cssmenu ul ul li a {
  width: 250px;
  text-align: left;
  padding: 12px 20px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  text-decoration: none;
  background: #034713;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li > a:hover,
#cssmenu ul ul li.active > a {
  color: #ffc373;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
 
}
#cssmenu ul ul > li.has-sub > a:after {
  right: 12px;
  top: 12px;
  background: #2f3e5a;
  background: -webkit-linear-gradient(top, #394c6e 0%, #344564 25%, #28354d 50%, #394c6e 75%, #344564 100%);
  background: -ms-linear-gradient(top, #394c6e 0%, #344564 25%, #28354d 50%, #394c6e 75%, #344564 100%);
  background: -moz-linear-gradient(top, #394c6e 0%, #344564 25%, #28354d 50%, #394c6e 75%, #344564 100%);
  background: -o-linear-gradient(top, #394c6e 0%, #344564 25%, #28354d 50%, #394c6e 75%, #344564 100%);
  background: linear-gradient(to bottom, #394c6e 0%, #344564 25%, #28354d 50%, #394c6e 75%, #344564 100%);
  box-shadow: inset 0 -1px 1px #1f293c, inset 0 2px 1px #49618c;
  background-size: 36px 36px;
  background-position: 0 0;
  background-repeat: no-repeat;
}
#cssmenu.align-right ul ul > li.has-sub > a:after {
  right: auto;
  left: 12px;
}
#cssmenu ul ul > li.has-sub:hover > a:after {
  background-position: 0 -18px;
}
#cssmenu ul ul > li.has-sub > a:before {
  top: 19px;
  right: 16px;
  border-top-color: transparent;
  border-left-color: #ffffff;
}
#cssmenu.align-right ul ul > li.has-sub > a:before {
  top: 19px;
  right: auto;
  left: 16px;
  border-top-color: transparent;
  border-right-color: #ffffff;
  border-left-color: transparent;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: #FF9800;
}
#cssmenu.align-right ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: #FF9800;
}


/************************************************************* SMALL à partir de width 900 **********************************************/

#cssmenu.small-screen {
  width: 100%;
  padding: 0;
}

#cssmenu.small-screen ul,
#cssmenu.small-screen ul ul,
#cssmenu.small-screen ul ul ul,
#cssmenu.small-screen > ul,
#cssmenu.small-screen.align-center > ul,
#cssmenu.small-screen > ul > li > ul,
#cssmenu.small-screen > ul > li:hover > ul,
#cssmenu.small-screen ul ul li:hover > ul,
#cssmenu.small-screen ul ul ul li:hover > ul,
#cssmenu.small-screen.align-right ul ul,
#cssmenu.small-screen.align-right ul ul li:hover > ul,
#cssmenu.small-screen.align-right ul ul ul li:hover > ul {
  position: relative;
  left: 0;
  right: auto;
  top: 0;
  width: 100%;
  display: none;
  padding: 0;
  opacity: 1;
  text-align: left;
}


#cssmenu.small-screen ul ul li a {
  font-size: 17px;
  color: #B6B6B6;
  font-weight: 400;
}


#cssmenu.small-screen ul ul li a:hover {
  color: #ffc373;
}

#cssmenu.small-screen ul li {
  width: 100%;
  border-top: 1px solid rgba(120, 120, 120, 0.2);
}
#cssmenu.small-screen > ul > li > a,
#cssmenu.small-screen ul ul li a,
#cssmenu.small-screen ul ul li:first-child > a,
#cssmenu.small-screen ul ul li:last-child > a {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  background: none;
}


#cssmenu.small-screen ul li a {
  padding-left: 16px;
}
#cssmenu.small-screen ul ul li a {
  padding: 14px 25px 14px 31px;
}
#cssmenu.small-screen ul ul ul li a {
  padding-left: 46px;
}
#cssmenu.small-screen ul ul ul ul li a {
  padding-left: 61px;
}
#cssmenu.small-screen > ul > li.has-sub > a:after,
#cssmenu.small-screen > ul > li.has-sub > a:before,
#cssmenu.small-screen ul ul li.has-sub > a:after,
#cssmenu.small-screen ul ul li.has-sub > a:before {
  display: none;
}

#cssmenu.small-screen #menu-button {
  position: relative;
  display: block;
  padding: 20px;
  padding-left: 16px;
  cursor: pointer;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  font-weight: 550;
  letter-spacing: 1px;
  text-transform: uppercase;
  float: none;
  text-align: left;
}
#cssmenu.small-screen .submenu-button {
  position: absolute;
  right: 0;
  display: block;
  width: 60px;
  height: 60px;
  z-index: 10;
  cursor: pointer;
}
#cssmenu.small-screen ul ul .submenu-button {
  height: 46px;
}
#cssmenu.small-screen ul .submenu-button:after,
#cssmenu.small-screen #menu-button:after {
  content: '';
  position: absolute;
  left: 16px;
  top: 16px;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 15px;
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;

}
#cssmenu.small-screen ul .submenu-button.submenu-opened:after,
#cssmenu.small-screen #menu-button.menu-opened:after {
  background-position: 0 -28px;
  
}
#cssmenu.small-screen ul ul .submenu-button:after {
  top: 9px;
}
#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  content: '';
  position: absolute;
  right: 236px;
  top: 25px;
  display: block;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #ffffff;
  z-index: 99;
}


#cssmenu.small-screen ul ul .submenu-button:before {
  top: 22px;
}
#cssmenu.small-screen #menu-button.menu-opened:before,
#cssmenu.small-screen .submenu-button.submenu-opened:before {
  border-top-color: #ffc373;
}
#cssmenu.small-screen.select-list {
  padding: 5px;
}



/*======  inf width 800  ============================================================*/ 

@media screen and (max-width: 800px)

{

#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  right: 500px;
}

}


/*======  inf width 640  ============================================================*/ 

@media screen and (max-width: 640px)

{

#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  right: 400px;
}

}



/*======  inf width 480  ============================================================*/ 

@media screen and (max-width: 480px)

{

#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  right: 275px;
}

}



/*======  inf width 414  ============================================================*/ 

@media screen and (max-width: 414px)

{

#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  right: 180px;
}

}




/*======  inf width 360  ============================================================*/ 

@media screen and (max-width: 360px)

{

#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  right: 50px;
}

}

