.demo-container {
  background: $primary;
  border-radius: 3px;
  margin: 1rem 0;
  width: 20rem;
  color: white;

  .liquid-child {
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
  }

  a {
    color: white;
  }
}

#liquid-bind-demo {
  text-align: center;
  background: $primary;
  width: 20rem;
  border-radius: 3px;
  color: white;
  padding: 1rem;
  margin: 1rem 0;

  .liquid-container {
    display: inline-block;
    vertical-align: top;
  }

  .liquid-child {
    /* This prevents a slight horizontal wobble in firefox. */
    width: 1.5em;
  }
}

#liquid-box-demo {
  background: $primary;
  color: $white;
  width: 20em;
  border-radius: 3px;
  padding: 1rem;
  margin: 1rem 0;

  input, select {
    margin-bottom: 1rem;
    padding: 0.25rem;
  }

  label {
    display: block;
  }
}

#interrupted-fade-demo {
  .liquid-container {
    width: 20em;
    height: 4rem;
    border: 1px solid $gray-900;
  }
  .liquid-child {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .liquid-child > div {
    padding: 0.5em 1rem;
    width: 100%;
    height: 100%;
  }
  .one {
    background-color: red;
  }
  .two {
    background-color: green;
  }
  .three {
    background-color: blue;
  }
}

.lf-dialog {
  border-radius: 5px;
}

#liquid-spacer-demo {
  background: $primary;
  border-radius: 3px;
  color: white;
  padding: 1rem;
  width: 20rem;
  margin: 1rem 0;
}

#explode-demo-1 {
  margin-bottom: 1.5em;
  border: 1px solid black;
  padding: 0.5em 1.5em;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

#explode-demo-2 {
  margin-bottom: 1.5em;
  .liquid-container {
    overflow: initial;
  }
  img {
    width: 150px;
    height: 150px;
  }
}

#transition-examples{
  margin-top: 1em;
}

.overview, .details {
  margin: 1em 0;
}
