.amx-view-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.amx-view-container.transitioning {
  -webkit-transform-style: preserve-3d;
  -webkit-transition: all .25s ease-in-out;
}

.amx-view-container.transitioning-slow {
  -webkit-transform-style: preserve-3d;
  -webkit-transition: all .4s ease-in-out;
}

.amx-view-container.face {
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
}
.amx-view-container.face.front.flip {
  /* for when -webkit-backface-visibility is not enabled 
  z-index: -1;
  opacity: 0;
  */
}

.amx-view-container.current,.amx-view-container.showing {
  z-index: 1;
}

.amx-view-container.new {
  z-index: -5;
  opacity: 0;
}

.amx-view-container.old {
  z-index: -2;
}