body{
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	font-size: 1.25em;
	font-weight: 300;
	background-color: #141414;
	color:grey;
}

img{
	width: 100%;
}

.clear {
	clear: both;
}

a{
	text-decoration:none;
	color: #BDBDBD;
}

.selected{
	color:white;
}

/* header ------------------------------------------------------------------------------------------------------------------- */

#header{
	background-color: black;
	position: fixed;
	width: 100%;
	z-index:10;
	top:0;
	height: 70px;
	transition:  height 1s ease-in-out;
}

#navbar{
	padding: 0 1%;
	width: 98%;
	max-width: 1000px;
	margin: auto;

}

	#navbar .btnheader{
		padding: 0 15px;
		float: right;
		position: relative;
		z-index: 1;
	}
	
	#navbarProjet .btnheader{
		padding: 0 0 0 30px;
		float: right;
		position: relative;
		z-index: 1;
	}
	
	#btnlangue{
		font-size: 0.85em;
	}
	
	.btncategory:hover{cursor: pointer;}
	.btncategory:hover > .titrecategory{color:white;}
	
	.titrecategory{
		font-weight: 400;
		transition: color .5s;
		line-height: 70px;
	}
		
#navbarProjet{
	width: 95%;
	max-width: calc(35% + 700px);
	float: left;
	line-height: 1.5em;
}

#logobloc{
	position:absolute;
	z-index: 0;
	opacity: 1;
}

#logoblocProjet{
	position:absolute;
	width: calc(30% - 30px);
}

#souslogobloc{
	width: 210px;
	position: relative;
}

#souslogoblocProjet{
	width: 210px;
	position: relative;
	float:right;
}

/* menu ------------------------------------------------------------------------------------------------------------------- */

#posts{
	padding: 60px 1% 1% 1%;
	width:98%;
	max-width: 1000px;
	margin: auto;
}

.post{
	width: calc((100% / 3) - ((100% / 3) / (100 / (2 * 3))) - ((2% / 3 ) / 3));
	margin: 1%;
	float: left;
	position: relative;
}

	.post .blocimg{
		width: 100%;
	}

	.post .bloctypo{
		position: absolute;
		opacity: 0;
		transition: opacity .5s;
		background-color:black;
		width: 100%;
		height: 100%;
	}

		.post .bloctypo:hover{
			opacity: 1;
		}

		.post .bloctypo .typogramme{
			position: absolute;
			top: 50%;
			transform: translate(-50%, -50%);
			left: 50%;
			max-height: 80%;
			max-width: 80%;
		}
		
/* catégories */

#blocpresentationcategory h2{
	display: none;
}

#blocpresentationcategory{
	width: 100%;
	max-width: 1200px;
	padding: 30px 0 0 0;
	
}

	#blocpresentationcategory .typogrammecategory{
		width: initial;
		max-width: calc(80% - 40px);
		max-height: 70px;
		display: block;
		padding: 0 0 0 10px;
	}
		
	#blocpresentationcategory .descriptioncategory{
		padding: 5px 15px 10px;
		margin: 0px;
		float:left;
	}



/* MEPprojet ------------------------------------------------------------------------------------------------------------------- */

/* Bloc présentation */

#blocpresentation{
	margin-top: 70px;
	width: calc(30% - 30px);
	z-index:1;
	text-align: right;
	background-color: #141414;
	float:left;
	position: fixed;
} 

	#blocpresentation .typogramme{
		width: 300px;
		float: right;
		margin: 30px 0 30px 20px;
		max-width: calc(100% - 70px);
	}
	
	h1{
		display: none;
	}
	
	#blocpresentation #grandsaconnex, #blocpresentation #jardinduvent{
		transform:translate(9%, 0);
	}
	
	#blocpresentation #hiverdeglace{
		width: 200px;
	}

	#blocpresentation .dateetlieu{
		display: block;
		float: right;
		max-width: 300px;
	}
	
	#blocpresentation .dateetlieu .titreen{
		font-style: italic;
		margin-bottom: 1em;
	}
	
	#blocpresentation .type,#cache #credits .type, #blocfooter .type{
		color: #4d4d4d;
	}
	
/* Crédits */

#credits .bloccredit{
	margin-top:1em;
	display: inline-block;
	font-size: 0.8em;
	line-height: 1.2em;
}

#credits{
	padding: 0 0 30px 20px;
}

#blocpresentation #credits{ display:block }
#blocfooter #credits{ display:none }

#liens{
	margin-top:0.2em;
	display: inline-block;
	font-size: 0.8em;
	line-height: 1.2em;
}

/*Contenu */

#bloccontenu{
	width: 65%;
	max-width: 700px;
	float:left;
	margin: 90px 0 0 35%;
	padding: 20px 0;
	line-height: 1.5em;
}

	h2{
		font-size: 1.7em;
		font-family: 'Rubik', sans-serif;
		line-height: 1em;
		margin: 1em 0 0.2em;
		display: inline-block;
		color: #444444;
		font-weight: 600;
	}

	#bloccontenu p{
		display: block;
		margin: 1em 0 1.5em;
	}
	
	#bloccontenu .double1{
		width: 48.5%;
		margin-right: 1.5%;
		float:left;
		
	}
	
	#bloccontenu .double2{
		width: 48.5%;
		margin-left: 1.5%;
		float:left;
		
	}
	
	#bloccontenu .conteneurvideo{
		position: relative;
		padding-bottom: 50%;
		padding-top: 30px;
		height: 0;
		overflow: hidden;
		margin-bottom: 50px;
	}

	#bloccontenu .conteneurvideo iframe{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	#bloccontenu .video{
		padding:56.25% 0 0 0;
		margin: 10px 0 0;
		position:relative;
	}
	
	#bloccontenu .blocimg, .contenumourka .blocimg{
		margin-top: 10px;
		margin-bottom: 15px;
	}
	
	#bloccontenu .legendes{
		font-size: 0.8em;
		margin:0.4em 0 10px 0;
		font-style:italic;
		line-height: 1.2em;
	}
	
	#bloccontenu .legvideo{
		font-size: 0.8em;
		margin:0.4em 0 20px 0;
	}
	
	#bloccontenu a{
		color: white;
	}
	
/* Divers */
	
.descriptionarbreamusique{
	font-size:0.8em;
	line-height: 1.2em;
	margin-top: 10px !important;
}

.titredescriptionarbreamusique{
	font-size:0.9em;
	font-weight: 700;
	display: inline-block;
}

#voeu{
	width:312px;
	margin: 50px auto;
	display:block;
}
	
#instructionMAV{
	color:  #b00000  ;
	font-weight: 700;
	font-size: 0.9em;
}

.tir_A_orfee .video .player{
	background-color:black;
	max-width: inherit;
}

#blocpresentationcategory #typotir{
	max-height: 90px;
}

/* footer */
	
#blocfooter{
	border-top:1px solid #333333;
	margin:40px 0 10px;
	padding: 10px 0;
}

#copyright{
	font-size: 0.8em;
	color: #4d4d4d;
}
	
/* Pages Mourka ------------------------------------------------------------------------------------------------------------------- */	
	
	#headermourka{
		font-size: 1.2em;
		line-height: 1.3em;
		text-align:right;
		width: 30%;
		height: 100%;
		position:fixed;
		padding: 70px 0 0 0;
		float: left;
		font-family: 'Ubuntu', sans-serif;
	}
	
		#headermourka #blocitems{
			padding: 40px 0 20px 0;
			right: 0;
		}
		
			#headermourka #blocitems .itemmourka{
				display:block;
				transition: color 0.2s;
				padding: 2px 0;
			}
			
				#headermourka #blocitems .itemmourka:hover{
					color: white;
					cursor:pointer;
				}
	
	.contenumourka{
		margin: 70px 0 0 35% !important;
		padding: 20px 0 80px 0 !important;
	}
	
	.contenumourka{
		margin: 70px 0 0 35% !important;
		padding: 20px 0 80px 0 !important;
	}
	
	.contenumourka p{
		text-align: justify;
		text-justify: inter-word;
	}
	
	.contenumourka a{
		color:white;
	}
	
	#pictoinsta{
		width:30px;
		margin: 0 10px 0 0;
	}
	
@media only screen and (max-width: 1200px) {
	
	.post{
		width: calc((100% / 3) - ((100% / 3) / (100 / ((1.3 * 2) * 3))));
		margin: 1.3%;
	}
	
	.titrecategory{
		font-size: 1.25em;
	}
	
	#navbar, #navbarProjet {
		padding: 0 1.5% 0 3%;
		width: 95.5%;
		float: inherit;
		margin: auto;
		max-width: 700px;
	}
	
	#souslogoblocProjet{
		float:left;
	}
	
	#blocpresentation{
		width: 98%;
		float: inherit;
		margin: 70px auto 0;
		max-width: 700px;
	}
	
	#bloccontenu{
		padding: 20px 1% 1% 1%;
		width:98%;
		float: inherit;
		margin: auto;
	}
	
	#containerpresentation{
		padding: calc(70px + 1%) 1% 1% 1%;
		overflow: hidden;
		width:98%;
		max-width: 700px;
		height: inherit;
		position: relative;
		margin: auto;
		float:inherit;
	}
	
	#blocpresentation{
		float:inherit;
		position: relative;
		z-index:inherit;
		text-align: right;
		overflow: hidden;
		width: 100%;
	}

		#blocpresentation .typogramme{
			width: 300px;
			display:block;
			margin: 30px auto;
			float: inherit;
		}
		
		#blocpresentation .dateetlieu{
			float: inherit;
			text-align: center;
			margin: 0 auto 20px auto;
			padding: 0 15px;
		}
		
		#blocpresentation #grandsaconnex, #blocpresentation #jardinduvent{
			transform:inherit;
		}
		
		#blocpresentation #hiverdeglace{
			width: inherit;
		}
		
		#blocpresentation #credits{ display:none }
		#blocfooter #credits{ display:block; padding: 0 0 50px; text-align: center;}
		#blocfooter { margin:25px 0 5px; text-align: center;}
		
		body{
			font-size: 1em;
		}
		
		/* Mourka */
		
		#headermourka{
			text-align:center;
			width: 100%;
			height: auto;
			position:relative;
			padding: 70px 0 0 0;
			float: none;
		}
		
		#headermourka #blocitems{
			padding: 20px 0 20px 0;
		}
		
		#headermourka #blocitems .itemmourka{
			display: inline-block;
			margin: 0 0.5em;
		}
		
		.contenumourka {
			margin: auto !important;
			padding: 0 !important;
		}
		
}

@media only screen and (max-width: 700px) {
	
	.post{
		width: calc((100% / 3) - ((100% / 3) / (100 / ((0.5 * 3) * 2))));
		margin: 0.5%;
	}
	
	#bloccontenu{
		line-height: 1.3em;
		padding: 0;
		width:100%;
	}
	
	#bloccontenu p, h2{
		margin-left: 7%;
		margin-right: 7%;
	}
	
	#bloccontenu .double1,.contenumourka .double1, #bloccontenu .double2,.contenumourka .double2, #bloccontenu .blocimg{
		width: 90%;
		margin: 7px 5%;
		
	}
	
	#blocpresentationcategory .typogrammecategory{
		padding: 0 0 0 0;
		margin: 0 auto;
	}
	
	#blocpresentationcategory .descriptioncategory{
		float: none;
		text-align: center;
	}
	
	#blocfooter{ display:block; margin: 20px 5% 30px}
	
	

}

@media only screen and (max-width: 550px) {
	
	.post{
		width: 95%;
		margin: 2.5%;
	}
	
	.famillyname{
		display:none;
	}
	
	#souslogobloc, #souslogoblocProjet {
		width: 150px;
		margin: 10px;
	}
	
	#navbar .btnheader, #navbarProjet .btnheader{
		padding: 0 10px;
	}
}

/* En construction ----------------------------------------------- */

#enconstruction{
	padding: calc(70px + 1%) 1% 1% 1%;
	text-align: center;
}

#enconstruction img{
	float:none;
	padding: 10px 0;
}

#enconstruction #texteenconstruction{
	max-width: 500px;
	display:inline-block;
}


