html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: table;
}
.container {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
div.content {
    width: 100%;
    text-align: center;
}
div#content {
    background-color: lightgray;
    display: inline-block;
}
.pause_div {
    top: 50%;
    left: 50%;
    background-color:white;
    margin-top: -3.0em;
    margin-left: -5.0em;
    border: black outset;
    width: 10.0em;
    height: 6.0em;
    position: absolute;
    text-align: center;
}

div#timer {
    width: 4.0em;
    height: 1.2em;
    font-size: 2.0em;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    margin: auto;
}

.pause_div div#timer {
    padding-top: 1.0em;
}

table.grid_table {
    background-color: lightgray;
    min-width: 320px;
    min-height: 480px;
    /*border: inset red;*/
}
table.grid_table td.invalid{
    border: inset red !important;
}
table.grid_table td {
    width: auto;
    height: auto;
}
table.grid_table td div {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    margin: auto;
}
td.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -50px;
}
td.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -100px;
}
td.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -150px;
}
td.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -200px;
}
td.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -250px;
}
td.red div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px 0;
}
td.red.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px -50px;
}
td.red.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px -100px;
}
td.red.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px -150px;
}
td.red.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px -200px;
}
td.red.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -50px -250px;
}
td.yellow div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px 0;
}
td.yellow.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px -50px;
}
td.yellow.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px -100px;
}
td.yellow.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px -150px;
}
td.yellow.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px -200px;
}
td.yellow.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -100px -250px;
}
td.green div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px 0;
}
td.green.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px -50px;
}
td.green.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px -100px;
}
td.green.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px -150px;
}
td.green.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px -200px;
}
td.green.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -150px -250px;
}
td.blue div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px 0;
}
td.blue.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px -50px;
}
td.blue.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px -100px;
}
td.blue.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px -150px;
}
td.blue.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px -200px;
}
td.blue.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -200px -250px;
}
td.purple div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px 0;
}
td.purple.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px -50px;
}
td.purple.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px -100px;
}
td.purple.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px -150px;
}
td.purple.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px -200px;
}
td.purple.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: -250px -250px;
}
table.grid_table.colorblind td.red div:after {
    content: "R";
    color: red;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    top: 0.3em;
}
table.grid_table.colorblind td.yellow div:after {
    content: "Y";
    color: yellow;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    top: 0.3em;
}
table.grid_table.colorblind td.green div:after {
    content: "G";
    color: green;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    top: 0.3em;
}
table.grid_table.colorblind td.blue div:after {
    content: "B";
    color: blue;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    top: 0.3em;
}
table.grid_table.colorblind td.purple div:after {
    content: "V";
    color: purple;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    top: 0.3em;
}
table.grid_table.colorblind td.red div {
    background-image: none;
}
table.grid_table.colorblind td.yellow div {
    background-image: none;
}
table.grid_table.colorblind td.green div {
    background-image: none;
}
table.grid_table.colorblind td.blue div {
    background-image: none;
}
table.grid_table.colorblind td.purple div {
    background-image: none;
}
table.grid_table.colorblind td.star div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -50px !important;
}
table.grid_table.colorblind td.circle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -100px !important;
}
table.grid_table.colorblind td.triangle div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -150px !important;
}
table.grid_table.colorblind td.square div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -200px !important;
}
table.grid_table.colorblind td.heart div {
    background: url("images/dykata_images.png"), no-repeat, fixed;
    background-position: 0 -250px !important;
}

table.grid_table td {
    background: #c6c6c6;
}
table.grid_table td.fixed div
{
    border: inset gray;
}
table.grid_table td.fixed.clickable div
{
    border: inset white;
}

table.grid_table td.clickable {
    cursor: pointer;
}
table.grid_table td.clickable:hover {
    background-color: lightblue;
}
tr.colorSelector, tr.shapeSelector {
    margin-top: 5px;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    background-color: lightgray;
}
tr.colorSelector.inactive, tr.shapeSelector.inactive {
    visibility: hidden;
}
tr.colorSelector td, tr.shapeSelector td {
    margin: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    border: inset red;
}
tr.shapeSelector td div {
    background-color: lightgray;
}
tr.colorSelector td div, tr.shapeSelector td div {
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: inline-block;
}
tr.colorSelector td:hover, tr.shapeSelector td:hover {
    border: lightcyan inset;
}
table.grid_table td.selected {
    border: lightgreen inset;
}
tr.colorSelector td.selected, tr.shapeSelector td.selected {
    background-color: lightpink;
}
tr.colorSelector td.selected:hover, tr.shapeSelector td.selected:hover {
    background-color: lightgreen;
}