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

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

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

/* Elements principaux
------------------------------------------ */
body { text-align: center; background:#ddd; min-width: 640px; }
.page { position: relative; width: 1000px; max-width:95%; margin:2em auto; text-align: left;  }
.header { /* border: rgb(30, 0, 199); border-style: solid; border-width: 2px; */ padding: 10px; margin-bottom: 10px; height:150px ; background-color: rgb(113, 141, 221); background-image:url(http://www.inversus-doxa.fr/IMG/prov/fond4.jpg);opacity: 0.8; border-radius: 15px; width: 100%; }
.main { padding: 1.5em 0; min-width: 1000px; }
.footer { clear: both; padding: 1em 0 0; margin:1em 0 0 0; border-top:1px solid #999; }

/* largeur calculee du wrapper: 960*70%  = 672px */
.wrapper { clear: both; float: left; width: 770px; overflow: hidden; }
.wrapper_sommaire { clear: both; float: left; width: 100%; overflow: hidden; }
.content { min-height: 350px; }
/* largeur calculee du aside: 672px / 3 = 224px = 23.333 %*/
.aside { float: right; width: 200px; overflow: hidden; }    
  
/* Entete et barre de navigation
------------------------------------------ */
.header {}
.header .spip_logo_site { display: block; margin: 0; line-height: 2; font-weight: bold; font-size: 50px; }
.header .spip_logo_site {min-width: 650px;}
.header .spip_logo_site {width: 600px; ;margin-left: auto; margin-right: auto; }
.header .spip_logo_site,
.header .spip_logo_site a,
.header .spip_logo_site a:hover { background: transparent; text-decoration:none; color:rgb(218, 218, 218); }
.header .spip_logo_site a:hover  { color:rgb(156, 156, 156); }
.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 ul {width: 900px; text-align: center;}
.nav li {display:inline; width: 100px;}
.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: none; color:rgb(156, 156, 156);  }
.nav li.on a { background:#4e4e4e; color:rgb(218, 218, 218); font-weight: normal; }
.nav li a:focus,
.nav li a:hover,
.nav li a:active { background:#4e4e4e; color:rgb(218, 218, 218); }
 

.footer .colophon { height: 40px; width: 960px; margin: auto; font-size: 12px; }
.footer .generator { float: right; }
.footer .generator a { padding: 0; background: none; }
.footer .generator a:hover  {color:#c41558;}

/* 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: 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 */