[class*=" icon-"]:before, [class^=icon-]:before {
    font-size: 32px;
    line-height: 54px;
    margin-left: 5px;
}

html, body{
    width: 100%;
    height: 100%;
    min-width: 1000px;
    padding: 0;
    margin: 0;
    background: #111;
    overflow-x: hidden;
    color: white;
}

a{
    cursor: pointer;
}

.info{
    position: absolute;
    opacity: 0.5;
    transition: opacity 1s;
}

.info a{
    color: white;
}

.settingsButon{
    cursor: pointer;
}

#logo{
    margin: 15px auto;
    width: 250px;
    height: 40px;
    background: url(img/logo.png) no-repeat;
}

#startNewGameButton, #connectButton, #cashoutButton, #playAgainButton{
    width: 150px;
    height: 2em;
    background: #90c739;
    border: 1px solid #52b000;
    color: #fff;
    text-shadow: 0 -1px 0 #52b000;
    text-transform: uppercase;
    font-weight: bold;
    margin: 20px 20px 20px 0;
    outline: none;
    -moz-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -o-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-tap-highlight-color: transparent;
}

#chatButton{
    position: absolute;
    right: 5px;
    bottom: 8px;
    width: 70px;
    background: #90c739;
    border: 1px solid #52b000;
    color: #fff;
    text-shadow: 0 -1px 0 #52b000;
    text-transform: uppercase;
    font-weight: bold;
    outline: none;
    -moz-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -o-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-tap-highlight-color: transparent;
}

#faucetButton, #depositButton, #withdrawButton{
    background: #90c739;
    border: 1px solid #52b000;
    color: #fff;
    text-shadow: 0 -1px 0 #52b000;
    text-transform: uppercase;
    font-weight: bold;
    outline: none;
    -moz-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -o-box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow: 0 2px 0 #225a00,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-tap-highlight-color: transparent;
}

#faucetButton.claimed{
    background: #c9c9c9;
    border: 1px solid #808080;
    color: #fff;
    text-shadow: 0 -1px 0 #808080;
    text-transform: uppercase;
    font-weight: bold;
    outline: none;
    -moz-box-shadow: 0 2px 0 #333333,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: 0 2px 0 #333333,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -o-box-shadow: 0 2px 0 #333333,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow: 0 2px 0 #333333,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-tap-highlight-color: transparent;
}

#startNewGameButton:hover, #connectButton:hover, #cashoutButton:hover, #playAgainButton:hover, #faucetButton:hover, #chatButton:hover, #depositButton:hover, #withdrawButton:hover{
    outline: none;
    cursor: pointer;
}

.chatMessage{
    font-family: sans-serif;
    font-size: 12px;
    word-wrap: break-word;
}

.chatMessage small{
    font-size: 9px;
    color: rgba(255,255,255,0.5);
}

#chat{
    background: url(img/chat_bg.png) no-repeat;
    width: 350px;
    height: 250px;
    
    position: relative;
    float: right;
    z-index: 100;
}

#chatMonitor{
    width: 342px;
    height: 209px;
    
    overflow-x: hidden;
    overflow-y: auto;
    
    margin: 4px;
}

#chat input[type="text"]{
    width: 267px;
    max-width: 267px;
    height: 23px;
    outline: none;
    border: none;
    background: #000;
    padding: 0 5px;
    position: absolute;
    left: 5px;
    bottom: 6px;
    color: white;
}

#chat input[type="text"]::-webkit-input-placeholder {
   color: rgba(255,255,255,0.5);
}

#chat input[type="text"]:-moz-placeholder { /* Firefox 18- */
   color: rgba(255,255,255,0.5);
}

#chat input[type="text"]::-moz-placeholder {  /* Firefox 19+ */
   color: rgba(255,255,255,0.5);
}

#chat input[type="text"]:-ms-input-placeholder {  
   color: rgba(255,255,255,0.5);
}

#chat #connectButton{
    width: 70px;
    
    margin: 0;
    
    position: absolute;
    right: 5px;
    bottom: 5px;
}

#chat #chatButton:active, #chat #chatButton:disabled {
    bottom: 6px;
    box-shadow: 0 1px 1px #000, inset 0 2px 4px #060;
    border: 1px solid #070;
    color: rgba(255, 255, 255, .5);
}

#chat #faucetButton:disabled{
    outline: none;
    cursor: wait;
}

#chat #faucetButton:active, #depositButton:active, #withdrawButton:active{
    margin-bottom: -2px;
    margin-top: 2px;
    box-shadow: 0 1px 1px #000, inset 0 2px 4px #060;
    border: 1px solid #070;
    color: rgba(255, 255, 255, .5);
}

#depositButton:active, #withdrawButton:active{
    margin-top: 0;
}

#chat #connectButton:active, #chat #connectButton:disabled {
    bottom: 3px;
    box-shadow: 0 1px 1px #000, inset 0 2px 4px #060;
    border: 1px solid #070;
    color: rgba(255, 255, 255, .5);
}

#chat #connectionText{
    font-family: sans-serif;
    font-size: 12px;
    position: absolute;
    bottom: -67px;
    right: 0;
    display: none;
}

#chat #connectedUsersText{
    font-family: sans-serif;
    font-size: 12px;
    position: absolute;
    bottom: -67px;
    left: 0;
}

#connectionText a{
    color: #999;
    font-weight: bold;
}

#connectionText a:hover{
    color: white;
    cursor: pointer;
}

#connectButton{
    width: 97.5% !important;
}

#chatMonitor::-webkit-scrollbar {
    width: 6px;
}
#chatMonitor::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(252,252,255,0.2); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
#chatMonitor::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(252,252,255,0.2); 
    -webkit-box-shadow: inset 0 0 6px rgba(252,252,255,0.3); 
}
#chatMonitor::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(252,252,255,0.2);
}

#chatMonitor .chatMessage.notify{
    background: rgba(0,61,255,0.2);
}
#chatMonitor .chatMessage span.notify{
    color: rgb(200,255,200);
}

#faucetClaimCaptcha{
    position: absolute;
    width: 304px;
    left: calc(50% - 152px);
    top: -90px;
    transition: top 1s ease;
    z-index: 1000;
}

#faucetButton{
    left: 0px;
}


/************************************************/
#game_container{
    width: 1000px;
    margin: 80px auto;
    position: relative;
}

#game_left {
    width: 320px;
    height: 320px;
    position: relative;
    float: right;
    margin-right: 10px;
}

#highRoller_log{
    width: 310px;
    height: 310px;
    position: absolute;
    top: 135px;
    left: calc(50% - 500px);
    display: none;
    transition: all 1s;
}

#highRoller_log .title{
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 20px;
    white-space: nowrap;
}

#highRoller_logs .hr_log_item{
    height: 20px;
    width: 310px;
    margin-top: 3px;
    padding-left: 5px;
    line-height: 20px;
    display: inline-block;
}

#highRoller_logs .hr_log_item:hover{
    background: rgba(0,0,0,0.2);
}

#highRoller_logs .hr_log_item a{
    color: white;
}

#highRoller_logs .info {
    position: relative;
    display: inline-block;
    float: right;
}

#game_log {
    width: 310px;
    height: 320px;
    position: relative;
    float: left;
    display: none;
}

#game_log .statistics{
    width: 100%;
    margin: 0;
}

#game_log .statistic{
    width: 33%;
    margin: 0;
}

#game_log .statistic .label{
    color:white;
    font-size: 100%;
}

#game_log #next_value{
    color: #8d4;
    font-size: 100%;
}

#game_log #stake_value{
    color: #fd0;
    font-size: 100%;
}

#game_log #game_actions #cashoutButton{
    font-size: 1.3em;
    background: #e5ac00;
    border: 1px solid #e58a00;
    color: #fff;
    text-shadow: 0 -1px 0 #e58a00;
    box-shadow: 0 2px 0 #a60,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    width: 100%;
    margin: 0;
    text-align: center;
}

#game_log #playAgainButton{
    font-size: 1.3em;
    background: #e5ac00;
    border: 1px solid #e58a00;
    color: #fff;
    text-shadow: 0 -1px 0 #e58a00;
    box-shadow: 0 2px 0 #a60,0 3px 1px #000,inset 0 1px 0 rgba(255,255,255,.2);
    margin: 0;
    text-align: center;
    position: absolute;
    top: 5px;
    right: 0;
}

#game_log #game_actions #cashoutButton:active, #game_log #game_actions #cashoutButton:disabled, #game_log #playAgainButton:active, #game_log #playAgainButton:disabled {
    margin-top: 2px;
    -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, .2);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .2);
    color: rgba(255, 255, 255, .5)
}

#game_actions{
    height: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#board {
    margin: 0;
    background: #333;
    padding: 16px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: inline-block;
    -moz-box-shadow: 0 1px 2px #000;
    -webkit-box-shadow: 0 1px 2px #000;
    box-shadow: 0 1px 2px #000;
    border: 1px solid #444;
    border-bottom-color: #111;
    border-top-color: #555;
    list-style: none;
}

#board #startNewGameButton{
    width: 150px;
    position: absolute;
    top: 160px;
    left: 85px;
}

#board #startNewGameButton:active, #board #startNewGameButton:disabled {
    top: 162px;
    box-shadow: 0 1px 1px #000, inset 0 2px 4px #060;
    border: 1px solid #070;
    color: rgba(255, 255, 255, .5);
}

#board .tile {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    line-height: 1.2em;
}

#board .tile {
    width: 19%;
    height: 19%;
    background: #ddd;
    margin: .5%;
    float: left;
    border: 1px solid #000;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 #fff, 0 1px 0 #222;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
}

#board .active_tile, #board .tile:active {
    background: #ccc;
    box-shadow: inset 0 1px 1px #333;
}

#board .tile.pressed {
    background: #488f2f;
    background: -moz-radial-gradient(center, ellipse cover, #5ba825 0, #488f2f 80%);
    background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, #5ba825), color-stop(80%, #488f2f));
    background: -webkit-radial-gradient(center, ellipse cover, #5ba825 0, #488f2f 80%);
    background: -o-radial-gradient(center, ellipse cover, #5ba825 0, #488f2f 80%);
    background: -ms-radial-gradient(center, ellipse cover, #5ba825 0, #488f2f 80%);
    background: radial-gradient(ellipse at center, #5ba825 0, #488f2f 80%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#5ba825', endColorstr='#488f2f', GradientType=1);
    box-shadow: inset 0 3px 3px #111, 0 -1px 0 #444;
    pointer-events: none;
}

#board .tile.bomb {
    background: #ff5d00;
    background: -moz-radial-gradient(center, ellipse cover, #ff5d00 0, #a00 80%);
    background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, #ff5d00), color-stop(80%, #a00));
    background: -webkit-radial-gradient(center, ellipse cover, #ff5d00 0, #a00 80%);
    background: -o-radial-gradient(center, ellipse cover, #ff5d00 0, #a00 80%);
    background: -ms-radial-gradient(center, ellipse cover, #ff5d00 0, #a00 80%);
    background: radial-gradient(ellipse at center, #ff5d00 0, #a00 80%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff5d00', endColorstr='#aa0000', GradientType=1);
}

#board .tile span.tile_val {
    text-align: center;
    display: block;
    position: relative;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: -.05em;
    color: #B8FF54;
}

#board .tile.reveal i {
    color: #a00;
}

#board .tile.bomb i {
    color: #fff;
}

#board .loading {
    font-size: 32px;
    color: rgba(0,0,0,0.5);
}

#betInputArea{
    width: 100%;
    margin-top: -10px;
}
#bet{
    text-align: right;
}

#bombsButtons{
    margin-top: 10px;
    width: 100%;
}
#bombsButtons .button{
    width: 20%;
    height: 3em;
    margin: 0;
    background: #444;
    padding: 0;
    color: #fff;
    border: 1px solid #666;
    border-top-color: #777;
    border-right-color: #111;
    border-bottom: 2px solid #1a1a1a;
    box-sizing: border-box;
    -moz-box-shadow: 0 .1em .1em #000;
    -webkit-box-shadow: 0 .1em .1em #000;
    -o-box-shadow: 0 .1em .1em #000;
    box-shadow: 0 .1em .1em #000;
}
#bombsButtons .button.active, #bombsButtons .button:active{
    background: #333;
    border: 1px solid #111;
    border-top-color: #000;
    box-shadow: inset 0 .2em .2em #111;
    font-weight: 600;
}

#logs{
    position: absolute;
    width: 310px;
    height: 270px;
    left: 0;
    top: 50px;
}

#logs .log_item:nth-child(1){
    opacity: 1;
}

#logs .log_item:nth-child(2){
    opacity: 0.85;
}

#logs .log_item:nth-child(3){
    opacity: 0.7;
}

#logs .log_item:nth-child(4){
    opacity: 0.55;
}

#logs .log_item:nth-child(5){
    opacity: 0.4;
}

#logs .log_item{
    height: 50px;
    width: 310px;
    margin-top: 3px;
    padding-left: 5px;
    opacity: 0;
    line-height: 16px;
}

#depositButton, #withdrawButton{
    display: none;
}

#customBombsInputArea{
    display: none;
}

#betControllButtons{
    position: relative;
    top: -15px;
    left: calc(50% - 80px);
    height: 15px;
    width: 160px;
}

#betControllButtons .button{
    width: 25%;
    padding: 0 5px;
    margin: 0;
    background: #444;
    color: #fff;
    border: 1px solid #666;
    border-top-color: #777;
    border-right-color: #111;
    border-bottom: 2px solid #1a1a1a;
    box-sizing: border-box;
    -moz-box-shadow: 0 .1em .1em #000;
    -webkit-box-shadow: 0 .1em .1em #000;
    -o-box-shadow: 0 .1em .1em #000;
    box-shadow: 0 .1em .1em #000;
    font-size: 12px;
}

#betControllButtons .button:active{
    background: #333;
    border: 1px solid #111;
    border-top-color: #000;
    box-shadow: inset 0 .2em .2em #111;
    font-weight: 600;
}

#game_allbets_log{
    top: 480px;
    width: 680px;
    position: absolute;
    left: calc(50% - 180px);
}

#game_allbets_log table{
    background-color: transparent;
}

#game_allbets_log thead tr th{
    width: 320px;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 20px;
    white-space: nowrap;
    background: transparent;
    padding: 0;
}

#game_allbets_log tbody tr td{
    height: 26px;
    padding: 0 0 0 10px;
    color: #fff;
}

#game_allbets_log tbody tr td a{
    font-weight: bold;
    color: white;
}

#game_allbets_log tbody tr td.win{
    border-left: 4px solid #8D4;
}

#game_allbets_log tbody tr td.lose{
    border-left: 4px solid #E74C3C;
}

#macroInfo{
    color: rgba(255,255,255,0.3);
    width: 100%;
    text-align: center;
    margin-top: 100px;
    font-size: 10px;
    line-height: 12px;
}
