/* --------------------------------------------------------------

   layout.css
   Disposition des blocs principaux
   cf.: http://romy.tetue.net/structure-html-de-base

-------------------------------------------------------------- */

body {
	border-top: 1px solid;
	background-image: url(../bg2.jpg);
	background-attachment: fixed;
}
.page {
	position: relative;
	width: 1000px;
	margin: 0 auto;
	padding: 10px 1.5em;
	text-align: justify;
	background-color: #FFF;
	box-shadow: 1px 1px 12px #555;
	margin-top: 15px;
	margin-bottom: 15px;
}
.header {}
.main {
	padding: 1.5em 0;
	background-color: #FFF;
}
.footer {
    clear: both;
    padding: 1.5em 0 0;
    border-top: 2px dotted #6C6C6C;
}
.wrapper { clear: both; float: left; width: 70%; overflow: hidden; }
.wrapper2 {
	clear: both;
	float: left;
	width: 100%;
	overflow: hidden;
	background-color: #FFF;
}
.row {
    width : 960px;
    margin : 10px auto;
}
.row > div {
    float : left;
    margin : 0 10px;
}
.w-1 { width : 60px; }
.w-2 { width : 140px; }
.w-3 { width : 220px; }
.w-4 {
    width : 300px;
    font-family: Verdana, Arial, "Arial Narrow";
    font-size: large;
}
.w-5 { width : 380px; }
.w-6 { width : 460px; }
.w-7 { width : 540px; }
.w-8 { width : 620px; }
.w-9 { width : 700px; }
.w-10 { width : 780px; }
.w-11 { width : 860px; }
.w-12 { width : 940px; }
.doc {background-color: #000;}

@media only screen and (min-width:500px) and (max-width:980px) {
    .row {
        width : 100%;
    }
    .row > div { 
        margin : 0 0.5%;
    }
    .w-1 { width : 7.3%; }
    .w-2 { width : 15.6%; }
    .w-3 { width : 24%; }
    .w-4 { width : 32.3%; }
    .w-5 { width : 40.6%; }
    .w-6 { width : 49%; }
    .w-7 { width : 57.3%; }
    .w-8 { width : 65.6%; }
    .w-9 { width : 74%; }
    .w-10 { width : 82.3%; }
    .w-11 { width : 90.6%; }
    .w-12 { width : 99%; }
}.tab1 {
	position: absolute;
	margin-top: 5px;
	width: 150px;
	height: 480px;
	float: left;
	background-color: #FFF;
	display: inline-block;
	vertical-align: top;
}
.tab2 {
	position: absolute;
	margin-top: 5px;
	margin-left: 160px;
	width: 150px;
	height: 480px;
	display: inline;
	background-color: #FFF;
	display: inline-block;
	vertical-align: top;
}
.tab3 {
	position: absolute;
	margin-top: 5px;
	margin-left: 300px;
	width: 160px;
	height: 480px;
	display: inline;
	background-color: #FFF;
	display: inline-block;
	vertical-align: top;
}
.tab4 {
	position: absolute;
	margin-top: 5px;
	margin-left: 460px;
	width: 180px;
	height: 480px;
	display: inline;
	background-color: #FFF;
	display: inline-block;
	vertical-align: top;
}
.content {
    min-height: 350px;
    font-size: small;
}
.content2 {
    min-height: 350px;
    width: 300px;
    float: left;
    font-size: small;
}
.liste {
	min-height: 350px;
	float: right;
	width: 300px;
}
.aside { float: right; width: 25%; overflow: hidden; margin-top: 3em;}
.aside2 {
	float: right;
	width: 300px;
	overflow: hidden;
	vertical-align: top;
	position: absolute;
	height: 500px;
	right: 25px;
	top: 255px;
	background-color: #FFF;
}
.aside_rub { float: right; width: 2%; overflow: hidden; }


/* Entete et barre de navigation
------------------------------------------ */

.header { padding-bottom: 0.1em; padding-right: 10%; border-bottom: 0px solid; }
.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%; }

.nav {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background-color: #FFFFFF;
    margin-top: 10px;
}
.nav ul{
	display: compact;
	text-align: center;
}
.nav li {
    display: inline;
    font-family: "Verdana", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: x-small;
}
.nav li a {
    display: inline-block;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-decoration: none;
    background: #fff;
    color: #000;
    border-right: thin dashed #616060;
    border-left: thin dashed #616060;
    font-family: "Arial narrow", sans-serif;
    font-size: 1.3em;
    padding-right: 10px;
    padding-left: 5px;
}
.nav ul li a:focus,
.nav ul li a:hover,
.nav ul li a:active {
    background: #222;
    color: #FFF;
    font-family: "Arial Narrow", sans-serif, Verdana, Arial,;
    font-size: small;
}

#formulaire_recherche { position: absolute; top: 50px; right: 50px; border: 0; }

.footer .colophon {
    float: left;
    height: 40px;
    width: 70%;
    margin: 0;
    font-size: small;
}
.footer .generator { float: right; }
.footer .generator a { padding: 0; background: none; }

/* 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
------------------------------------------ */
@media (max-width: 640px) {

/* passer tous les elements de largeur fixe en largeur automatique */
body,
.page,
.header,
.main,
.footer,
.wrapper,
.content,
.aside { width: auto !important; margin: auto !important; padding: auto !important; }

.page { margin: 0; padding: 5%; }

/* Passer a une seule colonne (a appliquer aux elements multi-colonnes) */
.content,
.aside { clear: both; float: none !important; width: auto !important; }
.nav ul li a { float: none; border: 0; }
#formulaire_recherche {
    display: none;
    position: static;
    text-align: center;
    background-color: #DDEAEE;
}
.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; }

}

/* end */