/* Styles généraux */
body {
	font-family:"Open Sans", sans-serif;
	font-size:95%;
	background:#f1f1f1;
	max-width:800px;
	margin: 0 auto;
	line-height: 1.25;
}

a {
	color:#666;
}
p.mention {
	margin: 1em;
	color:#666;
	clear:both;
	padding-top:2em;
}
h1 {
	padding:0;
	margin : 0.5em 0 0.5em 0;
}
h2 {
	margin:10px 0;
	padding:5px 0;
}
.cadre {
	background:#eee;
	padding:10px;
}
img {
	max-width: 100%;
    height: auto;
}
/* Disposition par défaut */
#main {
	/*float:left;*/
	background:#fff;
	max-width:800px;
	/*overflow:auto;
	width:100%;
	clear:both;*/
	padding: 10px;
}
/* min-width pour moyennes résolutions */
@media screen and (min-width: 1024px) {
	#main {
		width:100%;
		clear:none;
	}

}

/* max-width pour faibles résolutions */
@media screen and (max-width: 640px) {

	#main, {
		clear:both;
		width:100%;
	}
}

/* tableau */

table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0 0 10px 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}


