body {
    font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
    /*font-size: 0.875rem;*/
    font-weight: 400;
    line-height: 1.5;
}

::-webkit-scrollbar-track {background-color: #4c4c4c !important;}

/*a {text-decoration: none !important;}*/

#app {
    margin: 0;
    height: 100%;
}
#connected {
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.connected-bg {
    z-index: 999;
    width: 100%;
    background-color: #404040;
}
.container {
    z-index: 1000;
    /*height: 80px;*/
}

.tab-container ul li {max-width: none;}

.messages {
    background-color: #404040;
    padding-top: 5px;
    padding-left: 10px;
    bottom: 32px;
}

.chat-input {
    flex: 1 1 auto;
    /*width: calc(100% - 55px);*/
    width: 100%;
    height: 30px;
    font-size: 0.6rem;
    color: #fff;
    border: 1px solid #ff8c8f !important;
    background-color: rgba(13,13,13,0);
    margin: 0;
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


#strategy-container .bet-title, #strategy-container span {font-size: 12px;}

#strategy-container .auto-bet-container input[type=number] {
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    padding: 0;
    resize: none;
    border-bottom: 1px solid #bdbdbd;
    text-align: center;
    width: 6em;
    font-size: .8em;
    font-weight: 500;
    color: white;
}

#settings-selector-container {background-color: #404040;}
#settings-selector-container select{font-size: 12px;}
#display-settings-container .option-row:nth-of-type(even) {
    background-color: #333 !important;
}

#text-display-container.in-progress span {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    line-height: 100%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}


/* moneyinput */

.moneyinput-container{
    padding:.2rem 0 0 0;
    display:inline-block;
    width:100%
}
.inputmoney-button{
    display:inline;
    padding:0;
    margin:0;
    width:calc((100% / 3) - 2px);
    margin-right:0;
    height:20px;
    text-align:center;
    color:#505050;
    background-color:#f0b068;
    position:relative;
    text-decoration:none;
    font-weight:700;
    font-size:12px;
    border-radius:5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -webkit-box-shadow:0 4px 0 #ff7a4b,0 9px 25px rgba(0,0,0,.1);
    box-shadow:0 4px 0 #ff7a14,0 9px 25px rgba(0,0,0,.1);
    border:0;
    outline:0;
    font-family:inherit;
    cursor:pointer;
    float:left;
    margin:0 2px 5px 0;
    z-index:500;
    -webkit-touch-callout:none;
    -webkit-user-select:none
}
.inputmoney-button:disabled{
    background:rgba(240,176,104,.6);
    -webkit-box-shadow:0 4px 0 #ffa07e,0 9px 25px rgba(0,0,0,.1);
    box-shadow:0 4px 0 #ff9747,0 9px 25px rgba(0,0,0,.1);
    cursor:not-allowed
}

.users-playing thead tr {
    background-color: #333333;
}
.users-playing thead tr th {
    border: 1px solid #4c4c4c;
    font-weight: bold;
    padding: 3px 5px 3px 5px;
}

/* Playing/Lost/Cashed/Won Colors
   ========================================================================== */

tr.user-won.me {
    background-color: rgba(12, 203, 30, .2) !important;
}
.user-won td, .user-won td a {
    color: #2ecc71;
}

tr.user-lost.me {
    background-color: rgba(224, 62, 62, .2) !important;
}
.user-lost td, .user-lost td a {
    color: #ff5a5f;
}

tr.user-playing.me {
    background-color: rgba(255, 129, 0 , .2) !important;
}
.user-playing td, .user-playing td a {
    color: #e58929;
}

tr.user-cashed.me {
    background-color: rgba(12, 203, 30, .2) !important;
}
.user-cashed td, .user-cashed td a {
    color: #2ecc71;
}

#players-container .users-playing td, .users-playing th, #players-container .users-summary td, .users-summary th {
    overflow: hidden;
    text-align: left;
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 0.9rem;
}






#top-bar .user-login .username {padding-right: 0.5rem}


#top-bar .toggle-flag {
    position: relative;
    line-height: 2rem;
    float: right;
    margin-right: 1rem;
    cursor: pointer;
}
#top-bar .toggle-flag a{
    border: 2px solid grey;
    padding: 2px;
}
.flags-container {
    position: absolute;
    z-index: 10;
    padding: 0px 0px 0px 0px;
    background: #828282;
    top: 28px;
    right: 0;
}
.flags-row {
    display: flex;
    align-content: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: auto;
    /*padding: 5px 5px;*/
}
.flags-row li {
    width: 100%;
    list-style-type: none;
    /*margin: 0 5px;*/
    vertical-align: middle;
    padding: 0 10px;
}
.flags-row li i {
    /*float: left;*/
}
.flags-row li span {
    margin-left: 100px;
    float: left;
}


/* table */

#games-log-container .games-log{
    height: 100%;
    max-height: 100%;
    width: 100%;
}

#games-log-container .games-log th {
    font-weight: bold;
    font-size: 0.8rem;
    text-align: right;
    padding: 3px 5px 3px 5px;
}

#games-log-container .games-log tr {
    width: 100%;
    display: table;
    text-align: left;
}

#games-log-container .games-log thead tr {
    background-color: #333;
}

/* Adjust head columns */

#games-log-container .games-log th:nth-child(1) {
    width: 20%;
    padding-left: 0.2rem;
}

#games-log-container .games-log th:nth-child(2) {
    width: 20%;
}

#games-log-container .games-log th:nth-child(3) {
    width: 20%;
}

#games-log-container .games-log th:nth-child(4) {
    width: 20%;
}

#games-log-container .games-log th:nth-child(5) {
    width: 20%;
}

/* Adjust body columns */

#games-log-container .games-log td:nth-child(1) {
    width: 20%;
    padding-left: 0.2rem;
}

#games-log-container .games-log td:nth-child(2) {
    width: 20%;
}

#games-log-container .games-log td:nth-child(3) {
    width: 20%;
}

#games-log-container .games-log td:nth-child(4) {
    width: 20%;
}

#games-log-container .games-log td:nth-child(5) {
    width: 20%;
}

#games-log-container .games-log td:nth-child(5)>input {
    font-family: inherit;
    font-size: 11px;
    display: block;
    width: 100%;
    font-weight: 400;
    color: #fff;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #666;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    height: 26px;
    padding: .25rem .5rem;
    line-height: 1.5;
    border-radius: .2rem;
}

#games-log-container .games-log td:nth-child(5) .hash-copy {
    width: auto;
}

#games-log-container .games-log thead, #games-log-container .games-log tbody {
}

#games-log-container .games-log thead {
    border-bottom: 1px solid rgba(94, 94, 94, 0.2);
}

#games-log-container .games-log tbody {
    overflow-y: auto;
    height: 100%;
    bottom: 4rem;
}

#games-log-container .games-log tbody tr:nth-of-type(even) {
    /*background: #f9f9f9;*/
}

#games-log-container .games-log tr td {
    font-size: 14px !important;
    text-align: right;
    padding: 5px;
}

#games-log-container .games-log tbody tr:hover {
    color: #ffffff;
    background: rgba(0,0,0,.2) !important;
}

#games-log-container .games-log a {
    font-weight: bold;
}

#games-log-container .games-log tbody tr:hover .games-log-hash {
    color: black;
}

#games-log-container .games-log th, #games-log-container .games-log td {
    border: 1px solid #4c4c4c;
}




#controls-inner-container .bet-input-group input {
    height: 32px;
}

#controls-inner-container {scroll-behavior: auto; overflow-y: scroll;}
/*#controls-inner-container .bet-button-container {height: 70%;}*/
#controls-inner-container .bet-container {margin-top: 10px;}
#controls-inner-container .button-container {height: 160px}
#controls-inner-container .bet-input-group > span:first-child {
    position: absolute;
    font-weight:700;
    top: -1rem;
    border: 0;
    background-color: transparent;
    border-color: transparent;
    color: #b0b3c1;
    white-space: nowrap
}
#controls-inner-container .bet-input-group > input {font-size: .8rem;}
#controls-inner-container .bet-input-group .manual-bet-label span, #controls-inner-container .bet-input-group > span {font-size: 0.6rem;}
#controls-inner-container .bet-button .bet-running-amount .possible-profit {font-size: 1rem;}


.msg-chat-message a {text-decoration: none;}
.msg-chat-message .username {color: #efefaf;}
.msg-chat-message .username:hover {color: #ad6215;}
.msg-chat-message .msg-body a {color: #e58929 !important;}
.msg-chat-message .msg-body a:hover {color: #ad6215 !important;}

#players-container {height: calc(100% - 30px)}
.game-play-info {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    font-size: 0.7rem;
    font-weight: 600;
    background-color: #4c4c4c !important;
}
.game-play-info td {padding: 0.3rem}


@media handheld, only screen and (max-width: 1280px) {
    #controls-inner-container .bet-button {font-size: 1.4rem;}
}
@media handheld, only screen and (max-width: 1000px) {
    #controls-inner-container .bet-button {font-size: 1.2rem;}
    .manual-bet-label > span {display: block; width: 100%;}
    .bet-container .bet-input-group {padding-top: 1rem;}
}
@media handheld, only screen and (max-width: 767px) {
    #top-bar .toggle-flag {margin-right: .5rem;}
    .controls-widget-container {overflow-y: visible}
    .auto-bet-container {float: right; width: calc(100% - 35px); height: 100%;}
    .players-container .header-bg, .players-container table .th-inner {display: block}
    .players-container.show .header-bg, .players-container.show table .th-inner {display: block}
    .player-tab {display: block !important}
    #game-right-container {display: none}
    #game-left-container {width: 100%}
    #controls-selector-container > .buttons-container.small {display: block;}
    #controls-selector-container > .buttons-container {
        width: 128px;
        top: 48px;
        right: 0;
        left: -48px;
        position: absolute;
        display: inline;
        -webkit-transform-origin: center;
        transform-origin: center;
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
        z-index: 501;
        border: 1px solid #4c4c4c;
    }

    #controls-selector-container > .buttons-container .button-holder {
        width: 67px;
    }
    #controls-inner-container .bet-container {margin-top: 0;}
    #controls-selector-container .button-holder a {font-size:.55rem;padding:5px 8px 5px 8px}
    #handheld-detection {display:none}
    #tabs-inner-container .tab-container li.tab.col-2 {display:table-row;width:1.5rem;cursor:pointer}
    #tabs-inner-container .tab-container li.tab.col-2:first-child {position:absolute;top:0;right:0;left:0;bottom:66.66%}
    #tabs-inner-container .tab-container li.tab.col-2:nth-child(2) {position:absolute;top:33.33%;right:0;left:0;bottom:33.33%}
    #tabs-inner-container .tab-container li.tab.col-2:nth-child(2) a{padding-left:.5rem}
    #tabs-inner-container .tab-container li.tab.col-2:nth-child(3) {position:absolute;top:66.66%;right:0;left:0;bottom:0;display:block;}
    #tabs-inner-container .tab-container li.tab.col-2:nth-child(2) a{padding-left:.5rem}#chart-container{bottom:6.7rem}
    #controls-container {top: calc(100% - 7.2rem);}

    #controls-inner-container {left: 28px; top: calc(100% - 6.7rem); width: 95%; overflow-y: hidden;}
    #controls-inner-container .control-inputs-container {width: 60%;}
    #controls-inner-container .button-container {float: right; width: 40%; height: 100%; padding: 0 10px 0 0;}
    #controls-inner-container .button-container .bet-button {height: 100%}
    #controls-inner-container .manual-bet-label > span {display: inline}
    #controls-inner-container .bet-container .bet-input-group {padding-top: 0}
    #controls-inner-container .bet-input-group > span:first-child {
        color: #555;
        text-align: center;
        background-color: #eee;
        border: 0;
        border-radius: 2px;
        font-size: .6rem;
        padding: 0 .2rem;
        border-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        width: 1%;
        white-space: nowrap;
        vertical-align: middle;
        height: .8rem;
        display: table-cell;
        position: static;
        top: initial
    }
    #controls-inner-container .bet-input-group > span:last-child {
        color: #555;
        text-align: center;
        background-color: #eee;
        border: 0;
        border-radius: 2px;
        font-size: 0.6rem;
        font-weight: bold;
        padding: 0 0.5rem;
        border-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        width: 1%;
        white-space: nowrap;
        vertical-align: middle;
        height: 1rem;
        display: table-cell;
    }
    #controls-inner-container .bet-button-container {height: 90%;}

    #strategy-container .buttons-container {display: block;}

    #tabs-controls-col {height: 55%}
    #chart-controls-col {height: 45%}
    .moneyinput-container {position: absolute; margin-top: 42px; width: calc(60% - .9rem)}
    .bet-bar-wrapper {display: block}
}
@media (max-width: 549px) {
    #chart-container {bottom: 8.5rem;}
    #controls-container {top: calc(100% - 8.5rem);}
    /*#controls-selector-container .buttons-container {top: calc(100% - 1.6rem);}*/
    /*#controls-selector-container .button-holder a {font-size: .55rem; padding: 5px 20px 5px 20px;}*/
    /*#controls-selector-container .buttons-container {bottom: 18.3vw; width: 32vw; height: 6vw; right: 77vw;}*/
    /*#controls-selector-container .button-holder a {font-size: .55rem; padding: 0 15px 0 15px;}*/

    #controls-selector-container > .buttons-container {
        width: 136px;
        top: 52px;
        left: -52px;
    }
    #controls-selector-container > .buttons-container .button-holder {
        width: 69px;
    }

    /*#controls-inner-container {top: calc(100% - 8.5rem);}*/
    #controls-inner-container {left: 23px; top: calc(100% - 8rem); overflow-y: hidden;}
    #controls-inner-container .bet-container {margin-top: 0;}
    #controls-inner-container .control-inputs-container {width: 100%;}
    /*#controls-inner-container .button-container {width: 47%; height: calc(100% - 4.4rem); padding-top: .2rem; padding-right: 8px;}*/
    #controls-inner-container .button-container {width: 47%; height: calc(100% - 4.2rem); padding: 8px 8px 0 8px;}
    #controls-inner-container .button-container .bet-button {height:100%;}
    #controls-inner-container .button-container span.button-label, #controls-inner-container .button-container span.button-label.bet-running-amount {font-size: .8rem !important;}
    #controls-inner-container .button-container .possible-profit {font-size: .8rem !important;}
    #controls-inner-container .bet-button-container {height: 100%;}
    #controls-inner-container .moneyinput-container {width: 50% !important;}
    #controls-inner-container .moneyinput-container .inputmoney-button{width: calc((100% / 2) - 2px);}
    #controls-inner-container .manual-bet-label > span {display: inline;}
    .control-inputs-container {padding-left: 5px !important;}

    #strategy-container .buttons-container {display: block;}

    #top-bar .full-screen {padding-right: .2rem;}

    #chart-controls-row {
        display: table-row;
        height: 55%;
    }
    #tabs-controls-row {
        display: table-row;
        height: 45%;
    }
}

/* Modal */
@media (min-width: 1200px) {
    .modal-dialog.modal-xl {
        max-width: 1100px;
    }
}
@media (max-width: 1199.98px) {
    .modal-dialog.modal-xl {
        max-width: 95vw;
    }
}
@media (max-width: 768px) {

    #handheld-detection {display:none}

    .player-info {
        display: flex;
        flex-direction: column;
        padding: 0 .5rem;
    }

    .game-info {
        display: flex;
        flex-direction: column;
        padding: 0 .5rem;
    }
    .game-date {
        padding: 0 .5rem;
    }
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
    background: #4c4c4c;
}
.modal-header .close {
    padding: 0.9rem 0.9rem;
    margin: -1rem -1rem -1rem auto;
    float: right;
    font-size: 1.0rem;
    font-weight: 700;
    line-height: 1;
    color: #FFF;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
.modal-header .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    letter-spacing: 3px;
    font-weight: 500;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    color: #999;
}
.modal-body header > hr {
    border: 2px solid #dee2e6;
}
.modal-body .player-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.modal-body .player-info h3{
    font-size: 1rem;
}
.modal-body .player-info h3 > span:nth-child(1){
    text-transform: uppercase;
    color: #666;
    letter-spacing: 2px;
    font-weight: 500;
}
.modal-body .player-info p{
    padding-top: 5px;
}
.modal-body .player-info p > span{
    color: #666;
    font-size: 15px;
}
.modal-body .player-info p > span:first-child{
    letter-spacing: 2px;
    font-weight: 500;
}
.modal-body .player-info p > span:nth-child(2){
    font-size: 15px;
}
.modal-body .player-info small{
    font-size: 13px;
}
.modal-body .player-statistics {
    width: 100%;
    color: #999;
}
.modal-body .player-statistics h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: .3rem;
    margin-bottom: 1rem;
    margin-left: 2rem;
    font-weight: 500;
}
.modal-body .player-statistics .performance{
    display: flex;
    justify-content: center;
}
.modal-body .player-statistics .performance table {
    width: 75%;
    font-size: 0.7rem;
}
.modal-body .player-statistics .performance table tr:nth-child(2){
    border-bottom: 1px solid #dee2e6;
}
.modal-body .player-statistics .performance table tr:nth-child(2) td{
    padding-bottom: .4rem;
}
.modal-body .player-statistics .performance table tr:nth-child(3) td{
    padding-top: .4rem;
}
.modal-body .player-statistics .performance table td{
    border: 0;
    padding: .2rem;
}
.modal-body .player-statistics table td:nth-child(1){
    text-align: left;
    letter-spacing: 1px;
}
.modal-body .player-statistics table td:nth-child(2){
    text-align: right;
    color: #404040;
    font-weight: 700;
}
.modal-footer .pagination {
    font-size: 14px;
    color: #6c757d;
}
.modal-footer .pagination .active {
    color: #e58929;
    cursor: pointer;
}



/**      */
.modal-body .game-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.modal-body .game-info h3{
    font-size: 1rem;
}
.modal-body .game-info h3 > span:nth-child(1){
    text-transform: uppercase;
    color: #999;
    letter-spacing: 2px;
    font-weight: 500;
}
.modal-body .game-info p{
    padding-top: 5px;
}
.modal-body .game-info p > span{
    color: #999;
    font-size: 15px;
}
.modal-body .game-info p > span:first-child{
    letter-spacing: 2px;
    font-weight: 500;
}
.modal-body .game-info p > span:nth-child(2){
    font-size: 15px;
}
.modal-body .game-info small{
    font-size: 13px;
}

.modal-body .game-date {
    margin-top: 10px;
    font-size: 15px;
}
.modal-body .game-date .busted-at{
    font-size: 14px;
    color: #666;
}
.modal-body .game-date span{
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
}
.modal-body .game-date small{
    color: #262626;
    font-weight: 500;
    font-size: 13px;
}
.modal-body .players h5{
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    color: #999;
    margin-top: .3rem;
    margin-bottom: 1rem
}
.modal-body .players table{

}
.modal-body .players table thead {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.modal-body .players .table thead tr {
    background-color: #333;
    color: #fff;
}
.table-light th, .table-light td, .table-light thead th, .table-light tbody+tbody {
    border-color: #fbfcfc;
}
.table-bordered thead th, .table-bordered thead td {
    border-bottom-width: 2px;
}
.modal-body .players .table {
    font-size: 14px;
}
.modal-body .players .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #4c4c4c;
}

.modal-body .players .table-bordered th, .table-bordered td {
    border-bottom: 1px solid #4c4c4c;
}
.modal-body .players .table-sm th, .table-sm td {
    padding: .3rem;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}
.modal-body .players .table tbody td {
    vertical-align: middle;
}
.modal-body .players .table tbody {
    color: #404040;
}
.modal-body .players .table tbody td a{
    color: #e58929;
    text-decoration: none !important;
    background-color: transparent;
}
.modal-body .players pre{
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.428571429;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.table-light th, .table-light td, .table-light thead th, .table-light tbody+tbody {
    border-color: #fbfcfc;
}

