/* Reset CSS - borrowed from Eric Meyer
 http://meyerweb.com/eric/tools/css/reset/
 */
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-family: arial;
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;
}
/* End Reset */

body {
padding: 0;
margin: 0;
}

.clear {
clear:both;
}

.hide {
display:none !important;
}

#content {
padding:20px 30px;
}

.title {
font-weight:bold;
font-size:1.5rem;
}

.author {
font-weight:bold;
}

#controls {
margin:15px 0;
}

#grid-size-section {
margin: 10px 0;
}

#board .row {
overflow:hidden;
}

#board .cell {
float:left;
width:25px;
height:25px;
line-height:25px;
border-right:1px solid #999;
border-bottom:1px solid #999;
text-align:center;
background:#CCC;
cursor:pointer;
}

#board .row:first-child .cell {
border-top:1px solid #999;
}

#board .cell:first-child {
border-left:1px solid #999;
}

#board .cell:hover {
background:#DADADA;
}

#board .cell:active {
background:#EAEAEA;
}

#board .cell.clicked {
background:#EDEDED !important;
cursor:default;
}

#board .cell.mine {
background:#FF0000 !important;
}
