/* Add some margin to the page and set a default font and colour */
 
body {
  margin: 5px 0px 0px 20px;
  width:920px;
  font-family: "Georgia", serif;
  line-height: 1.5em;
  color: #333;
}
 
.button1 {
   /* position: absolute;*/
    top:10px;
    float: left;
    margin: 0px 0px 0px 20px;
    padding: 0px 0px 0px 0px;
	
}

.button2 {
    /*position: absolute;*/
    top:10px;
    float: left;
    margin: 0px 0px 0px 50px;
    padding: 0px 0px 0px 0px;
	
}
.button3 {
   /* position: absolute;*/
    top:10px;
    float: left;
    height:57px;
    margin: 0px 0px 0px 50px;
    padding: 0px 0px 0px 0px;
    background:cyan;
	border: 1px solid red;
}
.button4 {
    /*position: absolute;*/
    top:10px;
    float: left;
    height:57px;
    margin: 0px 0px 0px 50px;
    padding: 0px 0px 0px 0px;
    background:cyan;
	border: 1px solid red;
}
.button5 {
    /*position: absolute;*/
    top:10px;
    float: left;
    height:57px;
    margin: 0px 0px 0px 50px;
    padding: 0px 0px 0px 0px;
    background:cyan;
	border: 1px solid red;
}
.button6 {
   /* position: absolute;*/
    top:10px;
    float: left;
    height:57px;
    margin: 0px 0px 0px 50px;
    padding: 0px 0px 0px 0px;
    background:cyan;
	border: 1px solid red;
}
/* Give headings their own font */
 
h1, h2, h3, h4 {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
 
/* Main content area */
 
#content {
  margin: 10px 10px 0px 0px;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
 
.handBox {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  height:15px;
  width: 10px
  clear: both;
  text-align: center;
  background: #ebedf2;
  border: 1px solid red;
}


/* Header/footer boxes */
 
.wideBox {
  height:70px;
  clear: both;
  text-align: center;
  margin: 0px 0px 0px 0px;
  padding: 0px;
  background: #ebedf2;
  border: 1px solid #333;
}
 
.wideBox h1 {
  font-weight: bold;
  margin: 20px;
  color: #666;
  font-size: 1em;
}

.pointsBox {
  height:100px;
  clear: both;
  text-align: left;
  margin: 0px 0px 0px 0px;
  padding: 0px;
  background: #ebedf2;
  border: 1px solid #333;
}

/* Create card table*/

#cardTable {
  width: 910px;
  height: 100px;
  padding: 10px;
  background: green;
  border: 2px solid #333;

} 

/*----------------------------------*/
/* Slots for final card positions Hand */
 
#cardSlots1, #cardSlots2,#cardSlots3, #cardSlots4 {
  margin: 30px auto 0 auto;
  background: #ddf;
}
 
#cardSlots{
  margin: 30px auto 0 auto;
  background: #ddf;
}

/* The initial pile of unsorted cards */
 
#cardPile1,#cardPile2 ,#cardPile3,#cardPile4{
  margin: 10px auto;
  background: green;
}
 
#cardSlots1, #cardPile1 ,#cardSlots2, #cardPile2,#cardSlots3, #cardPile3 ,#cardSlots4, #cardPile4 {
  width: 910px;
  height: 65px;
  padding: 0px 0px 0px 0px;
  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);
*/
}

#cardSlots {
  width: 910px;
  height: 280px;
  padding: 10px;
  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 */
 
#cardSlots1 div, #cardPile1 div ,#cardSlots2 div, #cardPile2 div,#cardSlots3 div, #cardPile3 div ,#cardSlots4 div, #cardPile4 div{
  float: left;
  width: 40px;
  height: 60px;
  padding: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 0px 0px 0px 5px;
  background: green;
}
 
#cardSlots div{
  float: left;
  width: 40px;
  height: 60px;
  padding: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 0px 0px 5px 5px;
  background: green;
}


#cardSlots1 div:first-child, #cardPile1 div:first-child, #cardSlots2 div:first-child, #cardPile2 div:first-child,#cardSlots3 div:first-child, #cardPile3 div:first-child, #cardSlots4 div:first-child, #cardPile4 div:first-child {
  margin-left: 0;
}
 
#cardSlots1 div.hovered ,#cardSlots2 div.hovered,#cardSlots3 div.hovered ,#cardSlots4 div.hovered{
  background: #aaa;
}
 
#cardSlots1 div,#cardSlots2 div,#cardSlots13 div,#cardSlots4 div {
  border-style: dashed;
}
 
#cardPile1 div,#cardPile2 div,#cardPile3 div,#cardPile4 div {
  background: green;
  color: #fff;
  font-size: 25px;
  text-shadow: 0 0 3px #000;
}
 
#cardPile1 div.ui-draggable-dragging,#cardPile2 div.ui-draggable-dragging,#cardPile3 div.ui-draggable-dragging,#cardPile4 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: red; }
#card2.correct { background: red; }
#card3.correct { background: red; }
#card4.correct { background: red; }
#card5.correct { background: red; }
#card6.correct { background: red; }
#card7.correct { background: red; }
#card8.correct { background: red; }
#card9.correct { background: red; }
#card10.correct { background: red; }
#card11.correct { background: red; }
#card12.correct { background: red; }
#card13.correct { background: red; }
#card14.correct { background: red; }
#card15.correct { background: red; }
#card16.correct { background: red; }
#card17.correct { background: red; }
#card18.correct { background: red; }
#card19.correct { background: red; }
#card20.correct { background: red; }
#card21.correct { background: red; }
#card22.correct { background: red; }
#card23.correct { background: red; }
#card24.correct { background: red; }
#card25.correct { background: red; }
#card26.correct { background: red; }
#card27.correct { background: red; }
#card28.correct { background: red; }
#card29.correct { background: red; }
#card30.correct { background: red; }
#card31.correct { background: red; }
#card32.correct { background: red; }
#card33.correct { background: red; }
#card34.correct { background: red; }
#card35.correct { background: red; }
#card36.correct { background: red; }
#card37.correct { background: red; }
#card38.correct { background: red; }
#card39.correct { background: red; }
#card40.correct { background: red; }
#card41.correct { background: red; }
#card42.correct { background: red; }
#card43.correct { background: red; }
#card44.correct { background: red; }
#card45.correct { background: red; }
#card46.correct { background: red; }
#card47.correct { background: red; }
#card48.correct { background: red; }
#card49.correct { background: red; }
#card50.correct { background: red; }
#card51.correct { background: red; }
#card52.correct { background: red; }
 
 
/* "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;
}
