html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    background-image: url('images/wood.jpg');
    background-size: 100%;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    line-height: normal;
}

canvas {
    display: block;
}

a {
    text-decoration: none;
    color: #ffffff;
}

h1 {
    display: block;
    font-size: 2.2em;
    -webkit-margin-before: 0.50em;
    -webkit-margin-after: 0.50em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
}

ul {
    list-style: none;
    padding: 0px 3px;
    min-width: 260px;
}

input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    height: 45px;
    font-size: 20px;
    padding: 6px 10px;
    background-color: #fff;
    border: 0px solid #D1D1D1;
    xborder-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
}

input {
    line-height: normal;
}

input, textarea, select, fieldset {
    margin-bottom: 12px;
}

#Game {
    width: 100%;
    height: 100%;
    position: relative;
}

.wrapper {
    padding: 0 15px 15px 15px;
    xwidth: 480px;
    xmax-width: 320px;
    xmin-width: 300px;
    margin: 0 auto;
    xbackground-color: #808080;
    position: relative;
    background-image: url(images/wood.jpg);
    background-size: 100%;
}

.page {
    position: absolute;
    /*fixed; */
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/wood.jpg');
    background-size: 100%;
    z-index: 2;
    xcursor: pointer;
}

.pageTitle {
    margin: 5px 0 5px 0;
}

.pageTitle h1 {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 0px;
}

.pageTitle img {
    text-align: center;
    width: 100%;
    padding: 10px 0px 10px 0px;
    max-width: 350px;
    min-width: 240px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.pageContent {
    margin: 0px auto;
    max-width: 350px;
}

.backButton {
    width: 48px;
    height: 48px;
    margin: 3px 30px 3px 0px;
    display: inline-block;
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(images/BackButton.png);
    vertical-align: text-bottom;
    vertical-align: middle;
}

.bottomLeftCorner {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.bottomRightCorner {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

/* .hideGame {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
}
.showGame {
    position: inherit;
    width: auto;
    height: auto;

} */

.button {
    text-decoration: none;
    color: #ffffff;
    font-size: 36px;
    padding: 0 0 0 85px;
    background-image: url(../assets/Avatars/Easy.png);
    background-repeat: no-repeat;
    background-size: auto 60px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 3px 3px 3px 3px;
    xdisplay: inline-block;
    display: block;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 5px;
    min-height: 60px;
    line-height: 60px;
}

.button2 {
    text-decoration: none;
    color: #ffffff;
    font-size: 35px;
    padding: 7px 0 0 80px;
    background-image: url(../assets/Avatars/Easy.png);
    background-repeat: no-repeat;
    min-height: 55px;
    background-size: auto 100%;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 5px 5px 5px 5px;
    xdisplay: inline-block;
    display: block;
    cursor: pointer;
    /* box-sizing: border-box; */
    box-sizing: content-box;
}

.buttonEasy {
    background-image: url('../assets/Avatars/Easy.png');
}

.buttonMedium {
    background-image: url('../assets/Avatars/Medium.png');
}

.buttonHard {
    background-image: url('../assets/Avatars/Hard.png');
}

.buttonCrazyNinja {
    background-image: url('../assets/Avatars/CrazyNinjaBlank.png');
}

.simpleButtonOutLine {
    height: 45px;
    line-height: 41px;
    color: #ffffff;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    display: inline-block;
    padding: 0 10px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    box-sizing: border-box; 
    /* box-sizing: content-box; */
    border-radius: 5px;
    margin: 3px 3px 3px 3px;
    background: none;
    vertical-align: bottom;
}

.buttonFacebook {
    text-align: left;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-color: black;
    background-image: url(images/ButtonFacebook.png);
    font-size: 22px;
    box-sizing: border-box;
}

.buttonEmail {
    text-align: left;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-color: white;
    color: black;
    background-image: url('images/ButtonEmail.png');
    font-size: 22px;
    box-sizing: border-box;
}

.buttonList {
    margin: 0px auto;
    max-width: 350px;
}

.buttonSmall {
    margin: 3px 3px;
    padding: 5px 5px;
    min-width: 50px;
    border-radius: 5px;
    background-color: #218414;
    color: white;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.minibuttons {
    margin: 5px 0 0 0;
    text-align: center;
}

.minibuttons a {
    display: inline-block;
    margin: 5px 3px;
}

.minibuttons img {
    width: 48px;
}

.profile .avatar img {
    height: 100px;
    vertical-align: bottom;
}

.moreGames {
    position: absolute;
    left: -30px;
    bottom: 10px;
}

.profile label {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 3px 0px;
}

.profile input[type="radio"]+label, .profile input[type="checkbox"]+label {
    display: inline-block;
    vertical-align: inherit;
    width: inherit;
    margin: 5px 10px 5px 0;
}

.profile .form {
    margin: 0 auto;
    max-width: 600px;
    padding: 0px 10px;
}
.formCenter {
    margin: 0 auto;
    max-width: 600px;
    padding: 0px 10px;
}


.online {}

.avatarList {}

.avatarList ul {
    padding: 0px 0px;
}

.avatarList img {
    height: 93px;
    pointer-events: none;
}

.avatarList li {
    display: inline-block;
    padding: 2px 2px 2px 2px;
}

.statsTable {
    border-collapse: collapse;
    padding: 0 15px 0 15px;
    width: 100%;
    xmax-width: 400px;
    margin: 0 auto;
    min-width: 320px;
}
.statsTable th {
    font-size: 1.3em;
    padding: 1px 5px 1px 5px;
    padding-top: 0.5em;
    text-align: left;
}
.statsTable td {
    padding: 1px 5px 1px 5px;
}

.statsTable td:nth-child(1) {
    padding-right: 10px;
    text-align: left;
}

.statsTable tr:nth-child(odd) {
    xbackground-color: #33333365;
    background-color: rgba(51, 51, 51, 0.6)
}

.statsTable tr:nth-child(even) {
    xbackground-color: #33333335;
    background-color: rgba(51, 51, 51, 0.3)
}

.achievementList {
    margin: 0 0 50px 0;
    padding: 0 0;
}

.achievementList li, .achievement {
    margin: 1px 1px 1px 1px;
    height: 50px;
    background-color: #222222;
    list-style-type: none;
    border-radius: 5px;
}

.achievementList li.notFound {
    background-color: #808080;
    xbackground: #808080 url('images/QuestionMark50x50.png') left no-repeat;
}

.achievementList li img, .achievement img {
    width: 50px;
    max-height: 50px;
    vertical-align: top;
    float: left;
    clear: both;
}

.achievementList li.notFound img {
    xvisibility: hidden;
    opacity: 0.4;
}

.achievementList li div.title, .achievement .title {
    padding: 3px 0 0 65px;
    font-size: 17px;
}

.achievementList li div.description, .achievement .description {
    padding: 0px 0 0 65px;
    font-size: 12px;
}

.achievementList li div.points, .achievement .points {
    font-size: 14px;
    float: right;
    background: url('images/coin_c15x15.png') right no-repeat;
    padding: 3px 18px 3px 5px;
    margin: 0 3px 0 0;
    box-sizing: border-box;
}

.linkList li {
    margin: 5px 5px;
}

.notifications {
    width: 100%;
    margin: 0 auto;
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    left: 0px;
    top: 0px;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    color: #FFFFFF;
    pointer-events: none;
}

.notification {
    text-decoration: none;
    color: #ffffff;
    xmin-height: 60px;
    background-size: auto 100%;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 3px 3px 3px 3px;
    display: block;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 350px;
    pointer-events: auto;
    xanimation: showNotification 5s;
    background-color: black;
    animation-name: showNotification;
    animation-duration: 4s;
    animation-fill-mode: forwards;
}

@keyframes showNotification {
    0% {
        visibility: visible;
        background-color: white;
    }
    10% {
        background-color: black;
    }
    90% {
        background-color: black;
    }
    99% {}
    100% {
        background-color: black;
        visibility: hidden;
    }
}

.notificationItem {
    padding: 20px 20px;
}

.popup {
    xmax-height: 200px;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    left: 0;
    top: -200px;
    xtop: 0px;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    color: #FFFFFF;
    visibility: hidden;
    pointer-events: none;
}

.popupItem {
    text-decoration: none;
    color: #ffffff;
    padding: 0px 0 0 85px;
    xbackground-image: url(../assets/Avatars/Easy.png);
    background-repeat: no-repeat;
    min-height: 60px;
    background-size: auto 100%;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 3px 3px 3px 3px;
    display: block;
    xcursor: pointer;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 350px;
    pointer-events: auto;
}

.gamerTag {
    padding: 5px 5px 5px 5px;
    margin: 3px 3px 3px 3px;
    height: 75px;
    xbackground-color: #222222;
    background: rgba(0, 0, 0, 0.5);
    text-align: left;
    text-decoration: none;
    color: #ffffff;
    border-radius: 5px;
}

.gamerTag a {
    text-decoration: none;
    color: #ffffff;
}

.gamerTag .gamerTagImage {
    width: 75px;
    height: 75px;
    vertical-align: top;
    float: left;
    clear: both;
}

.gamerTag div.coins {
    font-size: 14px;
    float: right;
    background: url('images/coin_c15x15.png') right no-repeat;
    padding: 3px 18px 3px 5px;
    margin: 0 3px 0 0;
    box-sizing: border-box;
}

.gamerTag .deck {
    width: 50px;
    vertical-align: top;
    float: right;
}

.gamerTag img.miniIcon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.gamerTag div.title {
    padding: 0 0 0 15px;
    font-size: 22px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gamerTag div.description {
    padding: 1px 15px 0 90px;
    font-size: 16px;
}

.gamerTag progress[value] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 75%;
    height: 7px;
    margin: 5px 0px;
}

.dialogBox {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url(images/wood.jpg); */
    /* background-size: 100%; */
    z-index: 3;
    xcursor: pointer;
    display: none;
}

.dialogBox .background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #00000082; */
    background: rgba(0, 0, 0, 0.5);
}

.dialogBox .dialogBoxWindow {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /* left: 0px; */
    background-color: #333333;
    xbackground-color: #00000087;
    max-width: 100%;
    max-height: 100%;
    /* width: 500px;
    height: 400px; */
    width: 85%;
    xheight: 85%;
    background-color: #333333;
    box-sizing: border-box;
    overflow: auto;
}

.dialogBox header {
    background-color: #479ace;
    padding: 10px 10px;
    position: relative;
    font-size: 20px;
    text-align: center;
    min-height: 20px;
}

.dialogBox main {
    background-color: #333333;
    padding: 10px 15px;
}

.chatTab {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    background: #efefef;
    box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
}

.close {
    color: #FFFFFF;
    font: 20px/100% arial, sans-serif;
    position: absolute;
    right: 10px;
    top: 10px;
    content: '✖';
    /* UTF-8 symbol */
}

/* Style the tab */

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */

.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */

.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */

.tabcontent {
    display: none;
    padding: 6px 6px;
    xborder: 1px solid #ccc;
    border-top: none;
}

.tabcontent.active {
    display: block;
}

.chatPhrases a {
    color: #ffffff;
    cursor: pointer;
    /* border: 2px solid #FFFFFF; */
    display: inline-block;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 3px 3px 3px 3px;
    background-color: #479ace;
}

.emojyIcon {
    font-size: 50px;
    display: inline-block;
    margin: 5px 3px;
    margin: 3px 3px 3px 3px;
    cursor: pointer;
    color: #ffffff;
    border: 2px solid #FFFFFF;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 5px;
}

input[value="true"] {
    border: solid 1px yellow;
    color: #F90;
}

.handOptionList {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    text-align: left;
    /* font-family: monospace; */
}

.handOptionList td, .handOptionList th {
    padding: 3px;
}

.handOptionList thead tr:nth-child(odd) {
    background-color: #111111;
}

.handOptionList tr:nth-child(odd) {
    background-color: #222222;
}

.handOptionList tr:nth-child(even) {
    background-color: #111111;
}

.miniCard {
    xborder: #AAAAAA 1px solid;
    xpadding: 2px 3px;
    xmargin: 2px 1px;
    display: inline-block;
    text-align: center;
    color: white;
    background-color: #383838;
    min-width: 18px;
}

/* The ribbons */

.corner-ribbon {
    width: 200px;
    background: #e43;
    position: absolute;
    top: 25px;
    left: -50px;
    text-align: center;
    line-height: 50px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* Custom styles */

.corner-ribbon.sticky {
    position: fixed;
}

.corner-ribbon.shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

/* Different positions */

.corner-ribbon.top-left {
    top: 25px;
    left: -50px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right {
    top: 25px;
    right: -50px;
    left: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left {
    top: auto;
    bottom: 25px;
    left: -50px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right {
    top: auto;
    right: -50px;
    bottom: 25px;
    left: auto;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* Colors */

.corner-ribbon.white {
    background: #f0f0f0;
    color: #555;
}

.corner-ribbon.black {
    background: #333;
}

.corner-ribbon.grey {
    background: #999;
}

.corner-ribbon.blue {
    background: #39d;
}

.corner-ribbon.green {
    background: #2c7;
}

.corner-ribbon.turquoise {
    background: #1b9;
}

.corner-ribbon.purple {
    background: #95b;
}

.corner-ribbon.red {
    background: #e43;
}

.corner-ribbon.orange {
    background: #e82;
}

.corner-ribbon.yellow {
    background: #ec0;
}

/* Progressbar */

.meter {
    height: 5px;
    position: relative;
    background: #f3efe6;
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
}

.progressAnimated {
    background-color: #218414;
    animation: progressBar 1s ease-in-out;
    animation-fill-mode: both;
}

@keyframes progressBar {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes progressBar {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.iapList li {
    margin: 5px 0px 5px 0px;
    height: 75px;
    background-color: #222222;
    color: #ffffff;
    background-color: #ffffff;
    color: #222222;
    border-radius: 4px;
    cursor: pointer;
    border: 2px white solid;
}

.iapList .highlight {
    border: 3px gold solid;
}

.iapList li img {
    width: 75px;
    vertical-align: top;
    float: left;
    clear: both;
    xbackground-color: #dddddd;
    border-right: 1px gray solid;
}

.iapList li div.title {
    padding: 3px 0 0 90px;
    font-size: 22px;
}

.iapList li div.description {
    padding: 8px 0 0 90px;
    font-size: 12px;
}

.iapList li .priceButton {
    display: inline-block;
    text-align: center;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    margin: 0 3px;
    padding: 5px 6px;
    text-decoration: none;
    height: 28px;
    vertical-align: top;
    font-size: 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    float: right;
    margin: 25px 10px 25px 15px;
    border: 1px solid #222222;
    color: #222222;
}

.coinButton {
    display: inline-block;
    text-align: right;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    margin: 0 3px;
    padding: 5px 6px;
    text-decoration: none;
    vertical-align: top;
    font-size: 20px;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    cursor: pointer;
    background-position: top 3px right 5px;
    background-image: url(images/coin_c20x20.png);
    background-repeat: no-repeat;
    font-size: 20px;
    line-height: 20px;
    padding: 3px 30px 3px 5px;
}

.buttonRewardAd {
    text-decoration: none;
    color: #ffffff;
    font-size: 36px;
    padding: 0 0 0 85px;
    background-image: url(../assets/Avatars/Easy.png);
    background-repeat: no-repeat;
    background-size: auto 60px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 3px 3px 3px 3px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 5px;
    min-height: 60px;
    line-height: 60px;
    display: inline-block;
    width: 300px;
    background-image: url(images/PlayVideo.png);
    text-align: left;
}

.coin {
    font-size: 15px;
    line-height: 15px;
    background: url('images/coin_c15x15.png') right no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
}

.deckListLarge {
    text-align: center;
}

.deckListLarge li {
    margin: 5px 5px 5px 5px;
    padding: 5px 5px;
    /* border: 1px solid; */
    border-radius: 10px 10px;
    text-align: center;
    font-size: 20px;
    background: black;
    background: rgba(0, 0, 0, 0.50);
    box-sizing: border-box;
    box-shadow: 3px 3px black;
    padding: 0 0;
    position: relative;
    background-image: url(images/wood.jpg);
    min-width: 200px;
    display: inline-block;
}

.deckListLarge li .title {
    text-align: center;
    padding: 4px 8px;
}

.deckListLarge li img {
    display: inline-block;
    margin: 0 auto;
    vertical-align: bottom;
}

.deckListLarge li .bottomLabel {
    position: absolute;
    bottom: 0px;
    border-radius: 0 0 10px 10px;
    background: rgba(0, 0, 0, 0.90);
    width: 100%;
    padding: 3px 8px;
    box-sizing: border-box
}

.deckListLarge li .button {
    display: inline-block;
    text-align: center;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    margin: 0 3px;
    padding: 5px 6px;
    text-decoration: none;
    vertical-align: top;
    font-size: 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    cursor: pointer;
    float: right;
    background: none;
    min-height: inherit;
    margin: 4px 3px 1px 3px;
    width: initial;
    height: initial;
}

.deckListLarge li .coinButton {
    background-position: top 3px right 5px;
    background-image: url(images/coin_c15x15.png);
    background-repeat: no-repeat;
    padding: 3px 30px 3px 5px;
    font-size: 15px;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
}
.store {
    text-align: center;
}
.store li{
    display: block;
    margin: 5px 5px 5px 5px;
    padding: 5px 5px;
    border-radius: 10px 10px;
    box-sizing: border-box;
    box-shadow: 3px 3px black;
}
.store a{
    display: block;
}
.store img{
    max-height: 100px;max-width:300px;
}