body {
    background-image: url(../images/game-bg.jpg);
}

/* overall layout */
#wrap                           {width:1000px;}
#left-pane,   #footer-left      {float:left;width:200px;}
#middle-pane, #footer-middle    {float:left;width:600px;}
#right-pane,  #footer-right     {float:left;width:200px;}
#footer                         {clear:both;}

#title {
    font-family: Courier;
    font-size: 40pt;
    font-weight: bold;
}

#game-text {
	padding: 20px 60px 0px 60px;
    font-family: Courier;
    font-size: 12pt;
    font-weight: bold;
}

#trials, #guesses {
	margin-right: 10px;
	text-align: right;
    font-family: Courier;
    font-size: 20pt;
    font-weight: bold;
}

#game, #game td {
	padding: 0 0 0 0;
	border-collapse: collapse;
}

#cells, .port-panel {
	padding: 0 0 0 0;
	border-collapse: collapse;
	background-image: url(../images/box-bg.jpg); 
}

.port-panel {
	border: solid;
	border-width: 1px;
	border-color: White;
}

.cell, .port {
    width: 48px;
    height: 48px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    text-align: center;
}

.cell {
    font-size: 12pt;
	font-weight: bold;
}

.cell:hover {
    background-color: Gray;
}

.cell.guess {
    background-image: url(../images/atom-orange.png);
}

.cell.show {
	color: white;
    background-image: url(../images/atom-green.png);
}

.cell.bad-guess {
    background-image: url(../images/atom-red.png);
	color: black;
}


.cell.ray-straight-n-s {background-image: url(../images/ray-straight-n-s.png);}
.cell.ray-straight-e-w {background-image: url(../images/ray-straight-e-w.png);}

.cell.ray-absorb-n {background-image: url(../images/ray-absorb-n.png);}
.cell.ray-absorb-e {background-image: url(../images/ray-absorb-e.png);}
.cell.ray-absorb-s {background-image: url(../images/ray-absorb-s.png);}
.cell.ray-absorb-w {background-image: url(../images/ray-absorb-w.png);}

.cell.ray-reflect-n {background-image: url(../images/ray-reflect-n.png);}		
.cell.ray-reflect-e {background-image: url(../images/ray-reflect-e.png);}
.cell.ray-reflect-s {background-image: url(../images/ray-reflect-s.png);}
.cell.ray-reflect-w {background-image: url(../images/ray-reflect-w.png);}


.cell.ray-bend-n-w {background-image: url(../images/ray-bend-n-w.png);}
.cell.ray-bend-w-s {background-image: url(../images/ray-bend-w-s.png);}
.cell.ray-bend-s-e {background-image: url(../images/ray-bend-s-e.png);}
.cell.ray-bend-e-n {background-image: url(../images/ray-bend-e-n.png);}




.port-free {
    font-size: 18pt;
    font-weight: bold;
    color: Red;
}

.port-fired {
    font-size: 10pt;
    color: Yellow;
}

.port-fired-hover {
    color: White;
    background-color: #A0A0A0;
}

#top .port-free:hover {
    background-image: url(../images/arrow-d.png);
}

#left .port-free:hover {
    background-image: url(../images/arrow-r.png);
}

#right .port-free:hover {
    background-image: url(../images/arrow-l.png);
}

#bottom .port-free:hover {
    background-image: url(../images/arrow-u.png);
}

.topspace {
	height:150px;
}
.divider {
	height:25px;
}

button {
	width:145px;
	height:27px;
	border-width: 0 0;
	background-image: url(../images/button-up-bg.png);
}

button:hover {
	color: gray;
}

button:active {
	color: red;
	background-image: url(../images/button-down-bg.png);
}

