html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


html {
    height: 95%;
}
body {
    margin-left: 0;
    margin-top: 0px;
    font-family: arial;
    font-size: 12px;
    height: 100%;
    background:#bdbdbd;
}

label {
    display: inline-block;
    margin-bottom: 3px;
}

@media only screen and (max-width: 700px) {
    #center-column {
        /*margin-left: 20px;*/
    }
    body {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    #game {
        tap-highlight-color: rgba(0, 0, 0, 0);
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        -moz-tap-highlight-color: rgba(0, 0, 0, 0);
        -ms-tap-highlight-color: rgba(0, 0, 0, 0);
    }
}
#game-container {
    margin-left: auto;
    margin-right: auto;
}

.content{
    text-align: center;
    color: white;
}

.content h1{
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    text-align:left;
    padding-top: 2px;
    display:none;
}

.content h2{
    font-size: 14px;
    font-weight: bold;
    padding-top: 5px;
    margin-bottom: 3px;
}

.content-top{
    height: 20px;
    overflow: hidden;
}

.content-bottom{
    height: auto;
    overflow: hidden;
    margin-bottom: 25px;
}

.content span.title{
    float: left;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    text-align:left;
    padding-top: 2px;
}

.content span.tms{
    text-align: right;
    float: right;
    font-size: 10px;
    padding-top: 4px;
    padding-right: 2px;
}


.topmenu #options-link, .topmenu #display-link, .topmenu #controls-link{
    color: white;
    text-decoration: none;
    vertical-align: middle;
}

#options-link,
#display-link,
#controls-link,
#import-link,
#export-link {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

#game {
    background-color: silver;
}

.dialog {
    background-color: #eee;
    border: 1px solid #444;
    position: absolute;
    display: none;
    z-index: 1;
}

.dialog-title {
    color: white;
    font-weight: bold;
    background-color: #06f;
}

.dialog-bar {
    background-color: #ddd;
}

#controls ul {
    padding: 0 0 0 12px;
    margin: 0;
}
#controls li {
    margin-bottom: 2px;
}
.dialog-close {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    line-height: 15px;
    cursor: pointer;
}

.dialog-text-input {
    width: 30px;
    font-size: 12px;
}
.dialog td {
    padding: 3px;
    white-space: nowrap;
}
.dialog input[type="checkbox"],
.dialog input[type="radio"] {
    margin: 0 3px 0 0;
    vertical-align: top;
    padding: 0;
}
#game div {
    float: left;
    line-height: 0;
    font-size: 0;
}
#footer {
    margin-top: 30px;
    margin-bottom: 30px;
    clear: both;
}
#message {
    margin-top: 15px;
    color: green;
    width: 450px;
}
#share {
    display: none;
    color:gray;
    font-weight:bold;
}
#game-won {
    margin: 15px;
    padding: 5px;
    background: #f4f4f4;
    text-align:center;
    max-width:250px;
    margin-left: auto;
    margin-right: auto;    
}

#scores-container {
    margin-top: 20px;
    margin-bottom: 20px;
}
#scores-tabs {
    height: 30px;
}
.scores-tab {
    float: left;
    margin-right: 20px;
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}
.scores-tab-selected {
    font-weight: bold;
    color: black;
}

.scores-pane {
    width: 500px;
}
.scores-pane table {
    width: 100%;
}
.scores-pane th,
.scores-pane td {
    width: 33%;
    text-align: left;
    vertical-align: top;
}
.scores-pane th {
    padding-bottom: 5px;
}
.scores-number {
    float: left;
    width: 20px;
    clear: left;
}
.scores-name {
    float: left;
    width: 115px;
}
.flag-animation {
    position: absolute;
    pointer-events: none;
    transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
    -webkit-transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
    -moz-transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
    -ms-transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
}

#game-container #game div {
    background-image: url("sprite150.gif");
}

#game-container .time0 {
    background-position: 0 0;
    width: 20px;
    height: 35px;
}
#game-container .time1 {
    background-position: -20px 0;
    width: 20px;
    height: 35px;
}
#game-container .time2 {
    background-position: -39px 0;
    width: 20px;
    height: 35px;
}
#game-container .time3 {
    background-position: -59px 0;
    width: 20px;
    height: 35px;
}
#game-container .time4 {
    background-position: -78px 0;
    width: 20px;
    height: 35px;
}
#game-container .time5 {
    background-position: -98px 0;
    width: 20px;
    height: 35px;
}
#game-container .time6 {
    background-position: -117px 0;
    width: 20px;
    height: 35px;
}
#game-container .time7 {
    background-position: -137px 0;
    width: 20px;
    height: 35px;
}
#game-container .time8 {
    background-position: -156px 0;
    width: 20px;
    height: 35px;
}
#game-container .time9 {
    background-position: -176px 0;
    width: 20px;
    height: 35px;
}
#game-container .time- {
    background-position: -195px 0;
    width: 20px;
    height: 35px;
}
#game-container .open0 {
    background-position: 0 -35px;
    width: 24px;
    height: 24px;
}
#game-container .open1 {
    background-position: -24px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open2 {
    background-position: -48px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open3 {
    background-position: -72px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open4 {
    background-position: -96px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open5 {
    background-position: -120px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open6 {
    background-position: -144px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open7 {
    background-position: -168px -35px;
    width: 24px;
    height: 24px;
}
#game-container .open8 {
    background-position: -192px -35px;
    width: 24px;
    height: 24px;
}
#game-container .blank {
    background-position: 0 -59px;
    width: 24px;
    height: 24px;
}
#game-container .bombflagged {
    background-position: -24px -59px;
    width: 24px;
    height: 24px;
}
#game-container .bombdeath {
    background-position: -48px -59px;
    width: 24px;
    height: 24px;
}
#game-container .bombmisflagged {
    background-position: -72px -59px;
    width: 24px;
    height: 24px;
}
#game-container .bombrevealed {
    background-position: -96px -59px;
    width: 24px;
    height: 24px;
}
#game-container .question {
    background-position: -120px -59px;
    width: 24px;
    height: 24px;
}
#game-container .questionpressed {
    background-position: -144px -59px;
    width: 24px;
    height: 24px;
}
#game-container .facesmile {
    background-position: 0 -83px;
    width: 39px;
    height: 39px;
}
#game-container .facepressed {
    background-position: -39px -83px;
    width: 39px;
    height: 39px;
}
#game-container .faceooh {
    background-position: -78px -83px;
    width: 39px;
    height: 39px;
}
#game-container .facedead {
    background-position: -117px -83px;
    width: 39px;
    height: 39px;
}
#game-container .facewin {
    background-position: -156px -83px;
    width: 39px;
    height: 39px;
}
#game-container .bordertl {
    background-position: 0 -122px;
    width: 15px;
    height: 15px;
}
#game-container .bordertr {
    background-position: -15px -122px;
    width: 15px;
    height: 15px;
}
#game-container .borderbl {
    background-position: -30px -122px;
    width: 15px;
    height: 15px;
}
#game-container .borderbr {
    background-position: -45px -122px;
    width: 15px;
    height: 15px;
}
#game-container .bordertb {
    background-position: -60px -122px;
    width: 24px;
    height: 15px;
}
#game-container .borderjointl {
    background-position: -84px -122px;
    width: 15px;
    height: 15px;
}
#game-container .borderjointr {
    background-position: -99px -122px;
    width: 15px;
    height: 15px;
}
#game-container .borderlr {
    background-position: -201px -59px;
    width: 15px;
    height: 24px;
}
#game-container .borderlrlong {
    background-position: -201px -59px;
    width: 15px;
    height: 48px;
}
#game-container #mines_hundreds {
    margin: 6px 0 7px 9px;
}
#game-container #mines_tens {
    margin: 6px 0 7px 0;
}
#game-container #mines_ones {
    margin: 6px 0 7px 0;
}
#game-container #seconds_hundreds {
    margin: 6px 0 7px 0;
}
#game-container #seconds_tens {
    margin: 6px 0 7px 0;
}
#game-container #seconds_ones {
    margin: 6px 9px 7px 0;
}
#game-container #face {
    margin-top: 4px;
    margin-bottom: 5px;
}
#game-container .dialog {
    left: 24px;
    top: 102px;
}