/*  @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);  */
/*  @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,500);  */
#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;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}

/********************************************************/
/**     FOND DE LA BARRE DE MENU                       **/
/********************************************************/
#cssmenu {
  width: auto;
  border-radius: 0px 0px 0px 0px;
  font-family: 'Sorts Mill Goudy', serif;
  /*  text-transform: uppercase;  */
  background: #041E42;
  /*  background: -o-linear-gradient(top,       #99ff99 0%, #029a01 100%);
  background: -ms-linear-gradient(top,      #99ff99 0%, #029a01 100%);
  background: -webkit-linear-gradient(top,  #99ff99 0%, #029a01 100%);
  background: -moz-linear-gradient(top,     #99ff99 0%, #029a01 100%);
  background: linear-gradient(to bottom,    #99ff99 0%, #029a01 100%);    */
}
#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 30px; */
  padding: 14px 40px;
  font-size: 20px;
  color: #FFFFFF;
  /*  text-transform: uppercase;                  */
  /*  letter-spacing: 1px;                        */
  /*  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);   */
  font-weight: 400;
  text-decoration: none;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

/*  ****************************************************** */
/*  *****     ONGLET ACTIF                           ***** */
/*  ****************************************************** */
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #FFFFFF;
  /*  text-shadow: -1px -1px #0066CC;   */
  border-radius: 20px 20px 0px 0px;
  background: rgba(70, 152, 203, 1);
  /*  background: -o-linear-gradient(top,       #FFFFFF 0%, #FFFF66 100%);
  background: -ms-linear-gradient(top,      #FFFFFF 0%, #FFFF66 100%);
  background: -webkit-linear-gradient(top,  #FFFFFF 0%, #FFFF66 100%);
  background: -moz-linear-gradient(top,     #FFFFFF 0%, #FFFF66 100%);
  background: linear-gradient(to bottom,    #FFFFFF 0%, #FFFF66 100%);  */
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;  /*  40px  */
}

/*  ****************************************************** */
/*  *****     ROND     FLECHE DE DEROULEMENT OFF     ***** */
/*  ****************************************************** */
#cssmenu ul > li.has-sub > a:after {
  content: '';
  position: absolute;
  right: 5px;
  top: 18px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #666666;
  /*  background: -o-linear-gradient(top,       #95c9fe 0%, #00328b 100%);
  background: -ms-linear-gradient(top,      #95c9fe 0%, #00328b 100%);
  background: -webkit-linear-gradient(top,  #95c9fe 0%, #00328b 100%);
  background: -moz-linear-gradient(top,     #95c9fe 0%, #00328b 100%);
  background: linear-gradient(to bottom,    #95c9fe 0%, #00328b 100%);  */
  background-size: 36px 36px;
  background-position: 0 0;
  background-repeat: no-repeat;
  -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;
}

/*  ****************************************************** */
/*  *****     TRIANGLE FLECHE DE DEROULEMENT OFF     ***** */
/*  ****************************************************** */
#cssmenu ul > li.has-sub > a:before {
  content: '';
  position: absolute;
  right: 11px;
  top: 26px;
  display: block;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  border-top-color: #d5dbe5;
  z-index: 99;
}

/*  ****************************************************** */
/*  *****     TRIANGLE FLECHE DE DEROULEMENT ON      ***** */
/*  ****************************************************** */
#cssmenu ul > li.has-sub:hover > a:before {
  border-top-color: #FFFFFF;
}

#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;
}
#cssmenu > ul > li > ul {
  top: 92px;
  padding-top: 8px;
  border-radius: 5px;
}
#cssmenu > ul > li:hover > ul {
  left: auto;
  top: 40px;
  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: 178px;
  padding-left: 10px;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 178px;
  padding-left: 0;
  padding-right: 10px;
  opacity: 1;
}

/*  ****************************************************** */
/*  *****     SOUS - MENU   OFF                      ***** */
/*  ****************************************************** */
#cssmenu ul ul li a {
  width: 300px;
  padding: 10px 25px;
  font-size: 19px;
  font-weight: 400;
  /*  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);   */
  color: #FFFFFF;
  text-decoration: none;
  text-align: left;
  background: rgba(70, 152, 203, 1);

  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

/*  ****************************************************** */
/*  *****     SOUS - MENU   ON                       ***** */
/*  ****************************************************** */
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li > a:hover,
#cssmenu ul ul li.active > a {
  color: #FFFFFF;
  border-radius: 0px 0px 0px 0px;
  background: #004976;
  /*  background: -o-linear-gradient(top,       #C9EEFF 0%, #FFFFFF 100%);
  background: -ms-linear-gradient(top,      #C9EEFF 0%, #FFFFFF 100%);
  background: -webkit-linear-gradient(top,  #C9EEFF 0%, #FFFFFF 100%);
  background: -moz-linear-gradient(top,     #C9EEFF 0%, #FFFFFF 100%);
  background: linear-gradient(to bottom,    #C9EEFF 0%, #FFFFFF 100%);  */
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  /*  box-shadow: inset 0 2px 2px #2491ff;    */
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /*  box-shadow: inset 0 -3px 0 #0059b3, inset 0 -3px 3px #004c99, 0 1px 1px rgba(0, 0, 0, 0.03), 0 2px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.13);    */
}
#cssmenu ul ul > li.has-sub > a:after {
  right: 12px;
  top: 9.5px;

  background: #C4A478;
  background: -o-linear-gradient(top,       #C4A478 0%, #5A3216 50%, #C4A478 100%);
  background: -ms-linear-gradient(top,      #C4A478 0%, #5A3216 50%, #C4A478 100%);
  background: -webkit-linear-gradient(top,  #C4A478 0%, #5A3216 50%, #C4A478 100%);
  background: -moz-linear-gradient(top,     #C4A478 0%, #5A3216 50%, #C4A478 100%);
  background: linear-gradient(to bottom,    #C4A478 0%, #5A3216 50%, #C4A478 100%);
  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: 16px;
  right: 16px;
  border-top-color: transparent;
  border-left-color: #d75a66;
}
#cssmenu.align-right ul ul > li.has-sub > a:before {
  top: 16px;
  right: auto;
  left: 16px;
  border-top-color: transparent;
  border-right-color: #d75a66;
  border-left-color: transparent;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: #d75a66;
}
#cssmenu.align-right ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: #d75a66;
}



/*  ****************************************************** */
/*  *****     SMALL SCREEN                           ***** */
/*  ****************************************************** */
#cssmenu.small-screen
  {
  width: 100%;
  }
#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 li:hover {
  background: #ff6600;
}

#cssmenu.small-screen ul ul li:hover {
  background: #ff6600;
}





#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: 13px;
}
#cssmenu.small-screen ul ul li a {
  padding: 13px 25px 13px 28px;
}
#cssmenu.small-screen ul ul ul li a {
  padding-left: 43px;
}
#cssmenu.small-screen ul ul ul ul li a {
  padding-left: 58px;
}
#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;
}

/*  ****************************************************** */
/*  *****     SMALL SCREEN    BARRE MENU             ***** */
/*  ****************************************************** */
#cssmenu.small-screen #menu-button {
  position: relative;
  display: block;
  padding: 15px;
  padding-left: 13px;
  cursor: pointer;
  font-size: 15px;
  color: #FFFFFF;
  /*  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);   */
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px 10px 10px 10px;
  background: #000000;
  /*  background: -o-linear-gradient(top,       #99ff99 0%, #029a01 100%);
  background: -ms-linear-gradient(top,      #99ff99 0%, #029a01 100%);
  background: -webkit-linear-gradient(top,  #99ff99 0%, #029a01 100%);
  background: -moz-linear-gradient(top,     #99ff99 0%, #029a01 100%);
  background: linear-gradient(to bottom,    #99ff99 0%, #029a01 100%);  */
}

/*  ******************************************************************* */
/*  *****     SMALL SCREEN    CARRE DU BT ROND DES SOUS MENUS     ***** */
/*  ******************************************************************* */
#cssmenu.small-screen .submenu-button {
  position: absolute;
  right: 0;
  display: block;
  /*  width: 54px;  */
  width: 100%;
  height: 54px;
  border-left: 1px solid rgba(120, 120, 120, 0.2);
  z-index: 10;
  cursor: pointer;
}
#cssmenu.small-screen ul ul .submenu-button {
  height: 41px;
}

/*  *********************************************************************** */
/*  *****     ROND DU TRIANGLE FLECHE DE DEROULEMENT SMALL SCREEN     ***** */
/*  *********************************************************************** */
#cssmenu.small-screen ul .submenu-button:after,
#cssmenu.small-screen #menu-button:after {
  content: '';
  position: absolute;
  right: 13px;
  top: 10px;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 15px;

  background: #666666;
  /*  background: -o-linear-gradient(top,       #029a01 0%, #99ff99 100%);
  background: -ms-linear-gradient(top,      #029a01 0%, #99ff99 100%);
  background: -webkit-linear-gradient(top,  #029a01 0%, #99ff99 100%);
  background: -moz-linear-gradient(top,     #029a01 0%, #99ff99 100%);
  background: linear-gradient(to bottom,    #029a01 0%, #99ff99 100%);  */

  /*  box-shadow: inset 0 -1px 1px #000000, inset 0 2px 1px #FFFFFF;  */
  background-size: 56px 56px;
  background-position: 0 0;
  background-repeat: no-repeat;
  -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: 6.5px;
}

/*  ********************************************************************* */
/*  *****     TRIANGLE DE LA BARRE MENU PETIT ECRAN                 ***** */
/*  ********************************************************************* */
#cssmenu.small-screen #menu-button:before,
#cssmenu.small-screen .submenu-button:before {
  content: '';
  position: absolute;
  right: 17px;
  top: 20px;
  display: block;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #FFFFFF;
  z-index: 99;
}
#cssmenu.small-screen ul ul .submenu-button:before {
  top: 19.5px;
}
#cssmenu.small-screen #menu-button.menu-opened:before,
#cssmenu.small-screen .submenu-button.submenu-opened:before {
  border-top-color: #06313e;
}
#cssmenu.small-screen.select-list {
  padding: 5px;
}
