@font-face {
    font-family: 'Commune_Nuit_Debout';
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot');
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot?#iefix') format('embedded-opentype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff') format('woff'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff2') format('woff2'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.ttf') format('truetype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.svg#svgFontName') format('svg');
    font-weight: normal;
}

*{
	box-sizing: border-box;
}	

body{
	padding: 20px;
	font-family: "Palatino Linotype", serif;
}

/* Main */
.main{
	max-width: 1250px;
	margin: auto;
	display:flex;
	flex-direction: column;
}
h1 {
	display:none;
}

/* lorsque moins de cinq cases sur la première ligne */
.incompleteRow{
	margin: 8px -16px -33px;
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap-reverse;
	justify-content: center;
}
.incompleteRow,
.incompleteRow > .case{
	padding: 12px;
}
.case{
	width: 20%;	
}
.case a{
	color: black;
	text-decoration: none;
}
.row{
	margin: 8px -16px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.incompleteRowReverse{
	margin: 8px -16px -33px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.incompleteRowReverse,
.incompleteRowReverse > .column{
	padding: 12px;
}

/* add padding between each column */
.row,
.row > .column{ /* sélectionne les attributs "column" dont le parent a l'attribut "row" (pas utile ici) */
	padding: 12px;
}

/* on crée 5 colonnes égales qui flottent */
.column{
	width: 20%;
}
.column a{
	color: black;
	text-decoration: none;
}
cite{
	font-style: normal;
}
.contenu{
	padding-top: 20px;
	padding-bottom: 50px;
	border-top-style: solid;
	border-color: white;
	border-width: 1px;
}

.description{
	padding: 0px 10px 0px 10px;
	text-align: center;
	height: 75px;
	line-height: 10px;
	visibility: hidden;
}
h2{
	font-size: 14px;
	font-weight: normal;
}
.date{
	font-size: 13px;
	font-style: italic;
}
.une{
	background-color: white;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}
.uneLow{
	background-color: #E9EEF0;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

article img{
	max-height: 150px;
	max-width: 180px;
	margin: 25px;
	transition-property: transform box-shadow;
	transition-duration: 0.5s;	
	visibility: hidden;
}

article img:hover{
	-ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari */
    transform: scale(1.1);
	box-shadow: 8px 8px 16px #B7C1C4;
}
img.noScale:hover{
	-ms-transform: none; /* IE 9 */
    -webkit-transform: none; /* Safari */
	transform: none;
}
.overlay{
	position: absolute;
	top: 0;
	bottom: 3px;
	left: 0; 
	right: 0;
	margin-top: auto;
	margin-bottom:auto;
	margin-left: auto; 
	margin-right: auto; 
	opacity: 0;
	transition: 0.5s ease-in;
}
.une:hover .overlay{
	opacity: 1;
}

.rights{
	text-align: center;
	clear: left;
	padding-top: 10px;
	font-size: 14px;
}
.rights a{
	position: relative;
	color: black;
}


.uneLow:hover{
	background-color: #C7D2D6;
	transition-duration: 0.5s;	
}

nav{
	position: fixed;
	top:0;
	left:0;
	font-family: "Commune_Nuit_Debout";
	font-size:30px;
	z-index:2;
}
nav a{
	color:#404245;
	text-decoration:none;
	transition-delay: 2s;
	background-color:white;
}
nav ul{
	padding:0px;
	margin:20px;
}
nav li{
	list-style: none;
	margin:20px;
	opacity: 0;
}
.bouton{
	border-bottom:solid transparent 1px;
	display: inline;
	transition-duration:500ms;
}
.bouton:hover{
	border-bottom: solid black 1px;
	transition-delay: 100ms;
	transition-duration:500ms;
}

/* Responsive */
@media screen and (max-width: 1600px){
}
@media screen and (max-width: 1400px){
}
/* Responsive 4 colonnes */
@media screen and (max-width: 1250px){
	.main{
		max-width: 1000px;
		margin: auto;
	}
	.column{
		width: 25%;
	}
	.case{
		width: 25%;
	}

}

/* Responsive 3 colonnes */
@media screen and (max-width: 1100px){
	.main{
		max-width: 750px;
		margin: auto;
	}
	.column{
		width: 33.33%;
	}
	.case{
		width: 33.33%;
	}
}
/* Responsive 2 colonnes */
@media screen and (max-width: 850px){
	.main{
		max-width: 500px;
		margin: auto;
	}
	.column{
		width: 50%;
	}
	.case{
		width: 50%;
	}
}
/* Responsive 1 colonne */
@media screen and (max-width: 600px){
	.main{
		max-width: 250px;
		margin: auto;
	}
	.column{
		width: 100%;
	}
	.case{
		width: 100%;
	}
	#live img{
		width:100%;
	}
}
@media screen and (max-width: 410px){
}
