*{
  margin:0; 
  padding:0;
  text-decoration:none
}
nav {
	background: #3c576c;
	position: relative;
	margin: 0 auto;
}
#flexmenu{
	text-align: center;  
}
#main-menu{
	text-align: center;  

}
.sub-menu {
  z-index: 1234;
}
#flexmenu li,
#flexmenu li a{
    border: 1;
    list-style: none;
    line-height: 1;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    -webkit-transition:all ease-in-out .3s;
    transition: all ease-in-out .3s;
}
#flexmenu ul li a {
	padding-top: 0px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 0px;
	letter-spacing: 1px;
	text-decoration: none;
	font: 14px Verdana, sans-serif;
	color: #ffffff;
	font-weight: bold;
	margin-left: 5px;
	margin-right: 5px;
}
#flexmenu ul li.has-sub > a {
    padding-right: 40px; 
}
/* Drop icon */
#flexmenu ul li.has-sub > a:after { 
	position: absolute;
	top: 0px;
	right:25px; 
	width: 11px;
	height: 25px;
	display: block;
	content: '';
	background-image: url(../sebastien-chevalier/fleche-ss-menu.png); 
	background-repeat: no-repeat;
}
#flexmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #FFF;
    content: '';
}
#flexmenu > ul > li.has-sub > a:before {
    position: absolute;
    top: 19px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    -webkit-transition:all .25s ease;
    transition: all .25s ease;
	
}
#flexmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
	
}
#flexmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
    content: '';
    -webkit-transition:all .3s ease;
    transition: all .3s ease;
}
#flexmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
#flexmenu ul ul li.has-sub:hover,
#flexmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: #d9e9f5 ; 
}
#flexmenu ul ul {
    position: absolute;
    left: -9999px;
}
#flexmenu li:hover > ul {
    left: auto;
}
#flexmenu ul ul li {
	height: 0;
	background-color: rgba(111,147,172,1.00);
	border: 1px solid rgba(255,255,255,1);
	-webkit-transition: all .25s ease;
	transition: all .25s ease;
}
#flexmenu li:hover > ul > li {
	height: 40px;  
	width: 260px; 
}
#flexmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}
#flexmenu ul ul li a {
	padding: 11px 15px;
	width: 200px;
	font-size: 10px;
	text-decoration: none;
	color: #FFF;
	font-weight: bold;
}

@media screen and (max-width: 768px) {
    .button {
        background: #2a5f7e;  
        width: 60px;
        height: 48px;
        position: absolute;
        left: 0;
        top: 0;
        cursor: pointer;
        z-index: 10000;
    }
    .button:after {
        position: absolute;
        top: 22px;
        left: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #ffffff;  
        border-bottom: 2px solid #ffffff;
        content: '';
    }
    .button:before {
        -webkit-transition:all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        left: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #ffffff; 
        content: '';
    }
    .button.menu-opened{
      background: #ffffff; 
    }
    .button.menu-opened:after {
        -webkit-transition:all .3s ease;
        transition: all .3s ease;    
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #2a5f7e; 
        -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 23px;
        background: #2a5f7e; 
        width: 19px;
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg);
    }
    #flexmenu ul {
        display: none;
    }
    #flexmenu ul li,
    #flexmenu ul li a,
    #flexmenu ul ul li a{
        width: 100%;
    }

    #flexmenu ul ul li,
    #flexmenu li:hover > ul > li {
        height: auto;  
    }
    #flexmenu ul ul li a {
        padding-left: 25px;
    }
    #flexmenu ul ul ul li a {
        padding-left: 35px;
    }

    #flexmenu ul ul,
    #flexmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #flexmenu ul ul ul li.active a {
	border-left: none;
	    }
	
    #flexmenu > ul > li.has-sub > ul > li.focus > a,
    #flexmenu > ul ul > li.has-sub > ul > li.focus > a {
        background: #262626;   
        -webkit-transition:all .3s ease;
        transition: all .3s ease;
    }
    #flexmenu > ul > li.has-sub > a:after,
    #flexmenu > ul > li.has-sub > a:before,
    #flexmenu ul ul > li.has-sub > a:after,
    #flexmenu ul ul > li.has-sub > a:before {
        display: none;
    }

    #flexmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid #444;  
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #flexmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #flexmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #ffffff;  
        content: '';
    }
    #flexmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #flexmenu .submenu-button.submenu-opened:after {
        background: #ffffff; 
    }
    #flexmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #ffffff; 
        content: ''
    }
    #flexmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #flexmenu .submenu-button.submenu-opened:before {
        display: none;
    }   
  
  .note{
    font-size: 3vw;
  }
}
