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

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

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

/* Elements principaux
------------------------------------------ */
body { text-align: center; }
.page { position: relative; width: 1180px; max-width:95%; margin:1.777em auto; text-align: left; padding:2.666rem; }
.header {}
.main { padding: 1.5em 0; }
.footer { clear: both; padding: 2em 0 0; margin:4em 0 0 0; }

/* largeur calculee du wrapper: 960*70%  = 672px */
.wrapper { clear: both; float: left; width: 63%; overflow: hidden; }
.content { min-height: 350px; }
/* largeur calculee du aside: 672px / 3 = 224px = 23.333 %*/
.aside { float: right; width: 28.333%; /*overflow: hidden;*/ }
.gauche { clear: both; float: left; width: 46%; overflow: hidden; }
.droite { float: right; width: 46%; overflow: hidden; }

   
  
/* Entete et barre de navigation
------------------------------------------ */
.header { padding-bottom: 2.5em; padding-top: 0;  }
.header .spip_logo_site { display: block; margin: 0; line-height: 1; font-weight: bold;  }
.header .spip_logo_site,
.header .spip_logo_site a,
.header .spip_logo_site a:hover { background: transparent; text-decoration:none; color:#222; }
.header .spip_logo_site a:hover  {color:#db1762;}
.header .spip_logo_site a:hover img {opacity:0.7;}
.header .spip_logo {margin-bottom:0;}
.header #slogan { margin: 0; }

.formulaire_menu_lang { position: absolute; right: 0; top: .9em; display: block; width: 30%; }

/*.nav {}
.nav li {display:inline;}
.nav li a { display: inline-block; padding: 0.25em 0.5em; margin: 0 0.25em 0.5em 0;border-radius: 0.25em;  text-decoration: none;  background: #f0f0f0; color: #db1762; }
.nav li.on a { background:#c41558; color:#fff; font-weight: normal; }
.nav li a:focus,
.nav li a:hover,
.nav li a:active { background: #c41558; color:#fff; }*/
 

.footer .colophon { float: left; height: 40px; width: 70%; margin: 0; }
.footer .generator { float: right; }
.footer .generator a { padding: 0; background: none; }

/* Gabarit d'impression
------------------------------------------ */
@media print {
    .page,
    .wrapper,
    .content { width: auto; }
    .nav,
    .arbo,
    .aside,
	.bonus,
    .footer { display: none; }
	.texte { font-size:12px; }
}

/* Affichage sur petits ecrans  
Cf.: http://www.alsacreations.com/astuce/lire/1177
------------------------------------------ */

/* largeur maximum 767px */
@media (max-width: 767px) {
	body {   	width: 100%;	}
	.page {  	width: 100%;		padding: 0 20px;  	max-width: none; 	}
}
 
/* largeur maximum 640px */
@media (max-width: 640px) {
     /* layout */
    .wrapper,
    .content,
	.gauche,
	.droite,
    .aside { width: 100%;}
    .content,
    .aside { clear: both; float: none; width: 100%; }
	.coupure, .coupure2 { padding:2em !important; margin: 4em -20px !important }
	.cartouche { margin: 0 !important; }
	.espace { margin-bottom: 4em; }
	.noun { width:70%; }

	
	/*.page { padding: 0; }*/
	

    /* Passer a une seule colonne (a appliquer aux elements multi-colonnes) */
    .nav ul li a { float: none; border: 0; }
    .social { display: none; }
    .footer .colophon { width: auto; float: none; }
    .footer .generator { display: none; }

    /* header du calendrier full-calendar */
    table.fc-header td { display: block; text-align: left; }
	
	 .hamburger { top:0 !important; right:20px !important; }
	 .nav .portrait, .nav .pop { display:none; }
	 .nav h3 { margin-bottom: 1.4em; }

}

/* fin */