/******************************************************************************
* Styles for playing cards.                                                   *
******************************************************************************/
.card {
  background-image: url("/graphics/cardback.gif");
  border-color: #bbb #000 #000 #bbb;
  border-width: 1px;
  border-style: solid;
  font-size: 20pt;
  font-family:'Times New Roman';
  position: absolute;
  width:  3.75em;
  height: 5.00em;
}

.front {
  background-color: #fff;
  color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
}

.red { color: #f00; }

.index {
  font-size: 50%;
  font-weight: bold;
  text-align: center;
  position: absolute;
  left: 0.25em;
  top:  0.25em;
}

.ace {
  font-size: 300%;
  position: absolute;
  left: 0.325em;
  top:  0.250em;
}

.face {
  border: 1px solid #000;
  position: absolute;
  left: 0.55em;
  top:  0.45em;
  width:  2.6em;
  height: 4.0em;
}

.spotA1 { position: absolute; left: 0.60em; top: 0.5em; }
.spotA2 { position: absolute; left: 0.60em; top: 1.5em; }
.spotA3 { position: absolute; left: 0.60em; top: 2.0em; }
.spotA4 { position: absolute; left: 0.60em; top: 2.5em; }
.spotA5 { position: absolute; left: 0.60em; top: 3.5em; }

.spotB1 { position: absolute; left: 1.55em; top: 0.5em; }
.spotB2 { position: absolute; left: 1.55em; top: 1.0em; }
.spotB3 { position: absolute; left: 1.55em; top: 2.0em; }
.spotB4 { position: absolute; left: 1.55em; top: 3.0em; }
.spotB5 { position: absolute; left: 1.55em; top: 3.5em; }

.spotC1 { position: absolute; left: 2.50em; top: 0.5em; }
.spotC2 { position: absolute; left: 2.50em; top: 1.5em; }
.spotC3 { position: absolute; left: 2.50em; top: 2.0em; }
.spotC4 { position: absolute; left: 2.50em; top: 2.5em; }
.spotC5 { position: absolute; left: 2.50em; top: 3.5em; }

/******************************************************************************
* Styles for user interface.                                                   *
******************************************************************************/

html,body {
	margin: 0;
	padding:0;
	width: 100%;
	background-color:#4a4;
}

#pokerOddsPredictor {
  position: relative;
  margin:1em auto;
  padding:0.2em 0;
  width:55em;
}

#header {
  border-style: solid;
  border-color: #60c060 #006000 #006000 #60c060;
  border-width: 1px;
  padding: 4px 1em;
  background-color: #208020;
  color: #ffffc0;
  margin-bottom: 1ex;
  font-size:1em;
  margin: 0;
  padding:0;
}

#header h1 {
	text-align: center;
	font-size:1.2em;
	margin: 0;
	padding:0.4em 0;
}

#menu {
  position: relative;
  margin:0 0 -1em 0;
  padding:0;
}

#menu ul {
  float:left;
  position: relative;
  margin:0;
  padding:0 0.2em;
  list-style:none;
}

#menu ul li {
  float:left;
  margin:0;
  padding:0.2em 0.4em;
  
}

#menu ul li a {
  float:left;
  margin:0;
  padding:0;
  color:#ff5;
  text-decoration:none;
}

#menu ul li a:hover {
  background-color:#ff5;
  color:#4a4;
}

#container {
  clear:both;
  position: relative;
  margin:0;
  padding:0;	
}

div.lite {
	position:relative;
	font-weight: bold;
	color: #ff5;
	margin:1em 0;
	padding:0;
	border-color: #000 #bbb #bbb #000;
	background-color:#4a4;
	border-width: 1px;
	border-style: solid;
	width:  37.5em;
	height: 52.25em;
  
}

div.lite form p {
	clear:both;
	margin:0;
	padding:1em;
}
	

div.lite p#inputs {
	clear:both;
	margin:0;
	padding:1em;
	text-align: justify;
	font-size: 0.9em;
	font-weight:bold;	
}

div.lite p#inputs a {
	color: #ff5;
}

div.lite p#inputs a:hover {
	color: #4a4;
	background-color: #ff5;
}

div.lite label, div.lite input, div.lite textarea {
	float:left;
}

div.lite label {
	width:7em;
}

div.lite input {
	width:12em;
}

div.lite textarea {
	width:12.2em;
	margin:0;
	padding:0;
}

#liteOutput {
	position:relative;
	clear:both;
	padding:1em;
	text-align: justify;
	font-size: 0.9em;
	font-weight:bold;
	color: #ff5;
}


#deck {
  position: relative;
  margin:1em 0;
  padding:0;
  border-color: #000 #bbb #bbb #000;
  background-color:#4a4;
  border-width: 1px;
  border-style: solid;
  width:  37.5em;
  height: 25.8em;
}

#deck button {
	margin: 0;
	padding:0;
	position:absolute;
	font-weight: bold;
}

#deck button#player {
	left:1em;
	bottom: 3.4em;
	width: 12.2em;
}

#deck button#community {
	left:1em;
	bottom:0.9em;
	width: 15.5em;
}

#deck button#reset {
	right:1em;
	bottom:0.9em;
	width: 6.0em;
}

#communityCards {
	position: relative;
	margin:1em 0;
	padding:0;
	border-color: #000 #bbb #bbb #000;
	background-color:#4a4;
	border-width: 1px;
	border-style: solid;
	width: 37.5em;
	height: 12.1em;
}

#dead {
	position: relative;
	margin:1em 0;
	padding:0;
	border-color: #000 #bbb #bbb #000;
	background-color:#4a4;
	border-width: 1px;
	border-style: solid;
	width: 37.5em;
	height: 12.1em;
}

#players {
	position: absolute;
	top:0em;
	left:38.6em;
	margin:0;
	padding:0;
	border-color: #000 #bbb #bbb #000;
	background-color:#4a4;
	border-width: 1px;
	border-style: solid;
	width: 16.2em;
	height: 52.25em;
	overflow:auto;
}

p.heading {
	float:left;
	margin: 0.1em 0 0 0.1em;
	font-size: 1.0em;
	font-weight: bold;
	border-style: solid;
	border-color: #60c060 #006000 #006000 #60c060;
	border-width: 1px;
	padding: 1px 0.8em;
	background-color: #208020;
	color: #ffffc0;
}

p.selected {
	color: #fa5;
	cursor:default;
}

.hand {
	cursor:pointer;
}

#players .placeholder {
	clear:left;
	margin:0;
	padding:0;
	position: relative;
	width:15em;
	height:10em;
}

#players .placeholder button{
	margin:0;
	padding:0;
	position: absolute;
	top: 9em;
	left: 11em;
	width:6em;
	font-weight: bold;
}

#players p.win {
	position:absolute;
	top:1.8em;
	left:9.6em;
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	font-weight: bold;
	color: #ff5;
}

#players p.split {
	position:absolute;
	top:3.6em;
	left:9.6em;
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	font-weight: bold;
	color: #ff5;
}

#help {
	position: relative;
	margin:1em 0;
	padding:0 1em;
	border-color: #000 #bbb #bbb #000;
	background-color:#4a4;
	border-width: 1px;
	border-style: solid;
	text-align: justify;
	font-size: 0.9em;
	font-weight:bold;
	color: #ff5;
}

#help p {
	margin:0;
	padding:0;
}

#help h3 {
	font-size:1.3em;
	margin:1em 0 0.2em 0;
	padding:0;
}

#help h4 {
	font-size:1.1em;
	margin:1em 0 0.1em 0;
	padding:0;
}

#help a {
	color: #ffc;
	text-decoration:none;
	border-bottom: dotted 1px;
}

#help a:hover {
	/*color: #4a4;
	background-color: #ff5;*/
	border-bottom: solid 1px;
}

#help span.close {
	margin:0.4em 0 0 0;
	display:block;
	font-size:1.3em;
}

#help span.close a {
	color: #00f;
	background-color: #fff;
	text-decoration:none;
	padding:0 0.2em;
}

#help span.close a:hover {
	background-color: #ff5;
}

.Superscript {
	padding:0 0 0 0.1em;
	font-size:0.8em;
	font-weight:normal;
	vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}