table.recipenutri,
table.recipenutristandard,
table.tweak,
table.comparesimple,
table.comparestandard {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  line-height: 1.2;
  margin: 1.25rem 0;}

table.recipenutristandard {
  background-color: #cff1a6;
  border: 1px solid #fff;}

table.recipenutristandard th,
table.recipenutristandard td {
  border: 1px solid #fff;
  padding: 0.3rem;
  vertical-align: top;}

table.recipenutri th,
table.recipenutri td {
  border: 1px solid #fff;
  padding: 0.5rem;}

table.tweak th,
table.tweak td {
  border: 1px solid #fff;
  padding: 0.5rem;
  text-align: center;}

table.recipenutri,
table.tweak {
  background-color: #cff1a6;
  border: 1px solid #fff;}

table.comparesimple,
table.comparestandard {
  border: 1px solid #cff1a6;}

table.comparestandard td,
table.comparestandard th {
  border: 1px solid #cff1a6;
  padding: 0.5rem;
  vertical-align: top;}

thead th {
  font-weight: bold;}

table.comparesimple th, table.comparesimple td,
table.recipenutri th, table.recipenutri td {
  padding: 0.3rem 0.3rem;
  text-align: center;
  vertical-align: top;}

table.comparesimple th,
table.comparesimple td {
  border: 1px solid #cff1a6;}

table.comparesimple thead th,
table.comparestandard thead th,
table.recipenutri thead th {
  background-color: #b9e18a;}

table.comparesimple tbody td:first-child,
table.recipenutri tbody td:first-child {
  text-align: left;}

table.comparesimple tbody tr {
  background-color: #fff;}

table.comparesimple td ul,
table.comparestandard td ul,
table.recipenutri td ul {
  list-style: disc;
  margin-left: 0;
  padding-left: 1.25rem;
  text-align: left;}

table.comparesimple td ul li,
table.comparestandard td ul li,
table.recipenutri td ul li {
  margin-bottom: 0.3rem;}

.data {background-color: #cff1a6;text-align: right;}
.leftcol, .lastcol {text-align: left !important; }
.toprow, .toprowtwo {background-color: #b9e18a;}
.toprow {text-align: left;}

@media screen and (max-width: 992px) {

  /* Hide thead for cards */
  .tweak thead,
  .comparesimple thead,
  .recipenutri thead {
    display: none;}


  table.recipenutristandard,
  table.comparestandard {
    font-size: 0.85rem;
    width: 100%;}

table.recipenutristandard th,
table.recipenutristandard td,
table.comparestandard th,
table.comparestandard td {
  padding: 0.3rem;}

  table.recipenutristandard thead,
  table.comparestandard thead {
    display: table-header-group;}

  table.recipenutristandard tbody td,
  table.comparestandard tbody td {
    display: table-cell;}

  table.tweak {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    margin: 1.25rem 0;}

  table.tweak thead,
  table.tweak col {
    display: none;}

  table.tweak tbody,
  table.tweak tr {
    display: block;
    width: 100%;}

  table.tweak tbody td {
    display: block;
    width: 100%;
    margin: 0 auto 0.9rem auto;
    padding: 0.9rem;
    background-color: #cff1a6; /* Lighter green */
    text-align: center;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-weight: bold;
    border-radius: 12px;}

  table.tweak tbody td:before {
    content: attr(data-th);
    display: block;
    font-weight: bold;
    font-size: 1.8em;
    color: #0F8018;
    margin-bottom: 0.5rem;
    text-align: center;}

  table.comparesimple,
  table.recipenutri {
    display: block;
    width: 100%;
    border: none;
    margin: 0 auto;
    padding: 0;
    table-layout: auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    background: #fff; /* Space between cards is white */}

.comparesimple col,
.recipenutri col {
  display: none;
  width: auto;}

table.comparesimple tbody tr,
table.recipenutri tbody tr {
  background-color: #cff1a6;}

.comparesimple tbody, .comparesimple tr,
.recipenutri tbody, .recipenutri tr {
  display: block;
  background: #fff;
  width: 100%;}

.comparesimple tr,
table.recipenutri tr {
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;}

.comparesimple tr td:first-child,
table.recipenutri tr td:first-child {
  background: #cff1a6;
  font-weight: 700;
  font-size: 1.8rem;
  color: #0F8018; /* very dark green */
  display: block;
  width: auto;
  overflow: visible;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0.9rem;
  border: none;
  padding-bottom: 0.6rem;
  padding-top: 0;}

.comparesimple tbody td,
table.recipenutri tbody td {
  background: #cff1a6;
  display: block;
  text-align: left;
  border: none;
  border-bottom: 3px dotted #0F8018;
  padding: 0.6rem 0;
  width: 100%;}

.comparesimple tbody td:last-of-type,
table.recipenutri tbody td:last-of-type {
  background: #cff1a6;
  border-bottom: none;
  padding-bottom: 0;}

.comparesimple tbody td:before,
table.recipenutri tbody td:before {
  background: #cff1a6;
  content: attr(data-th);
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;}

.comparesimple tbody td ul,
table.recipenutri tbody td ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.25rem; /* Converted from 20px */
  text-align: left;
  width: 100%;
  background-color: #cff1a6;}

.comparesimple tbody td ul li,
table.recipenutri tbody td ul li {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  word-wrap: break-word;}

.comparesimple tbody td strong,
table.recipenutri tbody td strong {
  display: block;
  margin-bottom: 0.3rem;
  word-wrap: break-word;}

}