/*
##                                                      ##
#  Independent Learning Centre Digital Course Component  #
#    Three-Column Click-and-Drag Sortable Venn-Diagram   #
##                                                      ##

* Cascading style sheet for the three-column sortable widget.

* Last modified D06.M01.Y2017

*/

/* Whole Document */
*, *::after, *::before
{
  box-sizing: border-box;
}

/* Widget Container */
#container
{
  font-family: Sans-serif;
  position: relative;
  max-width: 900px;
  max-height: 500px;
  line-height: 1.25;
  background-color: none;
  border: 1px solid #cacaca;
  background-repeat: no-repeat;
  margin: 0;
  z-index: 1;
  overflow: hidden;
}

/* Front Cover */
#startShield
{
  position: absolute;
  width: 900px;
  height: 500px;
  top: 0px;
  text-align: center;
  /*background: rgba(255, 255, 255, 0.7);*/
  background-repeat: no-repeat;
  z-index: 500;
}

/* Final Drop Pile */
#dropPile
{
  width: 900px;
  height: 300px;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 2;
}

/* Starting Drag Pile */
#dragPile
{
  width: 900px;
  padding: 0px;
  height: 200px;
}

/* Individual Draggable Item (In Starting Position) */
#dragPile div
{
  position: absolute;
  width: 270px;
  padding: 5px;
  border: 1px solid #000;
  background: #f5f5f5;
  color: #000;
  font-size: 14px;
  z-index: 70;
}

/* Individual Draggable Item (In Resting Position) */
#dropPile div
{
  width: 280px;
  height: 240px;
  padding: 0px;
  border: 1px solid #2C343B;
  font-size: 12px;
  background: rgba(204, 249, 255, 0.4);
}

/* Margin Fix for the first of each Draggable Item. */
#dropPile div:first-child, #dragPile div:first-child
{
  margin-left: 0;
}

/* Hover Indication to show a draggable item can be moved. */
#dropPile div.hovered
{
  background: rgba(249, 221, 121, 0.54);
}

/* Hover Indication for graphical change while the item is being moved. */
#dragPile div.ui-draggable-dragging
{
  -moz-box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.8);
  -webkit-box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.8);
}

/* Pseudoclass which makes element not highlightable. */
.noSelect
{
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Chrome/Safari/Opera */
  -khtml-user-select: none;
  /* Konqueror */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE/Edge */
  user-select: none;
  /* non-prefixed version, currently not supported by any browser */
}

/* Incorrect Answer Marks */
.incorrect_answer
{
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  left: 240px;
}

/* Correct Answer Marks */
.correct_answer
{
  position: absolute;
  width: 22px;
  height: 22px;
  top: 2px;
  left: 240px;
}

/* Exercise Finished Message */
#completeMessage
{
  /*position: absolute;
    left: 165px;
    top: 400px;*/
  bottom: 20%;
  margin: 0 auto;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 501;
}

/* Feedback Paragraph */
#feedback
{
  line-height: 1.25;
  margin: 0 auto;
  max-width: 500px;
  text-align: left;
}

/* Start Button */
#btn_start
{
  left: 50%;
  margin: -20px -50px;
  padding: 10px 20px;
  position: absolute;
  text-align: center;
  top: 70%;
  width: 100px;
}

/* Refresh/Retry Button */
#btn_start_again
{
  position: absolute;
  /*left: 340px;
    top: 390px;*/
  bottom: 10%;
  left: 45%;
  text-align: center;
  z-index: 501;
}

/* Customized Content Field */
#custom-content
{
  display: none;
}