/*Style pour rendre une table responsive*/
/*La table devra avoir la classe "responsive*/
/*les cellules des rangées devront posséder un attribut "data-label" contenant le nom de la colonne*/

@media screen and (max-width: 767px) {
	table.responsive {
	  border-collapse: collapse;
	  border: 0;
	  margin: 0;
	  padding: 0;
	  width: 100%;
	  table-layout: fixed;
	  border: 1px solid #ddd;
	  padding: .35em;
	}

  table.responsive caption {
    font-size: 1.3em;
  }
  
  table.responsive thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.responsive tr {
    border-bottom: 3px solid #ddd;
    display: block;
    padding-top: 10px;
  }
  table tr:last-child td {
	  border-bottom: 1px solid var(--bb-content-border-color) !important;
  }
  table.responsive td {
    display: block;
    font-size: .8em;
    text-align: right;
	margin: 2px 5px;
  }
  table.responsive td:last-child {
	 border-bottom-color: white; 
  }
  table.responsive td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    text-transform: uppercase;
  }
  
  table.responsive td:last-child {
    border-bottom: 0;
  }
}