/******************************************************************************
* Styles for page and game areas.                                             *
******************************************************************************/

body {
    background-color: #40a040;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    margin-top: 1em;
    text-align: center;
    width: 950px;
}

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

#header h2
{
    margin: 0;
    padding: 0;
}

#gamingTable {
    background-color: white;
    border-color: #000;
    border-style: solid;
    border-width: 2px;
    padding: 1px;
    border-radius: 40px;
    background-image: url("../graphics/poker_table_25.png");
    background-repeat: no-repeat;
    background-size: auto;
    width: 950px;
    height: 620px;
    position: relative;
}

#dealer {
    position: absolute;
    left: 275px;
    top:  191.25px;
}

#player0 {
    position: absolute;
    left: 12.5px;
    top: 206.25px;
}

#player1 {
    position: absolute;
    left: 125px;
    top:  3px;
}

#player2 {
    position: absolute;
    left: 406.25px;
    top:  3px;
}

#player3 {
    position: absolute;
    left: 687.5px;
    top:  3px;
}

#player4 {
    position: absolute;
    left: 790px;
    top:  206.25px;
}

#player5 {
    position: absolute;
    left: 687.5px;
    top:  425px;
}

#player6 {
    position: absolute;
    left: 406.25px;
    top:  425px;
}

#player7 {
    position: absolute;
    left: 125px;
    top:  425px;
}

.playerInfo {
    width: 140px;
    top: 100px;
    left: 15px;
    position: absolute;
}

.playerStats {
    width: 140px;
}

.playingField {

    /*
    border-color:  #208020 #60c060 #60c060 #208020;
    border-style: solid;
    border-width: 1px;
    */

    /*
    color: #000000;
    margin-bottom: 8px;
    padding: 4px;
    text-align: left;
    */
}

.activeField {
    /*
    background-color: #60c060;
    border-color:  #006000 #90f090 #90f090 #006000;
    */
}

.cardArea {
    height: 91px;
    left: 20px;
    position: absolute;
    top: 3px;
    width: 102px;
}

.playerDiag {
    float: left;
}

.playerDiagRight {
    float: right;
}

.playerTexts {
    float: left;
}

.dealerPlayerTexts {
    position: relative;
    left: 80px;
    top: 100px;
}

.textBox {
    background-color: #ffffc0;
    border-color:  #006000 #90f090 #90f090 #006000;
    border-style: solid;
    border-width: 1px;
    clear: right;
    color: #000000;
    float: right;
    font-family: "Times New Roman", serif;
    font-size: 11pt;
    font-weight: bold;
    /* margin-bottom: .5em; */
    padding: .1em;
    text-align: center;
    width: 14em;
}

.textBox2 {
    background-color: #ffffc0;
    border-color:  #006000 #90f090 #90f090 #006000;
    border-style: solid;
    border-width: 1px;
    clear: right;
    color: #000000;
    float: right;
    font-family: "Times New Roman", serif;
    font-size: 10pt;
    font-weight: bold;
    padding: .1em;
    text-align: center;
    width: 135px;
}

.playerButtons {
    position: absolute;
    left: -10px;
}

.dealerButton {
    display: none;
    width: 25px;
    height: 25px;
}

.actionButton {
    display: none;
    position: absolute;
    top: 50px;
    width: 25px;
    height: 25px;
}

.name {
    padding: .1em;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    font-family: "Times New Roman", serif;
    font-size: 11pt;
    font-weight: bold;
    background-color: #208020;
    border-color: #60c060 #006000 #006000 #60c060;
    color: #ffffc0;
    width: 135px;
}

.result {
    color: #c00000;
}

.won {
    border-color:  #c00000;
}

.name_won {
    border-color: #60c060 #006000 #c00000 #60c060;

}

.dollars { color: #006000; }

#controlsArea {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

#controlsArea2 {
    margin-top: 0.5em;
    text-align: left;
}

.playerControls {
    margin-top: 0.5em;
    margin-left: 1.5em;
    text-align: left;
    visibility: hidden;
    float: left;
}

#rulesBox {
    background-color: #60c060;
    border-color:  #006000 #90f090 #90f090 #006000;
    border-style: solid;
    border-width: 1px;
    display: block;
    margin: 1em auto 1em auto;
    padding: 0.5em 1em 0.5em 1em;
    text-align: left;
    width: 80%;
}

/*
input.button {
    margin-top: .25em;
    width: 8em;
}
*/

.button {
  background-color: #00999e; /* Green */
  border: none;
  color: white;
  padding: 15px 25px;
    margin-bottom: 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
    border-radius: 8px;
      box-shadow: 2px 2px #126476;


}

.bet {
     font-size: 16px;
}

.pass {
    font-size: 12px;
}


.button:hover:not([disabled]) {background-color: #15889c
}

.button:disabled {
      opacity: 0.5;
}

.button:active {
  background-color: #15a7bb;
  box-shadow: 2px 2px #126476;
  transform: translateX(2px) translateY(2px);
}

    /******************************************************************************
    * Playing card styles.                                                        *
    ******************************************************************************/

.card {
    background-image: url("../graphics/cardback.gif");
    position: absolute;
    border-radius: 2px;
    height: 91.25px;
    width: 62.5px;
}

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

.red { color: #ff0000; }

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

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.line_break { clear: both;}
