/* Minimal styles for Nutrient Calculator Vue component */

.block__inner {
  position: relative;
}

ol, ul { list-style: none; }

.calculator:not(:last-child),
.calculator__group {
  margin-bottom: 40px;
}

.calculator__group input[type=number] {
  max-width: 340px;
}

.u-bg-black { background-color: #000 !important; color: #fff; }
.u-bg-green { background-color: #09832e !important; color: #fff; }
.u-bg-red { background-color: #d61515 !important; color: #fff; }

.calc-wrapper {
    box-sizing: content-box;
    margin: 0 auto;
    max-width: 1180px;
    padding: 60px 20px;
}

.h4,
h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  display: block;
  font-family: Poppins, Lato, Arial, Tahoma, Sans-Serif;
}

.highlight {
  color: #f05121;
}

.button-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: -4px -5px;
}
.button-list > li {
  padding: 4px 5px;
}
.button-list:not(:first-child) {
  margin-top: 20px;
  padding: 0;
}
.button-list:not(:last-child) {
  margin-bottom: 20px;
}
.button-list--center {
  justify-content: center;
}

.radio-button ~ label:after,
.radio-button ~ label:before {
  display: none;
}
.radio-button:checked ~ label {
  background-color: transparent;
  border-color: #2057ec;
  color: #2057ec;
}

.button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  display: inline-block;
  font-family: Poppins, Lato, Arial, Tahoma, Sans-Serif;
  font-size: .8125rem !important;
  font-weight: 600 !important;
  line-height: 1;
  outline-style: none;
  padding: 13px 22px 14px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: .25s ease-in-out;
  transition-property: background-color, border-color, color;
}
.button__inner {
  display: flex;
  position: relative;
}
.button:focus,
.button:hover {
  text-decoration: none;
}
.button:active {
  transform: translateY(1px);
}
.button--primary {
  background-color: #2057ec;
  color: #fff;
}
.button--primary:focus,
.button--primary:hover {
  background-color: #1cb0ff;
  color: #fff;
}
.button--ghost {
  background-color: transparent;
  border: 1px solid;
}
.button--ghost.button--primary {
  border-color: #2057ec;
  color: #2057ec;
}
.button--ghost.button--primary:focus,
.button--ghost.button--primary:hover {
  background-color: #1cb0ff;
  border-color: #1cb0ff;
  color: #fff;
}
.button--ghost.button--grey {
  border-color: #9fa7bf;
  color: #9fa7bf;
}
.button--ghost.button--grey:focus,
.button--ghost.button--grey:hover {
  background-color: #1cb0ff;
  border-color: #1cb0ff;
  color: #fff;
}
.button--ghost.button--grey.is-active {
  border-color: #2057ec;
  color: #2057ec;
}
.button--ghost.button--grey.is-active:focus,
.button--ghost.button--grey.is-active:hover {
  background-color: transparent;
  border-color: #2057ec;
  color: #2057ec;
}

input[type="radio"].radio-button,
input[type="checkbox"].radio-button {
  clip: rect(1px,1px,1px,1px);
  word-wrap: normal;
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
input[type="radio"] ~ label,
input[type="checkbox"] ~ label {
  display: inline-block;
  padding-left: 22px;
  position: relative;
}
input[type="radio"]:focus ~ label:before,
input[type="radio"]:hover ~ label:before {
  border-color: #10245e;
  box-shadow: 0 0 4px 1px rgba(16,36,94,.25);
}
input[type="radio"]:disabled ~ label {
  opacity: .35;
}

input[type="number"] {
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid #9fa7bf;
  border-radius: 30px;
  color: #10245e;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  max-width: 100%;
  outline-style: none;
  padding: 12px 14px;
  transition: border .25s;
  width: 100%;
}
input[type="number"]:focus {
  border-color: #10245e;
}

.group {
  margin-top: 36px;
}
.tab__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  font-family: Poppins, Lato, Arial, Tahoma, Sans-Serif;
}
.wide-table {
  margin-bottom: 20px;
  overflow-x: auto;
  width: 100%;
}
.wide-table table {
  background-color: #fff;
  border-collapse: collapse;
  min-width: 1100px;
  width: 100%;
}
.wide-table thead {
  color: #fff;
  font-family: Poppins, Lato, Arial, Tahoma, Sans-Serif;
  font-weight: 700;
}
.wide-table thead th {
  color: #10245e;
}
.wide-table thead td:first-child {
  left: 0;
  position: sticky;
}
.wide-table td,
.wide-table th {
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  line-height: 1.2;
  padding: 10px;
}
.wide-table td {
  text-align: center;
}
.wide-table tbody td:first-child,
.wide-table tfoot td:first-child {
  font-weight: 700;
  left: 0;
  position: sticky;
  text-align: left;
}
.wide-table tbody tr td {
  background-color: #fff;
}
.wide-table tbody tr:nth-child(2n) td {
  background-color: #f6f5f2;
}
.wide-table tfoot td {
  background-color: #f05121;
  color: #fff;
}
.wide-table--green thead {
  color: #10245e;
}
.wide-table--green thead tr:last-child {
  color: #fff;
}
.wide-table--green tbody tr td,
.wide-table--green tbody tr:nth-child(2n) td {
  background-color: #abbeb4;
}
.wide-table--green tfoot td {
  background-color: #09832e;
}
.u-bg-green-lighter { background-color: #57c968; }
.u-bg-green-light { background-color: #40b051; }
.u-bg-green { background-color: #09832e; }

a {
  color: #2057ec;
  text-decoration: underline;
  transition: color .25s;
}
a:focus,
a:hover {
  color: #1cb0ff;
}