/*-------------------------------------------*\
  #medias queries pour le responsive design
\*-------------------------------------------*/


.w3-opennav, 
.w3-closenav {
  color: #eee;
}

img, .spip_logos {
  max-width: 100%; 
  height: auto;
}

.pdfimp img, #cc img {
  width: auto;
}

/**
* Mise en page pour grands écrans ordi - JAUNE ************
*/

@media (min-width: 970px) {

.page_une #conteneurhaut,
#contenu {

}

.w3-opennav, .w3-closenav {
  display: none;
}

}



/**
* Mise en page pour grands écrans ordi - ROSE *************
*/


@media (min-width: 767px) and (max-width: 970px) {

.page_une #conteneurhaut,
#contenu {}
#contenu .sliderkit .newslider-horizontal {margin: 0 auto;}

.cata .titre {
  clear: left;
}

#conteneur {
  background-image: none;
  background: #fff;
}

#menulang,
#entete,
#middleinside,
#conteneurhaut,
#conteneur,
#contenu,
#dernierstweets,
#bottominside {
  width: 100%;
}


#topdon,
#left {
  display: none;
}

#rss,
#marecherche,
#rech,
#plan,
#contact,
#reseaux,
#charte,
#topdon,
#dernierstweets,
#left,
#pied2,
#pied3,
#pied4,
#at4-share {
  display: none;
}



.w3-opennav, .w3-closenav {
  display: none;
}
 
 
 /**  inc-topmenu :  menu rouge  ***********************/
 
 /*  menu simple  */
 
#topmenu {
  position: relative;
  height: 32px;
  margin-bottom: 10px;
  background: #2c2422;
}

#topmenubis {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

#topdon {
  position: absolute;
  z-index: 9;
  background: -webkit-linear-gradient(to bottom, #d92, #d60) repeat scroll 0 0; /* For Safari 5.1 to 6.0 */
  background: -o-linear-linear-gradient(to bottom, #d92, #d60) repeat scroll 0 0; /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(to bottom, #d92, #d60) repeat scroll 0 0; /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom, #d92, #d60) repeat scroll 0 0; /* Standard syntax (must be last) */
  width: 230px;
  height: 39px;
  font-weight: bold;
  font-size: 16px;
  font-variant: small-caps;
  line-height: 42px;
  text-align: center;
  -moz-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  box-shadow: 0 0 5px 1px rgba(0,0,0,035);
}

#topdon a {
  color: #fff;
}

#topdon a:hover {
  color: #411;
}

#topdon a.on {
  color: #411;
}

#menurouge {
  position: absolute;
  right: 0;
  display: table;
  margin: 0 0 10px 0;
  padding: 2px 2px 0 0;
  height: 38px;
  width: 100%;
  background: #ed1b24;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  -moz-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
}

#menurouge li {
  display: table-cell;
  height: 38px;
  width: ;
  list-style: none;
  vertical-align: middle;
}

#menurouge li a {
  margin: 0 0 0 5px;
  display: block;
  height: ;
  color: #fff;
  text-decoration: none;
  padding: 0;
  text-align: center;
  font-size: .95em;
  font-weight: bold;
  font-variant: small-caps;
/*-moz-transition: all 1s; -webkit-transition: all 1s; transition: all 1s;*/
}

#topdon a.on,
#topdon a:hover, 
#menurouge li a:hover,
#menurouge li a.on {
  color: #411;
}

/*  fin menu simple  */

/*  sous-menu déroulant  */

#menurouge li ul {
  position: absolute;
  top: 40px;
  visibility: hidden;
  max-height: 0;
  opacity: ;
  -moz-transition: ;
  -webkit-transition: ;
  transition: all .3s ease-in;
  background: #ed1b24;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 10px 1px #aaa;
  -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
}

#menurouge li:hover ul {
  visibility: visible;
  max-height: 40em;
  opacity: ;
}

#menurouge li ul li {
  float: left;
  clear: both;
  position: relative;
  height: auto;
  width: 100%;
  font-weight: normal;
  padding: 1px;
  background: ;
}

#menurouge li:hover ul li {
}

#menurouge li ul li:hover,
#menurouge li ul li.on {
  background: #ddd4cb;
  transition: all .6s linear;
}

#menurouge li ul li a {
  float: left;
  position: relative;
  height: auto;
  min-width: 100px;
  text-align: left;
  font-weight: normal;
  font-size: 12px;
  margin: 0;
  padding: 0 5px;
}

#menurouge li ul li:hover a,
#menurouge li ul li a.on {
  color: #333;
}

/*  fin sous-menu déroulant  */

/*  fin inc-topmenu :  menu rouge  ***********************/


.page_article #contenu {
  float: none;
  width: auto;
  margin: 20px;
}

#pied1,
#pied2,
#pied3,
#pied4 {
  float: none;
  width: auto;
}

}



/* Mise en page pour les petites tablettes -BLEU --------------------- */


@media (min-width: 710px) and (max-width: 767px) {

.page_une #conteneurhaut,
#contenu {
  background: ;
}

.cata .titre {
  clear: left;
}

#conteneur {
  background-image: none;
  background: #fff;
}


#menulang,
#entete,
#middleinside,
#conteneurhaut,
#conteneur,
#contenu,
#bottominside {
  width: 100%;
}

#rss,
#marecherche,
#rech,
#plan,
#contact,
#reseaux,
#charte,
#topdon,
#dernierstweets,
#left,
#pied2,
#pied3,
#pied4,
#at4-share {
  display: none;
}

.w3-opennav, .w3-closenav {
  display: block;
}

 
 /*  inc-topmenu :  menu rouge  ***********************/
 
 /*  menu simple  */
 
#topmenu {
  position: relative;
  height: 32px;
  margin-bottom: 10px;
  background: #2c2422;
}

#topmenubis {
  position: relative;
  width: 100%;
  margin: 0 auto;
}


#menurouge {
  position: absolute;
  right: 0;
  display: table;
  margin: 0 0 10px 0;
  padding: 2px 2px 0 0;
  height: 38px;
  width: 100%;
  background: #ed1b24;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  -moz-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
}

#menurouge li {
  display: table-cell;
  height: 38px;
  width: ;
  list-style: none;
  vertical-align: middle;
}

#menurouge li a {
  margin: 0 0 0 5px;
  display: block;
  height: ;
  color: #fff;
  text-decoration: none;
  padding: 0;
  text-align: center;
  font-size: .95em;
  font-weight: bold;
  font-variant: small-caps;
/*-moz-transition: all 1s; -webkit-transition: all 1s; transition: all 1s;*/
}

#topdon a.on,
#topdon a:hover,
  #menurouge li a: hover,
  #menurouge li a.on {
  color: #411;
}

/*  fin menu simple  */

/*  sous-menu déroulant  */

#menurouge li ul {
  position: absolute;
  top: 40px;
  visibility: hidden;
  max-height: 0;
  opacity: ;
  -moz-transition: ;
  -webkit-transition: ;
  transition: all .3s ease-in;
  background: #ed1b24;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 10px 1px #aaa;
  -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
}

#menurouge li:hover ul {
  visibility: visible;
  max-height: 40em;
  opacity: ;
}

#menurouge li ul li {
  float: left;
  clear: both;
  position: relative;
  height: auto;
  width: 100%;
  font-weight: normal;
  padding: 1px;
  background: ;
}

#menurouge li: hover ul li {
}

#menurouge li ul li:hover,
#menurouge li ul li.on {
  background: #ddd4cb;
  transition: all .6s linear;
}

#menurouge li ul li a {
  float: left;
  position: relative;
  height: auto;
  min-width: 100px;
  text-align: left;
  font-weight: normal;
  font-size: 12px;
  margin: 0;
  padding: 0 5px;
}

#menurouge li ul li:hover a,
#menurouge li ul li a.on {
  color: #333;
}

/*  fin sous-menu déroulant  */

/*  fin inc-topmenu :  menu rouge  ***********************/


.cat li.cata {
  float: left;
  width: 260px;
  padding: 0;
  margin: 10px 20px 0 0;
}


.page_article #contenu {
  float: none;
  width: auto;
  margin: 20px;
}


#pied1,
#pied2,
#pied3,
#pied4 {
  float: none;
  width: auto;
}

}


/* Mise en page pour les petites tablettes - ORANGE ----------------- */
@media (max-width: 710px) {

#rss,
#marecherche,
#rech,
#plan,
#contact,

#reseaux,
#charte,
#topdon,
#dernierstweets,
#left,
#pied2,
#pied3,
#pied4,
#at4-share,
.page_une #conteneurhaut {
  display: none;
}

#conteneur {
  background-image: none;
  background: #fff;
}


#menulang,
#entete,
#middleinside,
#conteneurhaut,
#conteneur,
#contenu,
#dernierstweets,
#bottominside {
  width: 100%;
}

#contenu .actus ul {
  overflow: hidden;
  padding: 0 0 10px 0;
  background: transparent;
  margin: 20px 5px;
}


.actus li {
  width: auto;
  float: left;
  margin: 10px 20px 0 0;
  padding: 0;
}

.actus li .spip_logos {
  float: left;
  margin: 0 20px 5px 0;
  outline: none;
  width: 132px;
}


.actus .titre {
  font-size: 0.98em;
  text-align: left;
  font-weight: bold;
  clear: none;
  color: #444444;
  font-size: 0.98em;
  margin: 0;
}

.actus .titre:hover {
  color: #900;
}

p.introactus {
  font-size: 0.8em;
  line-height: 1.15em;
  margin: 0;
  text-align: left;
  clear: none;
}


.cat li.cata {
  float: left;
  width: 100%;
  padding: 0;
  margin: 10px 20px 0 5px;
}

.cata .spip_logos {
  float: left;
  margin: 0 20px 5px 0;
  outline: none;
  width: 132px;
}

.cata .titre {
  color: #444444;
  font-size: 0.98em;
  text-align: left;
  font-weight: bold;
  margin: 0;
}

.cata .intro {
  font-size: 0.85em;
  margin: 0;
  overflow: hidden;
  text-align: left;
  line-height: 1.1em;
}

.cat li.catb {
  float: left;
  line-height: 1.1em;
  margin: 10px 0;
  overflow: hidden;
  padding: 0;
  width: 100% ;
  margin: 10px 20px 0 5px;
}




/*  inc-topmenu :  menu rouge  ***********************/
 
  
#topmenu {
  position: absolute;
  height: 32px;
  margin-bottom: 10px;
  background: #2c2422;
  width: 100%;
}

#topmenubis {
  position: relative;
  width: 100%;
  margin: 0 auto;
}


#menurouge {
  position: absolute;
  right: 0;
  display: table;
  margin: 0 0 10px 0;
  padding: 2px 2px 0 0;
  height: 38px;
  width: auto;
  background: #ed1b24;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  -moz-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
}

#menurouge li {
  display: block;
  height: 30px;
  list-style: none;
  vertical-align: middle;
}

#menurouge li a {
  margin: 0 0 0 5px;
  display: block;
  height: ;
  color: #fff;
  text-decoration: none;
  padding: 0;
  text-align: center;
  font-size: .95em;
  font-weight: bold;
  font-variant: small-caps;
/*-moz-transition: all 1s; -webkit-transition: all 1s; transition: all 1s;*/
}

/*  fin menu simple  */

/*  sous-menu déroulant  */

#menurouge li ul {
  position: relative;
  right: 15em;
  top: -20px;
  visibility: hidden;
  width: 100%;
  text-align: right;
  opacity: ;
  -moz-transition: ;
  -webkit-transition: ;
  transition: all .3s ease-in;
  background: #ed1b24;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 10px 1px #aaa;
  -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
}

#menurouge li:hover ul {
  visibility: visible;
  max-height: ;
  opacity: ;
}



#menurouge li ul li {
  position: relative;
  height: auto;
  font-weight: normal;
  padding: 3px;
  text-align: ;
}

#menurouge li:hover ul li {
}

#menurouge li ul li:hover,
#menurouge li ul li.on {
  background: #ddd4cb;
  transition: all .6s linear;
}

#menurouge li ul li a {
  height: auto;
  width: 90%;
  text-align: right;
  font-weight: normal;
  font-size: 12px;
  margin: 0 5px;
  padding: 0 10px;
}

#menurouge li ul li:hover a,
#menurouge li ul li a.on {
  color: #333;
}


/*  fin sous-menu déroulant  */

/*  fin inc-topmenu :  menu rouge  ***********************/



.page_article #contenu {
  float: none;
  width: auto;
  margin: 20px;
}


#pied1,
#pied2,
#pied3,
#pied4 {
  float: none;
  width: auto;
}

}




/* Mise en page pour les smartphones - VERT ----------------------- */
@media (max-width: 480px) {

.page_une #conteneurhaut,
#contenu {
  background: ;
}

#conteneur {
  background-image: none;
  background: #fff;
}


#menulang,
#entete,
#middleinside,
#conteneurhaut,
#conteneur,
#contenu,
#dernierstweets,
#bottom,
#bottominside {
  width: 100%;
}


.actus li {
  width: auto;
  float: left;
  margin-bottom: 30px;
}

.actus li .spip_logos {
  float: left;
  margin: 0 20px 0 0;
}

.actus .titre {
  line-height: 1.1em;
  margin: 5px 0;
  text-align: left;
  clear: none;
}

p.introactus {
  font-size: 0.8em;
  line-height: 1.15em;
  margin: 0;
  text-align: left;
  clear: none;
}


.cat li.cata {
  float: left;
  width: 100%;
  padding: 0;
  margin: 10px 20px 0 0;
}

.cata .spip_logos {
  float: left;
  margin: 0 20px 5px 0;
  outline: none;
  width: 132px;
}

.cata .titre {
  color: #444444;
  font-size: 0.98em;
  text-align: left;
  font-weight: bold;
  margin: 0;
}

.cata .intro {
  font-size: 0.85em;
  margin: 0;
  overflow: hidden;
  text-align: left;
  line-height: 1.1em;
}

.cat li.catb {
  float: left;
  line-height: 1.1em;
  margin: 10px 0;
  overflow: hidden;
  padding: 0;
  width: 100% ;
}


#contenu {
  float: none;
  width: auto;
}

#rss,
#marecherche,
#rech,
#plan,
#contact,
#reseaux,
#charte,
#topdon,
#dernierstweets,
#left,
#pied2,
#pied3,
#pied4,
#at4-share {
  display: none;
}



/*  inc-topmenu :  menu rouge  ***********************/
 
  
#topmenu {
  position: absolute;
  height: 32px;
  margin-bottom: 10px;
  background: #2c2422;
  width: 100%;
}

#topmenubis {
  position: relative;
  width: 100%;
  margin: 0 auto;
}


#menurouge {
  position: absolute;
  right: 0;
  display: table;
  margin: 0 0 10px 0;
  padding: 2px 2px 0 0;
  height: 38px;
  width: 15em;
  background: #ed1b24;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  -moz-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,035);
}

#menurouge li {
  display: block;
  height: 30px;
  width: ;
  list-style: none;
  vertical-align: middle;
}

#menurouge li a {
  margin: 0 0 0 5px;
  display: block;
  height: ;
  color: #fff;
  text-decoration: none;
  padding: 0;
  text-align: center;
  font-size: .95em;
  font-weight: bold;
  font-variant: small-caps;
/*-moz-transition: all 1s; -webkit-transition: all 1s; transition: all 1s;*/
}

/*  fin menu simple  */

/*  sous-menu déroulant  */

#menurouge li ul {
  position: relative;
  right: 15em;
  top: -20px;
  visibility:  hidden;
  width: 100%;
  text-align: right;
  opacity: ;
  -moz-transition: ;
  -webkit-transition: ;
  transition: all .3s ease-in;
  background: #ed1b24;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 10px 1px #aaa;
  -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
  webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,035);
}

#menurouge li:hover ul {
  visibility: visible;
  max-height: ;
  opacity: ;

}



#menurouge li ul li {
  position: relative;
  height: auto;
  font-weight: normal;
  padding: 3px;
  text-align: ;
}

#menurouge li:hover ul li {
}

#menurouge li ul li:hover,
#menurouge li ul li.on {
  background: #ddd4cb;
  transition: all .6s linear;
}

#menurouge li ul li a {
  height: auto;
  width: 90%;
  text-align: right;
  font-weight: normal;
  font-size: 12px;
  margin: 0 5px;
  padding: 0 10px;
}

#menurouge li ul li:hover a,
#menurouge li ul li a.on {
  color: #333;
}


/*  fin sous-menu déroulant  */

/*  fin inc-topmenu :  menu rouge  ***********************/



.page_article #contenu {
  float: none;
  width: auto;
  margin: 20px;
}

#pied1,
#pied2,
#pied3,
#pied4 {
  float: none;
  width: auto;
}


}


/*-------------------------------------------*\
  #medias queries pour le responsive design
\*-------------------------------------------*/
