.bricks-calc table {
  border-collapse: collapse;
  width: 100%;
}
.bricks-calc th {
  background-color: #eee;
  font-weight: bold;
}
.bricks-calc th,
.bricks-calc td {
  border: 1px solid #333;
  line-height: 1.5;
  padding: 0.75em;
  text-align: left;
}
/* Stack rows vertically on small screens */
@media (max-width: 768px) {
  /* Hide column labels */
	.bricks-calc thead tr {
		position: absolute;
		top: -9999em;
		left: -9999em;
	}
	.bricks-calc tr {
    border: 1px solid #333;
    border-bottom: 0;
  }
	/* Leave a space between table rows */
  .bricks-calc tr + tr {
    margin-top: 1.5em;
  }
  /* Get table cells to act like rows */
  .bricks-calc tr,
  .bricks-calc td {
		display: block;
    border-bottom: 1px solid #000;
	}
	.bricks-calc td {
		border: none;
		border-bottom: 1px dotted #ccc;
	/* Leave a space for data labels */
		padding-left: 50%;
	}
	/* Add data labels */
  .bricks-calc td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    line-height: 1.5;
    margin-left: -100%;
    width: 100%;
  }
}
/* Stack labels vertically on smaller screens */
@media (max-width: 400px) {
  .bricks-calc td {
    padding-left: 0.75em;
  }
  .bricks-calc td:before {
    display: block;
    margin-bottom: 0.75em;
    margin-left: 0;
  }
}
