html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    background-image: url('images/wood4.jpg');
    background-size: 100%;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
}

canvas {
    display: block;
}

a {
    text-decoration: none;
    color: #ffffff;
}

h1 {
    display: block;
    font-size: 2.2em;
    -webkit-margin-before: 0.67em;
    -webkit-margin-after: 0.67em;
    -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;
    xbackground-image: url('images/wood4.jpg');
}

.page {
    position: absolute;
    /*fixed; */
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/wood4.jpg');
    background-size: 100%;
    z-index: 2;
    xcursor: pointer;
}

.pageTitle {
    margin: 5px 0 5px 0;
}

.pageTitle h1 {
    display: inline-block;
    vertical-align: middle;
}

.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: 8px 0 0 85px;
    background-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;
    xdisplay: inline-block;
    display: block;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 5px;
}

.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;
}

.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');
}

.buttonCrazyNinja {
    background-image: url('../assets/Avatars/CrazyNinjaBlank.png');
}

.simpleButtonOutLine {
    height: 45px;
    color: #ffffff;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    display: inline-block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 3px 3px 3px 3px;
    background: none;
    vertical-align: bottom;
}

.buttonFacebook {
    text-align: left;
    padding: 18px 12px 18px 80px;
    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;
    padding: 18px 12px 18px 80px;
    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;
}

.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: 5px 0px;
}
.profile input[type="radio"] + label 
,.profile input[type="checkbox"] + label  {
    display: inline-block;
    vertical-align: inherit;
    width: inherit;
    margin: 10px 10px 5px 0;
}

.profile .form {
    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 td, .statsTable th {
    padding: 3px 5px 3px 5px;
}

.statsTable td:nth-child(1) {
    padding-right: 10px;
    text-align: left;
}

.statsTable th {
    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 {
    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 {
    width: 50px;
    vertical-align: top;
    float: left;
    clear: both;
}

.achievementList li.NotFound img {
    xvisibility: hidden;
    opacity: 0.4;
}

.achievementList li div.title {
    padding: 6px 0 0 65px;
    font-size: 17px;
}

.achievementList li div.description {
    padding: 3px 0 0 65px;
    font-size: 12px;
}

.achievementList li div.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;
}

.achievementPopup {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    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;
}

.achievementPopup .container {
    xbackground-color: green;
    text-align: left;
    margin: 0 auto;
    min-width: 200px;
    max-width: 320px;
}

.achievementPopup .achievementList li {
    margin: 0px 0px 1px 5px;
}

.achievementPopup.showAchievementPopup {
    animation: showAchievementPopup 5s;
}

@keyframes showAchievementPopup {
    0% {
        visibility: visible;
        top: -200px;
    }
    10% {
        top: 0px;
    }
    90% {
        top: 0px;
    }
    99% {
        top: -200px;
    }
    100% {
        visibility: hidden;
    }
}

.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;
    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: 3px 0 5px 15px;
    font-size: 22px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gamerTag div.description {
    padding: 2px 15px 1px 90px;
    font-size: 16px;
}

.gamerTag progress[value] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 75%;
    height: 7px;
    margin: 5px 0px;
}

.popUp {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url(images/wood4.jpg); */
    /* background-size: 100%; */
    z-index: 2;
    xcursor: pointer;
    display: none;
}

.popUp .background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000082;
}

.popUp .dialogBox {
    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;
    background-color: #333333;
    box-sizing: border-box;
    overflow: auto;
}

.popUp header {
    background-color: #479ace;
    padding: 10px 10px;
    position: relative;
    font-size: 20px;
    text-align: center;
}

.popUp main {
    background-color: #333333;
    padding: 10px 10px;
}

.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 12px;
    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: 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;
}