
@font-face {
    font-family: 'Arial Bold';
    font-style: normal;
    font-weight: normal;
	font-display: swap;
    src: local('Arial Bold'), url('../css/fonts/ARIALBD\ 1.woff') format('woff');
}
h1 .py {
    color: #66C;
}

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

body {
    background-image: url('../images/poker_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    /* background-color: #030A0F; */
    color: #FFF;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 40px;
    overflow-x: hidden;
}
.row.first {
    margin-top: 100px;
}
.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 {
    width: 117px;
    height: 191px;
    text-align: center;
    position: absolute;
    font-size: 14px;
}

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

#players .seat[data-key="1"] {
    top: -28%;
    left: 12%;
}

#players .seat[data-key="2"] {
    top: -28%;
    left: 43%;
}

#players .seat[data-key="3"] {
    top: -28%;
    right: 13%;
}

#players .seat[data-key="4"] {
    top: 2%;
    right: -5%;
}

#players .seat[data-key="9"] {
    bottom: 15%;
    left: -4%;
}

#players .seat[data-key="8"] {
    bottom: -11%;
    left: 14%;
}

#players .seat[data-key="7"] {
    bottom: -11%;
    left: 43%;
}

#players .seat[data-key="6"] {
    bottom: -11%;
    right: 13%;
}

#players .seat[data-key="5"] {
    bottom: 20%;
    right: -4%;
}

.bet-wrapper {
    bottom: -10%;
}
/* #players .seat[data-key="0"] .bet-wrapper {
    bottom: 0%;
    right: -39%;
}

#players .seat[data-key="1"] .bet-wrapper {
    left: -17%;
    bottom: -4%;
}

#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;
    bottom: 5%;
}

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

#players .player.winner{
    background-image: url("../images/winner.gif");
    background-size: contain;
    width: 117px;
    height: 191px;
}
#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 {
    z-index: 10;
}

#players .player .timer {
    position: absolute;
    top: 45%;
    left: 86%;
    width: 122px;
    float: left;
    height: 63px;
}


#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 .player-info p {
    margin: 0px;
}

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

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

#players .player .cards .category {
    background-color: #333;
}
.player-money {
    background-color: #404040;
    width: 106px;
    border-radius: 20px;
    font-family: "Lakki Reddy", serif;
    color: rgba(255, 255, 255, 0.5);
    height: 25px;
    line-height: 31px;
    font-size: 16px;
    border: 2px solid #373737;
}
.player.current .player-money{
    background-color: #990000 !important;
    color: #fff !important;
    border: 2px solid #990000 !important;
    box-shadow: 0px 0px 10px #ccc;
}
.player-name {
    background-color: #404040;
    position: relative;
    width: 91px;
    left: 7px;
    font-family: "Lobster", serif;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.player.current .player-name{
    background-color: #FFCC00 !important;
    color: #000 !important;
    box-shadow: 0px 0px 6px #ccc;
}
.player.current .card.medium.tps {
    box-shadow: 0px 0px 3px #ccc;
}
/*****************************************************
  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.medium.tps:first-child{
    transform: rotate(-12deg);
    position: relative;
    left: 16px;
}

.card.medium.tps:nth-child(2){
    transform: rotate(22deg);
}
.card.small {
    background-image: url(../images/cards-small.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    width: 45px;
    height: 75px;
}
.card.small img {
    width: 83px;
}
.card.selected {
    margin-top: -20px;
}


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

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

#table-wrapper {
    position: relative;
    height: 473px;
    max-width: 966px;
    width: 100%;
    margin: 0px auto;
}

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

}
#table .game-info {
    border: 2px solid #007734;
    max-width: 659px;
    height: 200px;
    width: 100%;
    border-radius: 100px;
    position: relative;
    margin: 0 auto;
    top: 23%;
}
#shared-cards-bg {
    position: absolute;
    left: 0%;
    right: 0%;
    margin: 0 auto;
    top: 32%;
}
#shared-cards-bg ul {
    margin: 0;
    padding: 0;
    display: flex;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
}
#shared-cards-bg ul li {
    width: 45px;
    height: 74px;
    border: 2px solid #007734;
    border-radius: 7px;
    list-style: none;
}
#shared-cards {
    display: flex;
    column-gap: 8px;
    position: absolute;
    left: 30%;
    top: 32%;
}

#table a {
    color: #FFF;
}

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

#table #pots {
    width: 100px;
    text-align: center;
    float: left;
    position: absolute;
    top: 40%;
    left: 7%;
}


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

#logout{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
}

#game-status {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 20%;
}

#game-status p {
    margin: 2px 0px;
    font-size: 9pt;
    background-color: #919191;
    padding: 3px;
    overflow: hidden;
    min-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;
}
#logout-cmd {
    background-color: #AA0000;
    border-color: #AA0000;
    padding: 6px 29px;
}

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

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

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

}
#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: 330px;
    padding: 10px;
    margin: 5px 0px;
}

#player-controls .slider .tooltip {
    display: none;
}
#bet-controls {
    display: flex;
    column-gap: 23px;
    justify-content: center;
}
#bet-controls input[type="button"] {
    padding: 13px;
    width: 259px;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    font-size: 22px;
    border-radius: 20px;
    font-family: 'Arial Bold';
}
.slider-track {
    margin-top: 9px !important;
}
.slider.slider-horizontal .slider-track {
    height: 15px;
    width: 100%;
    top: 50%;
    left: 0;
    background-image: unset;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}
.slider-handle {
    position: absolute;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #FFCC00;
    background-image: unset !important;
}
/* Texas holdem fix */

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

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

@media(max-width:1440px){

    #logout {
        top: 31px;
    }
}
@media(max-width:1300px){
    #shared-cards {
        top: 30%;
    } 
}
@media(max-width:1112px){
    #shared-cards {
        top: 26%;
    
    }    
}
@media(max-width:992px){
    body {
        padding-top: 40px;
    }
    body .container{
        max-width: 878px;
        padding: 0px 20px;
    } 
    #current-player-wrapper {
        margin-top: 129px;
    }
    #bet-controls input[type="button"] {
        width: 245px;
        font-size: 21px;
    } 
    #logout {
        top: 44px;
    }
}
@media(max-width:960px){
    #current-player-wrapper {
        margin-top: 120px;
    }
    #bet-controls input[type="button"] {
        width: 241px;
        font-size: 20px;
    }
    #player-controls .slider {
        width: 310px;
    }
}

@media(max-width:900px){
    body .container {
        max-width: 820px;
    }
    #current-player-wrapper {
        margin-top: 110px;
    }
    #bet-controls input[type="button"] {
        width: 212px;
        font-size: 18px;
        padding: 10px;
    }
    #player-controls .slider {
        width: 294px;
    }
    #table-wrapper {
        height: 448px;
    }
    #table .game-info {
        height: 180px;
        padding: 0px 10px;
    }
    #logout {
        right: 0px;
        max-width: 200px;
        left: 0px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    #shared-cards-bg {
        top: 26%;
    }

}
@media(max-width:830px){
    body .container {
        max-width: 754px;
    }
    #player-controls .slider {
        width: 260px;
    }
    #bet-controls input[type="button"] {
        width: 199px;
        font-size: 17px;
    }
    #table .game-info {
        height: 177px;
        padding: 0px 10px;
        max-width: 587px;
    }
    .player-money {
        font-size: 15px;
    }
    #table-wrapper {
        height: 426px;
    }
    #shared-cards {
        left: 27%;
    }  
}
@media(max-width:767px){
    #table-wrapper {
        max-width:670px;
        height: 411px;
    }
    #table .game-info {
        height: 144px;
        max-width: 78%;
        top: 27%;
    }
    #shared-cards-bg {
        top: 28%;
    }
    #player-controls .slider {
        width: 240px;
    }
    #shared-cards {
        top: 28%;
        left: 22%;
    }
    
}
@media(max-width:667px){
    .row.first {
        margin-top: 157px;
    }
    #table {
        border-radius: 0px;
        border: 15px solid #222;
    }
    #table-wrapper {
        max-width: 595px;
        height: 410px;
    }
    #table .game-info {
        height: 135px;
        max-width: 68%;
    }

    #current-player-wrapper {
        margin-top: 96px;
    }
    #bet-controls input[type="button"] {
        width: 181px;
        font-size: 16px;
    }
    #player-controls .slider {
        width: 211px;
    }
    .slider.slider-horizontal .slider-track {
        height: 13px;
    }
    #shared-cards-bg {
        top: 26%;
    }
    #shared-cards {
        left: 14%;
    }
    #shared-cards-bg ul li{
        display: none;
    }
}
@media(max-width:600px){
    #table-wrapper {
        max-width: 548px;
        height: 408px;
    }
    #bet-controls input[type="button"] {
        width: 164px;
    }
    #table #pots {
        top: -10%;
    }
    
}
@media(max-width:560px){
    #bet-controls input[type="button"] {
        width: 152px;
        font-size: 15px;
        padding: 8px;
    }
    #player-controls .slider {
        width: 190px;
    }
    #table-wrapper {
        max-width: 499px;
    }
    #players .seat[data-key="3"] {
        top: -32%;
        right: 6%;
    }
    #players .seat[data-key="2"] {
        top: -32%;
        left: 42%;
    }
    #players .seat[data-key="1"] {
        top: -32%;
        left: 11%;
    }
    #players .seat[data-key="6"] {
        right: 11%;
    }
    #players .seat[data-key="8"] {
        left: 12%;
    }
    #players .player .timer {
        top: 80%;
        left: 0%;
    }  
}
@media(max-width:480px){
    #current-player-wrapper {
        margin-top: 74px;
    }
    #bet-controls input[type="button"] {
        width: 118px;
    }
    #player-controls .slider {
        width: 170px;
    }
    .slider-track {
        margin-top: 4px !important;
    }
    #bet-controls {
        column-gap: 16px;
    }
    #table-wrapper {
        max-width: 436px;
    }
    #table .game-info {
        height: 107px;
        max-width: 62%;
        padding: 0px 5px;
        border-radius: 0px;
    }
    #shared-cards-bg {
        top: 27%;
    }
    #table #pots {
        top: -63%;
    }
    #players .seat[data-key="6"] {
        right: 4%;
    }
    #shared-cards {
        top: 13%;
    }
}
@media(max-width:414px){
    #bet-controls input[type="button"] {
        width: 109px;
    }
    #player-controls .slider {
        width: 138px;
    }
    #players .seat[data-key="1"] {
        top: -33%;
        left: 5%;
    }
    #players .seat[data-key="2"] {
        top: -33%;
        left: 35%;
    }
    #players .seat[data-key="8"] {
        left: 8%;
    }

    #table-wrapper {
        max-width: 373px;
    }
    #shared-cards-bg ul {
        column-gap: 5px;
        padding: 0px 5px;
    }
}
@media(max-width:370px){
    #table-wrapper {
        max-width: 330px;
        height: 398px;
    }
    #bet-controls input[type="button"] {
        width: 87px;
    }
    #players .seat[data-key="7"] {
        left: 36%;
    }
    #players .seat[data-key="8"] {
        left: 3%;
        bottom: -12%;
    }
    #player-controls .slider {
        width: 119px;
    }   
}