:root {
    --border-thick: 5px;
    --border-thin: 2px;
}

.label-facts {
    font-size: small;
    line-height: 1.4;
    font-family: sans-serif;
}

.label-facts p {
    margin: 0;
}

p {
    margin: 0;
}

.fg-nutrition-info thead {
    border-bottom: var(--border-thick) solid black; 
}

.label-facts {
    /* margin: 20px; */
    /* float: left; */
    /* max-width: 500px; */ 
    width: 100%;
    padding: 0.5rem;
}
.label-facts__inner {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.label-facts+.sku {
    padding: 0 .5rem;
    text-align: right;
    font-weight: 700;
    margin-top: 0;
}
.label-facts table {
    border-collapse: collapse;
    border: none;
}
.label-facts thead td {
    font-weight: 700;
    font-family: "Gellix", var(--font-heading-family) sans-serif;
    white-space: normal;
}
.label-facts__title {
    font-weight: normal;
    color: black;
    font-size: calc(16px + 1.5vw);
    margin: 0 0 0.25rem 0;
    line-height: 1;
}
.label-facts__title::before {
    display: none;
}

.label-facts .serving-size,
.label-facts .servings-per-container
{
    font-size: 1.75rem; 
 }
.label-facts .serving-size {
    font-weight: 700;
}
.label-facts .calories-eyebrow{
    font-size: 0.5em;
    position: absolute;
    left: 0;
    top: .15em;
}
.label-facts .calories {
    position: relative;
    border-bottom: 8px solid black;
    padding-top: .65em;
    padding-bottom: .15em;
    margin-top: .25rem;
    font-size: calc(16px + 1vw);
    display: flex;
    justify-content: flex-end;
    font-weight: normal;
}
.label-facts .calories-value {
    /* font-size: calc(2em); */
    margin: 0 0.5rem;
}
.label-facts__header {
    border-bottom: var(--border-thick) solid black;
    padding: 0 0 0.25rem 0;
    margin: 0 0 0.5rem 0;
}
.label-facts .serving-size {
    display: flex;
    justify-content: flex-end;
}
.label-facts .serving-size-text {
    margin-right: 0.5em;
}
.label-facts__header p {
    margin: 0;
}
.label-facts__table thead {
    background: none;
}
/* .label-facts__table--grid, */
/* .label-facts__table--small,  */
.label-facts__table
{
    width: 100%;
}

/* .label-facts__table--grid thead tr th,
.label-facts__table--small thead tr th,
.label-facts__table--grid thead tr td,
.label-facts__table--small thead tr td,  */
.label-facts__table thead tr th,
.label-facts__table thead tr td
{
    border: 0;
}

/* .label-facts__table--grid th, */
/* .label-facts__table--small th, */
/* .label-facts__table--grid td, */
/* .label-facts__table--small td, */
.label-facts__table th,
.label-facts__table td
{ 
    font-weight: normal;
    text-align: left;
    padding: 0.25rem 0;
    white-space: nowrap;
    border-top: 1px solid #CCC;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}
.label-facts__table .indented td{
    border-top: none;
}

.label-facts__table tbody td:first-child {
    white-space: break-spaces;
    text-indent: -10px;
    padding-left: 10px;
}
.label-facts__table .spacer {
    font-size: 0px;
    padding-left: 10px;
}

.label-facts__table tbody td {
    vertical-align: bottom;
}

.label-facts__table td,
.label-facts__table--grid td,
.label-facts__table--small td {
    text-align: right;
}
.label-facts__table td:first-child,
.label-facts__table--grid td:first-child,
.label-facts__table--small td:first-child {
    text-align: left;
}
.label-facts__table thead td:first-child{
    text-align: right;
}

.label-facts__table .blank-cell,
.label-facts__table--grid .blank-cell,
.label-facts__table--small .blank-cell {
    width: 1rem;
    border-top: 0;
}

.label-facts__table tbody>tr:first-child td,
.label-facts__table .thick-row th,
.label-facts__table--grid .thick-row th,
.label-facts__table--small .thick-row th,
.label-facts__table .thick-row td,
.label-facts__table--grid .thick-row td,
.label-facts__table--small .thick-row td {
    border-top-width: var(--border-thin);
}

.small-info {
    font-size: 0.9rem;
}

/* .label-facts__table--small {
    border-bottom: 1px solid #999;
    margin: 0 0 0.5rem 0;
}

.label-facts__table--small thead tr {
    border-bottom: 1px solid black;
}

.label-facts__table--small td:last-child {
    text-align: left;
}

.label-facts__table--small th,
.label-facts__table--small td {
    border: 0;
    padding: 0;
}

.label-facts__table--grid {
    margin: 0 0 0.5rem 0;
}

.label-facts__table--grid td:last-child {
    text-align: left;
}

.label-facts__table--grid td:last-child::before {
    content: "•";
    font-weight: bold;
    margin: 0 0.25rem 0 0;
} */
.label-facts__table .serving-size, 
.label-facts__table .servings-per-container {
    font-size: 1.25em;
}
.text-center {
    text-align: center;
}

.thick-end {
    border-bottom: var(--border-thick) solid black;
}

.thin-end {
    border-bottom: 1px solid black;
}


@media (max-width: 1338px) {

    table.label-facts__table {
      table-layout: fixed;
    }
  
    .label-facts__inner {
      /* margin: 0 -20px; */
      background-color: white;
    }
  
    .label-facts__table td {
      white-space: normal !important;
      color: #595959;
    }
    .label-facts__table tr:nth-child(odd) {
        background-color: #f9f9f9;
    }
  
  }