/*  Begin Mining Winner Stylesheet (mining-winner.css) */

#dhub .ghub {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

#dhub .dhc-mining > dwlt {
    width: 100%;
    height: 28px;
    display: none;
    background-color: rgba(28,70,154, 0.09);
    box-sizing: border-box;
}

#dhub .dhc-mining > .icon.left,
#dhub .dhc-mining > .icon.right{
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    top: 2px;
}

#dhub .dhc-mining > .icon.left {
    left: 12px;
}

#dhub .dhc-mining > .icon.right {
    right: 12px;
}

#dhub .dhc-mining > .rules:before,
#dhub .dhc-mining > .params:before {
    content: '';
    font-family: "DHub Icon Font from fontello";
    display: inline-flex;
    color: rgba(244,244,244,0.8);
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#dhub .dhc-mining > .rules:hover:before,
#dhub .dhc-mining > .params:hover:before {
    color: rgb(244,244,244);
}

#dhub .dhc-mining > .rules:before {
    content: '\e849'
}

#dhub .dhc-mining > .params:before {
    content: '\e865';
}

#dhub .dhc-mining > .dshring {
    width: calc(100% - 10px); 
    left: 5px;
    border: 1px solid rgb(247,213,54);
    position: relative;
    background-image: url(/resources/images/pexels-lucie-liz-3165335.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
    border-radius: 10px;
    z-index: 1;
    cursor: default;
    user-select: none;
}

#dhub .dhc-mining .dshring > .balance.dhc {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    background-color: rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px 10px 0 0;
}

#dhub .dhc-mining .dshring .balance.dhc > span {
    color: rgb(244,244,244);
}

#dhub .dhc-mining .dshring .balance.dhc > .label {
    font-size: 0.78em;
}

#dhub .dhc-mining .dshring .balance.dhc > .data {
    color: rgb(50,255,50); 
    font-weight: bold;
    margin-left: 5px;
    font-size: 0.88em;
}

#dhub .dhc-mining .dshring > .stake {
    width: 100%;
    position: relative;
    padding: 12px 8px; 
    background-color: rgba(0,0,0,0.6);
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

#dhub .dhc-mining .dshring.started > .stake:before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0; top: 0;
    width: 100%; 
    height: 100%;
    background-image: url(/resources/images/miner-working.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    opacity: 0.5;
    background-color: rgb(0,0,0);
}

#dhub .dhc-mining .stake .wpr {
    width: 100%;
    position: relative;
    display: flex;
    box-sizing: border-box;
}

#dhub .dhc-mining .stake > .task {
    flex-direction: column;
}

#dhub .dhc-mining .stake .task > div {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 6px 0;
    width: 100%; 
    box-sizing: border-box;
}


#dhub .dhc-mining .stake .label {
    color: white;
    font-size: 0.78em;
}

#dhub .dhc-mining .stake .data {
    color: rgb(247,213,54);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.98em;
}

 #dhub .dhc-mining .stake .nonce > .data {
     font-size: 1.5em;
 }

#dhub .dhc-mining .stake .hash > .data,
#dhub .dhc-mining .stake .twin > .data{
    font-size: 1.8em;
    color: rgb(50,255,50);
}

 #dhub .dhc-mining .stake .duration,
 #dhub .dhc-mining .stake .cashs {
     display: flex;
     margin: 10px 0
 }

 #dhub .dhc-mining .stake .duration > div,
 #dhub .dhc-mining .stake .cashs > div {
    display: inline-flex;
    flex-direction: column;
    width: calc(100% / 3);
    align-items: center;
}

#dhub .dhc-mining .dshring.win-status .cashback > .data {
    color: rgb(50,255,50);
}

#dhub .dhc-mining .dshring.lost-status .cashback > .data {
    color: rgb(255,20,0);
}


 #dhub .dhc-mining > .token {
     position: relative;
     box-sizing: border-box;
     width: 100%;
     padding: 0 8px;
     margin: 5px 0;
 }

#dhub .dhc-mining .token > .duel {
    position: relative;
     box-sizing: border-box;
     width: 100%;
    display: flex;
    align-items: center;
}

#dhub .dhc-mining .token > .duel label.cashin {
    font-size: 0.88em;
    padding-left: 8px;
}

#dhub .dhc-mining .token > .duel input.cashin {
    border: 0;
    font-size: 2.5em;
    width: calc(100% - 40px);
}

#dhub .dhc-mining .token > .duel input.cashin:focus {
    border: 0;
}

#dhub .dhc-mining .token > .duel .btn_wrp {
    position: relative;
    top: 14px;
    right: 8px;
}

/* EVENTS LIST */

 #dhub .dhc-mining > .events {
    width: calc(100% - 16px);
     align-items: center;
     justify-content: center;
     padding: 0 8px;
     border-collapse: collapse;
     position: relative;
     left: 8px;
 }

 #dhub .dhc-mining .events > tbody {
     width: 100%;
     box-sizing: border-box;
 }
 #dhub .dhc-mining .events th > span,
 #dhub .dhc-mining .events td > span {
    display: inline-flex;
     width: 100%;
     font-size: 0.78em;
     align-items: center;
     height: 25px;
     padding: 0 8px;
     box-sizing: border-box;
}

#dhub .dhc-mining .events .head {
    background-color: rgb(28,70,154,0.1);    
}

 #dhub .dhc-mining .events td > span {
     font-size: 0.72em;
 }

#dhub .dhc-mining .events .users > span {
    justify-content: left;
}

#dhub .dhc-mining .events .odds > span {
    justify-content: center;
}

#dhub .dhc-mining .events .cashin > span,
#dhub .dhc-mining .events .cashback > span {
    justify-content: right;
}

#dhub .dhc-mining .events tr[data-status="1"] .cashback > span {
    color: rgb(28,70,154);
    font-weight: bold;
}

#dhub .dhc-mining .events tr[data-status="2"] .cashback > span {
    color: rgb(0,200,15);
    font-weight: bold;
}

#dhub .dhc-mining .events tr[data-status="4"] .cashback > span {
    font-weight: bold;
    color: rgb(255,20,0);
}

/* Dialog */ 
#dhub .dh-dlg_box-sizing .ghub-dlg_ctnr {
    width: 100%;
    box-sizing: border-box;
}

#dhub .dh-dlg_box-sizing .ghub-dlg_ctnr > .mining-winner.rules {
    border: 0;
    width: 100%;
    height: calc(100% - 10px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#dhub .mining-winner.rules > .gspdf-page {
    width: inherit;
    height: auto;
    box-sizing: border-box;
   border-bottom: 1px solid #ccc;
   padding: 8px;
}

#dhub .mining-winner.rules > .gspdf-page:last-child {
    border-bottom: 0;
}

#dhub .mining-winner.rules .gspdf-page > .gspdf-media {
    width: 100%;
}

@media only screen and (max-width: 360px) {
    
}