/*** ESSENTIAL STYLES ***/
#navigation .sf-menu, #navigation .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
#navigation .sf-menu li {
	position: relative;
}
#navigation .sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
#navigation .sf-menu li:hover > ul,
#navigation .sf-menu li.sfHover > ul {
	display: block;
}

#navigation .sf-menu a {
	display: block;
	position: relative;
}
#navigation .sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
#navigation .sf-menu {

	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}
#navigation .sf-menu > li {
	    -webkit-flex: 1 auto;
    flex: 1 auto;
    text-align: center;
    background: url(../images/separateur.html) right center no-repeat;
    padding:  0 0;
}

#navigation .sf-menu > li:last-child {    background:none}

#navigation .sf-menu a {
    color: #fff;
    text-decoration: none;
    font-family: encode_sans_condensedregular;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 23px 5px;
    font-weight: normal;
    text-align: center;
}

#navigation .sf-menu > li:nth-child(2) a, #navigation .sf-menu > li:nth-child(3) a {     /*  max-width: 235px;*/
  /*  padding: 15px 10px 16px;
    line-height: 20px;
    min-width: 100%;*/}

.is-sticky #navigation .sf-menu a {

}
#navigation .sf-menu a:hover, #navigation .sf-menu li.sfHover > a, 
#navigation .sf-menu li.active > a, #navigation .sf-menu li.selected > a {
	background: #f69315; 
}
#navigation .sf-menu ul {
	min-width: 180px;
	background: rgba(242,242,242,.75);
	text-align: left;
}
#navigation .sf-menu ul li {
	border-top: 1px solid #fff;
}
#navigation .sf-menu ul li:first-child {
	/*border-top: none;*/
}
#navigation .sf-menu ul a {
	color: #000; font-size:16px;
	padding: 20px;
	text-transform: none;
}
#navigation .sf-menu ul a:hover, #navigation .sf-menu ul li.sfHover > a, 
#navigation .sf-menu ul li.active > a, #navigation .sf-menu ul li.selected > a {
color:#fff;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
	transition: border-top-color .4s, bottom .4s;
}
.is-sticky .sf-arrows .sf-with-ul:after {
	bottom: 0px;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
	bottom: 0px;
}
.is-sticky .sf-arrows > li > .sf-with-ul:focus:after,
.is-sticky .sf-arrows > li:hover > .sf-with-ul:after,
.is-sticky .sf-arrows > .sfHover > .sf-with-ul:after {
	bottom: 2px;
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}
@media only screen and (max-width : 1024px) {
    
 #navigation .sf-menu > li:nth-child(2) a, #navigation .sf-menu > li:nth-child(3) a {
    max-width: 190px;
    padding: 15px 10px 16px;
    line-height: 20px;
    min-width: 100%;
    }
    
}
