/**
 * Projet TOROGENESE
 * @version 3.0
 * @author P. Barral
 * @copyright @torogenese
 ***************************************************************************************************
 * Styles du site TOROGENESE
 * version 6
 ***************************************************************************************************
 * Modifications :
 *  - 27/12/2008 BPH :  modif background dans container
 */


/* Paramètres généraux */
html {
	margin: 0; padding: 0; 
}
body { 
	SCROLLBAR-FACE-COLOR: #660000;SCROLLBAR-HIGHLIGHT-COLOR: #FFFFFF;SCROLLBAR-3DLIGHT-COLOR: #CC3300;SCROLLBAR-DARKSHADOW-COLOR: #000000;SCROLLBAR-SHADOW-COLOR: #808080;SCROLLBAR-ARROW-COLOR: #FFFFFF;SCROLLBAR-TRACK-COLOR: #E0E0E0;
	margin: 1%.8%; padding: 0;
	color: #000; background: #EEE;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#container {
	background: #FFECBF;
	margin: 0;
	padding: 0;
	text-align: left;
	border-top: 2px solid #770000;
	border-left: 1px solid #770000;
	border-right: 1px solid #770000;
}

/* Entete & menu */
#pageHeader {
	background: #C30 url(../img/fond-small.gif) 100% 10% no-repeat;
  	height: 100px; 
}
#pageHeader h1 {
	background: #C30 url(../img/titre.gif) no-repeat 0% 0%;
	height: 90px;
	margin-top: 0px;
	Width: 500px;
}
#pageHeader h1 span {
	visibility: hidden;
}
#nav {
	margin: 0; padding: 0; height: 1.4em;  
	background: rgb(40%,0%,0%) url(../img/fond-small.gif) no-repeat 100% 105% ;
}
#nav li {
	list-style: none; float: left;
	font-size: 10px; line-height: 20px; white-space: nowrap;
}
#nav a {
	display: block; float: left; padding: 0 4px 0 20px;
	font-size: 10px;
	text-decoration: none; font-weight: bold;
	border: 1px solid; border-color: #CC3300 #000 #000 #CC3300;
	background: rgb(40%,0%,0%) url(../img/tab-bumps.gif) 2px 50% no-repeat;
	color: #DDD;
	width: .1em;
}
/* fixes IE6 hack */
html>body #nav a { 
	width: auto;
}    
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav a {
	float: none;
}
#nav a:hover {
	background-color: #CD7329; color: #EEE;
	border-color: #000 #CCC #CCC #000;
}
#nav #current, #nav #current a {
	color: #EEE; 
	background-color: #C30;
}

/* ---------Partie principale----------- */
#main {
	font-size: small;
	color: #7F0000;
	background: #FFECBF;
	margin: 0;
	padding: 2% 2%;
	clear: left;
	border-top: 0px solid #FF0000;
	text-align: justify;
}
#main h1 {
	font-size: 1.6em;
	color: #C30;
	background: #FFECBF;
	padding: 0px 0px 0px 0px;
	border-top: 1px dashed #C30;
	border-bottom: 1px dashed #C30;
	font-stretch: expanded;
}
#main h2 {
	font-size: 1.2em; 
	color: #C30; 
	padding:  0px 0px 0px 0px ;
}
#main h3 {
	font-size: 1.4em;
	color: #C30;
	background: #FFECBF;
	padding: 0px 0px 0px 0pxpx;;
	font-stretch: expanded;
}
#main h6 {
	font-size: 1.2em; 
	color: #C30; 
	background: #EEE url(../img/Puce001-24-m.gif) no-repeat 4px 60%;
	padding:  0px 0px 0px 30px ;
}
#main li {
	list-style: square;
	margin-bottom: 5px;
}
#content {
	padding: 10px 2%;
	background: #FFECBF;
	margin-right: 170px;
	margin-left: -6px;
}

/* La SIDE-BAR */
#sidebar {
	width: 170px;
	float: right;
	background: #FFECBF;
	color: #990000;
	margin: 20px 0px 20px 0px;
	padding: 0;
}
#sidebar h1 {
	font-size: small;
	background: #C30;
	color: #FFF;
	padding: 0;
	margin: 0;
}
#sidebar a:link {
}

/* LES ENCARTS */
.encart {
	margin: 0 0 15px 0;
	background: #FFC;
	border: 1px solid #F00;
	padding: 0;
}
.encart h1 {
	font-size: small;
	background: #C30;
	color: #FFF;
	padding: 0;
	margin: 0;
	text-align: center;
}
.encart p {
	margin: 0;
	padding: 0.5em 0.5em;
}
.encart a:link {
	font-size: small;
	border-bottom-color: #C30;
	border-bottom-style: dashed;
	border-bottom-width: 1px;

}
.encart a:hover {
	color:#7F0000; 
	text-decoration:underline;
}

/* ----------Pied de page---------------- */
#pageFooter {
	color: #DDD;
	height: 18px; width: auto;
	background: rgb(40%,0%,0%); clear: both;
}
#pageFooter h1 {
	padding: 0.2em;
	font: bold 80%/1em Verdana, Arial, Helvetica, sans-serif;
}
#pageFooter p {
	padding: 0.3em;
	font: bold  60%/1em Arial, Verdana,  Helvetica, sans-serif;
}

/* Divers éléments de type class à placer dans le div main */
.evg {
	font-weight: bold;
	color: #7F0000;
	border-bottom-color: Lime;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}
a:link.evg {text-decoration: none;font-size: small;font-weight: bold;}
a:active.evg  {text-decoration:none;}
a:visited.evg  {text-decoration:none;}
a:hover.evg {color:#090; text-decoration:underline;}

.elevage {
	font-weight: bold;
	color: #7F0000;
	border-bottom-color: Lime;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}
a:link.elevage {text-decoration: none;font-size: small;font-weight: bold;}
a:active.elevage  {text-decoration:none;}
a:visited.elevage  {text-decoration:none;}
a:hover.elevage {color:#090; text-decoration:underline;}

.eleveur {
	font-weight: bold;
	color: #7F0000;
	border-bottom-color: #00F;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}
a:link.eleveur {text-decoration: none;font-size: small;font-weight: bold; }
a:active.eleveur  {text-decoration:none;}
a:visited.eleveur  {text-decoration:none;}
a:hover.eleveur {color:#00F; text-decoration:underline;}

.encaste {
	font-weight: bold;
	color: #7F0000;
	border-bottom-color: #D90000;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}
a:link.encaste {text-decoration: none; font-size: small;font-weight: bold;}
a:active.encaste  {text-decoration:none;}
a:visited.encaste  {text-decoration:none;}
a:hover.encaste {color:#F00; text-decoration:underline;}

.fer {
	font-weight: bold;
	color: #7F0000;
	border-bottom-color: Rgb(0,0,0);
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}
a:link.fer {text-decoration: none;font-size: small;font-weight: bold; }
a:active.fer  {text-decoration:none;}
a:visited.fer  {text-decoration:none;}
a:hover.fer {color:#000; text-decoration:underline;}

a {
	color: #7F0000;
	
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {text-decoration: none; font-size: small; font-weight: bold;}
a:active {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {color:#7F0000; text-decoration:underline;}

.texte {
	font-weight: medium;	
	text-align: justify;
	line-height: 130%;
}

.edito {
	font-weight: bold;
	text-align: justify;
	line-height: 170%;
	border-left: thin dashed #BBB;
	border-right: thin dashed #BBB;
	border-top: thin dashed #BBB;
	border-bottom: thin dashed #BBB;
	padding: 2px 2px 2px 2px;
	background-color: #FFD;
	font-style: italic;
}

img{
	float: left;
	padding: 0px 10px 0px 0px;
	margin: 0 5px 5px 0;
}

.imgd{
	float: right;
	padding: 0px 0px 0px 10px;
	margin: 0 5px 5px 0;
}
.date{
	font-size: 1.2em;
	font-weight: 600;
	color: #EEE;
	background: #B30;
	font-stretch: ultra-expanded;
	padding: 1px 0px 1px 2px;

}

a:hover {
	background: none; 
}
a span { 
	display: none;
}
a:hover span {
	display: inline;
	position: absolute;
	left: 0px;
	text-align: center;
	color: white;
}
