h1 .py {
    color: #66C;
}

a:hover, a:active, a:visited {
    text-decoration: none;
}

body {
    background-color: #000;
    color: #EED;
}

.jumbotron {
    color: #333;
}

#main a {
    color: #EED;
}

#login-bar {
    width: 320px;
    text-align: center;
}

#login-bar .login-link {
    display: block;
    width: 320px;
    border-radius: 10px;
    font-size: 20pt;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 10px 0px;
}

#login-bar .login-link.facebook {
    background-color: #336699;
    background-image: url('../images/facebook-logo.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
}

#login-bar .login-link.test {
    background-color: #333;
}

/*****************************************************
  Players

 *****************************************************/

#players .seat {
    float: left;
    width: 80px;
    height: 120px;
    text-align: center;
    padding: 10px 5px 5px 5px;
    margin: 5px 25px 0px 25px;
    position: absolute;
    font-size: 7pt;
}

#players .seat[data-key="0"] {
    top: -70px;
    left: 0%;
}

#players .seat[data-key="1"] {
    top: -100px;
    left: 20%;
}

#players .seat[data-key="2"] {
    top: -100px;
    left: 40%;
}

#players .seat[data-key="3"] {
    top: -100px;
    left: 60%;
}

#players .seat[data-key="4"] {
    top: -70px;
    left: 80%;
}

#players .seat[data-key="9"] {
    bottom: -50px;
    left: 0%;
}

#players .seat[data-key="8"] {
    bottom: -80px;
    left: 20%;
}

#players .seat[data-key="7"] {
    bottom: -80px;
    left: 40%;
}

#players .seat[data-key="6"] {
    bottom: -80px;
    left: 60%;
}

#players .seat[data-key="5"] {
    bottom: -50px;
    left: 80%;
}


#players .seat[data-key="0"] .bet-wrapper {
    top: 125px;
    left: 50px;
}

#players .seat[data-key="1"] .bet-wrapper {
    top: 125px;
    left: 0px;
}

#players .seat[data-key="2"] .bet-wrapper {
    top: 125px;
    left: -10px;
}

#players .seat[data-key="3"] .bet-wrapper {
    top: 125px;
    left: -25px;
}

#players .seat[data-key="4"] .bet-wrapper {
    top: 125px;
    right: 80px;
}

#players .seat[data-key="9"] .bet-wrapper {
    top: -30px;
    left: 50px;
}

#players .seat[data-key="8"] .bet-wrapper {
    top: -30px;
    left: 0px;
}

#players .seat[data-key="7"] .bet-wrapper {
    top: -30px;
    left: -10px;
}

#players .seat[data-key="6"] .bet-wrapper {
    top: -30px;
    left: -25px;
}

#players .seat[data-key="5"] .bet-wrapper {
    top: -30px;
    right: 80px;
}

#players .player-info {
    position: absolute;
    top: 5px;
    left: -5px;
    overflow: hidden;
}

#players .player.fold .cards {
    opacity: 0.5;
}

#players .player.winner .player-info {
    left: -10px;
    top: -15px;
    width: 80px;
    height: 80px;
    color: #FFF;
}

#players .player.winner .player-name {
    font-weight: bold;
    font-size: 11pt;
}

#players .player .player-info {
    width: 70px;
    height: 70px;
    border-radius: 70px;
    background-color: #333;
    z-index: 10;
}

#players .player .player-name {
    padding-top: 15px;
}

#players .player.current .player-info {
    background-color: #2377c6;
}

#players .player .timer {
    position: absolute;
    top: -15px;
    left: -25px;
    width: 110px;
    float: left;
}

#players .player .bet-wrapper {
    position: absolute;
    width: 60px;
    height: 25px;
}

#players .player .bet-wrapper .bet {
    background-image: url(../images/chips-small.png);
    background-repeat: no-repeat;
    background-position: left;
    padding: 5px 0px 0px 30px;
}

#players .player .timer .textDiv_Seconds {
    display: none;
}

#players .player .player-info p {
    margin: 0px;
}

#players .player .cards {
    position: absolute;
    top: 80px;
    left: -8px;
    width: 90px;
    z-index: 20;
}

#players .player .cards .card {
    margin-left: -8px;
}

#players .player .cards .category {
    background-color: #333;
}


/*****************************************************
  Cards

 *****************************************************/

.card {
    float: left;
    margin: 1px;
    background-repeat: no-repeat;
}


.card.large {
    background-image: url(../images/cards-large.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    width: 75px;
    height: 125px;
}
.card.medium {
    background-image: url(../images/cards-medium.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    width: 45px;
    height: 75px;
}
.card.small {
    background-image: url(../images/cards-small.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    width: 24px;
    height: 40px;
}

.card.selected {
    margin-top: -20px;
}


/*****************************************************
  Table

 *****************************************************/

#table-wrapper {
    position: relative;
    height: 300px;
    margin-top: 110px;
    margin-bottom: 80px;
    width: 500px;
}

#table {
    background-color: #354b1c;
    width: 100%;
    height: 100%;
    border-radius: 200px;
    border: 20px solid #222;
    padding: 10px 5px 10px 5px;
    font-size: 8pt;
}

#table .game-info {
    margin: 50px 10px;
}

#table a {
    color: #FFF;
}

#table .row {
    margin-left: 0px;
    margin-right: 0px;
}

#table #pots {
    width: 100px;
    text-align: center;
    float: left;
}

#table #pots .pot {
    background-image: url(../images/chips-50.png);
    background-repeat: no-repeat;
    padding: 15px 0px 10px 40px;
    height: 45px;
    font-size: 12pt;
}

#game-status {

}

#game-status p {
    margin: 2px 0px;
    font-size: 9pt;
    background-color: #222;
    padding: 3px;
    overflow: hidden;
    height: 30px;
}

#game-status p[data-key="1"] {
    opacity: 0.8;
}

#game-status p[data-key="2"] {
    opacity: 0.6;
}

#game-status p[data-key="3"] {
    opacity: 0.4;
}

#game-status p[data-key="4"] {
    opacity: 0.2;
}

#game-log {
    display: none;
}

#game-log {
    height: 200px;
    background-color: #333;
    overflow: auto;
    width: 100%;
    margin: 10px 0px;
}

#game-log p {
    margin: 5px 10px;
}


/*****************************************************
  Current player

 *****************************************************/

#current-player {
    display: none;
    margin-top: 15px;
}

#current-player .cards {
    width: 280px;
    margin: 10px -25px 0px 25px;
    position: relative;
}

#current-player .cards .category {
    clear: both;
    width: 280px;
    text-align: center;
    background-color: #333;
    padding: 20px;
    border-radius: 20px;
    margin-left: -25px;
}

#current-player .cards .card {
    margin-left: -25px;
    cursor: pointer;
}


/*****************************************************
  Current player controls

 *****************************************************/

#player-controls .btn,
#player-controls .slider {
    width: 280px;
    padding: 10px;
    margin: 5px 0px;
}

#player-controls .slider .tooltip {
    display: none;
}

/* Texas holdem fix */

#game-wrapper.texas-holdem #players .player .cards {
    top: 70px;
    left: 5px;
}

#game-wrapper.texas-holdem #players .player .cards .card {
    margin-left: 0px;
}
