
#content {
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Slots for final card positions */

#cardSlots {

}

/* The initial pile of unsorted cards */

#cardPile {
  margin: 0 auto;
}

#cardSlots, #cardPile {
  width: 50%;
  float:left;
  text-align:center;

}

/* Individual cards and slots */

#cardSlots div, #cardPile div {
	float:left;
	display:inline-block;
	padding: 20%;
	padding-left:23%;
	padding-right:23%;
	margin:0.5%;
	position:relative;
  	
}
#cardSlots div img{
	display:none;
}
#cardSlots div span{
	position:absolute;
	left:0%;
	bottom:0%;
	text-align:center;
	width:100%;
}
#cardSlots div em, #cardPile  div em{

	display:none;
}
#cardSlots div:first-child, #cardPile div:first-child {
 
}

#cardSlots div.hovered {
  background: #dff2f9;
}

#cardSlots div {
	border: medium dashed #2fa6de;
	border-radius:10px;
}

#cardPile div {
	border: medium dashed #def2f9;
	border-radius:10px;
}


	

#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 { border-color:#8bd310; }
#card2.correct { border-color:#8bd310;  }
#card3.correct { border-color:#8bd310;  }
#card4.correct { border-color:#8bd310;  }
#cardPile div{
	 background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 55%;	
}
#content{
	position:relative;
}
#cardSlots.big, #cardPile.big{
	width:100%;
	position:absolute;
	left:0px;
	top:0px;
}
#cardSlots.big div, #cardPile.big div {
	padding: 11%;
	padding-left:11.5%;
	padding-right:11.5%;
	margin:0.5%;
	left:0 !important;
	top:0 !important; 	
}

#card1{	background-image: url(../images/game/small.png);}
#card2{	background-image: url(../images/game/big.png);}
#card3{	background-image: url(../images/game/long.png);}
#card4{	background-image: url(../images/game/short.png);}

@media only screen 
and (max-width : 600px) { 
	#cardSlots div {
		border: 1px dashed #2fa6de;
		border-radius:5px;
	}
	
	#cardPile div {
		border: 1px dashed #def2f9;
		border-radius:5px;
	}
	
}	
