
* {
    -moz-user-select: none
}

html.horizontal .only-vertical, html.vertical .only-horizontal {
    display: none
}

.center-inline-wrapper {
    text-align: center
}

#shareButtonsGroup {
    position: absolute;
    right: 20px;
    bottom: 55px;
    z-index: 1;
    display: flex
}

    #shareButtonsGroup > div {
        vertical-align: top
    }

.only-chrome {
    display: none
}

#playArea img {
    max-width: none !important
}

.single-list {
    height: 500px;
    overflow-y: auto !important;
    border-radius: 10px;
    padding: 10px
}

    .single-list a {
        display: block;
        margin: 0 auto
    }

.columnButtonWrapper img {
    max-width: 100%
}

.columnButtonWrapper span {
    font-size: 14px
}

#new-game-dialog {
    min-width: 350px
}

#more-buttons-dialog:not(.onphone):not(.onphone), #score-buttons-dialog:not(.onphone) {
    min-width: 330px
}

#backgrounds-list .list-item-inner {
    left: 140px
}

#info-dialog-popup {
    z-index: 10000
}

#confirm-dialog .modal-card {
    width: 330px
}

#confirm-dialog .modal-card {
    bottom: 50px;
    right: 10px;
    transition: transform .3s;
    z-index: 10000;
    transform: translateX(110%);
    text-align: center;
    position: absolute
}

#confirm-dialog button {
    font-weight: normal;
    padding: 6px 10px
}

#rules-dialog.onphone {
    background: #eee
}

.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
}

.card.foundation-completed .cardFront:after {
    content: "";
    background: red;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px
}

.cardFront, .cardBack {
    width: 100%;
    height: 100%
}

.card .cardFront {
    border: none;
    background-size: cover;
    overflow: hidden
}

.card .cardBack {
    background-size: cover
}

.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: 0px;
    left: 0px;
    right: 0px
}

.ios7-app #playArea {
    top: 47px
}

#adarea {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 0px;
    height: 100%;
    padding-top: 10px;
    background-color: rgba(0,0,0,.2)
}

#game-ui {
    -ms-touch-action: none;
    touch-action: none;
    background: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    left: 0;
    height: 100%;
    width: calc(100% - 330px);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#FFF',endColorstr='#FFF');
    perspective: 8000px;
    -webkit-perspective: 8000px;
    -moz-perspective: 8000px
}

.bottomBar {
    position: absolute;
    left: 0;
    right: 0;
    height: 35px;
    bottom: 0px;
    z-index: 1000;
    -webkit-transition-duration: 0.2s;
    padding-bottom: 8px
}

    .bottomBar.gradient {
        background: linear-gradient(transparent,rgba(0,0,0,.75))
    }

    .bottomBar.hidden {
        -webkit-transform: translateY(50px)
    }

.barLeft, .barRight {
    position: absolute;
    top: 0
}

.barLeft {
    left: 30px
}

.barRight {
    right: 30px
}

.bottomButton, .bottomLabel {
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: bold;
    padding: 0.45em 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 5px;
    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)
}

.bottomLabel {
    background: transparent;
    padding-left: 0;
    margin-left: 22px;
    box-shadow: none;
    cursor: default
}

.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
}

#change-solitaire-but {
    background-image: url(),url(icon_buttons/change_solitaire.svg)
}

#new-game-but {
    background-image: url(),url(icon_buttons/new_game.svg)
}

#undo-but {
    background-image: url(),url(icon_buttons/undo.svg)
}

#hint-but {
    background-image: url(),url(icon_buttons/hint.svg)
}

#autoplay-but {
    background-image: url(),url(icon_buttons/autoplay.svg)
}

    #autoplay-but.autoplay-off {
        background-image: url(),url(icon_buttons/autoplay_disabled.svg);
        color: #8d8d8d
    }

    #autoplay-but.disabled {
        display: none
    }

.score-but {
    background-image: url(),url(icon_buttons/scores.svg)
}

.more-but {
    background-image: url(),url(icon_buttons/more.svg)
}

#clear-stats-but {
    width: 200px
}

@media(-webkit-min-device-pixel-ratio:2) {
    .bottomButton {
        background-size: 100% 100%,24px 24px
    }

    #change-solitaire-but {
        background-image: url(),url(icon_buttons/change_solitaire@2x.png)
    }

    #new-game-but {
        background-image: url(),url(icon_buttons/new_game@2x.png)
    }

    #undo-but {
        background-image: url(),url(icon_buttons/undo@2x.png)
    }

    #hint-but {
        background-image: url(),url(icon_buttons/hint@2x.png)
    }

    #autoplay-but {
        background-image: url(),url(icon_buttons/autoplay@2x.png)
    }

        #autoplay-but.autoplay-off {
            background-image: url(),url(icon_buttons/autoplay_disabled@2x.png);
            color: #8d8d8d
        }

    .score-but {
        background-image: url(),url(icon_buttons/scores@2x.png)
    }

    .more-but {
        background-image: url(),url(icon_buttons/more@2x.png)
    }
}

.bottomButton.winApp {
    font-family: 'Segoe UI';
    font-weight: 500;
    font-size: 14.3px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    background: none;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 75px;
    width: 84px;
    box-shadow: none;
    border: none;
    padding: 50px 0px 0px 0px;
    margin-top: -30px
}

    .bottomButton.winApp:hover {
        box-shadow: none;
        border: none
    }

    .bottomButton.winApp:active {
        box-shadow: none;
        border: none
    }

#autoplay-but.winApp {
    background-image: url(icon_buttons/win_app/icon/autoplay.png)
}

    #autoplay-but.winApp.autoplay-off {
        background-image: url(icon_buttons/win_app/icon/autoplay_disabled.png)
    }

#new-game-but.winApp {
    background-image: url(icon_buttons/win_app/icon/new_game.png)
}

#change-solitaire-but.winApp {
    background-image: url(icon_buttons/win_app/icon/change_solitaire.png)
}

#undo-but.winApp {
    background-image: url(icon_buttons/win_app/icon/undo.png)
}

#hint-but.winApp {
    background-image: url(icon_buttons/win_app/icon/hint.png)
}

.bottomButton.score-but.winApp {
    background-image: url(icon_buttons/win_app/icon/scores.png)
}

.bottomButton.more-but.winApp {
    background-image: url(icon_buttons/win_app/icon/more.png)
}

.windows-app .bottomButton {
    margin-top: auto
}

.windows-app .bottomBar {
    height: auto;
    bottom: 0
}

.windows-app .barLeft {
    position: relative
}

.ios7-app #topBar {
    top: 15px
}

.desktop #topBar {
    text-align: center
}

#topBar {
    position: relative;
    width: 100%;
    z-index: 198
}

    #topBar.gradient {
        background-color: rgba(0,0,0,.35)
    }

#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: 50px;
    text-align: left;
    padding: 8px 15px 1px 5px;
    font-weight: bold
}

.desktop .top-display {
    padding: 8px 50px 1px 0px
}

#display-time + .buttonHint {
    margin-left: -103px
}

#toggle-fullscreen {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 2px;
    background-image: url(),url(icons/full-screen-on.png);
    background-size: 18px 18px;
    background-repeat: no-repeat,no-repeat;
    background-position: center center;
    cursor: pointer;
    display: none;
    padding: 8px 15px 1px 5px
}

#autoplay-status-screen {
    display: none
}

#autoplay-status-popup.ui-popup-active {
    margin-top: -15px
}

#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: 380px
}

#stats-dialog:not(.onphone) td {
    padding: 8px;
    text-align: left
}

#stats-dialog:not(.onphone) {
    min-width: 460px
}

#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;
    text-align: center
}

    #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;
    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)
    }

.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 {
    box-sizing: content-box;
    position: relative;
    padding: 12px 20px 20px 20px;
    background: rgba(0,0,0,0.9);
    color: white;
    border-radius: 6px;
    border: 1px solid black;
    box-shadow: 0 0 20px black;
    font-weight: bold;
    font-size: 18pt;
    text-align: center;
    width: 150px;
    height: 60px;
    top: 50%;
    display: inline-block;
    margin-top: -31px;
    z-index: 10000
}

    #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;
    background-color: white !important;
    font-size: 100%;
    overflow: hidden;
    box-sizing: content-box !important;
    padding-bottom: 0 !important
}

    body * {
        box-sizing: border-box
    }

html.with-phone-popup {
}

    html.with-phone-popup body {
        overflow: auto
    }

.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;
    overflow-y: auto !important;
    padding: 0 15px
}

#group-games {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 12px
}

    #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 > span span {
            text-shadow: none;
            display: inline-block;
            width: 100%
        }

    #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) .modal-card {
    width: 420px
}

#rateapp-dialog:not(.onphone) .modal-card {
    width: 350px
}

#rateapp-dialog p {
    margin-top: 0
}

#settings-dialog:not(.onphone) {
    width: 300px
}

.cell, .foundation, .tableau-holder, .card, .waste-holder {
    width: 146px;
    height: 198px;
    border-radius: 10px
}

.foundation {
    font-size: 110px
}

    .foundation:after {
        content: attr(data-first-card);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        font-size: inherit;
        font-weight: bold;
        font-stretch: condensed;
        font-family: Helvetica,Arial,sans-serif;
        color: rgba(0,0,0,0.1)
    }

    .foundation img {
        width: 100%
    }

.use-pixelated .cell, .use-pixelated .foundation, .use-pixelated .tableau-holder, .use-pixelated .card, .use-pixelated .waste-holder {
    width: 145px;
    height: 197px
}

    .use-pixelated .card img {
        image-rendering: pixelated
    }

.card {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -ms-high-contrast-adjust: none
}

.card, .cardFront, .cardBack {
    border-radius: 10px
}

    .card img, .foundation, .tableau-holder, .waste-holder img {
        pointer-events: none
    }

.mobilePhone #gameName, .mobilePhone .top-display {
    height: 17px;
    line-height: 17px;
    font-size: 17px;
    padding: 1px 5px
}

.mobilePhone #gameName, .mobilePhone #topBarRightContainer {
    margin-top: 4px
}

.mobilePhone .top-display {
    font-weight: bold;
    min-width: 50px;
    text-align: center;
    padding: 1px 1px 1px 1px;
    margin: 0 10px
}

.mobilePhone .barLeft {
    left: 0px
}

.mobilePhone .barRight {
    right: 0px
}

.mobilePhone .bottomButton, .mobilePhone .bottomLabel {
    margin: 0;
    margin-top: 0px;
    height: 20px;
    box-sizing: content-box;
    vertical-align: bottom;
    border-radius: 0;
    line-height: normal;
    background: none;
    background-position: center 3px;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: rgba(255,255,255,0.9);
    width: 45px;
    height: 45px;
    box-shadow: none;
    border: none;
    float: left;
    padding: 28px 0px 0px 0px
}

.mobilePhone .bottomLabel {
    padding-top: 12px;
    float: right
}

.onlyphone, .mobilePhone .hide-onphone {
    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
    }

#newGameAdDiv {
    display: none;
    margin-top: 30px;
    border-top: 1px solid #ddd
}

#bookmark-button {
    background: url(icons/bookmark.png) no-repeat center;
    border: none;
    min-width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 2px;
    margin-right: 10px;
    outline: none;
    display: inline-block
}

#install-button {
    text-shadow: none;
    text-decoration: none;
    color: #fff;
    font-weight: normal;
    padding-left: 22px;
    padding-right: 15px;
    background: url(icon_buttons/install-app.svg) no-repeat left 0px;
    background-size: 18px
}

.star-level {
    display: inline-block;
    width: 59px;
    height: 21px;
    background-image: url(../images/others/select_solitaire_stars.png);
    background-repeat: no-repeat
}

    .star-level.quick, .star-level.easy, .star-level.chance_only, .star-level.very_high {
        background-position: 0 -105px
    }

    .star-level.high, .star-level.mostly_chance {
        background-position: 0 -84px
    }

    .star-level.medium, .star-level.moderate_skill {
        background-position: 0 -63px
    }

    .star-level.low, .star-level.mostly_skill {
        background-position: 0 -42px
    }

    .star-level.long, .star-level.hard, .star-level.very_low, .star-level.skill {
        background-position: 0 -21px
    }

@media (max-width:1100px) {
    #topBar {
        text-align: left !important
    }
}

@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
}

.achievement {
    display: inline-block;
    padding: 5px 10px
}

    .achievement img {
        width: 80px
    }

    .achievement p, .achievement h4 {
        margin: 0;
        line-height: 1.5em;
        font-size: .9em;
        text-align: center
    }

    .achievement.achievement-unlocked .achievement-currentCount {
        text-indent: -10000px;
        background: url(../images/achievements/check.png) no-repeat center
    }

.spacer {
    display: inline-block;
    padding: 0 10px;
    height: 0
}

    .spacer span {
        width: 80px;
        display: inline-block
    }

#achievements-dialog {
    overflow: hidden
}

#info-dialog .modal-card {
    min-width: 300px;
    max-width: 400px
}

#info-title {
    margin: 0 10px
}

#achievement-unlocked-dialog {
    text-align: center
}

    #achievement-unlocked-dialog .achievement {
        padding: 20px 10px
    }

    #achievement-unlocked-dialog .last-unlocked {
        background: url(../images/achievements/achievement_reached.png) no-repeat center;
        background-size: 100%
    }

#achievements-list {
    text-align: center
}

    #achievements-list > h4:first-child {
        margin-top: 0
    }

    #achievements-list h4 {
        margin-bottom: 10px
    }

.mobilePhone #achievements-list {
    height: calc(100vh - 170px);
    overflow: auto
}

.mobilePhone #achievements-dialog .modal-card-body {
    overflow: hidden;
    padding-left: 6px;
    padding-right: 6px
}

body.loading #progress-bar {
    visibility: visible !important;
    position: absolute;
    box-sizing: border-box;
    width: 240px;
    left: 50%;
    top: 50%;
    margin-left: -120px;
    margin-top: 185px;
    background: rgba(25,25,25,0.5);
    z-index: 10000;
    overflow: hidden;
    padding: 4px;
    border-radius: 0px
}

body.loading #progress {
    visibility: visible !important;
    box-sizing: border-box;
    border-radius: 0px;
    width: 0%;
    background: rgba(255,255,255,0.9);
    padding: 12px 0;
    transition: width 30s ease-in
}

#new-highscore-dialog label {
    margin-top: 10px
}

.hiscore-message {
    max-width: 354px;
    text-align: center
}

.latest-hiscore {
    background: powderblue
}

.hiscore-1, .hiscore-2, .hiscore-3 {
    font-weight: bold
}

    .hiscore-1 td:first-child, .hiscore-2 td:first-child, .hiscore-3 td:first-child {
        text-indent: -10000px;
        background-position: center;
        background-repeat: no-repeat
    }

    .hiscore-1 td:first-child {
        background-image: url(../images/others/hiscores-1.png)
    }

    .hiscore-2 td:first-child {
        background-image: url(../images/others/hiscores-2.png)
    }

    .hiscore-3 td:first-child {
        background-image: url(../images/others/hiscores-3.png)
    }

#hiscore-table-body tr td:first-child {
    font-weight: bold
}

#hiscore-table-body tr td:nth-child(2) {
    min-width: 100px
}

#hiscores-dialog tr td:nth-child(1), #hiscores-dialog tr td:nth-child(4), #hiscores-dialog tr td:nth-child(5), #hiscores-dialog tr th:nth-child(1), #hiscores-dialog tr th:nth-child(4), #hiscores-dialog tr th:nth-child(5) {
    text-align: center
}

#highscore-dialog-message {
    text-align: center;
    line-height: 1.6em;
    padding-bottom: 110px;
    background: url(../images/others/hiscores_icon.png) no-repeat center bottom;
    margin-bottom: 20px
}

    #highscore-dialog-message b {
        display: block
    }

.progress-bar {
    padding: 0px;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(25,25,25,0.5);
    padding: 3px
}

    .progress-bar #progress {
        padding: 8px 0px;
        background: white;
        width: 0%;
        box-sizing: border-box
    }

.chrome .cardFront, .chrome .cardBack {
    backface-visibility: hidden
}

.chrome #playArea {
    perspective: 8000px
}

.chrome .card {
    transform-style: preserve-3d
}

.opera .card, .msedgeChromium .card {
    perspective: 10000px;
    transform-style: preserve-3d
}

.mobilePhone.vertical #gameName {
    width: 100%;
    text-align: center
}

.mobilePhone.vertical #topBarRightContainer, .mobilePhone.horizontal #bottom-counters, .desktop #bottom-counters {
    display: none
}

.mobilePhone.horizontal .bottomBar:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 100%;
    width: 100%;
    background: url(../images/others/show_toolbar.png) no-repeat center;
    background-size: 20px;
    padding-top: 40px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s
}

.mobilePhone.horizontal .bottomBar.hidden:before {
    opacity: 1
}

.mobilePhone.vertical .bottomBar.hidden {
    -webkit-transform: translateY(0px)
}

.mobilePhone.vertical #bottom-counters {
    position: absolute;
    width: 100%;
    bottom: 100%;
    text-align: center;
    margin-bottom: 15px;
    pointer-events: none
}

    .mobilePhone.vertical #bottom-counters > div {
        display: inline-block
    }

.mobilePhone #new-game-but {
    background-image: url(icon_buttons/new_game.svg)
}

.mobilePhone #change-solitaire-but {
    background-image: url(icon_buttons/change_solitaire.svg)
}

.mobilePhone #undo-but {
    background-image: url(icon_buttons/undo.svg)
}

.mobilePhone #score-but {
    background-image: url(icon_buttons/scores.svg)
}

.mobilePhone #hint-but {
    background-image: url(icon_buttons/hint.svg)
}

.mobilePhone .bottomButton.more-but {
    background-image: url(icon_buttons/more.svg)
}

.mobilePhone .bottomBar {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    left: 0;
    right: 0;
    height: 45px;
    bottom: 0px;
    -webkit-transition-duration: 0.2s;
    z-index: 99999
}

@media all and (max-width:414px) {
}

@media all and (max-width:375px) {
}

@media all and (max-width:320px) {
}

@media (display-mode:standalone) {
    .loading #darkenArea {
        display: none
    }

    #playArea {
        opacity: 1;
        transition: opacity .3s
    }

    .loading #game-ui {
        background: none !important
    }

    .loading #playArea {
        opacity: 0
    }
}

.icon--new-game:before {
    background-image: url(icon_buttons/btn_new_game.svg)
}

.icon--more:before {
    background-image: url(icon_buttons/btn_more.svg)
}

.icon--restart:before {
    background-image: url(icon_buttons/btn_restart.svg)
}

.icon--select-number:before {
    background-image: url(icon_buttons/btn_select_number.svg)
}

.icon--game-day:before {
    background-image: url(icon_buttons/btn_game_day.svg)
}

.icon--select-solitaire:before {
    background-image: url(icon_buttons/btn_select_solitaire.svg)
}

.windows-app .icon--new-game:before {
    background-image: url(icon_buttons/win_app/icon/btn_new_game.svg)
}

.windows-app .icon--more:before {
    background-image: url(icon_buttons/win_app/icon/btn_more.svg)
}

.windows-app .icon--restart:before {
    background-image: url(icon_buttons/win_app/icon/btn_restart.svg)
}

.windows-app .icon--select-number:before {
    background-image: url(icon_buttons/win_app/icon/btn_select_number.svg)
}

.windows-app .icon--game-day:before {
    background-image: url(icon_buttons/win_app/icon/btn_game_day.svg)
}

.windows-app .icon--select-solitaire:before {
    background-image: url(icon_buttons/win_app/icon/btn_select_solitaire.svg)
}

.options-dialog .switch-setting {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.switch-setting label, .radio-setting legend {
    margin: 0 !important;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: left;
    min-width: 50%
}

.flex-container {
    display: flex;
    align-items: center
}

.preloader {
    margin-top: 5px
}

    .preloader span {
        font-size: 20px;
        margin: 0 3px;
        display: inline-block;
        -webkit-animation: movement 1200ms ease-out 100ms infinite;
        -moz-animation: movement 1200ms ease-out 100ms infinite;
        -o-animation: movement 1200ms ease-out 100ms infinite;
        animation: movement 1200ms ease-out 100ms infinite
    }

        .preloader span:nth-child(2) {
            -webkit-animation-delay: 200ms;
            -moz-animation-delay: 200ms;
            -o-animation-delay: 200ms;
            animation-delay: 200ms
        }

        .preloader span:nth-child(3) {
            -webkit-animation-delay: 300ms;
            -moz-animation-delay: 300ms;
            -o-animation-delay: 300ms;
            animation-delay: 300ms
        }

        .preloader span:nth-child(4) {
            -webkit-animation-delay: 400ms;
            -moz-animation-delay: 400ms;
            -o-animation-delay: 400ms;
            animation-delay: 400ms
        }

        .preloader span:nth-child(5) {
            -webkit-animation-delay: 500ms;
            -moz-animation-delay: 500ms;
            -o-animation-delay: 500ms;
            animation-delay: 500ms
        }

@-webkit-keyframes movement {
    0% {
        opacity: .3
    }

    15% {
        opacity: .9
    }

    100% {
        opacity: .3
    }
}

@-moz-keyframes movement {
    0% {
        opacity: .3
    }

    15% {
        opacity: .9
    }

    100% {
        opacity: .3
    }
}

@-o-keyframes movement {
    0% {
        opacity: .3
    }

    15% {
        opacity: .9
    }

    100% {
        opacity: .3
    }
}

@keyframes movement {
    0% {
        opacity: .3
    }

    15% {
        opacity: .9
    }

    100% {
        opacity: .3
    }
}

@media screen and (-ms-high-contrast:active) {
    .ui-mobile .ui-header .back-to-game.hide-onphone {
        background-image: url(../images/others/close-hc.svg);
        background-color: #000
    }

    svg text {
        fill: #fff
    }
}

@media screen and (-ms-high-contrast:black-on-white) {
    svg text {
        fill: #000
    }
}

.calendar {
    font-family: Helvetica,Arial,sans-serif;
    font-size: 1.1em;
    color: #333;
    display: inline-block;
    position: relative;
    width: 336px;
    border: 1px solid #ddd
}

    .calendar * {
        padding: 0;
        margin: 0
    }

.calendar__wrapper {
    display: flex;
    justify-content: center;
    width: 336px;
    height: 240px;
    overflow: hidden;
    position: relative
}

.calendar__body {
    border-collapse: collapse;
    width: 100%;
    position: absolute;
    transition: all .4s ease-out;
    transform-origin: top left
}

.calendar__header {
    position: relative;
    line-height: 30px;
    border-bottom: 1px solid #ddd;
    background: #fff
}

.calendar__title {
    text-align: center;
    font-size: 1em;
    color: #333;
    text-transform: capitalize;
    cursor: pointer
}

.calendar__nav {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: white;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 0;
    font-weight: bold;
    z-index: 100;
    border: none;
    cursor: pointer;
    outline: none
}

    .calendar__nav.calendar__nav--right, .calendar__nav.calendar__nav--left, .calendar__nav.calendar__nav--right:hover, .calendar__nav.calendar__nav--left:hover {
        color: #333
    }

    .calendar__nav:hover {
        background: #ccc
    }

.calendar__nav--left {
    left: 0;
    border-right: 1px solid #ddd
}

.calendar__nav--right {
    right: 0;
    border-left: 1px solid #ddd
}

.calendar .calendar__body .calendar__day {
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding: 5px;
    width: 48px;
    text-align: center;
    user-select: none;
    font-weight: normal
}

.calendar__month, .calendar__year {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 84px;
    height: 80px;
    cursor: pointer;
    transition: background .1s ease-out;
    text-transform: capitalize
}

    .calendar__month:hover, .calendar__year:hover {
        background: #ddd;
        font-size: 1.2em
    }

.calendar .calendar__body .calendar__day--today {
    font-weight: bold;
    background: #ddd
}

.calendar .calendar__body .calendar__day--selected {
    background: #8bc34a
}

.calendar .calendar__body .calendar__day.calendar__day--selected:hover {
    background: #4caf50
}

.calendar .calendar__body .calendar__day:hover {
    background: #ccc;
    color: #333
}

.calendar .calendar__body .calendar__day--disabled, .calendar .calendar__body .calendar__day--disabled:hover, .calendar .calendar__body .calendar__day.disabled, .calendar .calendar__body .calendar__day.disabled:hover {
    color: #aaa;
    pointer-events: none
}

.calendar__body .calendar__day-of-week {
    text-align: center;
    font-weight: bold;
    display: inline-block;
    padding: 5px 10px 5px 5px;
    width: 100%;
    border: 1px solid transparent;
    padding-bottom: 5px
}

.calendar__body .calendar__day.won {
    background: #a2e100;
    text-shadow: none !important
}

.calendar__body .calendar__day.lose {
    background: #e12b1e;
    color: #fff;
    text-shadow: none
}

.freecell-of-the-day {
    background-size: 70px;
    float: right;
    padding: 0 0 0 20px;
    width: 220px
}

.freecell-of-day-winnable {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    font-size: 11px
}

.freecell__state-icon {
    background-image: url(../images/others/game_day_not_played.png);
    background-repeat: no-repeat;
    background-position: center 0;
    height: 70px
}

    .freecell__state-icon.state-won {
        background-image: url(../images/others/game_day_won.png)
    }

    .freecell__state-icon.state-not-yet-won {
        background-image: url(../images/others/game_day_lost.png)
    }

.freecell-of-the-day p, .freecell-of-the-day h4 {
    margin: 0;
    line-height: 1.6em;
    padding: 4px 10px;
    margin: 1px;
    text-align: center;
    text-shadow: none
}

p.freecell__total-played, p.freecell__total-won, p.freecell__current-streak {
    margin-left: 50px;
    text-align: left;
    text-shadow: none
}

p.freecell__total-won, p.freecell__current-streak {
    background: #a2e100;
    color: #333
}

@media (max-width:640px) {
    .freecell-of-the-day {
        width: 100%;
        box-sizing: border-box;
        padding: 0
    }

    #game-calendar-dialog .ui-content {
        text-align: center
    }

    #game-calendar-dialog .modal-card-body {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

.freecell-of-day-stats table {
    width: 350px
}

.freecell-of-day-stats td {
    width: 50%;
    padding: 8px
}

.freecell-of-day-stats .won-games td {
    padding-top: 30px;
    font-weight: bold
}

.freecell-of-day-stats .days-won td:nth-child(2):before, .freecell-of-day-stats .days-lost td:nth-child(2):before {
    content: "";
    display: inline-block;
    margin-right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 2px;
    background: #a2e100
}

.freecell-of-day-stats .days-lost td:nth-child(2):before {
    background: #e12b1e
}

html.pwa body.loading, html.pwa.loading body {
    background-color: #1A9056 !important;
}

.xpbanner {
    display: inline-block;
    width: 120px;
    height: 600px;
}

/*<=1024*/
@media (max-width:1023px), (orientation:portrait) {
    .xpbanner {
        display: none;
    }
}
