@media only screen and (min-width: 801px) {
	h1{
		text-align:center;
		background-color : #48a653;
		color:white;
		padding:15px;
		margin:-10px -10px 10px -10px;
	}

	body{
		background-image:url("cabaca.png"), url("fond.jpg");
		background-attachment: fixed, fixed;
		background-size: auto, cover;
		background-repeat: no-repeat, no-repeat;
		background-position: bottom left, top;
		margin : 10px;
	}

	.contenant{
		margin:0px auto;
		width: 800px;
		position:relative;	
	}

	.contenu{
		position:absolute;
		left: 200px;
		top: -10px;
	}

	.menu {
		top:10px;
		left:0px;
		width:100%;
	}

	.fenetre{
		position:relative;	
		border:1px solid black;
		border-radius:5px;
		padding:10px;
		background: linear-gradient(#4064e7,#7898d7); 
		margin:10px auto;
		width: 560px;
		overflow:visible;
		display:block;
	}

	.chant{
		width: 560px;
		overflow-x:hidden;
	}

	.infochant{
		width: 560px;
		position:absolute;
		text-align:center;
	}


	h2{
		margin:0px 0px 10px 0px;
		text-align:center;
	}

	a{
		color:white;
		text-decoration:none;
	}
	a:hover
	{
		text-decoration:underline;
	}

	a.important{
		font-weight: bold;
		font-style : italic;
	}
	ul{
		margin:0px;
	}

	#sommaire {
		max-width:140px;
		overflow:hidden;
		margin:0px;
	}

	#sommaire li{

		list-style:none;
		margin-bottom:10px;
		max-width: 115px;
		border:1px solid black;
		border-radius:5px;
		padding:10px;
		background: linear-gradient(#4064e7,#7898d7); 
	}

	.encadre{
		border:1px solid black;
		border-radius:5px;
		background: linear-gradient(white,gray); 
		padding:2px;
		max-width:120px;
		text-align:center;
		color:black;
	}

	span.encadre{
		font-size:small;
		bottom:-10px;
		width:auto;
		padding:0px 15px;
	}

	.invisible{
		opacity : 0.4;
	}

	.titre{
		text-decoration:underline;
	}

	.ancetres{
		font-size:10;
	}

	#sommaire li{
		text-align:center;
	}

	.petiteimage{
		width:20px;
		position:absolute;
		float:left;
		margin-top:20px;
		margin-left:-5px;
		display:none;
	}
}


@media only screen and (max-width: 800px) {
	.menu{
		position: fixed;
		top:0px;
		left:5px;
		right:5px;
		margin: 0px 0px 0px; /*background: black;*/
	}
	
	body{
		background-image:url("fond.jpg");
		background-attachment: fixed;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: top;
		margin : 5px;
	}

	h1{
		text-align:center;
		background-color : #48a653;
		color:white;
		padding:15px;
		margin:-10px -10px 10px -10px;
		display:none;
	}

	.fenetre{
		border:1px solid black;
		padding:10px;
		background: linear-gradient(#4064e7,#7898d7); 
		margin:10px auto;
		overflow:hidden;
	}

	h2{
		margin:0px 0px 10px 0px;
		text-align:center;
	}

	a{
		color:white;
		text-decoration:none;
	}
	a:hover
	{
		text-decoration:underline;
	}

	a.important{
		font-weight: bold;
		font-style : italic;
	}
	ul{
		margin:0px;
		list-style-type: none;		
  		padding: 0;
	}

	#sommaire {
		overflow:hidden;
		margin:0px;
		width:100%;
	}

	#sommaire li{
		float: left;
		list-style:none;
		border: 1px solid black;
		background-color : #48a653;
		width:32.5%;
		
		text-align:center;
	}

	#sommaire li:nth-child(1),li:nth-child(2),li:nth-child(4),li:nth-child(5),li:nth-child(6),li:nth-child(7){
		display: none !important;
	}

	#sommaire li a{
		width:100%;
		height:100%;
	}

	.encadre{
		border:1px solid black;
		border-radius:5px;
		background: linear-gradient(white,gray); 
		padding:2px;
		max-width:120px;
		text-align:center;
		color:black;
	}
	/*#sommaire{
		margin:auto;
		text-align:center;
		margin-top:-20px;
	}*/

	span.encadre{
		font-size:small;
		bottom:-10px;
		width:auto;
		padding:0px 15px;
	}

	.invisible{
		opacity : 0.4;
	}

	.titre{
		text-decoration:underline;
	}

	.ancetres{
		font-size:10;
	}
	#commentaires {
		display:none;
	}

	#proposechant {
		display:none;
	}

	#dernierscommentaires {
		display:none;
	}

	tr h2 {
		display:none;
	}
	td:nth-child(2)>h2 {
		display:none;
	}
}