/* ------------------------------------------------------------------
   Feuille de style principale du site MCC (version responsive)

   Principes :
   - plus de largeur fixe ni de positionnement absolu pour la structure
     de la page : tout est en flux, centre dans un conteneur .page dont
     la largeur maximale est de 1100px ;
   - l'en-tete (.header) porte l'image de fond et contient le titre, le
     lieu, le bandeau du titre secondaire, le compteur et la date ;
   - les images, tableaux et blocs <pre> ne debordent plus de l'ecran ;
   - des media queries adaptent tailles de police et marges en dessous
     de 900px (tablette) et 600px (telephone).
   ------------------------------------------------------------------ */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
*, *:before, *:after {
	box-sizing: border-box;
}
body {
	font-family: helvetica, arial, sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #333333;
}
/* Conteneur general : centre, largeur fluide */
.page {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 8px;
}
p {
	text-align: justify;
	margin-top: 3px;
	margin-right: 3px;
}
.citation {
	text-align: justify;
	margin-top: 3px;
	margin-right: 3px;
	font-style: italic;
	font-weight: bold;
	color: #c83be1;
}
.bigcitation {
	text-align: justify;
	margin-top: 3px;
	margin-right: 3px;
	font-style: italic;
	font-weight: bold;
	color: #D12F1B;
	font-size:14px;
}
.annonce {
	text-align: center;
	font-size: 14px;
	margin-top: 6px;
	margin-right: 6px;
	font-style: italic;
	font-weight: bold;
	color: #2828f0;
}
.oldannonce {
	text-align: center;
	font-size: 12px;
	margin-top: 6px;
	margin-right: 6px;
	font-style: italic;
	font-weight: bold;
	color: #888888;
}
.surprisemodels {
	font-style: italic;
	font-weight: bold;
	color: #f2756b;
}
h1 {
	max-width: 750px;
	font-size: 20px;
	font-weight: bold;
	line-height: 25px;
	margin-top: 10px;
	margin-right: 3px;
	color: #b82010;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #945200;
}
h2 {
	max-width: 750px;
	font-size: 18px;
	font-weight: bold;
	line-height: 20px;
	color: #b82010;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #945200;
	margin-top: 8px;
	margin-right: 3px;
}
h3 {
	max-width: 565px;
	font-size: 15px;
	font-weight: bold;
	line-height: 15px;
	color: #b82010;
	margin-top: 4px;
	margin-right: 3px;
}
a:link {
	color: #e87164;
	font-weight: bold;
	text-decoration: none;
}
a:visited {
	color: #888888;
	font-weight: bold;
	text-decoration: none;
}
body.ul {
	list-style: none;
	margin-top: -1px;
	margin-left: 20px;
	padding-left: 20px;
	text-indent: 0px;
}
ul.li {
	text-align: justify;
	font-size: 13px;
	margin-top: 3px;
	margin-right: 3px;
	list-style-type:square;
}
em{
	color:#c83be1;
}
ol.li {
	text-align: justify;
	font-size: 13px;
	margin-top: 3px;
	margin-right: 3px;
	list-style-type:decimal;
}
.figure {
	text-align: center;
/*	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ffffff;*/
}

/* ------------------------------------------------------------------
   Elements fluides : images, tableaux, code, formulaires
   ------------------------------------------------------------------ */
img {
	max-width: 100%;
	height: auto;
}
pre {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
input, select, textarea {
	max-width: 100%;
}
.content table {
	max-width: 100%;
}
/* Les mots tres longs (URLs...) ne doivent pas forcer un defilement horizontal */
.content p, .content li {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* ------------------------------------------------------------------
   En-tete de page : menu, titres, bandeau
   ------------------------------------------------------------------ */
.background-main,
.background-others {
	/* conserves pour compatibilite : plus utilises par content.php */
	display: none;
}
.underconstruction {
	position: absolute;
	top: 150px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}
.mainmenu {
	position: relative;
	z-index: 2;
	text-align: center;
}
.header {
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding: 20px 60px 22px 60px;
	background-color: #8c1a0c;
	color: #ffffff;
}
/* Image de fond : background.jpg (1024x305) contient des marges blanches
   (40px a gauche et a droite, 58px en bas). On la pose sur un pseudo-element
   agrandi dans les memes proportions (1024/944 en largeur, 305/247 en
   hauteur) pour que seule la zone utile couvre l'en-tete, quelle que soit sa
   taille. */
.header:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: -4.237%;
	right: -4.237%;
	bottom: -23.48%;
	background-image: url("../images/background.jpg");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
}
.maintitle {
	font-weight: bold;
	color: #ffffff;
	text-align: left;
	font-size: 36px;
	line-height: 1.15;
}
.location {
	color: #ffffff;
	text-align: left;
	font-size: 22px;
	line-height: 1.2;
	margin-top: 10px;
}
/* Bandeau translucide portant le titre de la page (remplace bandeau-titre.png) */
.secondarytitle {
	color: #000000;
	font-style: italic;
	text-align: right;
	font-size: 20px;
	line-height: 1.2;
	margin: 22px -60px 0 -60px;
	padding: 14px 44px 14px 20px;
	min-height: 50px;
	background-color: rgba(255, 255, 255, 0.72);
}
.backsectitle {
	display: none;
}
.counter {
	font-size: 16px;
	margin-top: 18px;
	min-height: 0;
}
.counter:empty {
	display: none;
}
.date{
	color:#FFF;
	font-size: 10px;
	margin-top: 10px;
	margin-left: 40px;
	writing-mode: lr-tb;
}
.content {
	position: relative;
	z-index: 1;
	padding: 6px 10px 10px 10px;
}
.footer {
	font-size: 10px;
	color: #000000;
	padding: 0 10px;
}
/*Special pour la premiere page*/
.resume {
	font-size:12px;
	margin: 10px 0;
}
.hotstuff {
	margin: 10px 0;
}
.address {
	font-size:12px;
	max-width: 250px;
	margin: 10px 0;
}
.addressH {
	font-weight: bold;
	color: #efd3a3;
	font-size:13px;
}
.sourceevidence {
	font-weight: bold;
	color: #ff0000;
}
.texttt {
	font-weight: bold;
	font-family:"Courier New";
}
.listing {
	margin-left: 40px;
	font-family:"Courier New";
}
/* Pour la liste des publications*/
.publi {
	text-align: justify;
}
.nbpubli {
	vertical-align:text-top;
	font-weight: bold;
	text-align: right;
	width:30px;
}
/* affichage des posters et couvertures */
.tableAff {
	width:100%;
	max-width:750px;
	text-align:center;
}
.cellAff {
	width:33%;
	text-align:center;
}

/* ------------------------------------------------------------------
   Tablette (< 900px)
   ------------------------------------------------------------------ */
@media screen and (max-width: 900px) {
	.header {
		padding: 16px 24px 18px 24px;
	}
	.maintitle {
		font-size: 30px;
	}
	.location {
		font-size: 19px;
	}
	.secondarytitle {
		margin-left: -24px;
		margin-right: -24px;
		padding-right: 24px;
		font-size: 18px;
	}
	.date {
		margin-left: 0;
	}
	.listing {
		margin-left: 10px;
	}
}

/* ------------------------------------------------------------------
   Telephone (< 600px)
   ------------------------------------------------------------------ */
@media screen and (max-width: 600px) {
	body {
		font-size: 14px;
	}
	.page {
		padding: 0;
	}
	.header {
		padding: 14px 16px 14px 16px;
	}
	.maintitle {
		font-size: 24px;
	}
	.location {
		font-size: 16px;
		margin-top: 6px;
	}
	.secondarytitle {
		margin: 14px -16px 0 -16px;
		padding: 10px 16px;
		min-height: 0;
		font-size: 16px;
	}
	.counter {
		font-size: 14px;
		margin-top: 12px;
	}
	.content {
		padding: 6px 12px 10px 12px;
	}
	p, .citation, .bigcitation, ul.li, ol.li, .publi {
		text-align: left;
	}
	h1 {
		font-size: 19px;
		line-height: 1.3;
	}
	h2 {
		font-size: 17px;
		line-height: 1.3;
	}
	h3 {
		font-size: 15px;
		line-height: 1.3;
	}
	ul, ol {
		padding-left: 22px;
	}
	/* Tableaux larges : defilement horizontal du tableau seul,
	   pas de la page entiere */
	.content table {
		display: block;
		width: auto;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.underconstruction {
		top: 120px;
		max-width: 80%;
	}
}

/* ------------------------------------------------------------------
   Impression
   ------------------------------------------------------------------ */
@media print {
	.mainmenu {
		display: none;
	}
	.header {
		background: none;
		color: #000000;
		padding: 0 0 10px 0;
	}
	.maintitle, .location, .date {
		color: #000000;
	}
	.secondarytitle {
		background: none;
		border-bottom: 1px solid #000000;
		margin: 10px 0 0 0;
		padding: 4px 0;
	}
	.page {
		max-width: none;
	}
}
