:root {
  --primary: #113e60;
  --secondary: #43ae55;
  --primary-l1: #195a95;
  --secondary-l1: #6aba7c;
  --primary-l2: #4d9ac1;
  --secondary-l2: ##95cca7;
}

html, body {
  overscroll-behavior-y: contain;
}

.navbar.navbar-light.navbar-expand.fixed-bottom {
  box-shadow: 0 0 25px rgba(0,0,0,.1);
}

.nav-item, .nav-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  transition: all .15s linear;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 5px;
  text-align: center;
  border-radius: 0 0 30% 30%;
  box-shadow: 0px 0px 10px rgba(0,0,0,.2);
}

main {
  background: linear-gradient(0deg, #f1f1f1, #ffffff);
  padding-bottom: 5em;
  padding-top: 3.5em;
  display: flex !important;
  flex-direction: column;
}

.box {
  padding: 1em;
  background-color: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,.1), 0 3px 5px rgba(0,0,0,.1);
  border-radius: .5em;
  border: 1px solid rgba(0,0,0,.1);
}

.navbar-light .navbar-nav .nav-link:not(.active):focus:active, .btn.level:focus:active {
  background-color: var(--secondary);
  color: #fff !important;
}

.navbar-light .navbar-nav .nav-link:not(.active):focus, .btn.level:focus {
  background-color: #f1f1f1;
  box-shadow: none;
}

.navbar-light .navbar-nav .nav-link:not(.active):hover, .btn.level:hover {
  background-color: #eaeaea;
}

.btn-group-vertical.tei-group > *:not(:first-child) {
  border-top: 1px solid #eee;
}

.btn {
  transition: all .085s linear;
}

* {
  outline: none;
}

main.container-fluid > .h1, main.container-fluid > h1, main.container-fluid > .h2, main.container-fluid > h2, main.container-fluid > .h3, main.container-fluid > h3 {
  padding-bottom: .15em;
  border-bottom: 3px solid var(--primary-l2);
  margin-bottom: .5em !important;
  font-weight: 400;
}

.btn.level {
  align-items: center;
  display: flex;
}

.btn.level > i {
  width: 1em;
  text-align: left;
  margin-right: 1em;
  color: var(--secondary);
  transition: color .15s linear;
}

.btn.level:focus:active > i {
  color: #ffffff;
}

.full-available {
  display: flex;
  flex: 1;
}

.full-centered {
  justify-content: center;
  align-items: center;
}

.tei-input, .form-control.tei-input {
  width: calc(100vw - 40px);
  max-width: 500px;
  padding: 1rem !important;
  border-radius: 50px;
  border-width: 2px;
  border-style: solid;
  border-color: rgba(0,0,0,.3);
  background-color: #ffffff77;
  transition: all .2s linear;
  height: auto;
}

.tei-input:focus, .form-control.tei-input:focus {
  box-shadow: 0 0 2em var(--secondary-l1);
  border-color: var(--secondary) !important;
  background-color: #ffffffaa;
}

.tei-input:invalid, .form-control.tei-input:invalid {
  box-shadow: 0 0 25px var(--danger);
  border-color: var(--danger) !important;
}

.btn.btn-primary {
  background-color: var(--primary-l1);
  border-color: var(--primary-l2);
  border-radius: 50px;
  justify-content: center;
  display: inline-flex;
}

.box.product-info {
  text-align: left;
  margin-bottom: 1em;
}

.box.found-product {
  text-align: center;
  margin-bottom: 1em;
}

.box.found-product:last-child {
  margin-bottom: 0;
}

.box.found-product img, .box.product-info img {
  max-width: 90%;
  max-height: 150px;
  display: block;
  margin: auto;
}

.box.found-product > .title {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: .1em;
}

.box.found-product .dosage {
  font-size: .9em;
  letter-spacing: .05em;
  font-style: italic;
}

.box.found-product hr {
  border-color: var(--secondary);
  border-width: 2px;
}

.box.found-product .price {
  font-size: 1.5rem;
  color: var(--primary-l1);
  font-weight: 700;
  font-family: Lato;
}

.box.product-info .aside {
  display: flex;
  justify-content: space-between;
  font-size: .8em;
  color: rgba(0,0,0,.5);
  border-bottom: 1px solid #00000033;
}

.box.product-info .info-row {
  width: fit-content;
}

.box.product-info .info-row > *:first-child {
  display: block;
  /*width: fit-content;*/
  border-bottom: 2px solid var(--secondary);
  font-size: .8em;
  padding-bottom: .2em;
  margin-bottom: .3em;
  color: var(--secondary);
  font-weight: 500;
}

.box.product-info .quantity {
  justify-content: center;
  align-items: center;
  display: flex;
  min-width: 50px;
}

.form-check-unified input[type=radio] + .form-check-label {
  padding: .5em 1em;
  background-color: #f1f1f1;
  cursor: pointer;
  transition: background-color .5s ease-in-out, color .25s ease-in-out;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.form-check-unified input[type=radio]:not(:checked) + .form-check-label {
  background-color: #f4f4f4;
  color: #000;
}

.form-check-unified input[type=radio] {
  width: 0;
  height: 0;
  visibility: hidden;
  margin: 0;
}

.form-check-unified {
  padding-left: 0;
  margin: 5px;
}

.form-check-unified input[type=radio]:not(:checked) + .form-check-label:hover {
  background-color: var(--secondary);
  color: #fff;
}

.form-check-unified input[type=radio]:checked + .form-check-label {
  background-color: var(--primary-l1);
  color: #fff;
}

