﻿
* {
    -moz-user-select: none
}

.center-inline-wrapper {
    text-align: center
}

.only-chrome {
    display: none
}

#playArea img {
    max-width: none!important
}

.single-list {
    height: 400px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 10px;
    width: 700px
}

.single-list a {
    display: block;
    margin: 0 auto
}

.single-list .ui-btn {
    padding: 5px 0;
    border: none
}

.single-list .ui-block-a,
.single-list .ui-block-b,
.single-list .ui-block-c {
    text-align: center
}

.columnButtonWrapper {
    padding: 0 2px
}

.columnButtonWrapper span {
    font-weight: normal!important
}

.ui-popup.ui-content,
.ui-popup .ui-content {
    overflow-y: auto
}

.ui-popup-container {
    overflow-y: auto;
    max-height: 100%
}

.ui-field-contain div.ui-slider-switch,
.ui-field-contain.ui-hide-label div.ui-slider-switch {
    width: 20%!important
}

#new-game-dialog .ui-btn {
    -webkit-transform: translateZ(0)
}

#options-dialog:not(.onphone) .ui-field-contain {
    min-width: 400px;
    max-width: 450px
}

.ui-field-contain label.ui-slider {
    width: 70%
}

.ui-field-contain div.ui-slider {
    width: 20%
}

.ui-dialog .ui-header {
    margin-top: 10px
}

.ui-dialog-contain {
    margin-top: 50px
}

#main-ui .ui-header .ui-btn-icon-notext,
.hide-back.ui-header .ui-btn-icon-notext {
    display: none
}

.ui-dialog[data-url^="/"] .ui-header,
.ui-dialog[data-url^="/"] .ui-content,
.ui-dialog[data-url^="/"] .ui-footer,
.ui-dialog[data-url^="/"] .ui-dialog-contain {
    max-width: 600px;
    width: 600px;
    box-sizing: border-box
}

#backgrounds-list a.ui-link-inherit {
    padding-left: 148px
}

#backgrounds-list .ui-li-thumb {
    max-width: 128px
}

#backgrounds-list .list-item-inner {
    left: 140px
}

#rules-dialog-popup {
    right: 0 !important;
    left: auto !important;
    height: 100%
}

#rules-dialog:not(.onphone) {
    width: 500px;
    border: 1px solid #696969;
    border-right: none;
    background: rgba(245, 255, 250, .9);
    margin: 0;
    text-shadow: none!important;
    color: black;
    height: 100%;
    overflow-y: auto;
    border-top: none;
    border-bottom: none
}

#rules-dialog.onphone {
    background: #eee
}

.ui-corner-all.onphone {
    border-radius: 0
}

.pieChart {
    height: 200px;
    width: 200px;
    margin: 5px auto;
    position: relative
}

.pieBg {
    height: 100%;
    width: 100%;
    border-radius: 200px
}

.pie,
.pieCover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px
}

.pieCover,
.pieBg {
    background: #A2E100
}

.pie {
    background: #E12B1E
}

.pieLegend {
    position: absolute;
    border-bottom: 1px solid black;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    width: 120px;
    text-align: center
}

.pieLegend>span {
    position: relative
}

.pieLegend.lleft>span {
    left: -50%
}

.pieLegend.lright>span {
    right: -50%
}

.bigshadow {
    display: none
}

.card.moving .bigshadow {
    display: block
}

.card.moving .shadow {
    visibility: none
}

.card .light,
#redeal-button-outer>.light {
    display: none
}

.cardFront,
.cardBack {
    backface-visibility: hidden
}

.card .cardFront {
    border: none
}

.foundation.highlight,
.cell.highlight,
#fakeCard.highlight {
    box-shadow: 0 0 30px 10px yellow, inset 0 0 30px yellow;
    background: #FFD700;
    background: rgba(255, 255, 255, 0.5)
}

#playArea {
    position: absolute;
    top: 32px;
    bottom: 43px;
    left: 0px;
    right: 0px
}

.ios7-app #playArea {
    top: 47px
}


#game-ui {
    -ms-touch-action: none;
    touch-action: none;
    background: #FFF;
    background-size: 100% 100%;
    position: relative;
    height: 100%;
    width: 100%;
    filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF', endColorstr='#FFF')
}

.bottomBar {
    position: absolute;
    left: 0;
    right: 0;
    height: 35px;
    bottom: 8px;
    -webkit-transition-duration: 0.2s
}

.bottomBar.hidden {
    -webkit-transform: translateY(50px)
}

.barLeft,
.barRight {
    position: absolute;
    top: 0
}

.barLeft {
    left: 80px
}

.barRight {
    right: 10px
}

.bottomButton {
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: bold;
    padding: 0.5em 0.8em 0.5em 0em;
    padding-left: 40px;
    margin-left: 8px;
    height: 35px;
    vertical-align: bottom;
    border-radius: 5px;
    background-color: grey;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    background-repeat: no-repeat, no-repeat;
    background-position: top center, 10px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.3), inset 0 -15px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0)
}

.bottomButton:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -15px 30px rgba(0, 0, 0, 0.2), 0 0 6px rgba(255, 255, 255, 0.7)
}

.bottomButton:not(.anchor):active,
.bottomButton.toggled {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 10px rgba(255, 255, 255, 0.01), inset 0 10px 20px rgba(255, 255, 255, 0.1), inset 0 -15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.4)
}

.buttonGroup {
    width: 87px;
    display: inline-block;
    vertical-align: bottom
}

.anchor {
    margin-left: 0
}

.subButton {
    background: url(transparent.png)
}

.buttonGroup:hover>.subButton {
    height: 120px;
    display: block
}

.more-but {
    display: none;
    background-image: url(), url(icon_buttons/more.png)
}

#settings-but {
    background-image: url(), url(icon_buttons/settings.png)
}

#new-game-but {
    background-image: url(), url(icon_buttons/new_game.png)
}

#game-but-inner {
    background-image: url(), url(icon_buttons/game.png)
}

#restart-but {
    background-image: url(), url(icon_buttons/restart.png)
}

#change-solitaire-but {
    background-image: url(), url(icon_buttons/change_solitaire.png)
}

#undo-but {
    background-image: url(), url(icon_buttons/undo.png)
}

#hint-but {
    background-image: url(), url(icon_buttons/hint.png)
}

.bottomButton.scores-but {
    background-image: url(), url(icon_buttons/scores.png)
}

.bottomButton.rules-but {
    background-image: url(), url(icon_buttons/rules.png)
}

.bottomButton.about-but {
    background-image: url(), url(icon_buttons/about.png);
    padding-right: 0
}

@media(-webkit-min-device-pixel-ratio:2) {
    .bottomButton {
        background-size: 100% 100%, 24px 24px
    }
    .more-but {
        display: none;
        background-image: url(), url(icon_buttons/more@2x.png);
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/more@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/more@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/more@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/more@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/more@2x.png)
    }
    #settings-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/settings@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/settings@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/settings@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/settings@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/settings@2x.png)
    }
    #new-game-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/new_game@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/new_game@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/new_game@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/new_game@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/new_game@2x.png)
    }
    #game-but-inner {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/game@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/game@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/game@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/game@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/game@2x.png)
    }
    #restart-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/restart@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/restart@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/restart@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/restart@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/restart@2x.png)
    }
    #change-solitaire-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/change_solitaire@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/change_solitaire@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/change_solitaire@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/change_solitaire@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/change_solitaire@2x.png)
    }
    #undo-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/undo@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/undo@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/undo@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/undo@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/undo@2x.png)
    }
    #hint-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/hint@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/hint@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/hint@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/hint@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/hint@2x.png)
    }
    .bottomButton.scores-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/scores@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/scores@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/scores@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/scores@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/scores@2x.png)
    }
    .bottomButton.rules-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/rules@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/rules@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/rules@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/rules@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/rules@2x.png)
    }
    .bottomButton.about-but {
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/about@2x.png);
        background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/about@2x.png);
        background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/about@2x.png);
        background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/about@2x.png);
        background-image: linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(220, 220, 220, 0.35) 40%, rgba(255, 255, 255, 0) 40%), url(icon_buttons/about@2x.png)
    }
}

.bottomButton.winApp {
    background: none;
    background-size: 100%;
    background-repeat: no-repeat;
    font-size: 0;
    height: 75px;
    width: 70px;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: -30px
}

.bottomButton.winApp:hover {
    box-shadow: none;
    border: none
}

.bottomButton.winApp:active {
    box-shadow: none;
    border: none
}

#settings-but.winApp {
    background-image: url(icon_buttons/win_app/settings.png)
}

#new-game-but.winApp {
    background-image: url(icon_buttons/win_app/new_game.png)
}

#change-solitaire-but.winApp {
    background-image: url(icon_buttons/win_app/change_solitaire.png)
}

#undo-but.winApp {
    background-image: url(icon_buttons/win_app/undo.png)
}

#hint-but.winApp {
    background-image: url(icon_buttons/win_app/hint.png)
}

.bottomButton.scores-but.winApp {
    background-image: url(icon_buttons/win_app/scores.png)
}

.bottomButton.rules-but.winApp {
    background-image: url(icon_buttons/win_app/rules.png)
}

.bottomButton.about-but.winApp {
    background-image: url(icon_buttons/win_app/about.png)
}

.ios7-app #topBar {
    top: 15px
}

#topBar {
    position: relative;
    height: 30px;
    width: 100%;
    z-index: 198;
    text-align: center
}

#topBarLeftContainer {
    position: absolute;
    left: 0;
    height: 100%
}

#topBarLeftContainer>*,
#topBarRightContainer>* {
    margin: 0;
    display: block;
    float: left;
    height: 30px
}

.topBarButton {
    display: inline-block;
    height: 100%;
    width: 30px;
    cursor: pointer;
    text-align: center
}

#topBar *:hover+.buttonHint {
    display: block
}

.topBarButton:active {
    background-color: #222;
    color: white;
    text-shadow: none;
    box-shadow: inset 0 0 10px black
}

.topBarButtonInner {
    height: 100%;
    width: 100%;
    background-size: 87%;
    background-position: center;
    background-repeat: no-repeat
}

.topBarButtonInner:active {
    background-size: 70%
}

#gameName,
.top-display {
    color: #fff;
    height: 20px;
    cursor: default;
    line-height: 22px
}

.top-display {
    font-size: 20px;
    min-width: 150px;
    text-align: left;
    padding: 8px 15px 1px 5px;
    font-weight: bold
}

#display-time+.buttonHint {
    margin-left: -103px
}

#gameName {
    display: inline-block;
    font-size: 26px;
    padding: 3px 10px;
    line-height: 30px;
    height: 30px;
    font-weight: bold
}

.win8 #gameName {
    font-size: 28px;
    font-weight: normal
}

.win8 .top-display {
    font-weight: normal
}

.win8 .top-display>span.display-content {
    font-size: 28px
}

#topBarRightContainer {
    position: absolute;
    right: 0;
    top: 0;
    margin-bottom: 0;
    height: 100%
}

#stats-dialog:not(.onphone) table {
    border-collapse: collapse;
    margin: 20px auto;
    width: 350px
}

#stats-dialog:not(.onphone) td {
    padding: 8px;
    text-align: left
}

#darkenArea {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 2000;
    background: transparent;
    background: url(transparent.png);
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s
}

#darkenArea.hidden {
    visibility: hidden
}

.content-holder {
    margin-bottom: 40px
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #303030;
    box-shadow: inset 0px 0px 3px #bbb, 0px 0px 3px #202020;
    background: #808080;
    background-image: -moz-linear-gradient(#A0A0A0, #606060);
    background-image: -o-linear-gradient(#A0A0A0, #606060);
    background-image: -webkit-linear-gradient(#A0A0A0, #606060);
    cursor: pointer;
    font-size: 13px;
    margin-left: 3px;
    margin-right: 3px;
    min-width: 50px;
    display: inline-block
}

button:hover {
    background-image: -moz-linear-gradient(#b0bbb0, #707b70);
    background-image: -o-linear-gradient(#b0bbb0, #707b70);
    background-image: -webkit-linear-gradient(#b0bbb0, #707b70)
}

button:active {
    background-image: -moz-linear-gradient(#909090, #707070);
    background-image: -o-linear-gradient(#909090, #707070);
    background-image: -webkit-linear-gradient(#909090, #707070);
    box-shadow: inset 0 0 3px #333;
    border-color: #333
}

.buttonHolder {
    text-align: center
}

#gameName + .buttonHint + .helpText {
    left: 50%;
    margin-left: -150px
}

#topBarRightContainer + .helpText {
    right: 0
}

#shareButtonsHolder + .helpText {
    bottom: 20px;
    left: 50%;
    margin-left: -150px
}

#loadingBox {
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 20px;
    border: 1px solid black;
    box-shadow: 0 0 20px black;
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    width: 150px;
    margin-left: -76px;
    left: 50%;
    position: absolute;
    height: 60px;
    top: 50%;
    margin-top: -31px
}

#loadingBox img {
    position: relative;
    top: -20px
}

html {
    max-height: 100%;
    height: 100%!important;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0!important
}

html.ios7 {
    height: 671px!important
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    position: relative;
    height: 100%!important;
    max-height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 100%;
    overflow: hidden
}

html.with-phone-popup {}

html.with-phone-popup body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative
}

.ui-body-c,
.ui-body-c input,
.ui-body-c select,
.ui-body-c textarea,
.ui-body-c button,
.ui-bar-a,
.ui-bar-a input,
.ui-bar-a select,
.ui-bar-a textarea,
.ui-bar-a button,
.ui-btn-up-a,
.ui-btn-hover-a,
.ui-btn-down-a,
.ui-btn-up-c,
.ui-btn-hover-c,
.ui-btn-down-c {
    font-family: Helvetica, Arial, sans-serif
}

.box,
#loadingBox,
button,
#main-nav li,
.title,
#group-games span {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.3)
}

#gameName,
.top-display,
.bottomButton {
    text-shadow: 0 -1px 0 rgba(70, 70, 70, 0.9), 0 1px 0 rgba(195, 195, 195, 0.3);
    -webkit-transform: translateZ(0)
}

#games-content {
    overflow-x: hidden;
    padding: 0 15px
}

#group-games {
    max-width: 900px;
    margin: 0 auto
}

#group-games span {
    display: inline-block;
    vertical-align: top;
    height: 151px;
    width: 260px;
    margin: 15px;
    line-height: 20px;
    position: relative;
    cursor: pointer;
    border-radius: 0;
    font-weight: bold;
    text-shadow: none;
    text-align: center
}

#group-games img {
    height: 141px;
    width: 250px;
    border-radius: 0;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6)
}

#group-feedback.posted textarea,
#group-feedback.posted button {
    display: none
}

a {
    color: #ccc
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
    display: block
}

#win-dialog:not(.onphone) {
    width: 400px
}

#rateapp-dialog:not(.onphone) {
    width: 350px
}

#appearance-dialog {
    font-size: 13px
}

#settings-dialog:not(.onphone) {
    width: 300px
}

.card {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden
}

.mobilePhone #gameName,
.mobilePhone .top-display {
    height: 17px;
    line-height: 17px
}

.mobilePhone .top-display {
    font-size: 8px;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
    padding: 1px 1px 1px 1px
}

.mobilePhone #gameName {
    font-size: 10px;
    padding: 1px 5px;
    line-height: 15px;
    height: 15px
}

.mobilePhone .barLeft {
    left: 5px
}

.mobilePhone .barRight {
    right: 2px
}

.mobilePhone .bottomButton {
    padding: 10px 5px 5px 5px;
    padding-left: 5px;
    margin: 0;
    margin-left: -0.37em;
    height: 20px;
    box-sizing: content-box;
    vertical-align: bottom;
    border-radius: 0;
    background-position: top center, bottom right;
    background-size: 100%, 0;
    font-size: 11px;
    line-height: normal
}

.mobilePhone #appearance-dialog .ui-radio .ui-btn-text {
    font-size: 11px
}

.onlyphone {
    display: none!important
}

.mobilePhone .onlyphone {
    display: block!important
}

#winAdContainer {
    position: absolute;
    background: black;
    overflow-y: hidden;
    z-index: 1
}

#winAdContainer.portrait {
    bottom: 0;
    height: 90px;
    width: 728px;
    left: 50%;
    margin-left: -364px
}

#winAdContainer.landscape {
    top: 50%;
    left: 0px;
    width: 160px;
    height: 600px;
    margin-top: -300px
}

@media (max-width:1280px) {
    #topBar {
        text-align: left
    }
}

@media (max-width:800px) {
    .single-list {
        width: auto;
        height: auto
    }
    .columnButtonWrapper {
        width: 50%!important;
        clear: none!important
    }
}

@media (max-width:400px) {
    .columnButtonWrapper {
        width: 100%!important
    }
}

.wrap-shadow {
    display: none
}

@-moz-document url-prefix() {
    .wrap-shadow {
        position: fixed;
        top: 0;
        z-index: 99999;
        pointer-events: none;
        width: 100%;
        height: 100%;
        border: 1px solid transparent;
        display: block
    }
}

@-ms-viewport {
    width: device-width
}