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

.outer-wrapper {
  width: 100%;
  margin: 50px auto; }

.s-wrap {
  width: 100%;
  margin-bottom: 50px;
  padding-bottom: 55%;
  position: relative;
  border: 3px solid #fff;
  background-color: #efefe8;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: hidden; }
  .s-wrap > input {
    display: none; }
  .s-wrap .s-content {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 800%;
    height: 100%;
    font-size: 0;
    list-style: none;
    transition: transform 1s; }
  .s-wrap .s-item {
    display: inline-block;
    width: 12.5%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover; }
  .s-wrap .s-item-1 {
    background-image: url("../img/books/turn/turn-binding-close.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-2 {
    background-image: url("../img/books/turn/turn-tp-close.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-3 {
    background-image: url("../img/books/turn/turn-tp.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-4 {
    background-image: url("../img/books/turn/turn-section.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-5 {
    background-image: url("../img/books/turn/turn-poem.jpg?crop=entropy&fit=crop&fm=jpg&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-6 {
    background-image: url("../img/books/turn/turn-section-moth.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-7 {
    background-image: url("../img/books/turn/turn-essay.jpg?crop=entropy&fit=crop&fm=jpg&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }
  .s-wrap .s-item-8 {
    background-image: url("../img/books/turn/turn-colophon.jpg?crop=entropy&fit=crop&fm=jpg&h=600&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=800"); }

.s-type-1 .s-control {
  position: absolute;
  bottom: 18px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  transition-timing-function: ease-out; }
  .s-type-1 .s-control > label[class^="s-c-"] {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    border: 1px solid #999;
    background-color: #efefe8;
    cursor: pointer; }
.s-type-1 .s-nav label {
  display: none;
  position: absolute;
  top: 50%;
  padding: 5px 10px;
  transform: translateY(-50%);
  cursor: pointer; }
  .s-type-1 .s-nav label::before, .s-type-1 .s-nav label::after {
    content: "";
    display: block;
    width: 5px;
    height: 30px;
    background-color: #fff; }
  .s-type-1 .s-nav label::before {
    margin-bottom: -12px; }
  .s-type-1 .s-nav label.left {
    left: 20px; }
    .s-type-1 .s-nav label.left::before {
      transform: rotate(45deg); }
    .s-type-1 .s-nav label.left::after {
      transform: rotate(-45deg); }
  .s-type-1 .s-nav label.right {
    right: 20px; }
    .s-type-1 .s-nav label.right::before {
      transform: rotate(-45deg); }
    .s-type-1 .s-nav label.right::after {
      transform: rotate(45deg); }
.s-type-1 #s-1:checked ~ .s-content {
  transform: translateX(0%); }
.s-type-1 #s-1:checked ~ .s-control .s-c-1 {
  background-color: #333; }
.s-type-1 #s-1:checked ~ .s-nav .s-nav-1 {
  display: block; }
.s-type-1 #s-2:checked ~ .s-content {
  transform: translateX(-12.5%); }
.s-type-1 #s-2:checked ~ .s-control .s-c-2 {
  background-color: #333; }
.s-type-1 #s-2:checked ~ .s-nav .s-nav-2 {
  display: block; }
.s-type-1 #s-3:checked ~ .s-content {
  transform: translateX(-25%); }
.s-type-1 #s-3:checked ~ .s-control .s-c-3 {
  background-color: #333; }
.s-type-1 #s-3:checked ~ .s-nav .s-nav-3 {
  display: block; }
.s-type-1 #s-4:checked ~ .s-content {
  transform: translateX(-37.5%); }
.s-type-1 #s-4:checked ~ .s-control .s-c-4 {
  background-color: #333; }
.s-type-1 #s-4:checked ~ .s-nav .s-nav-4 {
  display: block; }
.s-type-1 #s-5:checked ~ .s-content {
  transform: translateX(-50%); }
.s-type-1 #s-5:checked ~ .s-control .s-c-5 {
  background-color: #333; }
.s-type-1 #s-5:checked ~ .s-nav .s-nav-5 {
  display: block; }
.s-type-1 #s-6:checked ~ .s-content {
  transform: translateX(-62.5%); }
.s-type-1 #s-6:checked ~ .s-control .s-c-6 {
  background-color: #333; }
.s-type-1 #s-6:checked ~ .s-nav .s-nav-6 {
  display: block; }
.s-type-1 #s-7:checked ~ .s-content {
  transform: translateX(-75%); }
.s-type-1 #s-7:checked ~ .s-control .s-c-7 {
  background-color: #333; }
.s-type-1 #s-7:checked ~ .s-nav .s-nav-7 {
  display: block; }
.s-type-1 #s-8:checked ~ .s-content {
  transform: translateX(-87.5%); }
.s-type-1 #s-8:checked ~ .s-control .s-c-8 {
  background-color: #333; }
.s-type-1 #s-8:checked ~ .s-nav .s-nav-8 {
  display: block; }

.s-type-2 .s-content {
  animation: slider-animation 50s ease-in-out infinite; }
  .s-type-2 .s-content:hover {
    animation-play-state: paused; }

@keyframes slider-animation {
  0%,
    7% {
    transform: translateX(0%); }
  7.1428571429%,
    14.1428571429% {
    transform: translateX(-12.5%); }
  14.2857142857%,
    21.2857142857% {
    transform: translateX(-25%); }
  21.4285714286%,
    28.4285714286% {
    transform: translateX(-37.5%); }
  28.5714285714%,
    35.5714285714% {
    transform: translateX(-50%); }
  35.7142857143%,
    42.7142857143% {
    transform: translateX(-62.5%); }
  42.8571428571%,
    49.8571428571% {
    transform: translateX(-75%); }
  50%,
    57% {
    transform: translateX(-87.5%); }
  57.1428571429%,
    64.1428571429% {
    transform: translateX(-75%); }
  64.2857142857%,
    71.2857142857% {
    transform: translateX(-62.5%); }
  71.4285714286%,
    78.4285714286% {
    transform: translateX(-50%); }
  78.5714285714%,
    85.5714285714% {
    transform: translateX(-37.5%); }
  85.7142857143%,
    92.7142857143% {
    transform: translateX(-25%); }
  92.8571428571%,
    99.8571428571% {
    transform: translateX(-12.5%); }
  100%,
    107% {
    transform: translateX(0%); } }
