/* Main content area */
 
#content {
 // margin: 80px 70px;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

p {
overflow: scrool;
}
/* 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: 0px;
  background: transparent;
}

/* The initial pile of unsorted cards */

#cardPile {
  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: 600px;
  overflow: none;
}

#cardSlotsText {
  width: 950px;
  height: 600px;
  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: 650px;
  max-height: 600px;
  float: right;
  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);
  padding-bottom: 35px;

}



/* Individual cards and slots */

#cardPile div {
  float: center;
  width: 100px;
  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: 100px;
  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: 900px;
  height: 60px;
  padding: 8px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 10px 10px 0 10px;
  background: #fff;
  overflow: auto;
  text-overflow: ellipsis;
}
/*#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; }
#card6.correct { background: lime; }
#card7.correct { background: lime; }
#card8.correct { background: lime; }
#card9.correct { background: lime; }
#card10.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;
}
@media screen and (max-width: 1400px){
    #cardSlotsText div {
        width: 550px;
    }
    #cardSlotsText {
        width: 575px;
    }
}
@media screen and (max-width: 1200px){
    #cardSlotsText div {
        width: 500px;
    }
    #cardSlotsText {
        width: 525px;
    }
}
@media screen and (max-width: 992px){
    #cardSlotsText div {
        width: 300px;
    }
    #cardSlotsText {
        width: 325px;
    }
}
@media screen and (max-width: 768px){
    #cardSlotsText div {
        width: 150px;
    }
    #cardSlotsText {
        width: 175px;
    }
}
@media screen and (max-width: 600px){
    #cardSlotsText div {
        width: 125px;
        overflow: hidden;
        align-items: center;
    }
    #cardSlotsText {
        width: 150px;
        overflow: hidden;
        align-items: center;
    }
    #cardSlots {
    width: 110px
    }
    #cardPile {
    width: 110px;
    }
    #cardSlots div {
    width: 90px;
    }
    #cardPile div {
    width: 90px;
    font-size: 9px;
    text-align: center;
    }

}
@media screen and (max-width: 400px){
    #cardSlotsText div {
        width: 95px;
        overflow: hidden;
        align-items: center;
    }
    #cardSlotsText {
        width: 115px;
        overflow: hidden;
        align-items: center;
    }
    #cardSlots {
    width: 115px
    }
    #cardPile {
    width: 95px;
    }
    #cardSlots div {
    width: 80px;
    }
    #cardPile div {
    width: 80px;
    font-size: 9px;
    text-align: center;
    }
}
