@charset "UTF-8";
@font-face {
	font-family: "Barthowheel-Regular";
    src: url(fonts/Barthowheel-Regular.ttf) format("truetype");
}
@font-face {
	font-family: "Amaranth-Regular";
    src: url(fonts/Amaranth-Regular.ttf) format("truetype");
}
@font-face {
	font-family: "Walt-D";
    src: url(fonts/waltdisney.ttf) format("truetype");
}

html, body, div, ul, li, canvas { margin: 0; padding: 0; }
html, body {
    font-family: 'Amaranth-Regular', sans-serif; 
    width: 100%;
    height: 100%;
    
}


.hide { display: none; }
.clear{ clear: both;  }

.titulo{
	font-family: 'Barthowheel-Regular', sans-serif; color:#fff; font-size:70px; text-align:center; margin:20px auto;
}
.mn{
	display:inline;  height:345px; width:245px;
}
.mn a{
	color:#ffffff; text-decoration:none; text-transform:none;
	font-family: 'Amaranth-Regular', sans-serif; font-size:50px; cursor:pointer;
}

input[type="button"]{
	color:#ffffff; border:1px solid transparent;
	font-family: 'Walt-D', sans-serif; 
	font-size:50px; cursor:pointer;
}

input[type="button"]:hover{
	color:#ffffff; border:1px solid #888;
	-moz-box-shadow: 0 0 3px 3px #888;
	-webkit-box-shadow: 0 0 3px 3px #888;
	box-shadow: 0 0 3px 3px #888;
}

.ef div{ 
text-align:center; 
color:#ffffff; 
font-family: 'Walt-D', sans-serif; 
font-size:60px; 	
}
.ef div:hover{
border:1px solid #888;
-moz-box-shadow: 0 0 4px 3px #888;
-webkit-box-shadow: 0 0 4px 3px #888;
box-shadow: 0 0 4px 3px #888;	
}

/*== Puzzle ==*/
div#canvas-wrap {
    width: 100%;
    height: 100%;
}

canvas#canvas, canvas#buffer, canvas#image-preview {
    position: absolute;
    top: 45px;
    left: 0;
}

canvas#canvas { z-index: 100; margin-top:50px; }

canvas#canvas.loading { background: url(../img/loader.gif) no-repeat center; }

canvas#buffer { z-index: 70; }

canvas#image-preview.show {
    left: 50%;
	top: 130px;
    opacity: .5;
    z-index: 40; 
}

/*== Barra ==*/
div#game-options ul {
    margin: 0 auto;
}
div#game-options  {
    background: #fff;
    z-index: 500;
    top: 0;
    left: -20px;
    position: fixed; 	
    border-bottom: 1px solid #5B2874;
    padding: 5px 10px 5px 30px;
    width: 100%;
    height: 32px;
    -moz-box-shadow: 0 0 5px black;
    -webkit-box-shadow: 0 0 5px black;
    box-shadow: 0 0 5px black;
	font-family:"Walt-D", sans-serif; 
}

div#game-options ul li { 
    float: left;
    list-style: none;
    line-height: 25px;
}

div#game-options ul li b {
    margin: 0 10px;
}

div#game-options ul li a{
     font-size: 12px; color:#EF1277; font-weight:normal;
}

/*== Reloj ==*/
#clock {
    width: 60px;
    display: block;
    text-align: center; color:#EF1277;
}

/*== Opciones ==*/
div#game-options div.styled-select select {
    outline: none;
    background: transparent;
    width: 125px;
    padding: 5px; 
    font-size: 12px; color:#6E6E6E;
    border: none;
    height: 28px;
    -webkit-appearance: none;
}

div#game-options div.styled-select {
    width: 100px;
    height: 28px;
    margin-right: 10px;
    overflow: hidden;
    background: url(../img/arrow.png) right no-repeat #f3f3f3;
    border: 1px solid #DCDCDC;
}

.pause{ 
background:url(../img/pause.png) no-repeat center center;
width:28px;
height:29px; 
border:1px solid #cdcdcd; 
position:absolute; 
margin-left:110px;
}

/*== Compartir ==*/
#share-twitter, #share-facebook {
    text-indent: -10000px;
    width: 32px;
    height: 32px;
    display: block;
    cursor:pointer;
}

/*== Crear puzzle ==*/
#image-error { color: red; margin: 0 10px; display: none; }
#dnd { display: none }

#game-options #create {
    display: none;
    right: 25px;
    position: absolute;
}

#game-options #create .add {
    background: url(../img/plus.png)  10px 6px no-repeat #f3f3f3;
    padding-left: 30px; 
}

/*== Modal ==*/
div#congrat { text-align: center; }

div#help { font-size: 15px; }

div#help ul { margin-left: 10px; }


/*== Mobile ==*/
@media screen and (max-width: 960px) {
    div#game-options { left: -30px; }
    #clock { width: 50px; margin-left: }
    #SHOW_EDGE, #SHOW_MIDDLE, #SHOW_ALL { display: none; }
}

@media screen and (max-width: 479px) {
    #SHOW_HELP, #clock { display: none; }
    #JIGSAW_SHUFFLE { margin-left: 15px; }
    #SHOW_PREVIEW { margin-right: 10px; }
}




 .grid {
	padding: 0px 20px 50px 20px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	width: 250px; 
	margin: 0;
	padding: 15px;
	text-align: left;
	position: relative; 
}

.grid figure {
	margin: 0;
	position: relative;
}
.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
	padding:16px; 
	border:8px solid #888;
	-moz-box-shadow: 0 0 4px 3px #cdcdcd;
	-webkit-box-shadow: 0 0 4px 3px #cdcdcd;
	box-shadow: 0 0 4px 3px #cdcdcd;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 15px;
	background: #F36F21; 
	color: #fff; font-size:14px; border:3px solid #F7B117;
	-moz-box-shadow: 0 0 3px 3px #cdcdcd;
	-webkit-box-shadow: 0 0 3px 3px #cdcdcd;
	box-shadow: 0 0 3px 3px #cdcdcd;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #F36F21; 
	text-shadow: -1px 0 #fff, 0 1px #fff,
	  1px 0 #F7B117, 0 -1px #F7B117; 
	line-height:17px;font-size:20px !important;
}

.grid figcaption span:before {
	content: ' ';
}

.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background:#F7B117;
	color: #fff; text-decoration:none;
}
.cs-style-4 li {
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-perspective-origin: 0 30%;
	-moz-perspective-origin: 0 30%;
	perspective-origin: 0 30%;
}
.cs-style-4 figure {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.cs-style-4 figure > div {
	overflow: hidden;
}

.cs-style-4 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-4 figure:hover img,
.cs-style-4 figure.cs-hover img {
	-webkit-transform: translateX(15%);
	-moz-transform: translateX(15%);
	-ms-transform: translateX(15%);
	transform: translateX(15%);
}

.cs-style-4 figcaption {
	height: 210px;
	width: 75%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-4 figure:hover figcaption,
.cs-style-4 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-4 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}