/* SMARTPHONES */
@media only screen and (min-width: 320px) {
	a#menu-toggle{
		display: block;
		width: 100%;
		margin: 2% auto 0;
		text-align: left;
		text-transform: uppercase;
		padding: 5px 0 5px 47%;
		height: 40px;
		line-height: 30px;
		text-decoration: none;
		background: #9b5f00 url('img/menu-toggle-blanc.png') no-repeat 41% 4px;
		color:#fff;
		font-family:"Ubuntu";
		font-weight: 500;
		cursor: pointer;
	}
	#nav{
		padding:0;
		list-style-type: none;
		width: 100%;
		margin: 0 auto 1% auto;
		display:none;
	}
	#nav ul{ list-style-type:none }
	#nav > li > ul{
		margin: 0;
		padding: 0;
		list-style-type: none;
		width: 100%;
	}
	#nav > li{
		position:relative;
		margin: 0;
		width: 100%;
	}
	/*#nav > li.nav12{display: block;}*/
	#nav li a{
		display: block;
		padding: 4% 0;
		text-align: center;
		background: none;
		text-decoration: none;
		color:#c17200;
		font:500 16px "Ubuntu";
		text-transform: uppercase
	}
	#nav li a:hover {
		color:#f49f20;
		background: none;
	}
	#nav li.selected a {
		color:#fff;
		background: #f49f20;
		border-bottom: none;
	}
	
	#nav > li > ul li a{
		text-transform: none !important;
		padding: 2% 2%;
	}
	
	#nav .hvr-underline-from-center::before {
   		background: #f49f20 !important;
	}
		
}

/* TABLETTES */
@media only screen and (min-width: 768px) {
	a#menu-toggle{
		background: #f49f20 url('img/menu-toggle-blanc.png') no-repeat 44% 4px;
	}
	#nav{
		width: 100%;
		margin: 0 auto 1% auto;
	}
	#nav li a{
		padding: 2% 0;
	}
}

/* ORDINATEURS */
@media only screen and (min-width: 1024px) {
	a#menu-toggle/*,
	#nav > li.nav12*/{
		display: none;	
	}
	#nav, #nav ul{
		margin:0;
		padding:0;
		list-style-type:none
	}
	#nav{
		top: 245px;
		/*right: 0;*/
		display: inline-block;
		text-align: center;
		height: 40px;
		margin: 0 auto;
		/*float: right;*/
		position: absolute;
		width: 100%;
	}
	#nav ul{
		position:absolute;
		display:none
	}
	#nav > li > ul{
		top:100%;
		left:0;
	}
	#nav > li > ul > li > ul{
		top:0;
		left:100%;
		padding-left:5px;
	}
	#nav ul li{
		padding-top:5px
	}
	#nav > li{
		display: inline-block;
		text-align: center;
		/*float: left;*/
		height: 40px;
		margin:0 auto;
		margin-right: 14px;
		position: relative;
		width: auto;
	}
	#nav > li:last-child{
	margin-right: 0;
	}
	
	#nav li a{
		width: auto;
	}
	#nav > li.nav7 > ul li a,
	#nav > li.nav8 > ul li a{
		line-height: 25px !important;
	}
	#nav li a{
		background:none;
		line-height:20px;
		font-size: 13px;
		padding:9px 7px;
		color:#000;
		height:100%;
		border-bottom: none;
		transition: all 1s;
	}
	
	#nav li a:hover{
		color:#f49f20;
		background: none;
		/*border-bottom: 5px solid #627a85;
		
		background: url('img/over_menu.png') no-repeat center bottom !important;*/
	}
	#nav li.selected a {
		color:#f49f20;
		background: none;
		border-bottom: 5px solid #f49f20;
	}
	
	/*#nav li.li-niveau1 a{
		line-height:61px;
		white-space:nowrap
	}*/
	#nav li a span{
		display:block;
	}
	#nav li:hover > ul{
		display:block;
		min-width:150px
	}
	
	#nav > li > ul li {
		padding-top: 0 !important;
		background: #627a85 !important;
		color: #fff !important;
		bottom: 0;
	}
	#nav > li > ul li a{
		border-radius: 0;
		border: 0;
		height: auto;
		width: 100%;
		padding: 0 2px !important;
		font-size: 0.85em;
		/*white-space: nowrap;*/
		background: #627a85 !important;
		color: #fff !important;
		line-height: 40px !important;
		bottom: 0;
		text-transform: none !important
	}
	#nav > li > ul li a:hover{
		background: #f0f0b2 !important;
		color: #627a85 !important;
		bottom: 0;
	}
	
	/* pour fixer le menu lorsqu'on scrolle */
	/*
	#nav.fixed{
		position: fixed;
		top:0;
		left:0;
		z-index: 1000;	
		width:100%;
		background: rgba(196,196,196,0.9);
		margin:0;
		padding:10px;
		box-shadow: 0 0 5px #333;
		-moz-transition: box-shadow 0.8s, background 0.5s;
		-webkit-transition: box-shadow 0.8s, background 0.5s;
		-o-transition: box-shadow 0.8s, background 0.5s;
		-ms-transition: box-shadow 0.8s, background 0.5s;
		transition: box-shadow 0.8s, background 0.5s;
	}
	*/

}


/* thème smartphone (osbolète) */
.smartphone #nav > li{
	float:none;
}
.smartphone #nav{
	width: auto;
	float: right;
}
.smartphone .smartli {
	margin: 0;
}

@media (min-width: 1024px) and (max-width: 1169px) {
	

}

@media only screen and (min-width: 1170px) {
	#nav li a {
		padding: 9px 15px;
	}
}

@media only screen and (min-width: 1171px) {
	#nav{
		
	}
	
}

