html, body {
    font-family: Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /********************/
    /* board background */
    /********************/
    background: #333;
}

html, body, div, ul, li, canvas { margin: 0; padding: 0; }


.description{
    max-width: 600px;
    margin: auto;
    margin-top: 10%;
    line-height: 1.3em;
    font-size: 1.3em;
}
#ignition{
   border: 5px solid #fff;
    font-size: 48px;
    margin-top: 1em;
    background: #cf0404;
    background: -moz-linear-gradient(top, #cf0404 2%, #ff3019 100%);
    background: -webkit-linear-gradient(top, #cf0404 2%,#ff3019 100%);
    background: linear-gradient(to bottom, #cf0404 2%,#ff3019 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf0404', endColorstr='#ff3019',GradientType=0 );
    width: 200px;
    height: 200px;
    line-height: 200px;
    border-radius: 100px;
    -moz-border-radius: 100px;
    -o-border-radius: 100px;
    -webkit-border-radius: 110px;
    text-shadow: 1px 3px 4px rgba(0,0,0,.3);
    color: #ffffff;
}
#wroom{
    transition: .3s;
}
.hide { display: none; }
.opaque{
    opacity: 0;
}

.clear { clear: both; }


div#image-preview-new{
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
div#image-preview-new img{
  margin: auto;
  display: block;
}
div#image-preview-new img.hide{
  display: none;
}
div#control-overlay
{
  background: #0000007d;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #ffffff;
}


/*== Jigsaw 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; }

canvas#canvas.loading { background: url(../images/loader.gif) no-repeat center; }

canvas#buffer { z-index: 70; }

canvas#image-preview.show {
    left: 50%;
    opacity: .5;
    z-index: 40;
}

/*== Options bar ==*/
div#game-options ul {
    margin: 0 auto;
        display: inline-block;
}
div#game-options  {
    text-align: center;
    background: #2a2a2a;
    z-index: 500;
    top: 0;
    left: -20px;
    position: fixed;
    border-bottom: 1px solid #000;
    padding: 5px 10px 5px 30px;
    width: 100%;
    height: 37px;
    -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;
}

div#game-options ul li b {
    margin: 0 10px;
}
div#game-options ul li.logo{
  position: absolute;
  right: 30px;
  margin-top: 3px;
}
/*== Clock ==*/
#clock {
    /*width: 60px;
    display: block;*/
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    background: rgba(255,255,255, .5);
    padding: 10px;
    font-size: 2em;
}

/*== Select ==*/
div#game-options div.styled-select select {
    outline: none;
    background: transparent;
    width: 125px;
    padding: 5px;
    font-size: 13px;
    border: none;
    height: 28px;
    -webkit-appearance: none;
}

div#game-options div.styled-select {
    width: 100px;
    height: 28px;
    margin-right: 10px;
    overflow: hidden;
    background: url(../images/arrow.png) right no-repeat #f3f3f3;
    border: 1px solid #333;
}

/*== Share buttons ==*/
#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(../images/plus.png)  10px 6px no-repeat #f3f3f3;
    padding-left: 30px;
}
/*== Modal window ==*/

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; }
}
