/*
 * Plugin Name: Flowt for WordPress
 * Plugin URI: http://www.github.com/magicink/flowt
 * Author: Brandon Tom
 * Author URI: http://www.Brandon Tom
 */
 
img {
  height: auto;
  max-width: 100%;
}

/** Sections **/

.ft-section {
  max-height: 100%;
}

/** Pages **/

.ft-page {
  font-size: 200%;
  line-height: 200%;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

/** Stacks **/

.stack,
.stack-center {
  height: 0;
  padding-top: 56.25%;
  position: relative;
  
}

.stacked,
.stacked-center {
  position: absolute;
  top: 0;
}

.stacked-center {
  left: 5%;
  right: 5%;
}

.stacked.ft-fragment.revealed,
.stacked-center.ft-fragment.revealed {
  opacity: 0 !important;
}

.stack.ft-fragment.revealed.actual,
.stacked-center.ft-fragment.revealed.actual {
  opacity: 1 !important;
}

.stacked-center {
  text-align: center;
}

/** Sub-Pages **/

.sub-page {
  background-color: rgba(0,0,0,0.9);
  bottom: 100%;
  color: rgba(255,255,255,0.8);
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: 2rem;
  position:absolute;
  right: 0;
  top: 0;
  transition: all 0.25s ease;
  
  .sub-back {
    display: block;
    text-align: left;
  }
}

.sub-page.revealed {
  bottom:0;
  left:0;
  opacity: 1 !important;
  right: 0;
  top: 0 !important;
}

/** Popup Help **/

.popup-help {
  background-color: rgba(0,0,0,0.85);
  bottom: 5%;
  left: 5%;
  padding: 5rem;
  position: absolute;
  right: 5%;
  text-align: center;
  transition: all 0.5s ease;
  z-index: 9000 !important;
  
  ol {
    list-style: none;
    padding: 0;
    
    li {
      display: inline-block;
      margin: 0;
    }
  }
  
  img {
    height: auto;
  }
  
}
