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

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

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

/* Elements principaux
------------------------------------------ */
body {
	background: #ddd;
}
.page {
	position: relative;
	width:100%;
	max-width: 100%;
	margin: 0;
}
.header {
}
.main {
	padding: 1.5em 0;
	width:960px;
	margin:3em auto 0 auto;
}
.footer {
	clear: both;
	padding: 3em 0 2em 0 ;
	margin: 1em 0 0 0;
	background-color:#3f3456;
}
/* largeur calculee du wrapper: 960*70%  = 672px */
.wrapper {
	clear: both;
	float: left;
	width: 70%;
	overflow: hidden;
	margin-bottom:4em;
}
.content {
	min-height: 350px;
}
/* largeur calculee du aside: 672px / 3 = 224px = 23.333 %*/
.aside {
	float: right;
	width: 23.333%;
	overflow: hidden;
}
/* Entete et barre de navigation
------------------------------------------ */
.header {
	background-color:#352c46;
}

.header h1.spip_logo_site {
	background-image:url(../img/Bandeau_drapeaux.gif);
	background-repeat:no-repeat;
	background-position:right;
	display: block;
	margin: 0  auto;
	padding:0.8em 0;
	font-weight: bold;
	width:1000px;
	text-align:left;
}

.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: #666;
}
.header .spip_logo_site a:hover img {
	opacity:1;
}
.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: table-cell;
}
.nav li a {
	display: inline-block;
	padding: 0.25em 0.5em;
	margin: 0;
	text-decoration: none;
	background: #3f3456;
	color: white;
}
.nav li.on a {
	background:#cc0099;
	color: #fff;
	font-weight: normal;
}
.nav li a:focus, .nav li a:hover, .nav li a:active {
	color: #666;
}
.footer .colophon {
	width: 70%;
	margin: 0 auto;
	padding:1em;
	color:white;
	text-align:center;
}

.footer .colophon a {
	color:white;
}

.footer .colophon a:hover {
	color:#999999;
}

.footer .credit_footer, .footer .credit_footer a
 {
	 color:#cc0099;
 }

.footer .generator {
	float: right;
}
.footer .generator a {
	padding: 0;
	background: none;
}

.texte p
{
	font-size:0.85em;
}

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

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

/* largeur maximum 767px */
@media (max-width: 960px) {
	
	.main {
	padding: 1.5em 0;
	width:100%;
	margin:3em auto 0 auto;
}	
}

/* largeur maximum 767px */
@media (max-width: 767px) {
body {
	width: 100%;
	padding: 0 20px;
}
.page {
	width: 100%;
	max-width: none;
}
}

/* largeur maximum 640px */
@media (max-width: 640px) {
/* layout */
.wrapper,  .content,  .aside {
	width: 100%;
}
.content,  .aside {
	clear: both;
	float: none;
	width: 100%;
}
/* Passer a une seule colonne (a appliquer aux elements multi-colonnes) */
.nav ul li a {
	float: none;
	border: 0;
}
.arbo {
	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;
}
}

/* fin */
