﻿/*
 * This file is protected by automatic plagiarism detection services and duplication checkers.
 * Content theft and plagiarism is a crime. Any content theft and plagiarism, without exception, 
 * will be prosecuted to the full extent of applicable laws.
 *
 * Copyright 2011-2020 TreeCardGames https://www.treecardgames.com
 * All rights reserved.
*/

* {
    -moz-user-select: none
}

html.horizontal .only-vertical,
html.vertical .only-horizontal {
    display: none
}

.center-inline-wrapper {
    text-align: center
}

#shareButtonsGroup {
    position: absolute;
    right: 10px;
    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;
    border-radius: 10px;
    padding: 10px;
    width: 815px
}

.single-list a {
    display: block;
    margin: 0 auto
}

.single-list .ui-btn {
    padding: 5px 0;
    border: none
}

.ui-btn-small {
    padding: 5px 16px;
    font-weight: normal
}

.single-list .ui-block-a,
.single-list .ui-block-b,
.single-list .ui-block-c {
    text-align: center
}

.columnButtonWrapper img {
    max-width: 100%
}

.columnButtonWrapper span {
    font-size: 14px
}

.ui-popup.ui-content,
.ui-popup .ui-content {
    overflow-y: auto
}

.ui-popup .ui-header .ui-title {
    margin: 0;
    cursor: move
}

.onphone.ui-popup {
    position: absolute
}

#new-game-dialog {
    min-width: 350px
}

#new-game-dialog .ui-content .ui-btn,
#win-dialog .ui-content .ui-btn {
    padding: 16px 16px
}

#new-game-dialog .ui-content .ui-btn,
#win-dialog .ui-content .ui-btn {
    margin: 10px 0
}

.ui-shadow,
.ui-shadow-inset,
.ui-content .ui-btn {
    box-shadow: none!important
}

.ui-content .ui-shadow:focus {
    background: #eee!important
}

#new-game-dialog .ui-collapsible-content,
#win-dialog .ui-collapsible-content {
    position: absolute;
    left: 16px;
    right: 16px;
    margin-top: -10px
}

#more-buttons-dialog:not(.onphone):not(.onphone),
#score-buttons-dialog:not(.onphone) {
    min-width: 330px
}

#options-dialog:not(.onphone) .ui-field-contain {
    min-width: 400px;
    max-width: 450px
}

.ui-field-contain {
    margin: 18px 0!important
}

.ui-field-contain label.ui-slider {
    width: 70%
}

.ui-field-contain div.ui-slider {
    width: 20%;
    margin-bottom: -5px
}

.ui-controlgroup-controls {
    margin-bottom: -1px
}

.ui-select {
    padding-bottom: 1px!important
}

.ui-dialog .ui-header {
    margin-top: 10px
}

.ui-dialog-contain {
    margin-top: 50px
}

.ui-mobile .ui-header .back-to-game.hide-onphone {
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    text-indent: -10000px;
    background: url(../images/others/close.svg);
    background-repeat: no-repeat;
    background-position: 0px;
    background-size: 88px 30px;
    width: 44px;
    height: 30px;
    top: 5px;
    box-sizing: border-box
}

.ui-header .back-to-game.hide-onphone:hover {
    background-position: -44px
}

#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%
}

#info-dialog-popup {
    z-index: 10000
}

#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
}

#confirm-dialog {
    width: 330px
}

#confirm-dialog-popup {
    bottom: 50px;
    right: 10px;
    transition: transform .3s;
    z-index: 10000;
    transform: translateX(110%);
    text-align: center
}

#confirm-dialog-popup button {
    font-weight: normal;
    padding: 6px 10px
}

#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 {
    width: 100%;
    height: 100%
}

.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: 0px;
    left: 0px;
    right: 0px
}

.ios7-app #playArea {
    top: 47px
}

#adarea {
    position: fixed;
    top: 30px;
    left: 5px
}

#game-ui {
    -ms-touch-action: none;
    touch-action: none;
    background: #FFF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: calc(100% - 210px);
    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: 80px
}

.barRight {
    right: 10px
}

.bottomButton {
    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)
}

.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;
    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)
}

.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 {
    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
}

html.with-phone-popup {}

html.with-phone-popup body {
    overflow: auto
}

.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;
    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) {
    width: 420px
}

#rateapp-dialog:not(.onphone) {
    width: 350px
}

#appearance-dialog .ui-content {
    font-size: 13px
}

#settings-dialog:not(.onphone) {
    width: 300px
}

.cell,
.foundation,
.tableau-holder,
.card,
.waste-holder {
    width: 146px;
    height: 198px;
    border-radius: 10px
}

.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
}

.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 {
    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 #appearance-dialog .ui-radio .ui-btn-text {
    font-size: 11px
}

.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
}

@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 {
    max-width: 600px;
    max-height: 580px;
    overflow: hidden
}

#info-dialog {
    min-width: 300px;
    max-width: 400px
}

#info-title {
    margin: 0 10px
}

#achievement-unlocked-dialog {
    width: 600px;
    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;
    height: 450px;
    overflow-y: scroll
}

#achievements-list>h4:first-child {
    margin-top: 0
}

#achievements-list h4 {
    margin-bottom: 10px
}

.mobilePhone #achievements-list {
    height: calc(100vh - 125px)
}

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 .3s ease-in
}

#new-highscore-dialog label {
    margin-top: 10px
}

.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
}

.desktop .ui-popup-container {
    max-height: 100%
}

.desktop .ui-popup {
    height: 100%
}

.desktop .ui-content {
    box-sizing: border-box
}

.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) {
    #appearance-dialog .ui-controlgroup-controls {
        display: flex
    }
    #appearance-dialog .ui-radio {
        flex-grow: 1
    }
    #appearance-dialog .ui-radio label {
        font-size: 16px;
        padding-left: 0;
        padding-right: 0;
        text-align: center
    }
}

@media all and (max-width:375px) {
    #appearance-dialog .ui-radio label {
        font-size: 15px
    }
}

@media all and (max-width:320px) {
    #appearance-dialog .ui-radio label {
        font-size: 13px
    }
}

@media (display-mode:standalone) {
    .loading #darkenArea {
        display: none
    }
    #playArea {
        opacity: 1;
        transition: opacity .3s
    }
    .loading #game-ui {
        background: none!important
    }
    .loading #playArea {
        opacity: 0
    }
}

.ui-btn.icon,
.icon>.ui-btn {
    text-align: left;
    text-indent: 32px
}

.ui-btn.icon:before,
.icon>.ui-btn:before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 12px;
    margin-top: -15px;
    background-repeat: no-repeat;
    background-position: center
}

.icon--new-game:before {
    background-image: url(icon_buttons/btn_new_game.svg)
}

.icon--more:before,
.icon--more>.ui-btn: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 .ui-btn.icon,
.windows-app .icon>.ui-btn {
    text-indent: 50px
}

.windows-app .ui-btn.icon:before,
.windows-app .icon>.ui-btn:before {
    left: 20px
}

.windows-app .icon--new-game:before {
    background-image: url(icon_buttons/win_app/icon/btn_new_game.svg)
}

.windows-app .icon--more:before,
.windows-app .icon--more>.ui-btn: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: 40%
}

.options-dialog .radio-setting .ui-controlgroup-controls,
.options-dialog .checkbox-setting .ui-controlgroup-controls {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex
}

.options-dialog .radio-setting .ui-radio,
.options-dialog .checkbox-setting .ui-checkbox {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.radio-setting .ui-radio label,
.checkbox-setting .ui-checkbox label {
    text-align: center
}

.options-dialog .ui-content {
    padding: 0
}

.options-dialog .setting>label {
    text-align: left
}

.options-dialog .ui-content .setting {
    padding: 15px 20px;
    border-bottom: 1px solid #e9e9e9
}

.options-dialog .ui-field-contain {
    margin: 0!important
}

.options-dialog .setting:last-child {
    border-bottom: none
}

.flex-container {
    display: flex;
    align-items: center
}

.ui-btn.btn-nomargin {
    margin: 0
}

@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
    }
    .ui-btn.ui-btn-active {
        background: rgb(26, 235, 255)!important;
        color: #000!important;
        text-shadow: none!important;
        -ms-high-contrast-adjust: none
    }
}

@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
}

.calendar * {
    padding: 0;
    margin: 0
}

.calendar__wrapper {
    display: flex;
    justify-content: center
}

.calendar__body {
    border-collapse: collapse
}

.calendar__header {
    position: relative;
    margin: 0 0 15px 0;
    line-height: 30px;
    border: 1px solid #ddd;
    background: #fff
}

.calendar__title {
    text-align: center;
    font-size: 1em;
    color: #333
}

.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-align: right;
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding: 5px 10px 5px 5px;
    width: 30px;
    border: 1px solid #fff;
    background: #eee;
    user-select: none;
    font-weight: normal
}

.calendar .calendar__body .calendar__day--today {
    font-weight: bold;
    background: #ddd
}

.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;
    background: white;
    pointer-events: none
}

.calendar__body .calendar__day-of-week {
    text-align: right;
    font-weight: bold;
    display: inline-block;
    padding: 5px 10px 5px 5px;
    width: 30px;
    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: 80px
}

.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: 3px;
    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
    }
    #game-calendar-dialog .ui-content {
        text-align: 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;
}