@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%;
    overflow: hidden;
   background:
linear-gradient(135deg, #F37022 22px, #F4833E 22px, #F4833E 24px, transparent 24px, transparent 67px, #F4833E 67px, #F4833E 69px, transparent 69px),
linear-gradient(225deg, #F37022 22px, #F4833E 22px, #F4833E 24px, transparent 24px, transparent 67px, #F4833E 67px, #F4833E 69px, transparent 69px)0 64px;
background-color:#F37022;
background-size: 64px 128px;
}


.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: 15px; 
    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: 70px;
    opacity: .5;
    z-index: 40; 
}

/*== Barra ==*/
div#game-options ul {
    margin: 0 auto;
}
div#game-options  {
	background:#FFFFFF;
    z-index: 500;
    top: 0;
    left: -20px;
    position: fixed; 	
    border-bottom: 1px solid #ccc;
    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;
}

div#game-options ul li { 
    float: left;
    list-style: none;
    line-height: 25px; display:block; margin-right:5px;
}

div#game-options ul li b {
    margin: 0 0px;
}

div#game-options ul li a{
     font-size: 12px; color:#d4612c; font-weight:normal; border:1px solid #ccc; 
}

div#game-options ul li a: hover{
     olor:#F37022; background:#F37022; 
}

/*== Reloj ==*/
#clock {
    display: block; font-size: 13px; font-weight:700;
    text-align: center; color:#F37022; border:1px solid #ccc;
}

/*== Opciones ==*/
div#game-options div.styled-select select {
    outline: none;
    background: transparent;
    width: 125px;
    padding: 5px; 
    font-size: 12px; color:#d4612c;  
    border: none;
    height: 28px;cursor:pointer;
    -webkit-appearance: none;
}

div#game-options div.styled-select {
    width: 100px;
    height: 28px;
    margin-right: 0px;
    overflow: hidden;
    background: url(../img/arrow.png) right no-repeat #f3f3f3;
    border:1px solid #ccc; cursor:pointer; 
}

.pause{ 
background: #fff url(../img/mute.png) no-repeat center center;
width:27px;
height:29px; 
border:1px solid #ccc;
position:absolute; 
margin-left:110px; 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;}
    #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; }
}
