/* ==========================================================================
   Origami Prototype
   ========================================================================== */
.origami {
  position: relative;
  z-index: 10;
  cursor: pointer;
  float: left;
  width: 270px;
  height: 256px;
  border: 1px solid #EEEEEE;
  border-right-width: 0;
  position: relative;
  z-index: 10;
}
.origami:last-child {border-right: 1px solid #EEE;}
.origami.open { z-index: 900; }

.origami.hover, .origami:hover { z-index: 1000; }

.origami .kami {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
}
.origami .kami-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.origami .kami-wrapper .kami-mask, 
.origami .kami-wrapper .kami-peek-mask {
  position: absolute;
  width: 50%;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.origami .kami-wrapper .kami-mask .kami,
.origami .kami-wrapper .kami-peek-mask .kami { width: 200%; }

.origami .kami-wrapper .kami-mask {
  right: 50%;
  left: 0;
}

.origami .kami-wrapper .kami-mask .kami { left: 0; }
.origami .kami-wrapper .kami-peek-mask {
  right: 0;
  left: 50%;
}

.origami .kami-wrapper .kami-peek-mask .kami {
  right: 0;
  left: auto;
}

.origami .kami-wrapper .kami-peek-mask .kami-shadow {
  position: absolute;
  display: block;
  content: " ";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  background: #000000;
}

/* Modernizr fallback support */
.no-csstransitions .origami .kami-wrapper .kami-peek-mask .kami .kami-shadow { display: none; }
