@import '../colors.less';
@import '../variables.less';
@import '../mixins.less';

.vdivide{
  .vertical-divider(90%,#e3e3e3);
}

div.question-container{
  background-color: #fff;
  box-shadow: @shadow;
  min-height: 400px;
  border: 1px solid #d3d3d3;
  position: relative;
  padding : 15px;
  margin-top: 10px;
}

div.question-component{
  padding-left: 0px;
  padding-right: 0px;
  position: relative;



  .question{
    transition: box-shadow 0.5s;
    margin: 15px;
    margin-left: 0px;
    margin-bottom: 0px;
    border-radius: 5px;
    border: 1px solid @base-color;
    &:hover{
      box-shadow : 0 0 8px;
    }
    height: 320px;
    margin-bottom: 20px;
    overflow-x: hidden;
  }
}

div.flip-question a.flip-button{
  cursor: pointer;
  position: relative;
  z-index: 1000;
}

/* entire container, keeps perspective */
.question-component {
  perspective: 1000;
}

/* flip the pane when hovered */
.question-component:hover .flipper, .question-component.hover .flipper {
  transform: rotateY(180deg);
}

/* flip speed goes here */
.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;

  position: relative;
}

/* hide back of pane during swap */
.questions-view, .options-view {
  backface-visibility: hidden;

  position: absolute;
  top: 0;
  left: 0;
}

/* front pane, placed above back */
.questions-view {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}

/* back, initially hidden pane */
.options-view {
  transform: rotateY(180deg);
}

div.options-view{
  text-align: center;
  margin-top: 15%;
}

.answer{
  margin-top:20px;
  #correctIcon{
    color: #4AAF4A;
  }
  #wrongIcon{
    color: #DA3943;
  }
  i{
    margin:20px 0px 20px 0px;
    font-size: 50px;
  }
  input[type='submit']{
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.flip-button{
  img{
    width: 40px;
    display: inline;
  }
}
