/*
* Base Template
* Combines HTML5 Boilerplate & Boostrap. Includes some basic templating.
* Authored by Stephen Shaw (shshaw@gmail.com)
*/

/* @group Basics */

*,
*:before,
*:after {
  box-sizing: border-box;
}

.flipster__nav{display:none;}

.flip-items li:before{display:none;}
.flipster--carousel .flipster__item .flipster__item__content{}

.flipster--carousel .flipster__item--future .flipster__item__content {
    -webkit-transform: rotateY(-45deg) scale(.8);
    transform: rotateY(0deg) scale(.8);
    opacity:1;
}

.flipster--carousel .flipster__item--past .flipster__item__content {
    -webkit-transform: rotateY(45deg) scale(.8);
    transform: rotateY(0deg) scale(.8);
    opacity:1;
}

.flipster--carousel .flipster__item:not(:last-child){
  margin-right:-160px !important;
}

.flip-items.flipster__container{
  height:initial !important;}

.flipster--carousel .flipster__item{opacity:1;}

.flipster--carousel .flipster__item--current .flipster__item__content{
  transform: translateY(43px) scaleY(0.85) scaleX(0.9);
}

.flipster--carousel .flipster__item--past-2, .flipster--carousel .flipster__item--future-2{
  transform: translate(10px,-30px);
}

.flipster__button svg{width:30px;height:30px;}

.flipster__button {
    border-radius: 50%;
    background: #f3d570;
    opacity:1;
    color:#000;
}


.flipster__button:focus{outline:none;}

.flipster__button--prev {
  left: 10%;
  padding: 10px 12px 2px 8px;
}

.flipster__button--next {
  padding: 10px 8px 2px 12px;
  right:10%;
  }

p.post-image {
  border: 10px solid #f2ca62;
}

.intro {
  padding: 4em 2em;
}

.demo {
  padding: 20px 0;
}

.demo h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 1em;
}

.demo .flipster {
  margin: 0 -2em;
}

.code {
  display: block;
  background: #eee;
  padding: 1em;
  border-radius: 1em;
  margin: 2em auto;
  max-width: 30em;
  font-size: 0.8em;
  width: fit-content;
  white-space: pre-wrap;
}

.button {
  display: inline-block;
  padding: 5px 10px;
  margin: 0;
  background-color: #da0d25;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFF;
  text-shadow: none;
  vertical-align: middle;
  cursor: pointer;
  border: 0;
  transition: all 300ms ease;
}

.button:hover,
.button:focus {
  color: #7a0715;
  background: #f22840;
}
