html, body {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


/* Options bar */
div#game-options {
    background: #fff;
    z-index: 500;
    top: 0;
    left: 0;
    padding: 5px 0px;
}

.content div#game-options ul {
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin: 0 auto;
}

.content  div#game-options ul li {
    display: inline-block;
    zoom: 1;
    *display: inline;
    list-style: none;
    line-height: 25px;
    margin-left: -4px;
}

div#game-options ul li span {
    margin-right: 10px;
}

div#game-options ul li div.words {
    width: 110px;
}
div#game-options ul li div.words select {
    width: 130px;
}

div#game-options ul #download-button {
    display: none;
    position: absolute;
    right: 20px;
}



/* Clock */
.content #timer {
    border: 1px solid black;
    font-family: "Gotham", Tahoma, Arial, Helvetica;
    font-size: 16px;
    position: relative;
    width: 190px;
    height: 48px;
    text-align:center;
    line-height: 48px;
    font-size: 16px;
    color: #333333;
 }

.content #restart {
    box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.25);
    background-color: #227647;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    width: 190px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
}

#html5-wordsearch-score {
    width: 130px;
    display: block;
    text-align: center;
}

.top-footer {
    display: none;
}

#modal-window #save-score-form .button { float: none; clear: both; }

#modal-window { visibility: hidden !important; display: none; }

#save-score-input {
    border: 1px solid #eee;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 1px 1px 4px #000 inset;
       -moz-box-shadow: 1px 1px 4px #000 inset;
            box-shadow: 1px 1px 4px #000 inset;
    outline: none;
    padding: 5px

}

html.lt-ie8 #soup { padding-top: 50px; }
html.lt-ie9 #html5-wordsearch { margin-top: 50px; }
html.lt-ie8 #font-size-down small { font-size: 12px; }
html.lt-ie7 #download-puzzle span { display: none; }
.loading .html5-wordsearch,
.loading div#game-options {
    visibility: hidden;
}

.loading .wordsearch,
.loading.wordsearch {
    background-image: url(../images/loader.gif);
    background-repeat: no-repeat;
    background-position: center 30%;
}

body.hide-form #save-score-form {
    display: none;
}

.html5-wordsearch canvas,
.html5-wordsearch ul,
.html5-wordsearch div {
    font-family: "Gotham", Tahoma, Arial, Helvetica;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.html5-wordsearch {
    position: relative;
    transition: opacity .5s linear;
}

.html5-wordsearch canvas {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}

.html5-wordsearch canvas.grid {
    background: #fff;
}

.html5-wordsearch div.description {
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    margin: 0 10px;
}

.html5-wordsearch .description span.word {
    background: #050;
    color: #fff;
    padding: 2px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}


.html5-wordsearch .list {
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    overflow: auto;
}

.html5-wordsearch .list li {
    position: relative;
    padding: 4px 30px;
    list-style: none;
    line-height: 21px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.html5-wordsearch .list li a {
    outline: none;
    color: #676f7f;
    font-size: 11px;
    padding: 2px 8px;
    background: #f1f0f0;
    border-radius: 3px;
    text-decoration: none;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
         -o-border-radius: 3px;
        -ms-border-radius: 3px;
            border-radius: 3px;
    -webkit-text-shadow: 0 1px #fff;
       -moz-text-shadow: 0 1px #fff;
            text-shadow: 0 1px #fff;
}

.html5-wordsearch .list li.crossed a,
body.disable-hints .html5-wordsearch .list li a {
    visibility: hidden;
}

.html5-wordsearch .list li.crossed {
    background-repeat: no-repeat;
    background-position: 10px center;
}

.html5-wordsearch .list li.crossed.bad {
    background-image: url(../images/bad-icon.png);
}

.html5-wordsearch .list li.crossed.good {
    background-image: url(../images/check-icon.png);
}
/* icons */
.crossed {
    text-decoration: line-through;
}

/****************
 * HELP MESSAGE *
 ****************/
div#modal-window.help li {
    list-style: circle;
    margin: 10px;
}

div#modal-window.help #puzzle-description.hide { display: none; }

div#modal-window.help #puzzle-description {
    background: #efefef;
    color: #666666;
    font-size: 14px;
    font-weight: bold;
    text-align: justify;
    padding: 4px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}
