@charset "UTF-8";
/* CSS Document */

#nav
		{
			width: 100%; /* 1000 */
			clear:both;
			background-color:#1f6ca7;
			height:50px;
			margin-bottom:0px;
		}

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
				list-style: none;
			}
				#nav li a
				{
					color: #fff;
					display: block;
					padding: 0 30px;
					line-height:50px;
					text-decoration:none;
				}
				#nav li a:active
				{
					/*background-color: #c00 !important;*/
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #fff;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.616em; /* 5 */
			}

			/* first level */
			#nav > ul
			{
				height: 50px; /* 60 */
				background-color: #1f6ca7;
				margin-bottom:0;
				width: 1140px;
				max-width:100%;
				margin:0 auto;
				text-align:left;
				position:relative;
				z-index:1000;
				
			
			}
				#nav > ul > li
				{
					
					height: 100%;
					float: left;
					z-index:2;
				}
					#nav > ul > li > a
					{
						height: 100%;
						text-transform:uppercase;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 1px solid rgba(255, 255, 255, 0.2);
						
						}
						#nav > ul > li:last-child  > a
						{
							border-right: 1px solid rgba(255, 255, 255, 0.2);
						
						}
						#nav > ul > li:first-child  > a
						{
							border-left: 1px solid rgba(255, 255, 255, 0.2);
						
						}
						#nav > ul > li:hover > a
						
						{
							background-color: #73a5cb;
						}
						#nav > ul > li.on a{
							font-weight:normal;
							background-color: #73a5cb;
						}

				/* second level */
				#nav li ul
				{
					background-color: #73a5cb;
					display: none;
					position: absolute;
					top: 100%;
					width: 300px;
					padding: 0;
					margin: 0;
					z-index:1;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							border-top: 1px solid #FFF;
							text-transform:none;
							padding:12px 20px;
							line-height:1.3;
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #1f6ca7;
							}

/* Exception pour actions */


/*#nav .rubrique4 span:after, #nav .rubrique4 ul, #nav .rubrique4 ul li
			{
				display:none;
			}*/

			
		@media only screen and ( max-width: 62.5em ) /* 1000 */
		{
			#nav
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 767px ) /* 640 */
		{

			#nav
			{
				position: fixed;
				top: 0;
				left: 0em;
				z-index:1000;
				background-color: transparent;
			}
			
				#nav > a
				{
					width: 40px; /* 50 */
					height: 40px; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background-color: #cda01a;
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 1px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
				background: #cda01a;
				width:100%;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #FFF;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0; padding-bottom:0.2em;
					width: 100%;
				}
				#nav li ul a {
				border-bottom: 1px dotted #FFF;
				border-top: 0px solid #FFF;
				padding: 15px 10px;
			}
		}