/* Add some margin to the page and set a default font and colour */
@charset "UTF-8";
@font-face {
	font-family: "Cabin";
    src: url(fonts/Cabin-Regular.ttf) format("truetype");
}
@font-face {
	font-family: "Barthowheel-Regular";
    src: url(fonts/Barthowheel-Regular.ttf) format("truetype");
}
	
body {
  margin: 0px;
   background:
linear-gradient(135deg, #7be37e 22px, #6bdb77 24px, transparent 24px, transparent 67px, #6bdb77 67px, #6bdb77 69px, transparent 69px),
linear-gradient(225deg, #7be37e 22px, #6bdb77 22px, #6bdb77 24px, transparent 24px, transparent 67px, #6bdb77 67px, #6bdb77 69px, transparent 69px)0 64px; 
background-color: #50b551;  
background-size: 64px 128px;
  
}

/* Give headings their own font */

h1, h2, h3, h4 {
  font-family: "Barthowheel-Regular", Arial, sans serif;
}

#headerWrapper{
    margin:0px auto; 
	height:105px;
	border-bottom:1px solid #E5E5E5;
	background:#fff url(../img/titulares.png) center center no-repeat;
	}
#headerWrapper h1{
	font-family: "Barthowheel-Regular", Arial, sans serif;
	font-size: 32pt;
	font-weight: normal;
	color:  #FFF; padding-top:40px;
	margin:0px auto; text-align:center;
	}

#footerWrapper{
	margin: 0px auto;
	text-align:right;
	border: 1px solid #7c7c7c;
	color: #333;
	height:50px; background:#7c7c7c; clear:both;
}

ul#navi{
	margin-top: 5px;
	}

ul#navi li{
	display: inline;
	list-style: none;
	padding: 10px;
	border-left: 1px solid #eee;
	}

ul#navi li:hover{
	background-color: none;
	}

ul#navi li a{
	text-decoration: none;
	border: 0px; font-size:22px;
	color:#fff; font-family: "Barthowheel-Regular", Arial, sans serif;
	}

ul#navi li a:hover{
	text-decoration: none;
	letter-spacing: 0px;
	color: #CACACA;
	}	
	
	
#content {
  margin: 20px auto;
  padding-left:40px;
  padding-right:40px;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Slots for final card positions */

#cardSlots {
  margin-left: 80px; padding-left:15px; 
  background: rgba(255,255, 255, 0.35); 
  
  height:600px; display:inline-block;  width:45%;
  -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);
}

/* The initial pile of unsorted cards */

#cardPile {
  margin: 0px auto; padding-left:15px;
  height:600px; display:inline-block;  width:45%;
   background: rgba(255,218, 70, 0.45);
  -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 */
#cardSlots div {
  float: left;
  width: 105px;
  height:122px;
  border: 2px dashed #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 5px 5px 10px 10px; 
}

#cardPile div {
  float: left;
  width: 120px;
  height:178px;
  border: 3px solid #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin: 5px 5px 10px 10px;
  background: #cc5;
}

#cardSlots div:first-child, #cardPile div:first-child {
  margin-left: 0;
}

#cardSlots div.hovered {
  background: #aaa;
}

#cardSlots div {
	border:2px dotted #552e73; background-repeat:no-repeat;
 
  color:#fff; font-family:"Cabin", Arial, sans serif; line-height:14px;
  font-size:12.5px; padding:57px 8px 3px 9px; font-weight:lighter;
}

#cardPile div {
  color: none;
  font-size: 11px;
}

#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 { 
  -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card2.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card3.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card4.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card5.correct { 
-webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card6.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card7.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card8.correct { 
 -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card9.correct { 
  -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }
#card10.correct { 
  -webkit-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 23px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 23px rgba(255,255,255,0.8); }



/*
#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;
}
*/

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background: rgba(0, 0, 0, 0.85);623588;#A34198;*/
	background-color:#50b551 !important; 
background-image:
radial-gradient(#dacce0, rgba(255,255,255,.2) 2px, transparent 10px),
radial-gradient(#dacce0, rgba(255,255,255,.15) 1px, transparent 5px),
radial-gradient(#dacce0, rgba(255,255,255,.1) 2px, transparent 8px),
radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 10px);
background-size: 230px 230px, 350px 350px, 250px 250px, 150px 150px; 
background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
overflow:hidden;
	
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}

.modalDialog h2{
}
.modalDialog > div {
    width: 850px; height:300px;
    position: relative;
    margin: 40px auto; text-align:left;
	font-family: 'Barthowheel-Regular', Arial, sans-serif;
	font-size:28px;
	/*color:#ffeb41; amarillo*/
	color:#fff;
	text-shadow: 0.1em 0.1em 0.1em rgba(26,26,26,1);	
    /*background: url(info.png) no-repeat !important;*/
}

.modalDialog > div span{ 
   color:#ffeb41; 
}

.modalDialog > div p{ 
   color:#ffeb41; font-size:1.6em;
}
.modalDialog ol.circles-list {
    list-style-type: none;
    list-style-type: decimal !ie; /*IE 7- hack*/
     
    margin-top: 20px;
    margin-left: 5em;
    padding: 0;
     
    counter-reset: li-counter;
}
.modalDialog ol.circles-list > li{
    position: relative;
    padding-left: 0.5em; min-height:2.8em;
}
.modalDialog ol.circles-list > li:before {
    position: absolute;
    top: 0;
    left: -1.33em;
    width: 1.2em;
    height: 1.2em;
     
    font-size: 1.6em;
    line-height: 1.2;
    text-align: center;
    color: #fff;
 
    border: 3px solid #fff; background:#196b4d;
    border-radius: 50%;
    content: counter(li-counter);
    counter-increment: li-counter;
}

.close {
    color: #FFFFFF;
    position: absolute; font-size:36px;
	top:0px;
    right: 0px;
    text-align: center;
    width: 32px;
    text-decoration: none;
}
.close:hover {
    background: #868686;
}