<!doctype html>
<html lang="en">
<head>
	<title>Document</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" type="text/css" href="reset.css">
	<link rel="stylesheet" type="text/css" href="style.css">
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>

	<style>
	
	body,html,div	{margin:0;padding:0}

	.page{position:relative;width:100%;max-width:1600px;margin:0 auto;}

	#d-m-c	{position:fixed;top:0;left:0;height:120px;width:100%;}
	#d-menu	{position:fixed;top:58px;right:15px;}
	#d-m	{height:120px;background:url(img/CNAM-BANDEAU-ORDI.png) center top no-repeat;margin:0 auto;box-shadow:0 0 7px #000}




	#d-btn	{height:50px;width:50px;background-image:url(img/CNAM-BOUTON-MENU-ORDI.png);position:fixed;top:58px;right:15px}
	.d-open	{background-image:url(img/CNAM-BOUTON-ANNULER-ORDI.png) !important;}

	/* MOBILE */
	@media screen and (max-width: 400px) {
		#d-m-c,#d-b	{display:none;}
		#t-b	{display:none;}

		#m-m-c	{position:fixed;top:0;left:0;height:60px;width:100%;}
		#m-m	{height:60px;background:url(img/CNAM-BANDEAU-PHONE.png) center top no-repeat;margin:0 auto;box-shadow:0 0 7px #000}
		#m-b	{width:100%;height:760px;background:url(img/CNAM-PAGE-EXPERIENCE-PHONE.png) center top no-repeat;z-index:0;margin:0 auto;}

		#m-btn	{height:25px;width:25px;background-image:url(img/CNAM-BOUTON-MENU-PHONE.png);position:fixed;top:28px;right:15px;}
		.m-open	{background-image:url(img/CNAM-BOUTON-ANNULER-PHONE.png) !important;}
	}

	/* TABLET */

	@media screen and (min-width: 401px) and (max-width: 800px){
		#d-b	{display:none;}
		#m-m-c,#m-b	{display:none;}

		#t-b	{width:100%;height:1280px;background:url(img/CNAM-PAGE-EXPERIENCE-TABLETTE.png) center top no-repeat;z-index:0;margin:0 auto;}
		#d-m	{background:url(img/CNAM-BANDEAU-TABLETTE.png) center top no-repeat;}
	}

	/* DESKTOP */

	@media screen and (min-width: 801px) {
		#m-m-c,#m-b	{display:none;}
		#t-m-c,#t-b	{display:none;}

		#d-b	{width:100%;height:1428px;background:url(img/CNAM-PAGE-EXPERIENCE-ORDI.png) center top no-repeat;z-index:0;margin:0 auto;}
	}

	</style>
</head>

<body>
	<div class="page">

<!-- DESKTOP + TABLETE -->

		<div id="d-m-c">
			<a href="#" id="d-btn"></a>
			<div id="d-m"></div>
			<div id="t-menu" style="position:fixed;top:120px;left:0;height:295px;width:800px;background:url(img/CNAM-MENU-ACCUEIL-TABLETTE.png) center top no-repeat;z-index:10;display:none;"></div>
			<div id="d-menu" style="position:fixed;top:120px;left:0;height:246px;width:1600px;background:url(img/CNAM-MENU-ACCUEIL-ORDI.png) center top no-repeat;z-index:10;display:none;"></div>
		</div>
		<div id="d-b"></div>
		<div id="t-b"></div>


<!-- MOBILE -->
		<div id="m-m-c">
			<a href="#" id="m-btn"></a>
			<div id="m-m"></div>
			<div id="m-menu" style="position:fixed;top:60px;left:0;height:476px;width:320px;;background:url(img/CNAM-MENU-ACCUEIL-PHONE.png) center top no-repeat;z-index:10;display:none;"></div>
		</div>
		<div id="m-b"></div>
	</div>

	<div style="position:fixed;bottom:0;right:0;width:50px;background:#fff;opacity:0.95;border:1px solid #ddd" id="w"></div>

	<div style="position:fixed;bottom:50px;right:0;height:40px;width:50px;background:#fff;opacity:0.95;border:1px solid #ddd;font-family:'Open Sans';text-align:center;line-height:40px;" ><a href="offres.php">NEXT</a></div>

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>

	<script>
		function menu(){

			$("#m-btn").click(function(){
				$("#m-btn").toggleClass('m-open');
				$("#m-menu").slideToggle();
			});

			$("#d-btn").click(function(){
				$("#d-btn").toggleClass('d-open');
				var wi = $(window).width();

				if(wi > 800)
					$("#d-menu").slideToggle();
				else
					$("#t-menu").slideToggle();
			});
		}


		function wid(){
				$w = $('body');
				$("#w").text( $w.width());

			$( window ).resize( function(){
				$("#w").text( $w.width());
			});
		}

		$(document).ready(wid(),menu());
	</script>


</body>

</html>