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

}

#backstage {
    position:relative;
    top:16px;
    margin: 0 auto;
    width: 830px;
}

#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;
}

.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 1.17s;
}
#openThumbs {
    position: relative;
    left: -36px;
    width: 36px;
    float:left
}
.thumb {
    position: relative;
    width: 20px;
    height: 34px;
    background-image: url("../img/card_deck_50.png");
}

.turned .inner {

}

.turned .inner .cardBack{
    transition: background 0.6s ease;
    background: none;
}

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

.cardBack {
    background-color: rgba(33,33,33,0.666);
}