/* Add some margin to the page and set a default font and colour */

body {
  margin: 0px;
  font-family: Arial, sans-serif;

  color: #333;

}

/* Give headings their own font */
.titulo{
  width:520px;
  font-family: Arial, sans-serif;
  font-size:23px;
  font-weight:bold;
  color:red;
  margin-left:18px;
}
.subtitulo{
  width:520px;
  font-family: Arial, sans-serif;
  font-size:15px;
  color:#000;
  margin-left:18px;
  margin-top:-18px;
}

h1, h2, h3, h4 {
  font-family: Arial, sans-serif;
}

hr {
  border-style: dashed;
}

/* Main content area */

#content {
  /*margin: 80px 70px;*/
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}



/* 

Slots for final card positions 

#cardSlots {
  margin: 50px auto 0 auto;
  background: #ddf;
}

*/

/* 

The initial pile of unsorted cards 

#cardPile {
  margin: 0 auto;
  background: #ffd;
}

*/

#cardSlots {
  width: 620px;
  height: 260px;
  border: 0px solid #333;
  /*padding: 30px;
  -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); */
}

#cardPile {
  width: 620px;
  height: 370px;
  border: 0px solid #333;
  /*padding: 30px;
  -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 */
.image{  
  margin:0px -70px;
}

#cardSlots div {
  float: left;
  width: 120px;
  height: 60px;
  padding-bottom: 0;
  border: 2px solid #333;
  margin: 15px 10px 3px 18px;
  background: #fff;
}

#cardPile div {
  float: left;
  width: 134px;
  height: 70px;
  padding-bottom: 0;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 8px 0 0 8px;
  background: #fff;
  line-height: 11.8em;
}

#cardSlots div:first-child, #cardPile div:first-child {
  margin-left: 18px;
}

#cardPile div:first-child {
  margin-left: 13px;
}

#cardSlots div.hovered {
  background: #aaa;
}

#cardSlots div {  
  text-shadow: 0 0 3px #000;
}

#cardPile div {
  background: #fff;
  color: #666;
  font-size: 14px;
  border-style: dashed;
  margin:16px 1px 29px 13px;
}

#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: green; }
#card2.correct  { background: green; }
#card3.correct  { background: green; }
#card4.correct  { background: green; }
#card5.correct  { background: green; }
#card6.correct  { background: green; }
#card7.correct  { background: green; }
#card8.correct  { background: green; }
#card9.correct  { background: green; }
#card10.correct { background: green; }



/* "You did it!" message */
#successMessage {
  position: absolute;
  left: 580px;
  top: 250px;
  width: 0;
  height: 0;
  z-index: 100;
  background: #e1e1e1;
  color:red;
  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;
}

button {
  border: none;
  padding: 0.1em 0.6em;
  background: #aaa;
  color: #fff;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  margin: 5px 0px;
  border-radius: 2px;
}

button:hover {
  background: #717171;
}

