html, body{ height:100%; min-width:600px; font-family:arial; }
*{ margin:0; padding:0; }
body{ font-family:arial; font-size:14px; }

.largesur{ text-align:center; overflow:hidden; padding:10px 0 15px; }
#mainpage{ height:110%; position:relative; margin:0 auto; width:800px;  margin-bottom: 20px;}
#gridcontent{ display:inline-block; width:50%; max-width:550px; min-width:400px; position:relative; }
#gridcontent::after{ padding-top:100%; display:block; content:''; }
.grid_surround{ position:absolute; top:20px; margin-top: 10px; bottom:0; right:0; left:0; text-align: center;}
.grid_surround > table{ width:100%; height:100%; border-color:#CCC; border-style:solid; border-width:3px 3px 3px 3px; border-radius: 10px;}
.wrap {position:relative; margin:0 auto; width:800px;}
#header, #footer {width:100%; float:left; margin-top: 10px;}
button { font:99% sans-serif; width:auto; overflow:visible; cursor:pointer; }
#menu{width:700px; float:left; font-size: larger: ; text-align: center; margin-top: 10px; }
ul li {margin-left: 8px; list-style-type: none; padding-top: 4px; width: 85%;}
h3 {padding-top: 4px; padding-bottom: 3px; font-style: oblique}
h2 {padding-top: 6px; padding-bottom: 5px; font-size: larger;}
h1 {padding-top: 6px; padding-bottom: 5px; font-size: x-large; text-align: center;}
.grid_surround > table > * > * > td{ width:11%; height:11%; font-size:2.0em; cursor:default; padding: 0; }
.clearing {clear:both; height:5; overflow:hidden; margin:-1px 0 0 0;}

/* TABLE SHADOW EFFECT */
.effect1{-webkit-box-shadow: -8px 10px 8px -6px #777; -moz-box-shadow: -8px 10px 8px -6px #777; box-shadow: -8px 10px 8px -6px #777; }

/* MINI TABLE */
.mini_grid_surround { width:100%; height:100%; font-size: small;}
.mini_grid_surround > * > * > td{ width:33%; height:33%; cursor:default; padding: 0; }

/* CELL ORIGINAL FORMATTING */
.orig {color: #17127d}

/* CELL HOVER EFFECTS */
.grid_surround > table > * > * > td:hover{ background-color: rgba(2,2,2,0.07);}
.r1.c1:hover{ border-top-left-radius: 8px; background-color: rgba(2,2,2,0.07); }
.r1.c9:hover{ border-top-right-radius: 8px; background-color: rgba(2,2,2,0.07); }
.r9.c1:hover{ border-bottom-left-radius: 8px; background-color: rgba(2,2,2,0.07); }
.r9.c9:hover{ border-bottom-right-radius: 8px; background-color: rgba(2,2,2,0.07); }

/* GAME GRID BORDERS */
.row > td {border-bottom: 1px dotted #CCC; border-right: 1px dotted #CCC;}
.row > td:nth-child(3n+0) { border-right: 3px solid #CCC;}
.row:nth-child(3n+0) > td { border-bottom: 3px solid #CCC;}
.row > td:nth-child(9) { border-right: none;}
.row:nth-child(9) > td { border-bottom: none;}

div[id^="mGridcell"] {height:100%; width:100%;}
.added  {height:auto !important }

.mini_grid_surround.num_select{ opacity:0; font-size:0.4em; height:100%; width:100%; margin:0; /* position:absolute; */ top:999px; left:0; z-index:1; background-color:#3ea859; padding:2px; border-radius:7px; box-shadow:0 0 12px rgba(79, 18, 18, 0.3); -webkit-transition:opacity 0.2s, height 0.2s, width 0.2s, margin 0.2s; -moz-transition:opacity 0.2s; -webkit-transform:translateZ(0); }
.mini_grid_surround.num_select.show{ opacity:1; height:130%; width:130%; margin:-15% 0 0 -15%; top:0; }
.mini_grid_surround.num_select td{ width:33%; height:33%; /* height:auto; width:auto; */ color:#FFF; font-weight:bold; border:none; line-height: normal; cursor:pointer; border-radius:6px; }
.mini_grid_surround.num_select td:hover:not(.empty){ background-color:#65b87d; }
.mini_grid_surround.num_select td.disabled{ opacity:0.4; cursor:default; }
.mini_grid_surround.num_select td.disabled:hover{ background:none; }
div[id^="mGridcell"] > * > * > * > td{width:33%; height:33%; }

/* ERROR CELL FORMATTING */
.error {font-weight: bold ; color: #eb2323}
.formerror {color: #eb2323;font-weight: bold; border:1px solid #df1414}

.login {float: right; display: block; margin-right: 15px;}

/* BUTTON BAR */
#optionbar {text-align: left; margin-bottom: 10px; margin-left: 3px; margin-right: 3px   }

.added button{ display:none; opacity:0.5; position:absolute; top:0px; right:0px; cursor:pointer; font-size:0.3em; min-width:16px; border-radius:0 0 0 25px; padding:0 0 2px 4px; background-color:rgba(168, 62, 62,0.8); color:#EFEFED; border:none; }

/* CSS3 BUTTON */
button.loginbutton {font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #0a53fc;padding: 3px 6px;background: -moz-linear-gradient(top,#ffffff 0%,#ffffff 50%,#d6d6d6);background: -webkit-gradient(linear, left top, left bottom, from(#ffffff),color-stop(0.50, #ffffff),to(#d7d7d7));-moz-border-radius: 6px;-webkit-border-radius: 6px;border-radius: 6px;border: 1px solid #0016ff;
}


				
