
/* Feuille de style pour galeries photo*/

html {
	font-family: sans-serif;
}

body {
	width: 100%;
	max-width: 1024px;
	margin: 10px auto;
	font-size: 0.9em;	
	background: #333;
}

header {
	display: flex;
	width: 100%;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-around;
}

.menu_pages {
	display: flex;
	width: 100%;
	font-size:1em;
	padding-top: 10px;
	margin-top: 10px;
	border-top: solid 1px #888;
}

.bouton {
	display: flex;
	justify-content: space-around;
	width: 8em;
	margin: 1px;
	background-color: #eee;
	border: solid 1px #888;
	border-radius: 5px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	color: #55a;
	font-style: italic;
	cursor: pointer;
}	

.bouton:hover {
	background-color: #ddd;
	color: #55a;
	font-weight: bold;
}

div {
	align-items: center;
	justify-content: space-around;
}

main {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	flex-wrap: wrap;
}

h3 {
	color: #16f033;
	font-size: 1.5em;
	text-align: center;
	font-weight: normal;
	font-style: italic;
}

h4 {
	color:#16f033;
	font-size:1.2em;
	text-align:center;
}

section {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
	margin: 0.5% 0;
	border-radius: 10px;
	border:1px solid green;
}
			
p {
	color:#ffc;
	text-indent: 30px;
	margin: 5px;
}

ul, li {
	color:#ffc;
	margin: 0px;
	margin-left : 5px;
}

a {
	text-decoration: none;
	color: #88f;
}

a:hover {
	color: #ccf;
}	
	
footer {
	display: flex;
	justify-content: space-between;
	font-size: 0.7em;
	padding: 0 1em;
}

footer p {
	text-indent: 0;
}

.en-tete {
	display: flex;
	align-items: flex-start;
}

.texte {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: start;
	justify-content: space-around;
	padding: 10px;
}

.une_photo {	/* 1 photo de 340 px de large */
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-around;
	padding: 10px;
	width:33%;
	overflow: hidden;
	flex-shrink: 0;
}

.deux_photos {	/* 2 photos de 170 px de large */
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	padding: 5px;
	width:16%;
	overflow: hidden;
	flex-shrink: 0;
}

.legende  {
	
	font-size: 0.8em;
	text-indent: 0;
	font-style: italic;
}

.texte_liste {
	padding: 10px;
}

.texte_liste a {
	color: #88f;
}

.site {
	width: 100%;
	padding: 0px;
	margin: 5px;
}

.galerie {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	width: 100%;
	color: #16f033;
}

.item {
	/*height: 295px;	/*130px;*/
	margin-bottom: 5px;
	overflow: hidden;
	flex-shrink: 0;
	/*border: 1px solid white;*/
	border-radius: 10px;
}

.item a {
	color: #ccc;
	font-weight: bold;
}

.item a:hover {
	color: #fff;
}	

img {
	border-radius: 10px;
	width: 100%;
}


.item img {
	opacity: 0.8;
}

.item img:hover {
	/*transform:scale(1.1);*/
	opacity: 1;
}

.fiche {
	display: flex;
	position: relative;
	background-color: rgba(0,0,0,0.3);
	bottom: 20px;
	border-radius: 0 0 10px 10px;
	font-size: 0.9em;
	justify-content: center;
	padding-right: 5px;
}
