/**
 * This stylesheet is for styles you want to include only when displaying demo
 * styles for grids, animations, color swatches, etc.
 * These styles will not be your production CSS.
 */

#sg-patterns {
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  max-width: 100%;
  padding: 0 0.5em;
}

.sg-pattern-desc code {
  padding: 1px 2px;
  background-color: #def;
  background-color: rgba(221, 238, 255, 0.6);
  border: 1px solid #bcf;
  border-radius: 2px;
  /*white-space: nowrap;*/
}

.sg-pattern-desc li + li {
  margin-top: .5em;
}

.sg-pattern-extra.active {
  overflow: scroll;
}

.sg-pattern-desc p + h1,
.sg-pattern-desc p + h2,
.sg-pattern-desc p + h3,
.sg-pattern-desc p + h4,
.sg-pattern-desc p + h5,
.sg-pattern-desc p + h6,
.sg-pattern-desc ul + h1,
.sg-pattern-desc ul + h2,
.sg-pattern-desc ul + h3,
.sg-pattern-desc ul + h4,
.sg-pattern-desc ul + h5,
.sg-pattern-desc ul + h6 {
  margin-top: 1.5em;
}

.demo-animate {
  background: #ddd;
  padding: 1em;
  margin-bottom: 1em;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
}

.sg-colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sg-colors li {
  -webkit-box-flex: 1;
      -ms-flex: auto;
          flex: auto;
  padding: 0.3em;
  margin: 0 0.5em 0.5em 0;
  min-width: 5em;
  max-width: 14em;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.sg-swatch {
  display: block;
  height: 4em;
  margin-bottom: 0.3em;
  border-radius: 5px;
}

.sg-label {
  font-size: 90%;
  line-height: 1;
}
