
/* D'après style.css original (secondary-expandable-navigation), modifié et personnalisé
- Header renommé en headermenu (4 occurrences) 
- Les lignes marquées C ont été corrigée directement
- Les personnalisations y c. Blocs dépliables de Spip sont apportées en bas de page
*/

/* -------------------------------- 
Modules - reusable parts of our design
-------------------------------- */
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* -------------------------------- 
Main components 
-------------------------------- */
.cd-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  min-height: 100%;
  position: relative;
/*  background-color: #f5f4e9;*/
  z-index: 2;
  padding-top: 0px; /*C*/
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.cd-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
  -webkit-transform: translateX(-280px);  /* modif */
  -moz-transform: translateX(-280px);
  -ms-transform: translateX(-280px);
  -o-transform: translateX(-280px);
  transform: translateX(-280px);
}
@media only screen and (min-width: 768px) {
  .cd-main-content {
    padding-top: 0px; /*C*/
  }
}

headermenu {
  position: fixed; /* C */
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
background: #242e30;
  z-index: 3;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
headermenu.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-280px); /* modif */
  -moz-transform: translateX(-280px);
  -ms-transform: translateX(-280px);
  -o-transform: translateX(-280px);
  transform: translateX(-280px);
}
headermenu.is-fixed {
  position: fixed;
}
@media only screen and (min-width: 768px) {
  headermenu {
    height: 70px;
  }
}

#cd-logo {
  display: block;
  float: left;
  margin: 12px 0 0 20px;
}
#cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  #cd-logo {
    margin: 22px 0 0 30px;
  }
}

#cd-top-nav {
  position: absolute;
  top: 0;
  right: 120px;
  height: 100%;
  display: none;
}
#cd-top-nav ul {
  height: 100%;
  padding-top: 18px;
}
#cd-top-nav li {
  display: inline-block;
  margin-right: 1em;
}
#cd-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #FFF;
  text-transform: uppercase;
 /* font-weight: 600; */
}
#cd-top-nav a.current {
  background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}
@media only screen and (min-width: 768px) {
  #cd-top-nav {
    display: block;
  }
}

#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
background-color: #364649;
}
#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #ffab00;
/*  font-weight: 600; */
  display: none;
}
#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #ffab00;
  /* these are the upper and lower lines in the menu menu */
}
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: #ffab00;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  #cd-menu-trigger {
    width: 110px;
    padding-right: 1.6em; /* C */
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 75px; /*C*/
    padding-top: 5px; /*C*/
  }
  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    top: 2.47em;/*C - placement en hauteur de l'icone */
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  text-align: left; /* C */
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 280px; /* modif */
  background-color: #242e30;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(80px);
  -moz-transform: translateX(80px);
  -ms-transform: translateX(80px);
  -o-transform: translateX(80px);
  transform: translateX(80px);
}
#cd-lateral-nav .cd-navigation {
  margin: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 30px; /*C*/
  list-style: none; /*C*/
  display: none;
}
#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  color: #aab5b7;
  text-decoration: none; /* C */
}
#cd-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
}
@media only screen and (min-width: 768px) {
  #cd-lateral-nav .cd-navigation {
    margin: 20px 0;
  }
}
#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#cd-lateral-nav .item-has-children > a {
  position: relative;
  text-transform: uppercase;
  font-weight: 100; /* C */
  text-decoration: none; /* C */
  /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .item-has-children > a::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 1em;/*C*/
  background: url("../img/cd-arrow.svg") no-repeat center center;
  background-size: 8px 11px;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

/* ------------------PERSONNALISATIONS ------------------ */

/* -------- Header -------- */

headermenu,
#cd-lateral-nav,
.textmenu {
font-size: 100%;
font-family: "Lucida Sans Unicode", "Lucida Sans", sans-serif;
font-weight: 100;
color: #aab5b7;
}
h1#logo_site_spip {
font-family: 'futura_condensedregular', "Lucida Sans Unicode", "Lucida Sans", sans-serif;
font-size: 2em;
font-weight: 100;
margin-top: 0.1em;
color: #aab5b7;
letter-spacing: 1px;
margin-right: 20px;
}
h1 small {
font-size: 65%;
font-weight: 100;
padding-left:20px;
}
header.accueil.clearfix.span9 { /* Logo */
float: right;
margin-right: 125px;
margin-top:		10px;
color: 			#fff;
}
headermenu a {
text-decoration:	none;
}

  /* réglé à zéro pour fixer le head
  - translate to show the lateral menu */
headermenu.lateral-menu-is-open {
  -webkit-transform: translateX(0px) !important;
  -moz-transform: translateX(0px) !important;
  -ms-transform: translateX(0px) !important;
  -o-transform: translateX(0px) !important;
  transform: translateX(-0px) !important;
}

/* -------- Fin Header -------- */

/* -------- Menu latéral -------- */
.on,
a.on {
color: #ffab00 !important;
font-weight: 100;
}

#cd-lateral-nav { /* p. espace en haut du menu */
padding-top: 100px;
}
#cd-lateral-nav a:hover {
background:  #000;
color: #ffab00;
}


/* ---------- Blocs dépliables p. menu ---------- */

div.cs_blocs li.item { /* p. décalage items dans les blocs */
padding-left: 20px !important;
}

/* Blocs dépliables, d'après le css du plugin */
.blocs_titre {
	background:transparent url("../img/triangle-bas.png") no-repeat scroll 15px center !important;
	font-weight:normal;
	line-height:1.2em;
	margin-top:4px;
	padding:0pt 0pt 0pt 0px;
	margin-bottom:0.1em;
	clear:left;
	cursor:pointer;
}

.blocs_replie {
	background:transparent url("../img/triangle.png") no-repeat scroll 15px center !important;
}

.blocs_title {
	display:none;
}

h4.blocs_titre.cs_done,
h4.blocs_titre.cs_done .on,
h4.blocs_titre.cs_done a .on,
h4.blocs_titre.blocs_replie.cs_done,
h4.blocs_titre.blocs_replie.cs_done .on, 
h4.blocs_titre.blocs_replie.cs_done a.on {
font-size: 1em !important;
text-transform: uppercase !important;
background-color: transparent !important;
color: #ffab00 !important;
font-weight: 100 !important;
}
/* ----- Fin Blocs dépliables ----- */



