@import url("base.css");

/* @override 
	http://grogro.local:8888/~max/Treschenu_Creyers/www/vues/style/tc.css
*/

/* polices */

@font-face {
  font-family: "Vera Humana 95";
  font-weight: normal;
  font-style: normal;
  src: url(ttf/Verah___.ttf) format("truetype");
}

@font-face {
  font-family: "Vera Humana 95";
  font-weight: bold;
  font-style: normal;
  src: url(ttf/Verahb__.ttf) format("truetype");
}

/*@font-face {
  font-family: "persans";
  font-weight: normal;
  font-style: normal;
  src: url(ttf/persans.ttf) format("truetype");
}

@font-face {
  font-family: "persans";
  font-weight: normal;
  font-style: italic;
  src: url(ttf/persansi.ttf) format("truetype");
}

@font-face {
  font-family: "persans";
  font-weight: bold;
  font-style: normal;
  src: url(ttf/persansb.ttf) format("truetype");
}

@font-face {
  font-family: "persans";
  font-weight: bold;
  font-style: italic;
  src: url(ttf/persanbi.ttf) format("truetype");
}*/

/*@font-face {
  font-family: "Bitstream Vera Sans";
  font-weight: normal;
  font-style: normal;
  src: url(ttf/Vera.ttf) format("truetype");
}

@font-face {
  font-family: "Bitstream Vera Sans";
  font-weight: bold;
  font-style: normal;
  src: url(ttf/VeraBd.ttf) format("truetype");
}

@font-face {
  font-family: "Bitstream Vera Sans";
  font-weight: normal;
  font-style: italic;
  src: url(ttf/VeraIt.ttf) format("truetype");
}


@font-face {
  font-family: "Bitstream Vera Sans";
  font-weight: bold;
  font-style: italic;
  src: url(ttf/VeraBI.ttf) format("truetype");
}*/


html, body {
	font-family: Verdana; 
}

.article h2, .article h4,
.histoire p,
#menu_gene, #bloc_titre, #menu_gene ul {
	font-family: "Vera Humana 95", Times, Optima;
}

/* généralités */

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	border: none;
}

/* arrondis */

.zoom,
.a_x,
#menu_gene,
#bloc_titre,
#menu_gene ul,
#ti_photo,
#article,
.article {
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
}

/* transparence */

#ti_photo {
	opacity: .7;
}

.a_x {
	opacity: .5;
}

#menu_gene, #bloc_titre, #menu_gene ul,
.article, #article {
	opacity: .8;
}

.article.informations {
	opacity: 1;
	width: 600px;
}

/* blocs */

html, body {
	margin: 0;
	padding: 0;
	background-color: #8c9a4d;
	/*min-height: 100%;*/
	height: 100%;
}

#ecran, div.dia {
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
	top: 0; left: 0;
}

/*#dia_0 {
	height: 50%;
	top: 0;
	border: 1px solid black;
}

#dia_1 {
	height: 50%;
	bottom: 0; right: 0;
	border: 1px solid red;
}*/

.dia img {
	display: block;
	height: 100%;
	width: auto;
	/*position: absolute;*/
}

.dia img.large {
	width: 100%;
	height: auto;
}

.a_x,
#ti_photo {
	position: absolute;
	bottom: 1em; left: 1em;
	margin: 0;
	padding: .5em;
	z-index: 2;
	background-color: silver;
	font-weight: bold;
	font-size: .9em;
	color: #324327;
}

.a_x {
	left: auto;
	right: 1em;
	font-size: .8em;
}

#menu_gene, #bloc_titre, #menu_gene ul {
	left: 30px;
	/*background-color: sandybrown;*/
	background-color: #ffcf8e;
	color: #324327;
}

#bloc_titre {
	position: absolute;
	padding: 1em;
	top: 1.5em;
	font-size: 1.25em;
	white-space: nowrap;
}

#bloc_titre ul {
	padding: 0;
	margin: 0;
	/*text-align: center;*/
}

#bloc_titre li {
	display: inline;
	display: inline-block;
	margin-left: 1em;
	/*width: 19%;*/
}

#bloc_titre li:first-child {
	margin-left: 0;
}

#bloc_titre ul a {
	/*display: block;*/
	padding: .3em .5em .1em .5em;
}

#bloc_titre ul a:hover {
	background-color: #e6b180;
}

h1 {
	font-size: 3.5em;
	margin: .2em 0;
	text-shadow: #82603c -.1em .1em .3em;
}

h1 a:hover {
	color: #7a0f16;
	text-shadow: #4c0600 -.2em .2em .2em;
}

h3 {
	margin: .5em 0;
}

#menu_gene, #menu_gene ul {
	position: absolute;
	padding: 1em;
	list-style-type: none;
	margin: 0;
}

#menu_gene {
	z-index: 2;
	overflow: visible;
	top: 14em;
	margin: 0;
	text-transform: uppercase;
	font-weight: bold;
	width: 13em; /* pour bug firefox 2*/
}

#menu_gene.accueil {
	top: 17em;
}

#menu_gene ul {
	left: 100%; /*à remettre, debug IE*/
	top: -1em;
	font-size: 1em;
	display: none;
	z-index: 3;
}

#menu_gene li {
	position: relative;
	white-space: nowrap;
	/*padding: 0 .5em;*/
	/*padding: .3em .5em .2em .5em;*/
	/*height: 1.5em;*/
	line-height: 1.5em;
	/*margin-top: .5em;*/
	/*border-left: 4px solid #7a0f16;*/
	/*min-height: 20px;*/
	/*padding-right: 25px;*/
}

#menu_gene li.actif, #bloc_titre li.actif {
	color: #7a0f16;
	font-weight: bold;
}

/*#menu_gene li.hover,
#menu_gene li:hover {
	background-color: #e6b180;
}*/

#menu_gene li.branche.hover
/*#menu_gene li.branche:hover*/
{
	/*width: 105%;*/
	/*width: 125%;*/
	width: 15.5em; /* pour bug firefox 2*/
	/*padding-right: 25%;*/
	background-color: inherit;
	/*background-image: none;*/
}

#menu_gene li.branche.hover ul
/*#menu_gene li.branche:hover ul*/
{
	display: block;
	margin: 0;
}

#menu_gene a {
	display: block;
	padding: .3em 25px .1em .5em;
}

/*#menu_gene li.branche>a {
	background-image: none;
	width: 65%;
	padding: .3em .5em .1em .5em;
}*/

#menu_gene a:hover {
	background: url(img/droite-creux_ombre-18.png) no-repeat right center;
	background-color: #e6b180;
}

/*#menu_gene li.branche>a:hover {
	background-image: none;
}*/

.rss {
	position: absolute;
	top: 10.5em;
	right: 30px;
	margin: 0;
}

.rss a {
	color: white;
	background: url(img/rss.png) no-repeat;
	padding-left: 20px;
}

.rss a:hover {
	color: #7a0f16;
}

#elements {
	position: absolute;
	/*margin-top: 13.5em;
	margin-left: 30em;
	margin-right: 30px;*/
	top: 13.5em;
	left: 30em;
	right: 30px;
	
}

.article,
#article {
	color: #25002d;
	padding: 2em;
	background-color: #cbced0;
	min-width: 25em;
	margin-bottom: 2em;
	text-align: justify;
	/*overflow: auto; pose pb dans ff*/
}

.article h2 {
	margin: 0;
	margin-bottom: .5em;
	color: #7a0f16;
	/*white-space: nowrap;*/
	/*border-top: 2px groove silver;
	padding-top: 1em;*/
}

img.zoomable.gauche {
	float: left;
	clear: left;
	margin-right: 1em;
	margin-bottom: 1em;
	cursor: pointer;
	/*padding-right: 1em;
	padding-bottom: 1em;
	border-right: 1px solid #7a0f16;
	border-bottom: 1px solid #7a0f16;*/
}

.article label {
	color: #7a0f16;
	font-weight: bold;
	margin-right: 1em;
	width: 5em;
	display: inline-block;
}

/*.article dl {
	color: #25002d;
}*/

.article dt {
	color: #7a0f16;
	font-weight: bold;
	width: 10em;
	float: left;
	/*clear: left;*/
}

.article dd {
	margin-bottom: .5em;
	margin-left: 10em;
}

.article a {
	font-weight: bold;
	color: #7a0f16 !important; /*gmaps override*/
}

#gmap {
	width: 600px;
	margin: auto;
}

#IGN {
	text-align: center;
}

.corp_tc object, .corp_tc iframe {
	display: block;
	margin: auto;
}

/*#IGN img, #gmap img {
	float: none;
}*/

/*.Gmap small a {
	supprimer style google
}*/

.histoire p,
.presentation p {
	/*text-indent: 1.5em;*/
	/*border-left: 1px solid #7a0f16;*/
	padding-left: 1.1em;
	/*margin-left: -1.1em;*/
	background: url(img/f_e_grise.png) no-repeat;
}

.histoire {
	font-size: 1.1em;
	line-height: 1.1em;
}

.presentation a {
	color: #7a0f16;
	font-weight: bold;
}

p.notes {
	background-image: none;
	/*border: none;*/
	/*padding: 0;*/
	font-size: .9em;
}

p.signature {
	background-image: none;
	clear: both;
	/*border: none;*/
	/*padding: 0;*/
	text-align: right;
	color: #7a0f16;
}

p.partenaires {
	text-align: center;
	/*background-color: white;*/
}

p.partenaires img {
	float: none;
	margin: 0 2em;
	vertical-align: middle;
	/*background-color: black;*/
	padding: 1.5em;
}

p.masquer {
	clear: both;
	text-align: right;
	padding-top: 1em;
	font-size: .8em;
	margin: 0;
	background-image: none;
	cursor: pointer;
}

p.masquer:first-child {
	margin-bottom: 1em;
	padding-top: 0;
}

.corp_tc {
	overflow: hidden;
	text-align: justify;
	clear: both;
}

img.zoomable.droite {
	float: right;
	clear: both;
	margin: 3px 0 3px 1em;
	cursor: pointer;
}

.corp_tc p:first-child {
	margin-top: 0;
}

.corp_tc p:last-child {
	margin-bottom: 0;
}

img.zoom {
	border: .5em solid #cbced0;
	margin-top: -.5em;
	margin-right: -.5em;
	z-index: 2;
}