@charset "utf-8";
/* CSS Document */
/********************************* Général *********************************/
html, body {
	background-color: #343e40;/*#2a2929*/ /*le bon =>#343e40*/
	max-width: 100%;
	margin: 0;
	padding: 0;/*
	color: #2a2929;*/
	font-family: 'Open Sans', 'Lato', sans-serif;
	font-size: 20px;
}

.footer_contact, .footer_map, .footer_sitemap, .conception {
	padding: 20px;
}

/*
#haut {
	visibility: hidden;
	display: none;
}
#bouton_haut {
	color: #000;
	border:#000000 thin;
	background-color: red;
	float: right;
}*/

.hideme {
	opacity: 0;
}

/********************************* Mise en page grid *********************************/
.container {
	display: grid;/*
	grid-template-columns: repeat(6, 1fr);*/
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 140px repeat(4, auto);
	grid-template-areas: 	"head1 head1 head1 head2 head2 head2" 
							"galerie galerie galerie galerie galerie galerie" 
							"footer1 footer1 footer2 footer2 footer3 footer3" 
							"conception conception conception conception conception conception";
}

/********************************* Header | Logo & Menu *********************************/
.entete {
	grid-area: head1;
	background-color: #f2f1ec;
	text-align: center;/*
	height: 150px;*/
}

.entete a, .entete a:active, .entete a:hover, .entete a:focus {
	text-decoration: none;
	color: black;
}

.entete h1 a, .entete h1 a:active, .entete h1 a:focus, .entete h1 a:visited {
	color: #a68949;/*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*//*text-shadow: 1px 2px 3px rgba(0,0,0, 0.5);/* ombre portée */
	/*text-shadow: 1px 2px 0 rgba(0,0,0,0.4),-1px -2px 0 rgba(255,255,255,1);/* estampage 
	text-shadow: 1px 2px 3px rgba(0,0,0, 0.5),1px 2px 0 rgba(0,0,0,0.4),-1px -2px 0 rgba(255,255,255,1);*/
}

.entete h1 a:hover {
	color: #967C42;
	transition: background-color .2s ease;
}

.entete h2 {
	color: #a68949;
	font-size: 0.8em;
	font-style: italic;
	margin-top: -30px;
}

.menu {
	grid-area: head2;
	background-color: #f2f1ec;
	display: flex;/*
	height: 150px;*/
	color: black;
}

.menu ul {
	position: relative;
	height: 2em;
	margin: 30px 100px;
	padding: 0;
	white-space: nowrap;
}

.menu ul li {
	display: inline;
	text-align: center;
	padding: 50px 0 20px 0;
}

.menu ul li:nth-child(1) a {
	width: 4em;
}

.menu ul li:nth-child(2) a {
	width: 4em;
}

.menu ul li:nth-child(3) a {
	width: 4em;
}

.menu ul li:nth-child(4) a {
	width: 4em;
}

.menu ul li:nth-child(5) a {
	width: 4em;
}

.menu ul li a {
	display: inline-block;
	box-sizing: border-box;
	padding: .4em .2em;
	color: black;
	text-decoration: none;/*
	text-shadow:0 1px 0 white;
	background-color:transparent;*/
	transition: background-color .3s ease;
}

.menu ul li a:hover, ul li a:focus {
	color: #2a2929;/*
     background-color:rgba(255,255,255,.4);*/
	transition: background-color .3s ease .4s;
}

.menu ul li a:focus {
	border-bottom: 3px solid #2a2929;
}

.menu ul li:last-child::after {
	content: "";
	position: absolute;
	left: 0px;
	bottom: -3px;
	display: block;
	width: 2em;
	height: 3px;
	background: #ccc;
	border-bottom: 1px solid rgba(255,255,255,.8);
	transition: all .5s ease;
}

.menu ul li:hover ~ li:last-child::after, .menu ul li:last-child:hover::after {
	background: #a68949;
}/*#2a2929*/

.menu ul li:nth-child(1):hover ~ li:last-child::after {
	left: 0;
	width: 4em;
}

.menu ul li:nth-child(2):hover ~ li:last-child::after {
	left: 4em;
	width: 4em;
}

.menu ul li:nth-child(3):hover ~ li:last-child::after {
	left: 8em;
	width: 4em;
}

.menu ul li:nth-child(4):hover ~ li:last-child::after {
	left: 12em;
	width: 4em;
}

.menu ul li:last-child:hover::after {
	left: 16em;
	width: 4em;
}

img.volute {
	display: block;
	margin: 0 auto;
	padding-top: 50px;
}

.gallery h1 {
	text-align: center;
	color: #a68949;
	/*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/
	/*text-shadow: 1px 2px 3px rgba(0,0,0, 0.5);/* ombre portée */
	/*text-shadow: 1px 2px 0 rgba(0,0,0,0.4),-1px -2px 0 rgba(255,255,255,1);/* estampage */
	/*text-shadow: 1px 2px 3px rgba(0,0,0, 0.5),1px 2px 0 rgba(0,0,0,0.4),-1px -2px 0 rgba(255,255,255,1);*/
}

/********************************* Photo - Galerie *********************************/
/*demo slider avec input radio*/

.galerie {
	grid-area: galerie;
	min-height: 500px;
	background-color: #fff;
}

body {
	position: relative;
}

.gallery {
	padding: 0px 20px 5px 20px;
	width: auto;
	margin: auto;
	border-radius: 3px;
	overflow: hidden;
	//position: relative;
}

.photo_gite {
	background-color: #343e40;/*#2a2929*/
}

.photo_fete {
	background-color: #f2f1ec; 
}

.img-c {
	width: 300px;
	height: 300px;
	float: left;
	margin-left: auto;
	margin-right: auto;
	position: relative;/*relative*/
	overflow: hidden;
	padding: 5px;
}

.img-w {
	position: absolute; /*absolute*/
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	transition: transform ease-in-out 300ms;
}

.img-w img {
	display: none;
}

.img-c {
	transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
	transform: scale(1.08);
	transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
	width: 700px !important;/*100%*/
	height: 700px !important;/*100%*/
	position: absolute;
	z-index: 2;/*
	//transform: translateX(-50%);*/
	transform: translate(-50%, -50%);
	background-color: #fff;
	background-size: cover;
	background-position: center;
	margin: auto;
}

.img-c.postactive {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

.img-c.active.positioned {/*
	top: -100px !important;/* 0 *//*
	left: 100px !important;/* 0*/ /*
	left: 100px !important;
	top: 100px !important;*/
	transition-delay: 50ms;
}

figure {
	margin: 15px;
}

figcaption {
	position: absolute;
	bottom: 5px;
	background-color: rgba(52,62,64,0.7);/*#343e40;*//*#2a2929*/
	margin: 5px;
	border-radius: 5px;
	color: #fff;
	font-size: 0.7em;
	padding: 5px;
}