/* SMARTPHONES */
@media only screen and (min-width: 320px) {
	a#menu-toggle{
    display: block;
    width: 100%;
    margin: 0.0% 0;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 0 5px 0%;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
    text-decoration: none;
    background: url(img/menu.png) no-repeat 34% 4px;
    color: #000000;
    font-size: 20px;
 }
	#nav{
    padding: 0;
    list-style-type: none;
    width: 100%;
    margin: 0 5% 1% 0%;
		display:none;
	}
	#nav > li > ul{
		margin: 0;
		padding: 0;
		list-style-type: none;
		width: 100%;
	}
	#nav > li{
		position:relative;
		margin: 0;
	}
	#nav li a{
		display: block;
		padding: 4px;
		text-align: center;
		background: #c5c1b4;
		text-decoration: none;
		border-radius: 0;
		font-size: 1.2em;
		background-color: rgb(198, 194, 182);
		color: #000000;
		border-bottom: 1px solid #757671;
	}

	#nav li a:hover{
 
color: #090909;
 
background-color: #c5c1b4;
 }


	#nav > li > ul li a{
		border-radius: 0 0 3px 3px;
		border-top: 0;
	}
}

@media all and (min-width: 480px) {

	a#menu-toggle{
		width: 100%;
		padding: 5px 0 5px 0%;
		margin: 0.0% 0%;
		text-align: center;
		background: url(img/menu.png) no-repeat 37% 4px;
	}
	#nav{
		width: 100%;
		margin: 0 15% 1% 0%;
	}
}
/* TABLETTES */
@media only screen and (min-width: 768px) {

	a#menu-toggle{
		width: 100%;
		padding: 5px 0 5px 0%;
		margin: 0.0% 0%;
		text-align: center;
		background: url(img/menu.png) no-repeat 43% 4px;
	}
	#nav{
		width: 100%;
		margin: 0 15% 1% 0%;
	}
}

/* ORDINATEURS */
@media only screen and (min-width: 1024px) {
	a#menu-toggle{
		display: none;	
	}
	#nav, #nav ul{
		margin:0;
		padding:0;
		list-style-type:none
	}
	
	#nav{display: block;height: 52px;margin-bottom: 0;width: 100%;margin: 0 auto;float: right;background: transparent;margin-top: 24px;}
	
	#nav > li{
		position:relative;
		float:left;
		margin: 0;
		margin-left: 10px;
	}
	
	
	#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;
		 background:rgba(151,196,58 0.7);
	}
	
	#nav ul li{
		padding-top:5px
	}
	
	#nav li a{
    background: url(img/menu1.png) no-repeat bottom center;
    background-color: transparent;
    border: 0 solid #000;
    border-radius: 0;
    box-shadow: none;
    color: #40403f;
    display: block;
    font-size: 24px;
    line-height: 13px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    min-width: 111px;
    font-family: 'EB Garamond', serif;
    height: 15px;
    padding-top: 20px;
 }

		#nav li a:hover{
	
color: #7d7e79;
	
background-color: transparent;
	
border-bottom: 5px solid #767571;
	}
	.selected {
		color: #97c334;
	}

	#nav li.selected a {
    color: #757671;
    background-color: transparent;
    border-bottom: 5px solid #767571;
 }
	
	#nav li:hover > ul{
		display:block
	 
	}

	#nav > li > ul li a{
	color: #393939 !important;
	border-radius: 0;
	/* border: 0; */
	line-height: 17px;
	height: auto;
	padding: 8px 2px;
	width: 95%;
	padding-top: 10px;
	font-size: 19px;
	border-bottom: 1px solid #;
	}
	#nav > li > ul li a:hover{
	    color: #363635 !important;
	    background-color: transparent;
	}
		#nav > li > ul li.selected a{
	    color: #737570 !important;
	    background-color: transparent;
	}
		#nav > li > ul li{
		border-radius: 0;
		border: 0;
		background: rgb(197, 193, 182);
	}
	
	
	/* 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 