@font-face {
    font-family: 'open_sanscondensed_light';
    src: url('../divers/OpenSans-CondLight-webfont.eot');
    src: url('../divers/OpenSans-CondLight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../divers/OpenSans-CondLight-webfont.woff') format('woff'),
         url('../divers/OpenSans-CondLight-webfont.ttf') format('truetype'),
         url('../divers/OpenSans-CondLight-webfont.svg#open_sanscondensed_light') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sanscondensed_bold';
    src: url('../divers/OpenSans-CondBold-webfont.eot');
    src: url('../divers/OpenSans-CondBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../divers/OpenSans-CondBold-webfont.woff') format('woff'),
         url('../divers/OpenSans-CondBold-webfont.ttf') format('truetype'),
         url('../divers/OpenSans-CondBold-webfont.svg#open_sanscondensed_bold') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
	margin: 10px; 
	padding: 0;
	display:table;
	vertical-align:top;
	table-layout: fixed;
	width:100%;
}
* {
	margin: 0px;
	padding: 0px;
}
h1 {
    font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size: 2em;
	font-style: normal;
	text-align: center;
	letter-spacing: .1em;
	line-height: 1.2em;
	font-weight: bold;
	color: #960;
	border-color: #FFF;

}
h3 {
	font-size: 0.8em;
	line-height: 1.2em;
	text-align: center;
	font-weight: strong;
	font-variant: small-caps;
	color: #FFF;
	padding: 10px 0;
}

a {
	color: #906;
	text-decoration: none;
}
a:hover {
	color: #096;
}

.col {
	display: table-cell;
	vertical-align: top;
}
#navigation {	
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	width:350px;
	padding: 0 8px 8px;
	border-top: 2px solid #FFF;
	background-color: #fff;
	font-size: 0.8em;
}
#navigation h1 {
	display:block;
	margin: 15px 0;
	font-size:1.7em;
	background-color:rgb(197, 108, 122);
	color:rgb(255, 255, 255);
	font-weight: normal;
	padding:10px 0;
}
#navigation h1:first-child {
	margin-top: 0;
}
#navigation ul {
	padding: 0 0 4px 0;
	line-height: 1.1em;
	padding: 4px;
}
#navigation li {
	list-style-type: disc;
	list-style-position:inside;
	color: rgb(197, 108, 122);
	padding: 4px 4px 4px 12px;
	border-bottom: 1px solid rgb(146, 45, 45);
}
#navigation li:hover {
	color: rgb(72, 75, 75);
	background-color: rgb(207, 177, 130);
}
#navigation a {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size:1.1em;
	text-decoration: none;
	color: #57402D;
}
#navigation a:hover {
	color:rgb(244, 255, 255);
}
#navigation img {
			margin:10px auto 0;
			width:100%;
			max-width: 250px;
			display:block;
			text-align:center;
}


.hd {
	vertical-align: top;
	font-style: italic;
	font-size: .65em;
	margin: 0;
}
.hdg {
	vertical-align: top;
	font-style: italic;
	font-size: .65em;
	border-left: 1px solid #888;
	margin: 0;
}
.grandpere {
	font-size: .8em;
	border-bottom: 1px solid #888;
	vertical-align: bottom;
}
.grandpereg {
	font-size: .8em;
	border-bottom: 1px solid #888;
	vertical-align: bottom;
	border-left: 1px solid #888;
}
.gauche {
	border-left: 1px solid #888;
}

.clearthefloats {
	clear: both;
}
.left {float:left; margin-right:1em;}
.right {float:right; margin-left:1em;}

#nomdelapage {
	text-align: center;
}
#textecourant {
	width: 70%;
	background-color: #FFF;
	padding: 10px;
	border-radius: 12px;
	-moz-border-radius: 12px;
	margin: 0 auto;
}

#textecourant>ul { 
	padding-left: 5px;
	/*list-style-type: alpha;*/
	font-variant: small-caps;
	font-weight: bold;
	font-size: 1em;
}
#textecourant>ol { 
	padding-left: 5px;
	/*list-style-type: alpha;*/
	font-variant: small-caps;
	font-weight: bold;
	font-size: 1em;
}
#textecourant>ul li {
	font-family: "open_sanscondensed_bold", arial, helvetica, sans serif;
	font-weight: normal;
	font-size: 1.3em;
	margin-top: 20px;
	padding-left: 0px;
	line-height: 1.6em;
	list-style-position: inside;
	text-indent: 5px;
	color: #FFF;
}
#textecourant>ol li {
	font-family: "open_sanscondensed_bold", arial, helvetica, sans serif;
	font-weight: normal;
	font-size: 1.3em;
	margin-top: 10px;
	padding-left: 0px;
	line-height: 1.6em;
	list-style-position: inside;
	text-indent: 5px;
	color: #FFF;
}

#textecourant p {
	background-color: #FFF;
	font-variant: normal;
	font-weight: normal;
	font-size: .8em;
	color: #369;
}
#photo {
	text-align: center;
	margin: 12px auto;
}
#photo ul {
	list-style-type: none;
	width:100%;
	margin: 0 auto;
	text-align: center;
}
#photo ul li {
	padding: 5px;
	margin: 5px 0 10px;
	float: left;	
	text-indent:0;
}
#photo ul li p {
	text-align: center;
	font-size: .8em;
	line-height:1.2em;
	margin:0;
	padding: 5px;
	font-variant: normal;
	background-color: rgba(255,255,255,0.8);
	font-weight: normal;
}
#photo ul li p.sante {
	font-family: "open_sanscondensed", arial, helvetica, sans serif;
	text-align: center;
	font-size: .6em;
	margin: 0;
}
#photo img {
	-moz-border-radius: 4px;
	webkit-border-radius: 4px;
	border-radius: 4px;
	max-width:99.5%;
}

#tableau {
	background-color: #FFF;
	padding-top:20px;
	padding-bottom : 10px;
	padding-left: 10px;
}
#tableau th, #tableau td {
	text-align: left;
	vertical-align: top;
	font-size: .8em;
	margin-left: 5px;
}
#tableau th {
	border-top: 1px solid #DDD;
	font-weight: normal;
	color: #09F;
	padding-right: 10px;
}
#tableau td {
	border-top: 1px solid #DDD;
	font-weight: normal;
	padding-right: 5px;
}
.portee {
	font-size: 1.5em;
	font-style: oblique;
	margin-left: 0px;
	padding: 1.5em 0 0 1.2em;
}
#pedigree {
	width: 100%;
	background-color: #FFF;
	padding-top: 20px;
	padding-bottom : 20px;
	margin:0 auto;
}
#pedigree tr {
	width:100%;
	font-variant: normal;
	border-top: none;
	text-align: left;
	font-weight: normal;
}
#pedigree th, #pedigree td {
	width:33%;
	font-variant: normal;
	border-top: none;
	text-align: left;
	font-weight: normal;
}
#pedigree td {
	padding-left: 4px;
	font-size: .65em;
}
#pedigree th {
	padding-left: 4px;
	font-size: .65em;
}
figcaption {
	text-align: center;
	font-size: .7em;
	margin: 0;
	padding: 0;
	font-variant: normal;
	font-weight: bold;
	color: #369;
}

/* Bandeau d'avertissement mobile */
@media screen and (max-width: 768px) {
	body::before {
		content: "Ce site est conçu pour être consulté sur ordinateur. L'affichage sur mobile peut être altéré.";
		display: block;
		background-color: #d32f2f;
		color: #fff;
		text-align: center;
		padding: 12px 15px;
		font-size: 14px;
		font-weight: bold;
		font-family: Arial, sans-serif;
		line-height: 1.4;
		position: sticky;
		top: 0;
		z-index: 9999;
		box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	}
}
