/* Main content area */
 
#content {
 // margin: 80px 70px;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
 
/* Header/footer boxes */
 
.wideBox {
  clear: both;
  text-align: center;
  margin: 70px;
  padding: 10px;
  background: #ebedf2;
  border: 1px solid #333;
}
 
.wideBox h1 {
  font-weight: bold;
  margin: 20px;
  color: #666;
  font-size: 1.5em;
}
 
/* Slots for final card positions */
 
#cardSlots {
  margin: 10px auto 10px auto;
  background: transparent;
}
 
/* The initial pile of unsorted cards */

#cardPile {
  padding: .85em;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
  touch-action: none;
  max-width: 150px;
  max-height: 500px;
  overflow: none;
}

#cardSlotsText {
  width: 90px;
  height: auto;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .1em rgba(0, 0, 0, .8);
}

#cardSlots {
  max-width: 150px;
  max-height: 500px;
  float: right;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 0 .3em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .3em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .3em rgba(0, 0, 0, .8);
}


 
/* Individual cards and slots */

#cardPile div {
  float: center;
  width: 90px;
  height: 60px;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 10px 42 0 10px;
  background: #fff;
}

#cardSlots div {
  float: center;
  width: 90px;
  height: 60px;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 10px 42 0 10px;
  background: #fff;
}

#cardSlotsText div {
//  width: 100%;
  height: 44px;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 10px 10px 0 10px;
  background: #fff;
}
 
/*#cardSlots div:first-child, #cardPile div:first-child {
  margin-left: 0;
}*/
 
#cardSlots div.hovered {
  background: #aaa;
}
 
#cardSlots div {
  border-style: dashed;
}
 
#cardPile div {
  background: #666;
  color: #fff;
  font-size: 1em;
  text-shadow: 0 0 3px #000;
  text-align: center;
}


 
#cardPile div.ui-draggable-dragging {
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
}
 
/* Individually coloured cards */
 
#card1.correct { background: lime; }
#card2.correct { background: lime; }
#card3.correct { background: lime; }
#card4.correct { background: lime; }
#card5.correct { background: lime; }
 
 
/* "You did it!" message */
#successMessage {
  position: absolute;
  left: 580px;
  top: 250px;
  width: 0;
  height: 0;
  z-index: 100;
  background: #dfd;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: .3em .3em .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: .3em .3em .5em rgba(0, 0, 0, .8);
  box-shadow: .3em .3em .5em rgba(0, 0, 0, .8);
  padding: 20px;
}