/* CSS Document */

.main-nav {
  /* border-bottom: 2px solid #FFFFFF;
 background: rgba(1,95,163,0.81);*/
}

.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
	float: left;
}

.nav-brand a {
  display: block;
  padding: 18px 11px 11px 5px;
  color: #790000;
  font-family: 'Roboto', sans-serif ;
  font-stretch: extra-condensed;
  font-size: 18px;
  font-weight: normal;
  line-height: 20px;
  text-decoration: none;
}
.nav-brand a:hover {
	text-decoration: none;
	color: #444;
}

#main-menu {
  padding:0;
  clear: both;
  border-bottom: 0;
}

.sm-clean {
    background: #fff;
    border-radius: unset;
}


.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
    font-family: inherit;
    font-size: 1.5em;
    font-weight: 300;
    line-height: 17px;
    text-decoration: none;
}

.sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active {
    font-size: 1.2em;
}
.sm-clean a .sub-arrow {
	margin-left: 10px;
}


.sm-clean ul a.has-submenu {
	padding-right: 30px;
}

.sm-clean a.disabled {
    color: #555;
}  

/* couleur survol et active */
.sm-clean a.current {
   color: #93752A;
}
.sm-clean ul a.current {
    color:  #93752A;
}
.sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    color:  #93752A;
  }
 .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {
    background: #F5EEDE;
    color:  #93752A;
  }

.main-menu-btn {
  float: left;
  margin: 12px 10px 0 18px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #790000;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 1024px) {
  /* hide the button in desktop view */
  .main-menu-btn {
   /*position: absolute;*/
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}
@media (min-width: 1024px) {
	#main-menu {
	float: left;
	clear: none;
	width:auto;
	}
	.nav-brand {
		display:none;
	}
}
@media (max-width: 1024px) { 
 	#menu-content {
		display:block;
		margin:0;
	} 
	.main-nav {
		/*background: #1583B5;
		background-color: rgba(0, 0, 0, 0.1);*/
		background: #FFF ;
	}
	#menu {
		/*height:39px;*/
	}
	.nav-brand a {
		font-size:24px;
	}
	.sm-clean { 
    	background-color:#EEE7D5;
		box-shadow: 0px 10px 15px #888;
	}
	.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
		font-size: 1.4em;
	}
}


