body, html {
    background: #464;
    font-family: verdana, Arial, sans-serif;
    font-size:14px;
    box-sizing: border-box;
}

.innerDiv {
    position:relative;
    margin: 0 auto;
    width: 830px;
}

#backstage, #multiHeader {
    top:16px;
}

#multiStage {
    position:absolute;
    z-index: 10000;
    display:block;
    color: #cdc;
    width: 100%;
    top: 7%;

}
#multiStage > .innerDiv {
    border: 1px solid #999;
    border-bottom-color: #777;
    border-right-color: #777;
    border-radius: 8px;
    padding: 12px;
    height: 400px;
    width: 600px;
    background: #464;
}
#darkLayer {
    position: absolute;
    margin: 0;
    top:0;
    left:0;
    background: rgba(0,0,0,.5);
    height: 100%;
    width: 100%;
    z-index: 9999;
}

#chatDiv {
    z-index: -1;
    width:100%;
    display:block;
    position:fixed;
    bottom:8px;

}

.chatInnerDiv {
    margin: 0 auto;
    width: 830px;
    color: #cdc;
}
.chatInput {
    width: 790px;
    background: transparent;
    border: 1px solid #999;
    border-bottom-color: #777;
    border-right-color: #777;
    border-radius: 4px;
    margin-right: 4px;
    height: 20px;
    text-indent: 6px;
    color: #cdc;
}
.chatOutput {
    height:130px;
    max-height:130px;
    overflow:auto;
    -ms-overflow-style: none;
    overflow-x: hidden;
    margin-bottom: 8px;
}
.chatOutput::-webkit-scrollbar {
    display: none;
}
#multiHeader {
    /*color: white;*/
    min-height: 12px;
    top: 4px;
}
#multiHeader > div {
    position:relative;
    display: inline-block;
    width: 28%;
    border-left: 1px solid #999;
    border-bottom: 1px solid #777;
    border-bottom-left-radius: 4px;
    color: #cdc;
    height: 24px;
    margin-right: 8px;
}
#multiHeader > div > div {
    display: inline-block;
    width: 16%;
    padding: 4px 6px 4px 4px;
    overflow: hidden;
}

#multiHeader > div :first-child{
    width: 45%;
    white-space: nowrap;
}

.table {
    display: table;
    width: 100%;
}

.table > div {
    display: table-row;
    min-width: 100%;
    height: 32px;
    border-radius: 8px;
}

.table > div.even {
    background: rgba(255,255,255,.2);
}

.table > div > div {
    display: table-cell;
    padding:4px 12px 4px 4px;
    text-align: right;
}

.table > div :first-child {
    text-align: left;
}

.leaveRoomButton {
    right: 10px;
}

.kickPlayerButton {
    height: 18px !important;
    width: 18px;
    right: 0;
    color: white !important;
    padding: 0;
}

.num {
    text-align: right;
    font-weight: bold;
}

#loading {
    color: white;
    top: 200px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    width: 830px;
}

.button {
    position: absolute;
    height: 24px;
    text-align: center;
    border: 1px solid #888;
    border-bottom-color: #666;
    border-right-color: #666;
    border-radius: 4px;
    background: none;
    font-size: 12px !important;
    color: #cdc;
    cursor: pointer;
}

.relButton {
    position: relative !important;
    background: #464 !important;
}

.button span {
    position: relative;
    top: -2px;
}

#nextGame {
    width: 88px;
    left: 6px;
    top: 6px;
}

#back {
    width: 42px;
    left: 6px;
    bottom: 6px;
    font-size: 18px !important;
    line-height: 20px;
    font-weight:bold;
}

#ff {
    width: 42px;
    right: 6px;
    bottom: 6px;
    font-size: 18px !important;
    font-weight:bold;
}

.tile {
    position: absolute;
    width:100px;
    height:144px;
    border: 1px solid #777;
    border-bottom-color: #444;
    border-right-color: #444;
    border-radius: 7px;
    background-repeat: no-repeat;
    color: #cdc;
    user-select: none;
}

.slot {
    background-image: url("../img/card_deck_place_50.png");
}

.heap {
    background-image: none;
}

.ghostCard {
    visibility: hidden;
}

.counterTile {
    position: absolute;
    width: 120px;
    height: 24px;
    border: none;
}

#counterTile {
    left: 16px;
    top: 76px;
    text-align: left;
}

#cashTile {
    right: 16px;
    top: 52px;
    text-align: right;
    font-weight: bold;
}

.adminWrapper {
    left: 240px;
}
#slotKreuz {
    left: 360px;
    background-position: -7px -168px;
}
#slotPik {
    left: 480px;
    background-position: -7px -488px;
}
#slotHerz {
    left: 600px;
    background-position: -7px -328px;
}
#slotKaro {
    left: 720px;
    background-position: -7px -8px;
}

#closedHeap {
    left:0;
}

#openHeap {
    left:120px;
}

.card {
    perspective: 1000px;
    border: none !important;
}

.cardBack, .cardFront {
    position: absolute;
    width:100%;
    height:100%;
    backface-visibility: hidden;
    border-radius: 7px;
}

.inner {
    position: absolute;
    width:100%;
    height:100%;
    border: 1px solid #777;
    border-bottom-color: #444;
    border-right-color: #444;
    border-radius: 7px;
    transition: transform 0.17s;
    transform-style: preserve-3d;
}

.turned .inner {
    transform: rotateY(180deg);
}

.cardFront {
    transform: rotateY(180deg);
    background-image: url("../img/card_deck_50.png");
}

.cardBack {
    background-image: url("../img/card_deck_back_50.png") !important;
    background-position: -8px -8px !important;
}

.historyDisabled {
    opacity: 0.5;
}