@import url("https://use.typekit.net/lot8vab.css");

body {
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
}

/* constrain container */
.container {
  max-width: 50rem;
}

/* error messages */
.messages {
  margin-top: 1rem;
}

/* content */
.content {
  margin-top: 1rem;
}

.content .btn-primary {
  background: rgb(29,40,27) !important;
  border: none;
}

.content .btn-light {
  background: rgb(146,205,148) !important;
  border: none;
}

.content img.img-70 {
  max-width: 70%;
  margin-left: 15%;
}

.content img.img-50 {
  max-width: 50%;
  margin-left: 25%;
}

/* header */
.header {
  background-image: url('/img/Leaf_1_Block_1500px.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem;
}

.header .img-fluid {
  max-width: 30%;
  margin: 0.5rem 35% 1rem;
}

@media only screen and (max-width: 600px) {
  .header .img-fluid {
    max-width: 70%;
    margin: 0.5rem 15% 1rem;
  }
}

/* footer */
.footer p.copyright {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #959595;
}

.footer img {
  max-width: 30%;
  margin-left: 35%;
  margin-bottom: 0.8rem;
}

.footer p.fun-fact {
  color: #4d9e59;
  font-size: 0.8rem;
  text-align: justify;
  margin-bottom: 0.8rem;
}

/* homepage */
.home-container h1 {
  font-weight: 700;
  padding-top: 1rem;
  text-transform: uppercase;
}

.home-container p {
  padding-top: 0.75rem;
}

/* story page */
.story-container h3 {
  font-weight: 700;
  padding-top: 0.5rem;
}

.story-container h5 {
  font-weight: 700;
  padding-top: 0.5rem;
  text-transform: uppercase;
}

.story-container p {
  padding-top: 0;
}

.story-container .story p {
  margin-bottom: 0;
  text-align: justify;
}

.story-container .story p.subtext {
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 1rem;
}

.story-legacy img.ship-sig {
  margin-top: 0;
  max-width: 50%;
  margin-left: 25%;
}

.story-legacy a.btn {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0 0;
  padding: 1.2rem;
}

/* nutrition label */
.performance-facts {
  border: 1px solid black;
  float: left;
  margin: 1.5rem 0.5rem;
  padding: 0.5rem;
}
.performance-facts table {
  border-collapse: collapse;
}

.performance-facts__title {
  font-weight: 700;
  font-size: 2rem;
  text-transform: capitalize !important;
  margin: 0 0 0.25rem 0;
}

.performance-facts__header {
  border-bottom: 10px solid black;
  padding: 0 0 0.25rem 0;
  margin: 0 0 0.5rem 0;
}
.performance-facts__header p {
  margin: 0;
}

.performance-facts__table, .performance-facts__table--grid, .performance-facts__table--small {
  width: 100%;
}
.performance-facts__table thead tr th, .performance-facts__table--grid thead tr th, .performance-facts__table--small thead tr th,
.performance-facts__table thead tr td,
.performance-facts__table--grid thead tr td,
.performance-facts__table--small thead tr td {
  border: 0;
}
.performance-facts__table th, .performance-facts__table--grid th, .performance-facts__table--small th,
.performance-facts__table td,
.performance-facts__table--grid td,
.performance-facts__table--small td {
  font-weight: normal;
  text-align: left;
  padding: 0.25rem 0;
  border-top: 1px solid black;
  white-space: nowrap;
}
.performance-facts__table th.care-instructions {
  white-space: normal;
}

.performance-facts__table td:last-child, .performance-facts__table--grid td:last-child, .performance-facts__table--small td:last-child {
  text-align: right;
}
.performance-facts__table .blank-cell, .performance-facts__table--grid .blank-cell, .performance-facts__table--small .blank-cell {
  width: 1rem;
  border-top: 0;
}
.performance-facts__table .thick-row th, .performance-facts__table--grid .thick-row th, .performance-facts__table--small .thick-row th,
.performance-facts__table .thick-row td,
.performance-facts__table--grid .thick-row td,
.performance-facts__table--small .thick-row td {
  border-top-width: 5px;
}

.small-info {
  margin: 0.25rem 0;
  font-size: 0.7rem;
}

.performance-facts__table--small {
  border-bottom: 1px solid #999;
  margin: 0 0 0.5rem 0;
}
.performance-facts__table--small thead tr {
  border-bottom: 1px solid black;
}
.performance-facts__table--small td:last-child {
  text-align: left;
}
.performance-facts__table--small th,
.performance-facts__table--small td {
  border: 0;
  padding: 0;
}

.performance-facts__table--grid {
  margin: 0 0 0.5rem 0;
}
.performance-facts__table--grid td:last-child {
  text-align: left;
}
.performance-facts__table--grid td:last-child::before {
  content: "•";
  font-weight: bold;
  margin: 0 0.25rem 0 0;
}

.text-center {
  text-align: center;
}

.thick-end {
  border-bottom: 10px solid black;
}

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

img.grownBy {
  max-width: 10rem;
}

/* buttons */
.btn {
  font-weight: 300;
}

.buttons {
  width: 100%;
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	margin: 1.5rem 0 1rem;
}

.buttons-content {
	display: flex;
	flex-direction: row;
}

.buttons .btn {
	margin: .125rem;
}

/* qr reader */
#loadingMessage {
  text-align: center;
  padding: 4rem;
  background-color: #eee;
}

#canvas {
  margin-top: 1rem;
  width: 100%;
}

#output {
  background: #eee;
  padding: 1rem;
  padding-bottom: 0;
}

#output div {
  padding-bottom: 1rem;
  word-wrap: break-word;
}

#noQRFound {
  text-align: center;
}