/* structure
<div id="divMenuMobile"></div> << ne pas oublier de le mettre quelque part !! 
<ul class="dobeulNav">
	<li>
		<a href="#" class="hsubs">Lib</a>
		<ul  class="subs">
			<li><span ><span >&#9658;</span><a href="url" class="">sublib</a></span</li>
			<li><span ><span >&#9658;</span><a href="url" class="">sublib</a></span</li>
			<li><span ><span >&#9658;</span><a href="url" class="">sublib</a></span</li>
			...
		</ul>
	</li>
	...
	<li><a href="url" class="">lib</a></li>
	...
</ul>
*/

/*
couleur : 70AED6
*/
@import url('https://fonts.googleapis.com/css?family=BenchNine:400,700');

#dobeulNav,#dobeulNav ul {
    position:relative;
	list-style: none outside none;
    padding: 0;
}
#dobeulNav {
    display: table;
	/*
	background-color: rgba(0, 0, 0, 0.4);
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
	 */
    border-radius: 0px;
    padding: 0px;
    position: relative;
	margin: auto;/*menu centré */
	/*
	float:right;//menu àdroite
	*/
}
#dobeulNav a{
	text-shadow:none;
}

#dobeulNav > li {
    float: left;
    position: relative;
	margin-right:3px;
}
#dobeulNav > li > a {
	box-sizing:border-box;
	color: #fff;
	background-color:rgba(255,255,255,0.0);
    display: block;
	text-align:center;
	font-family: "Lato", sans-serif;
	text-transform:uppercase;
	font-weight:bold;
    font-size: 16px;
	font-style:normal;
	line-height:16px;
    padding: 22px 15px 15px 15px;
	height:100px;
    text-decoration: none;
	margin:6px;
	transition: all 0.5s;
	border-bottom:3px transparent solid;
}
div.pictoMenu{
	height:32px;
	margin-bottom:5px;
}
div.pictoMenu img{
	height:100%;
}
#dobeulNav > li:last-child, #dobeulNav > li:last-child > a {
	margin-right:0px;
}


#dobeulNav > li:hover > a,
#dobeulNav > li:focus > a,
#dobeulNav > li > a.ouvert{
    color: #4db2d0;
}
#dobeulNav > li:hover > a.hsubs{

}

#dobeulNav > li > a.dobeulmenuSelect{
    color:#fff ;
	border-bottom:3px #fff solid;
}

#dobeulNav > li > a.hsubs{
	position:relative;
}


#dobeulNav > li > ul {
    	border-radius: 0px 15px 15px 15px;
		background-color:#fff;
		border:0px #ccc solid;
    	box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.2);
    left: -9999px;
    overflow: hidden;
    padding:0px;
    position: absolute;
    top: -9999px;

    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);

    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;

    -moz-transition: -moz-transform 0.3s ease;
    -ms-transition: -ms-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
	
}
	
	#dobeulNav li:hover ul.subs,
	#dobeulNav li ul.subs.ouvert {
		left: 0px;
		top: 103px;
		width: 200px;
		z-index:2000;
		-moz-transform: scaleY(1);
		-ms-transform: scaleY(1);
		-o-transform: scaleY(1);
		-webkit-transform: scaleY(1);
	}
	/* l'onglet réalisations */
	#dobeulNav li:nth-last-child(1):hover ul.subs,
	#dobeulNav li:nth-last-child(1) ul.subs.ouvert {
		width: 560px;
		border-radius: 15px 0px 15px 15px;
		right:0px;
		left:auto;
	}
	#dobeulNav > li > ul > li {
		width: 100%;
		padding:0px;
		margin:3px 0px;
	}
	#dobeulNav > li > ul > li:last-child {
	}
	#dobeulNav > li > ul.subs > li > a{
		display:block;
		width: 100%;
		padding:8px 3%;
		color:#333;
		text-decoration:none;
		font-size:17px;
	}
	#dobeulNav > li > ul.subs > li > a:hover,
	#dobeulNav li ul.subs li > a.dobeulmenuSelect{
		background-color:#40b2d0;
		color:#fff;
		text-decoration:none;
	}

/* le dernier des ul "sous menus" s'ouvre vers la gauche, ainsi que tous ceux avec la classe "flip" */
#dobeulNav li:last-child:hover ul,
#dobeulNav li:hover ul.flip {
	left:auto;
    right: 0px;
	border-radius: 15px 0px 0px 0px;
}





#dobeulNav li ul.subs li a>span { /* la puce */
	font-size:8px;
	margin-left:-8px;
}



/************************************************************************/
/**************************NAV MOBILE************************************/
/************************************************************************/
#divMenuMobile{
	display:none;
	text-align:center;
	padding-top:30px ;
}
#dobeulNavMobile{
	display:none;
}

#menuCollapser {
    display:inline-block;
	box-sizing:content-box;
	margin:auto;
	cursor:pointer;
	background-color:#00377a;
	color:#fff;
	text-transform:uppercase;
	text-align:center;
    width:60px;
	height:40px;
	border: 3px #fff solid;
	border-radius:5px;
	font-size:20px;
	font-weight:bold;
    padding: 5px;
	padding-top:6px;
    position: relative;
}
#menuCollapser:hover{
	background-color: #40b2d0;
}

#dobeulNavMobile{
	display:none;
	width:100%;
	max-width:400px;
	padding: 5px 1%;
	margin:auto;
	background-color: #fff;
	border: 2px #999 solid;
    border-radius: 5px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}


#dobeulNavMobile,#dobeulNavMobile ul {
    list-style: none outside none;
}

#dobeulNavMobile li {
	display:block;
	float:none;
	position: relative;
	margin-bottom:10px;
}
#dobeulNavMobile li.mobileOff{
	display:none;
}
#dobeulNavMobile > li > a {
    color: #fff;
	background-color:#00377a;
    display: block;
	width:100%;
    font-size: 18px;
	text-transform:uppercase;
    padding: 6px 2%;
    text-decoration: none;
	border-radius:4px;
}
#dobeulNavMobile > li > a > br{
	display:none;
}

#dobeulNavMobile > li:hover > a,
#dobeulNavMobile > li > a.select{
    color: #fff;
	background-color:#40b2d0;
}
#dobeulNavMobile li:hover > a.hsubs:after {
	content : " ↓";
	font-weight:bold;
}
#dobeulNavMobile li> a.open:after,
#dobeulNavMobile li:hover > a.open:after {
	content : " ↑";
	font-weight:bold;
}

#dobeulNavMobile ul.subs {
    display:none;
	position:relative;
	width: 100%;
	margin: 2px auto;
	padding: 5px 1%;
	background-color:#fff;
	border: 2px #777 dotted;
	border-radius: 0px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
#dobeulNavMobile > li > ul.subs {
	background-color:#fff
}
#dobeulNavMobile > li > ul.subs > li > ul.subs {
	background-color:#ddd
}
#dobeulNavMobile > li > ul.subs > li > ul.subs > li > ul.subs {
	background-color:#bbb
}

#dobeulNavMobile ul.subs > li {
    width: 100%;
}
#dobeulNavMobile ul.subs > li > a {
    color: #555;
    display: block;
	width:100%;
    font-size: 18px;
	text-transform:uppercase;
    padding: 4px 1%;
    text-decoration: none;
}
	 
	#dobeulNavMobile ul.subs > li:hover > a,
	#dobeulNavMobile li ul.subs > li > a.dobeulmenuSelect{
		background-color:#40b2d0;
		color:#fff;
		text-decoration: none;
	}

#dobeulNavMobile a.hsubs > span{/* pour les petites fleches ... */
	display:block;
	position:absolute;
	top:0;
	right:0;
	text-align:right;
	padding-top:15px;
	padding-left:15px;
	padding-right:5px;
	font-size:0.5em;
	clear:both;
}
#dobeulNavMobile ul.subs > li > a > span{
	font-size:0.5em;
}


@media screen and (max-width:860px) {
	#dobeulNav{
		display:none;/* c'est dobeulNavMobile qui est affiché à la place ... */
	}
	#divMenuMobile{
		display:block;
	}

}
/***************** https://codepen.io/designcouch/pen/ExvwPY *************************/
/* Icon 1 */

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 48px;
  height: 40px;
  position: relative;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 7px;
  width: 100%;
  background: #fffffe;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 16px;
}

#nav-icon1 span:nth-child(3) {
  top: 32px;
}

#nav-icon1.open span:nth-child(1) {
  top: 16px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Icon 2 */

#nav-icon2 {
}

#nav-icon2 span {
  display: block;
  position: absolute;
  height: 9px;
  width: 50%;
  background: #fffffe;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 14px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 28px;
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 5px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 5px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 27px;
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 27px;
}

/* Icon 3 */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 14px;
}

#nav-icon3 span:nth-child(4) {
  top: 27px;
}

#nav-icon3.open span:nth-child(1) {
  top: 14px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 14px;
  width: 0%;
  left: 50%;
}

/* Icon 4 */

#nav-icon4 {
}


#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 14px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 28px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 39px;
  left: 8px;
}
