/* --------------------------------------------------------------

   layout.css
   Disposition des blocs principaux
   cf.: http://romy.tetue.net/structure-html-de-base

-------------------------------------------------------------- */

body {
  text-align: center;
  background: #ffeb00 url(img/background.png) no-repeat top center;
  font-family: Arial, Helvetica, sans-serif;
}
.page {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}
.header {}
.main {}
.footer {
  clear: both;
  padding: 1.5em 0 0;
}
.wrapper {
  clear: both;
  float: left;
  width: 72%;
  margin-bottom: 20px
}
.content {}
.aside {
  float: right;
  width: 25%;
}
.hentry {
  background: #fff;
  border-radius: 10px;
  padding: 12px 12px 12px 32px;
}
/* Entete et barre de navigation
------------------------------------------ */

.header {}
.header #logo {
  display: block;
  margin: 0;
  line-height: 1;
  font-weight: bold;
}
.header #logo, .header #logo a, .header #logo a:hover {
  background: transparent;
  text-decoration: none;
  color: #222;
}
.header #slogan {
  margin: 0;
}
.formulaire_menu_lang {
  position: absolute;
  right: 0;
  top: .9em;
  display: block;
  width: 30%;
}
/* menu principal */

.nav {
  position: absolute;
  top: 100px;
  right: 0;
  font-family: Black;
}
.nav ul {}
.nav ul li {
  float: left;
}
.nav ul li:first-child a, .nav ul li:first-child a:hover {
  text-indent: -10000px;
  background: url(img/home.png) no-repeat top center;
  height: 43px;
  width: 43px;
  display: block;
}
.nav ul li a {
  color: #3f3f3f;
  /*font-family: Black;*/
  font-size: 20px;
  text-transform: uppercase;
  display: block;
  width: auto;
  height: 30px;
  line-height: 30px;
  padding: 0 6px;
  text-decoration: none;
  position: relative;
  margin-left: 32px;
}
.nav ul li a:after {
  content: '';
  background: url(img/separator.png) no-repeat top right;
  height: 43px;
  width: 8px;
  display: block;
  position: absolute;
  top: -10px;
  right: -18px
}
.nav ul li:last-child a:after {
  display: none;
}
.nav ul li a:focus, .nav ul li a:hover, .nav ul li a:active {
  color: #f36500;
  background: none;
}
/* liens réseau sociaux et recherche */

.social-search {
  float: right;
  padding-top: 25px
}
.social-search ul {}
.social-search ul li {
  float: right;
  margin-left: 10px
}
.social-search ul li .admin {
  height: 24px;
  line-height: 24px;
  background: #cdbf00;
  color: #fff;
  display: block;
  width: 88px;
  font-family: Light;
  font-size: 13px;
  text-align: center;
  padding: 0.4em 1.5em;
  border-radius: 20px;
}

#formulaire_recherche {
  margin-right: 12px
}
#formulaire_recherche label, #formulaire_recherche input[type=submit] {
  display: none;
}
#formulaire_recherche input[type=text] {
  background: #cdbf00;
  color: #fff;
  font-weight: bold;
  width: 160px;
  height: 24px;
  line-height: 24px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  border: none;
  font-weight: bold;
  font-size: 13px;
}
#formulaire_recherche *::-webkit-input-placeholder {
  color: #fff;
}
#formulaire_recherche *:-moz-placeholder {
  /* FF 4-18 */

  color: #fff;
}
#formulaire_recherche *::-moz-placeholder {
  /* FF 19+ */

  color: #fff;
}
#formulaire_recherche *:-ms-input-placeholder {
  /* IE 10+ */

  color: #fff;
}
/* annonces sur le header */

.defilement {
  float: left;
  margin: -74px 0 0 280px !important;
  background: transparent url(img/annonces.png) no-repeat top left !important;
  background-color: transparent !important;
  display: block;
  width: 400px;
  height: 35px;
  line-height: 35px;
  padding: 0 10px;
  overflow: hidden;
}
.defilement marquee {
  background-color: transparent !important;
  display: block;
  width: 380px;
  height: 35px !important;
  line-height: 35px;
}
.defilement marquee div a {
  display: block;
  width: 380px;
  height: 35px;
  line-height: 35px;
}
.defilement a {
  color: #383124;
}
/* ----------------- */
/* colonne de droite */
/* ----------------- */

.orange, .articles_droite li, .velobs_droite{
  position: relative;
}
.orange h2:before, .articles_droite li h2:before, .velobs_droite h2:before {
  background: url(img/h2-right.png) no-repeat top left;
  content: '';
  display: block;
  height: 17px;
  width: 18px;
  position: absolute;
  left: -8px;
  top: 24px;
  z-index: 2000;
}
/* agenda */

.agenda {
  background: #fd780d;
  padding: 10px 20px;
  -webkit-border-radius: 16px;
  border-radius: 16px;
}
.agenda h1,
.agenda h2{
  font-size: 24px;
  font-family: Black;
  text-transform: uppercase;
  color: #383124;
  line-height: 26px;
  margin-top: 10px
}
.agenda p {
  padding: 0;
}
.agenda li {
  list-style: circle;
  margin: 0 0 6px 20px;
  color: #fff
}
.agenda li ul li,
.agenda li ul li ul li{
  margin: 0 0 0 -6px !important
}

.agenda a {
  color: #fff;
}
.agenda p.date {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  font-family: Bold;
}
.agenda p.intro {
  color: #fff;
}
.agenda p.intro a {
  color: #383124;
}
.agenda .programme {
  font-family: Bold;
}
.articles_droite {
  margin: 20px 0 0 0;
  padding: 0;
}
.articles_droite a.plus {
  color: #fff;
  text-decoration: underline;
  display: none;
}
.articles_droite h2 {
  margin: 0 !important;
}
.articles_droite h2 a {
  font-size: 24px;
  text-transform: uppercase;
  font-family: Black;
  color: #3f3f3f
}
.articles_droite ul {
  margin: 0;
  padding: 0;
}
.articles_droite ul li {
  margin: 0 0 20px 0;
  padding: 20px;
  background: #ffc600;
  -webkit-border-radius: 16px;
  border-radius: 16px;
}
.articles_droite ul li img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

.orange {
  background: #fd780d;
  -webkit-border-radius: 16px;
  border-radius: 16px;
  margin: 0 0 20px 0;
  padding: 20px;
  font-family: Bold;
  color: #3f3f3f
}
.orange a {
  color: #fff;
  text-decoration: underline;
}
.orange h2 {
  font-size: 24px;
  text-transform: uppercase;
  font-family: Black;
  color: #3f3f3f
}


.velobs_droite {
  background: #ffc600;
  -webkit-border-radius: 16px;
  border-radius: 16px;
  margin: 0 0 20px 0;
  padding: 20px;
  color: #3f3f3f
}
.velobs_droite a {
  color: #fff;
  text-decoration: underline;
}
.velobs_droite h2 {
  font-size: 24px;
  text-transform: uppercase;
  font-family: Black;
  color: #3f3f3f
}
.velobs_droite li {
    list-style: circle;
    margin: 0 0 6px 20px;
}


.newsletter label {
  float: left;
}
.newsletter input[type=email] {
  background: #fff;
  border: none
}
.newsletter input[type=submit] {
  display: none;
}
.newsletter .formulaire_spip {
  margin: 0;
}

/* page evenement */
ul.liste_agenda
{
   list-style: circle outside;
   padding-left: 15px;
}
/* ---------------------- */
/* Colonne de gauche ---- */
/* ---------------------- */
/* diaporama */

.diaporama {
  background: #fff;
  padding: 10px 10px 0px 10px;
  -webkit-border-radius: 16px 16px 0 0;
  border-radius: 16px 16px 0 0;
  display: block;
  height: 320px;
  margin-bottom: 45px;
  position: relative;
}
.diaporama .nivo-caption {
  background: transparent !important;
  text-align: center;
}
.diaporama .nivo-caption a, .diaporama .nivo-caption p {
  color: #fff;
  font-size: 34px;
  font-family: Black;
  line-height: 38px;
}
.diaporama .nivo-controlNav {
  position: absolute;
  text-align: center !important;
  margin: 0 auto;
  left: 44%;
  top: 296px;
}
.diaporama .nivo-controlNav a {
  display: table-cell !important;
  background: url(img/bullets.png) no-repeat !important;
}
.diaporama .nivo-controlNav a.active {
  background-position: 0 22px;
}
.diaporama .nivo-imageLink {
  display: none !important;
}
/* articles de gauche */
/*
.hentry .info-publi{
  display: none;
}
*/
.hentry .spip_logos {
  float: right;
  margin: 0 0 0 10px;
}
.hentry .entry-title {
  font-size: 25px;
  text-transform: uppercase;
  font-family: Black;
  color: #3f3f3f;
  position: relative;
}
.hentry .entry-title:before {
  background: url(img/h2-left.png) no-repeat top left;
  content: '';
  display: block;
  height: 44px;
  width: 44px;
  position: absolute;
  left: -56px;
  top: 0px;
}
/* modifie par MANU - cf. article1260 le texte en orange est en 
 * h3 en spip 3 mais en h2 en spip 4
 *
.hentry h2 {
  font-size: 24px;
  color: #f36500;
  text-transform: uppercase;
  font-family: Bold;
  margin: 10px 0;
}
.hentry h3 {
  font-size: 20px;
  color: #f36500;
  font-family: Bold;
  margin: 10px 0;
}
*/
.hentry h3, .hentry h2 {
  font-size: 20px;
  color: #f36500;
  font-family: Bold;
  margin: 10px 0;
}

.hentry p {
  line-height: 20px
}
.hentry .entry-title a {
  color: #3f3f3f;
}
.hentry p a, .hentry .spip a, .hentry li a {
  color: #f36500;
  text-decoration: underline;
}

.hentry .spip_documents{
}

.hentry .spip_documents img{

}
/* ----------------------*/
/* pre-footer -----------*/
/* ----------------------*/

.pre-footer {
  background: #ffc600;
  border-radius: 12px;
  padding: 10px
}
.pre-footer h1 {
  font-size: 15px;
  text-transform: uppercase;
  color: #3f3f3f;
  font-family: Black;
  margin-bottom: 6px
}
/* ----------------------*/
/* footer ---------------*/
/* ----------------------*/

.footer, .footer .footer-inside {
  padding: 0;
  width: 1200px;
}
.footer .footer-inside .sitemap {
  font-size: 12px;
  margin-top: 10px;
  color: #797777;
  padding: 10px;
}
.footer .footer-inside .sitemap h1 {
  color: #797777;
  text-transform: uppercase;
  font-size: 12px;
  font-family: black;
}
.footer .footer-inside .sitemap a {
  color: #797777;
}
.footer .footer-inside .sitemap ul li {}
.footer .footer-inside .sitemap ul li {
  float: left;
  margin-right: 10px;
  font-family: Bold;
}
.footer .footer-inside .sitemap ul li ul li {
  float: none;
  font-family: Arial, Helvetica, sans-serif;
  list-style: disc;
  margin-left: 14px;
  font-size: 10px;
}
.footer .footer-inside .sitemap ul li:first-child {
  display: none;
}
.footer .colophon {
  float: left;
  height: 40px;
  width: 70%;
  margin: 0;
}
.footer .generator {
  float: right;
}
.footer .generator a {
  padding: 0;
  background: none;
}
/* contact */

.footer .contact {
  background: #fd780d;
  color: #3f3f3f;
  font-size: 13px;
  padding: 20px;
  border-radius: 12px;
}
.footer .contact h1 {
  text-transform: uppercase;
  font-size: 15px;
  font-family: Black;
}
.footer .contact a {
  color: #797777;
}
.footer .contact a.link {
  font-size: 23px;
  color: #3f3f3f;
}
/* ----------------------*/
/* foot -----------------*/
/* ----------------------*/

.foot {
  font-size: 12px;
  margin: 20px auto;
  width: 240px;
  color: #797777;
}
.foot a {
  color: #797777;
}
.foot li {
  float: left;
  margin-right: 6px
}


/* Gabarit d'impression
------------------------------------------ */

@media print {
  .page, .wrapper, .content {
    width: auto;
  }
  .nav, .arbo, .aside, .footer {
    display: none;
  }
}





/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

.slicknav_menu {
	display:none;
}


@media only screen and (min-width:770px) and (max-width:899px) {
  .page {
    width: 770px;
  }

  .footer, .footer .footer-inside {
    width: 770px;
  }

  .nav ul li a {
    padding: 0 4px;
    margin-left: 2px;
  }
  .nav ul li a:after {
    display: none;
  }

  .defilement {
    width: 300px;
    padding: 0 10px;
  }
  .defilement marquee {
    width: 280px;
  }
  .defilement marquee div a {
    width: 280px;
  }

  .diaporama .nivo-slice,
  .diaporama #slider,
  .diaporama .nivoSlider{
    /*width: 533px !important;*/
    overflow: hidden;
  }

  .agenda h1,
  .articles_droite h2 a,
  .orange h2,
  .agenda h2{
    font-size: 24px;
  }


  .hentry .spip_logos{
    max-width: 200px;
    height: auto;
  }

  iframe{
    max-width: 100% !important;
    height: 300px !important;
  }

  .footer .footer-inside .sitemap ul li{
    margin-right: 16px;
  }

  .footer .footer-inside .sitemap ul li{
    width: 126px
  }

}

@media only screen and (max-width:769px) {

  .social-search{
    float: none;
    margin: 0 auto;
    width: 90%;
    clear: both;
    height: 40px;
    display: block;
  }

  .header #logo{
    width: 100%;
    text-align: center;
    clear: both;
  }

  .spip_logos{
    float: none !important;
    margin: 0
  }

  .topmenu{
    display: none;
  }

  .slicknav_menu {
  	display:block;
  }

  .hentry{
    padding: 12px
  }

  .page {
    width: 100%;
  }

  .footer, .footer .footer-inside {
    width: 100%;
  }

  .diaporama,
  .defilement,
  .sitemap,
  .hentry .entry-title:before,
  .hentry .spip_logos,
  .orange h2:before,
  .articles_droite li h2:before{
    display: none;
  }

  .wrapper,
  .aside{
    width: 100%;
    float: none;
  }

  .aside{
    margin-top: 20px !important;
  }

  .aside .spip_logos{
    display: none;
  }

  .footer .contact{
    margin-top: 20px;
  }

  .admin{
    display: none !important;
  }

}


.menu_rubriques h2{
  display: none;
}
