
html, body {
  width: 100%;
  height: 100%;
  background-color: #222;
}

.content {
  width: 100%;
  height: 100%;
}

/* stage --- start */

.stage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* stage --- end */

/* image --- start */

.img-sec {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ddd;

  perspective: 1800px;

  .img-figure {
    position: absolute;
    width: 320px;
    min-height: 360px;
    margin: 0;
    padding: 40px;
    background-color: #fff;
    cursor:pointer;
    box-sizing: border-box;
    transform-style: preserve-3d;
    transform-origin: 0 50% 0;
    transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, top 0.6s ease-in-out;

    &.is-inverse{
      transform: translate(320px) rotateY(180deg);
    }
  }
  .my-img-figure{
    img{
      width: 100%;
    }
  }

  figcaption {
    text-align: center;

    .img-title {
      margin:20px 0 0 0;
      color: #a7a0a2;
      font-size:16px;
    }

    .img-back {
      position: absolute;
      top: 0;
      left: 0;

      width: 100%;
      height: 100%;
      padding: 50px 40px;
      overflow: auto;

      color: #a7a0a2;
      font-size: 22px;
      line-height: 1.25;
      text-align: left;

      background-color: #fff;

      box-sizing: border-box;
      transform: rotateY(180deg) translateZ(1px);
      backface-visibility: hidden;

      p {
        margin: 0;
      }
    }
  }
}

/* image --- end */


/* controller-nav --- start */

.controller-nav {
  position: absolute;
  left: 0;
  bottom: 30px;
  z-index: 101;

  width: 100%;
  text-align: center;

  .controller-unit{
    display:inline-block;
    margin:0 5px;
    width:30px;
    height:30px;
    text-align: center;
    vertical-align: middle;

    cursor: pointer;
    border-radius: 50%;
    background-color: #aaa;
    transform: scale(0.5);
    transition: transform .6s ease-in-out,background-color .3s;

    &.is-center {
      transform: scale(1);
      background-color: #888;

      &::after {
        color:#fff;
        font-family: "icons-turn-arrow";
        content:"\e600";
        line-height: 30px;
        font-size: 80%;
        //-webkit-font-smoothing: antialiased;
        //-moz-osx-font-smoothing: grayscale;
      }

      &.is-inverse {
        background-color: #555;
        transform: rotateY(180deg);
      }
    }
  }
}

/* controller-nav --- end */
.gallery-component{
  .btn-group{
    position: fixed;
    top: 20px;
    right: 50px;
  }
}