@charset "utf-8";

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

table caption {
	font-size: 1.3em;
	font-weight: bold;
	color: #369;
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 0.25em;
	margin-left: 0;
	padding-top: 0.5em;
}

table tr {
	background-color: #f6f6fa;
	border: 1px solid #ddd;
	padding: 0.35em;
}

table th,
table td {
	text-align: left;
	padding-top: 0.5em;
	padding-right: 0.25em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
}

table th {
}

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

  table caption {
	font-size: 1em;
	font-weight: bold;
  }
  
  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: 0.5em;
  }
  
  table td {
	width: auto;
	display: block;
	font-size: 0.9em;
  }
  
  table td::before {
	/*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
	content: attr(data-label);
	font-size: 0.85em;
	font-weight: normal;
	color: #666;
	display: block;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}
