@media screen and (min-width: 48em) {
  body {
    padding-bottom: 140px;
  }
}
.demo__controls {
	margin: 0 auto;
	overflow: hidden;
}
@media screen and (min-width: 60em) {
  .demo__controls {
    display: flex;
    max-width: 74em;
  }
}
.demo__controls__wrapper {
  display: block;
  background-color: black;
  background-color: rgba(0,0,0,0.95);
  box-shadow: 0 0 16px rgba(0,0,0,0.6);
  padding: 1em 1.5em 0.5em;
  width: 100%;
  color: white;
  position: fixed;
  bottom: 0;
  z-index: 9000;
}
@media screen and (min-width: 48em) {
  .demo__controls__wrapper {
    padding-bottom: 1.5em;
  }
}
@media screen and (min-width: 66em) {
  .demo__controls__wrapper {
    padding: 0.875em 1.5em;
  }
}

.demo__close {
  position: absolute;
  right: 1em;
  top: 1em;
  background-color: #eb6912;
  width: 1.5em;
  line-height: 1;
  height: 1.5em;
  color: white;
  text-align: center;
  padding-top: 0.2em;
  text-decoration: none;
  border-radius: 5em;
}
.demo__template-desc .demo__close:hover {
  background-color: #FC8A3F;
  color: black;
}
@media screen and (min-width: 48em) {
  .demo__close {
    display: none;
  }
}

.demo__template-desc {
  font-size: 0.875rem;
}
@media screen and (min-width: 48em) {
	.demo__template-desc {
		padding: 0.475em 0 0;
	}
}
@media screen and (min-width: 60em) {
  .demo__template-desc {
    padding-bottom: 0;
    padding-right: 2.5rem;
    width: 30%;
  }
}
.demo__template-name {
  font-size: 1.17rem;
	color: #e5f085;
	font-weight: normal;
	margin: 0 0 0.25em;
}
.demo__template-name span {
	font-size: 12px;
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-style: italic;
}
.demo__template-desc p {
  padding-bottom: 0;
}
.demo__template-desc a:hover {
	color: #FC8A3F;
}
.demo__next-template {
	font-style: italic;
	font-weight: normal;
}

.demo__sidebar-controls {
	display: none;
}
@media screen and (min-width: 48em) {
	.demo__sidebar-controls {
		display: flex;
    padding: 0.625em 0 0;
	}
}
@media screen and (min-width: 66em) {
  .demo__sidebar-controls {
    width: 63%;
  }
}
.demo__controls-title {
  font-size: .75rem;
	color: #e5f085;
	letter-spacing: 0.2em;
	margin: 0 0 0.5em;
	text-transform: uppercase;
}
.demo__sidebar-pos {
	margin-bottom: 1.5em;
}
@media screen and (min-width: 48em) {
  .demo__sidebar-pos {
    float: left;
    width: 53%;
  }
}
.demo__sidebar-pos button {
	padding: 0.5em 0.75em;
	background-color: #eb6912;
	font-weight: bold;
	border-radius: 0;
	margin-right: 1px;
}
.demo__sidebar-pos button:first-of-type {
	border-radius: 0.375em 0 0 0.375em;
}
.demo__sidebar-pos button:last-of-type {
	border-radius: 0 0.375em 0.375em 0;
}
.demo__controls button.is-selected {
	background-color: white;
	color: #444;
}
.demo__sidebar-fieldset {
  display: inline-block;
}
.demo__sidebar-content {
    margin-bottom: 1.5em;
}
@media screen and (min-width: 48em) {
  .demo__sidebar-content {
    padding-right: 2em;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 60em) {
  .demo__sidebar-content {
      flex: 1 0 13rem;
      padding-right: 1.25rem;
  }
}
@media screen and (min-width: 72em) {
  .demo__sidebar-content {
      flex: 1 0 17rem;
  }
}
.demo__sidebar-content label {
	margin-right: 1em;
}

@media screen and (min-width: 66em) {
  .demo__theme {
    flex: 1 1 auto;
  }
}
.demo__theme label {
    margin-left: 0.25em;
    margin-right: 1em;
}



.slideInLeft {
  -webkit-animation-name: slideInLeft;
          animation-name: slideInLeft;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
@-webkit-keyframes slideInLeft {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes slideInLeft {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
          animation-name: slideInRight;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

.slideInBottom {
  -webkit-animation-name: slideInBottom;
          animation-name: slideInBottom;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
@-webkit-keyframes slideInBottom {
  0% {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes slideInBottom {
  0% {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
          animation-name: bounceOutDown;
  -webkit-animation-duration: 0.75s;
          animation-duration: 0.75s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
            transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
            transform: translate3d(0, -20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
            transform: translate3d(0, 2000px, 0);
  }
}
@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
            transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
            transform: translate3d(0, -20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
            transform: translate3d(0, 2000px, 0);
  }
}
