body {
  background: #a0c28f;
  font-family: sans-serif;
}

.panel {
  background: white;
  box-shadow: 3px 3px 1px rgba(128,128,128,0.15);
  float: left;
  min-width: 18em;
  margin: 1em;
}
.panel h3 {
  background: #f0bbd5;;
  color: #bc6ea7;
  margin: 0;
  padding: .6rem 2rem;
}
.content {
  padding: 1rem 2rem;
}

ul { padding: 0; }
li {
  padding: .6em 0;
  border-bottom: solid 1px #ddd;
  cursor: pointer;
  list-style: none;
}

li.highlighted {
  background: #f0bbd5;
  margin-left: -0.5em;
  margin-right: -0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
/* increase or decrease amount of ingredient */
.recipe-ingredients li {
  padding-left: 4em;
  position: relative;
}
.quantity-adjustment {
  position: absolute;
  left: 0;
  top: 0.5em;
}
.quantity-adjustment span,
.remove-ingredient {
  background: white;
  border: solid 1px #eee;
  border-radius: 2px;
  padding: 0.2em 0.5em;
}
.remove-ingredient {
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 0.5em;
}

/* temp hack to limit height of nutrients display */
.nutrition-details {
  max-height: 14em;
  overflow-y: scroll;
}

/* SVG loading animation */
#busy-bars {
  border-bottom: solid 1px #b0cca1;
}
#busy-bars rect {
    animation-name: bob;
    animation-direction: alternate;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: center bottom;
}
#busy-bars rect:nth-child(2) {
  animation-delay: 0.5s;
}
#busy-bars rect:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes bob {
  0% {
    /*transform: scaleY(1);*/
    transform: translateY(0);
  }
  100% {
    /*transform: scaleY(0);*/
    transform: translateY(15px);
  }
}