
.html5-soup {
    margin: 0 ;
    padding-top: 3.75em;
}

/* Options bar */
div.html5-wordsearch-toolbar {
    background: none;
    z-index: 500;
    top: 0;
    left: 0;
    position: absolute;
    
    padding: .5em 0 .4em 0;
    width: 100%;
    height: 32px;    
    text-align: center;
}

div.html5-wordsearch-toolbar ul {
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin: 0 auto;
}

div.html5-wordsearch-toolbar ul li { 
    display: inline-block;
    zoom: 1;
    *display: inline;
    list-style: none;
    line-height: 25px;
    margin-left: -4px;
}

div.html5-wordsearch-toolbar ul li b {
    margin-right: 10px;
}

div.html5-wordsearch-toolbar ul li div.words {
    width: 110px;
}
div.html5-wordsearch-toolbar ul li div.words select {
    width: 130px;
}

div.html5-wordsearch-toolbar ul #download-button {
    display: none;
    position: absolute;
    right: 20px;
}

/* Clock */
#html5-wordsearch-timer {
    width: 90px;
}

#html5-wordsearch-score {
    width: 100px;
    display: block;
    text-align: center;
}

#modal-window #save-score-form .button { float: none; clear: both; }

#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 .html5-soupsoup { 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.html5-wordsearch-toolbar {
    visibility: hidden;
}

.wordsearch {
    position: relative;
    background: none;
    overflow: hidden;
    
    -webkit-user-select: none;
	
}

.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: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.html5-wordsearch {
    position: relative;
    transition: opacity .5s linear;
}

.html5-wordsearch canvas {
    border: 1px solid black;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
	
}

.html5-wordsearch canvas.layer {
    background: #fff;
}

.html5-wordsearch div.description {
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    margin: 0 10px;
    display: none;
}

.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: 180px;
    overflow: visible;
    user-select: ;
	
}

.html5-wordsearch .list li {
    position: relative;
    padding: .25em 0 0 1.25em;
    line-height: 1.75em;
    color: #333;
    list-style-type:none;
	text-transform: uppercase;
	clear:both;
	font-size:.8em;
}

.html5-wordsearch .list li a {
    outline: none;
    color: #676f7f;
    font-size: 11px;
    padding: 0px 5px;
	width: 36px; 
	float:right;
    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);
}

#download-puzzle {
    position: absolute;
    right: 20px;
    display: none;
}
 
#download-puzzle span {
    text-decoration: underline;
    font-weight: bold;
    -webkit-text-shadow: 0 -1px 0 #aaa;
       -moz-text-shadow: 0 -1px 0 #aaa;
        -ms-text-shadow: 0 -1px 0 #aaa;
            text-shadow: 0 -1px 0 #aaa;
}
/* 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;
}
/* Google-styled buttons
* http://pixify.com/blog/use-google-plus-to-improve-your-ui/
*/
a.button, b.button {
    color: #6e6e6e;
    font: bold 12px Helvetica, Arial, sans-serif;
    outline: none;
    text-decoration: none;
    padding: 7px 12px;
    position: relative;
    display: inline-block;
    zoom: 1;
    *display: inline;
    text-shadow: 0 1px 0 #fff;
    -webkit-transition: border-color .218s;
    -moz-transition: border .218s;
    -o-transition: border-color .218s;
    transition: border-color .218s;
    background: #f3f3f3;
    background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    border: solid 1px #dcdcdc;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    margin-right: 10px;
}

a.button:hover {
    color: #333;
    border-color: #999;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

a.button:active {
    color: #000;
    border-color: #444;
}

a.left {
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
    margin: 0;
}

a.middle {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-left: solid 1px #f3f3f3;
    margin: 0;
    border-left: solid 1px rgba(255, 255, 255, 0);
}

a.middle:hover, a.right:hover { border-left: solid 1px #999 }

a.right {
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
    border-left: solid 1px #f3f3f3;
    border-left: solid 1px rgba(255, 255, 255, 0);
}

a.help {
    background: url(../images/help.png) 10px 6px no-repeat #f3f3f3;
    padding-left: 30px;
}

a#restart {
    background: url(../images/restart.png) 10px 6px no-repeat #f3f3f3;
    padding-left: 30px;
}

.phone .list {
    top: 100%;
    left: 0;
    margin-top: 10px;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 10px 0;
}

.phone .list li {
    display: inline-block;
    border: none;
    margin: 3px 0;
    background: #eee;
    padding: 3px 5px;
    border-radius: 4px;
}

.phone .list li.crossed.bad,
.phone .list li.crossed.good {
    background-image: none;
}

.phone .list li.crossed {
    text-decoration: none;
}

.phone .list li span {
    position: relative;
    padding: 2px;
    display: inline-block;
}
.phone .list li.crossed span:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -1.5px;
    height: 3px;
    left: 0;
    width: 100%;
    opacity: .6;
}

.phone .list li.crossed.bad span:after {
    background: red;
}

.phone .list li.crossed.good span:after {
    background: green;
}


.phone .list li a {
    display: none;
}

.desktop .list {
    height: 100%;
}

.phone #font-size-up,
.phone #font-size-down {
    display: none;
}

.phone #show-help,
.phone #restart {
    text-indent: -10000px;
    background-position: center;
    background-color: #fff;
}

.phone .html5-wordsearch-toolbar li {
    background-color: #fff;
}

.phone .html5-wordsearch-toolbar {
    width: 100%;
    padding-left: 10px;
}

.phone #html5-wordsearch-score,
.phone #html5-wordsearch-timer {
    background: white;
}

.phone #html5-wordsearch-timer {
    width: 45px;
}

.phone #modal-window {
    width: 100%;
    margin-left: 0!important;
    left: 0;
    right: 0;
    padding: 10px;
    box-sizing: border-box;
}
