* {
    box-sizing: unset;
}

#startGameBtn,
#startBtn {
    text-align: center;
}

.selectionNumbers p {
    color: #C8C8C8;
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 2px 6px;
    text-transform: uppercase;
}

.selectionNumbers .quantity {
    background: #5ed8f5;
    box-shadow: inset 0 1px 2px 1px #4ca8bd;
    color: #FFF;
    font-size: 20px;
    font-weight: normal;
    margin: 0 10px 0 0;
    padding: 0 20px;
}

.selectionNumbers .quantity span {
    display: inline-block;
    font-size: 10px;
    line-height: 11px;
    margin: 0 3px;
    position: relative;
    text-align: center;
    text-transform: none;
    top: 1px;
    width: 20px;
}

.sideName {
    font-size: 10px;
    margin: 10px 0px 50px;
    text-align: right;
    text-transform: uppercase;
}

.footerBtn p:before,
.totalResultsHeader h2:before {
    background: none repeat scroll 0 0 #D3D3D3;
    border-bottom: 2px solid #FFFFFF;
    content: "";
    display: block;
    height: 1px;
    position: relative;
    top: 36px;
}

.totalResultsHeader h2 {
    color: #404040;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    text-align: center;
    text-transform: none;
    text-shadow: 1px 1px 1px white;
}

.totalResultsHeader h2 span,
.footerBtn p span {
    background: #f7f7f7;
    padding: 8px;
    position: relative;
    z-index: 1;
}

#round h2 span {
    background: #fff;
}

.memorize_card .cardContent .answertf {
    margin: 20px;
    text-align: center;
}

.memorize_card .cardContent .answertf .wrongAnswer {
    background: #ffebe8;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    padding: 12px;
}

.memorize_card .cardContent .answertf .rightAnswer {
    background: #f1f1f1;
    font-size: 12px;
    line-height: 16px;
    padding: 12px;
}

.stats {
    font-size: 12px;
    padding: 8px;
    width: 284px;
}

.stats li {
    width: 140px;
}

.stats li p {
    float: left;
    font-size: 11px !important;
    font-weight: normal !important;
    text-align: left;
    width: 60px;
}

.stats li span {
    display: inline-block;
    height: 11px;
    margin: 2px 8px 0 0;
    vertical-align: top;
    width: 50px;
}

.stats #correct_bar {
    background: #b7dd62;
    /* Old browsers */
    background-image: -moz-linear-gradient(top, #b7dd62 0%, #97c53f 51%, #87b72e 100%);
    /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b7dd62), color-stop(51%, #97c53f), color-stop(100%, #87b72e));
    /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #b7dd62 0%, #97c53f 51%, #87b72e 100%);
    /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, #b7dd62 0%, #97c53f 51%, #87b72e 100%);
    /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, #b7dd62 0%, #97c53f 51%, #87b72e 100%);
    /* IE10+ */
    background-image: linear-gradient(to bottom, #b7dd62 0%, #97c53f 51%, #87b72e 100%);
    /* W3C */
}

.stats #incorrect_bar {
    background: #FF705D;
    background-image: linear-gradient(bottom, #FF705D 34%, #F4A99C 67%);
    background-image: -o-linear-gradient(bottom, #FF705D 34%, #F4A99C 67%);
    background-image: -moz-linear-gradient(bottom, #FF705D 34%, #F4A99C 67%);
    background-image: -webkit-linear-gradient(bottom, #FF705D 34%, #F4A99C 67%);
    background-image: -ms-linear-gradient(bottom, #FF705D 34%, #F4A99C 67%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.34, #FF705D), color-stop(0.67, #F4A99C));
    border-color: #95736d #de6251 #ff705d;
}

.sorry-msg {
    background: url(../../../assets/whiteboard/styles/../images/key.png) no-repeat;
    width: 640px;
}

.sorry-msg div {
    height: 100px;
    margin-left: 100px;
}

.instructionsBox>ol,
.cram-instruction-box>ol {
    list-style-type: decimal;
}

.instructionsBox>ol>li,
.cram-instruction-box>ol>li {
    font-size: 12px;
}

.instructionsBox ol,
.cram-instruction-box ol {
    list-style-type: numeric;
}

.instructionsBox,
.cram-instruction-box {
    margin: 56px 20px;
    text-align: left;
}

.instructionsBox h3,
.cram-instruction-box h3 {
    font-size: 34px;
    font-weight: 500;
    margin: 0;
}

.instructionsBox .error_msg {
    font-size: 24px;
    line-height: 1.4em;
    text-align: center;
}

.cardContent>.instructionsBox p {

    font-size: 14px;
    font-weight: normal;
    line-height: 30px;
}

.memorize_card .cardAnswerArea {
    background: #F0F0F0;
    background-image: linear-gradient(bottom, #DFDFDF 3%, #F0F0F0 12%, #F7F7F7 89%);
    background-image: -o-linear-gradient(bottom, #DFDFDF 3%, #F0F0F0 12%, #F7F7F7 89%);
    background-image: -moz-linear-gradient(bottom, #DFDFDF 3%, #F0F0F0 12%, #F7F7F7 89%);
    background-image: -webkit-linear-gradient(bottom, #DFDFDF 3%, #F0F0F0 12%, #F7F7F7 89%);
    background-image: -ms-linear-gradient(bottom, #DFDFDF 3%, #F0F0F0 12%, #F7F7F7 89%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.03, #DFDFDF), color-stop(0.12, #F0F0F0), color-stop(0.89, #F7F7F7));
    -webkit-border-bottom-left-radius: 8px;
    border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: 1px solid #E7E7E7;
    min-height: 70px;
    overflow: hidden;
    padding: 20px 14px 10px;
    text-align: center;
    -moz-border-bottom-left-radius: 8px;
    -moz-border-bottom-right-radius: 8px;
}

.correct div,
.incorrect div {
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 4px;
    color: #fff;
    display: none;
    float: left;
    font-size: 10px;
    font-weight: 600;
    margin-left: 10px;
    margin-top: -2px;
    padding: 2px 16px;
    position: absolute;
    text-align: center;
    width: 100px;
}

.correct div {
    background-color: #84AF31;
}

.incorrect div {
    background-color: #FF705D;
}

.disable {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    box-shadow: none;
    color: #ccc;
    cursor: default;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.disable:hover {
    background: none;
    box-shadow: none;
    cursor: default;
}

.study_content .main-content {
    padding: 25px 20px;
}

#nav-bar li span.activeLink {
    color: #1D95CB;
    cursor: pointer;
}

#nav-bar li span.activeLink:hover {
    text-decoration: underline;
}

.instructionsText,
.cram-instruction-box,
#memorize_card #card,
.sideName,
.progress_bar,
#playBtn div,
#playBtn2 div,
.flashcardNav>*,
#memorize_card .totalResultsHeader,
#mark_answer,
#enter_answer,
#hintCardSide {
    display: none;
}

/* some phones make a blue square on what you tap. remove that. */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar {
    width: 1.6%;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(28, 5, 11, 0.8);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, rgba(143, 103, 44, .8), rgba(118, 94, 38, .8));
    border-radius: 5px;
}

a {
    color: #FFF;
}

#averageScoreArea {
    font-size: 300%;
    height: 14%;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 68%;
    width: 100%;
}

html,
body,
.body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    -ms-overflow-style: none;
    -ms-touch-action: none;
    touch-action: none;
}


body,
.body {
    background: #000;
    font-family: arial;
    font-size: 10px;
    margin: 0px;
    min-width: 320px;
    padding: 0px;
    position: absolute;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#canvas {
    background: url(../../data/images/jewel/bg.jpg);
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    height: 2000px;
    margin: auto;
    overflow: hidden;
    position: relative;
    text-align: center;
    -webkit-text-size-adjust: 100%;
}

#canvasOuter {
    text-align: center;
}

.card {
    color: #f5edc8;
    cursor: pointer;
    height: 130px;
    overflow: hidden;
    position: absolute;
    text-align: center;
    width: 100%;
}

.cardImageArea {
    height: 70%;
    left: 25%;
    overflow: hidden;
    position: relative;
    top: 15%;
    width: 50%;
}

#col2 .cardImageArea {
    height: 64%;
    top: 20%;
}

.cardImage {
    position: relative;
    width: 100%;
}


#cardFaller,
#cardShifter {
    position: absolute;
}

#cardFaller {
    top: -1300px;
}

/* test */
#cardFaller.going {
    top: 0px;
    -moz-transition: top 1s linear;
    -o-transition: top 1s linear;
    -webkit-transition: top 1s linear;
    transition: top 1s linear;
}

/* speedup. tell browser to use it's power on falling jewels. */
.cardTouchScreen,
#cardFaller,
#cardShifter {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000;
    -webkit-perspective: 1000;
}

#col2 .card {
    color: #000;
}

.wrong {
    background: rgb(200, 0, 0);
}

.correct {
    background: rgb(0, 240, 0);
}

#cardsPerRoundLabel {
    font-size: 250%;
}

.cardText div {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.cardTextOuter {
    height: 64%;
    left: 15%;
    position: relative;
    text-align: center;
    top: 18%;
    width: 70%;
}

.cardText {
    width: 70%;
    height: 100%;
    position: relative;
    width: 100%;
    display: table;
    vertical-align: middle;
    text-align: center;
    line-height: 90%;
}

.cardText.notRendering {
    line-height: 90%;
}

.fastCard {
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

#col1 .fastCard {
    text-shadow: 2px 2px 2px #000;
}

.gameStateRendering .cardText,
.gameStateRendering2 .cardText {
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
}

.centerX {
    height: 100%;
    left: -50%;
    position: relative;
}

#clockArea {
    height: 90%;
    position: absolute;
    text-align: left;
    top: 0px;
    width: 0px;
}

#clockImage {
    height: 100%;
    position: absolute;
    width: 100%;
}

#clockMinuteHand {
    height: 25%;
    left: 25%;
    padding-left: 19%;
    padding-top: 19%;
    position: absolute;
    top: 37%;
    width: 29%;
}

#clockSecondHand {
    height: 25%;
    left: 25%;
    padding-left: 19%;
    padding-top: 19%;
    position: absolute;
    top: 37%;
    width: 29%;
}

#clockMinuteHand img,
#clockSecondHand img {
    height: 100%;
    width: 100%;
}

.col {
    display: none;
    float: left;
    position: absolute;
    top: 20%;
    width: 175px;
    z-index: 3;
}

.col.ready {
    display: block;
}

.gameStateStart .col,
.gameStateScores .col,
.gameStateLogin .col,
.gameStateSignup .col,
.gameStatePaused .col,
.gameStateSets .col {
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
}

/* when the popup is open the header is greyed out */
#darkCover {
    background: #000;
    display: none;
    filter: alpha(opacity=75);
    height: 0px;
    left: 0px;
    opacity: .75;
    position: absolute;
    top: 0px;
    width: 100%;
    -moz-opacity: 0.75;
}

#debug {
    display: none;
    font-size: 222%;
    left: 50%;
    position: fixed;
    top: 100px;
}

.expandedCardDual {
    height: 50%;
    position: relative;
}

#expandedCard1 {
    border-radius: 6px;
    box-shadow: 0px 0px 10px #000;
}

#expandedCard1 .inner {
    height: 92%;
    left: 4%;
    overflow: hidden;
    position: absolute;
    top: 4%;
    width: 92%;
}

#expandedCard2 .inner {
    height: 80%;
    left: 11%;
    overflow: hidden;
    position: absolute;
    top: 10%;
    width: 78%;
}

.rendering {
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
}

.expandedCardTextAndImageArea {
    height: 67%;
    position: relative;
    text-align: center;
}

.expandedCardTextAndImageArea.noIcon {
    height: 87%;
}

.expandedCardTextAndImageArea.noHint {
    height: 77%;
}

.expandedCardTextAndImageArea.noHint.noIcon {
    height: 100%;
}

.expandedCard {
    display: none;
    position: absolute;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 224;
    font-size: 30px;
    color: #f5edc8;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.9);
    text-align: left;
}

#expandedCardJewelImage {
    height: 20%;
    position: relative;
    top: -2%;
    width: 33%;
}

.expandedCardText {
    position: absolute;
    text-align: left;
    height: 100%;
    width: 100%;
}

.expandedCardDual .expandedCardText {
    height: 95%;
    padding-top: 5%;
}


.expandedCardBG {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.expandedCardImageArea {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.expandedCardImage {
    height: 100%;
    left: 0px;
    position: relative;
    top: 0px;
    width: auto;
}

#explosion {
    display: none;
    position: absolute;
    z-index: 333;
}

#col2 .expandedCard {
    color: #000;
    background: none;
    height: 100%;
    width: 100%;
    padding: 0px;
}

#enterNameYou {
    font-style: italic;
}

/* general flipping for images */
.flipX {
    -ms-filter: "FlipH";
    filter: FlipH;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.flipY {
    -ms-filter: "FlipV";
    filter: FlipV;
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.flipXY {
    -ms-filter: "FlipH FlipV";
    filter: FlipH FlipV;
    -moz-transform: scaleX(-1) scaleY(-1);
    -o-transform: scaleX(-1) scaleY(-1);
    -webkit-transform: scaleX(-1) scaleY(-1);
    transform: scaleX(-1) scaleY(-1);
}

#gameArea {
    position: absolute;
    text-align: center;
    width: 100%;
}

#headArea {
    height: 90%;
    margin: auto;
    position: relative;
    text-align: left;
    top: 3%;
    width: 0px;
}

#headArea .headFrame {
    background-size: 100% 100%;
    height: 100%;
    width: 100%;
    display: none;
    position: absolute;
}

#headArea .headFrame.idle {
    background-image: url(../../data/images/jewel/head-idle.png);
}

#headEyeBG {
    height: 8%;
    left: 26%;
    position: absolute;
    top: 46%;
    width: 20%;
}

#headEyeArea {
    height: 7%;
    left: 30%;
    position: absolute;
    top: 45%;
    width: 8%;
}

#headEye {
    position: relative;
    height: 100%;
    width: 100%;
}

#headMustache {
    left: 9%;
    position: absolute;
    top: 62%;
    width: 80%;
    z-index: 2;
}

#header {
    left: 0.3%;
    margin: auto;
    position: relative;
    text-align: center;
}

#headerCol1 .headerBackground,
#headerCol3 .headerBackground {
    width: 100%;
}

#headerCol3 .headerBackground {
    left: -1px;
    position: relative;
}

#headerCol2 .headerBackground {
    float: left;
    width: 50%;
}

#headerBackgroundArea {
    height: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
}

#headerBackgroundArea td {
    vertical-align: top;
}

#joinAgreeArea {
    font-size: 100%;
    height: 0px;
    margin-top: 6px;
    margin-bottom: 25px;
}

#joinButtonAreaOuter {
    text-align: center;
}

.jewelImage,
.jewelImageHover {
    height: 100%;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
}

#loadingMessage {
    color: #FFF;
    font-size: 250%;
    font-style: italic;
    left: 75%;
    position: absolute;
    top: 22%;
}

#lock {
    display: none;
    position: absolute;
    z-index: 222;
}

#loginButtonsAreaInner {
    position: relative;
}

#loginButtonsArea {
    vertical-align: top;
}

#gameTitle {
    font-size: 450%;
    padding-top: 4%;
}

#gameInfo {
    font-size: 150%;
}

.menuButton.longText {
    font-size: 60%;
}

.menuButton .bg {
    height: 200%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
}

.menuButton .outer {
    position: absolute;
    text-align: center;
    height: 100%;
    width: 100%;
    display: table;
}

.menuButton .inner {
    height: 100%;
    width: 100%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    padding: 0% 5%;
}


.menuButton {
    height: 100%;
    position: absolute;
    width: 100%;
    text-align: center;
    color: #f5edc8;
    cursor: pointer;
    font-weight: bold;
    overflow: hidden;
    text-transform: uppercase;

    left: 0;
    top: 0;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.menuButton.selected .bg {
    top: -100%;
}

.menuButton.selected div {
    top: 2px;
}

.menuButton img {
    border: 0;
}

.menuButtonMainMenu {
    font-size: 200%;
}

#menuButtonMainMenuArea4 .menuButtonMainMenu {
    font-size: 240%;
}

#menuButtonStartGame {
    height: 29%;
    left: 50%;
    position: absolute;
    top: 0%;
    width: 100%;
}

#menuButtonPickSet {
    height: 29%;
    left: 50%;
    position: absolute;
    top: 25%;
    width: 100%;
}

#menuButtonHighScores {
    height: 29%;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 100%;
}

#menuButtonWords {
    height: 29%;
    left: 50%;
    position: absolute;
    top: 75%;
    width: 100%;
}

#menuButtonQuit {
    height: 29%;
    left: 50%;
    position: absolute;
    top: 100%;
    width: 100%;
}

#pauseMenuButtons {
    font-size: 300%;
    height: 65%;
    left: 50%;
    position: absolute;
    top: 10%;
}

#menuButtonResume {
    left: 0%;
    position: relative;
    top: 0%;
}

#menuButtonRestart {
    left: 0%;
    position: relative;
    top: 5%;
}

#menuButtonInfo {
    left: 0%;
    position: relative;
    top: 10%;
}

#menuButtonSwap {
    left: 0%;
    position: relative;
    top: 15%;
}

#menuButtonSwapNo {
    left: 0%;
    position: relative;
    top: 15%;
    font-size: 50%;
    display: none;
}

#menuButtonSwapYes .menuButton {
    top: -100%;
}

#menuButtonSwapYes {
    display: none;
    font-size: 50%;
    left: 60%;
    position: relative;
    top: 15%;
}

#menuButtonSwapInfo {
    display: none;
    font-size: 50%;
    left: 50%;
    position: relative;
    top: 12%;
}

#menuButtonJoinPageArea {
    font-size: 300%;
    height: 100%;
    right: 55%;
    position: absolute;
    top: 70%;
    width: 22%;
}

#menuButtonLoginArea {
    font-size: 300%;
    height: 100%;
    left: 55%;
    position: absolute;
    top: 70%;
    width: 22%;
}

#menuButtonJoinArea {
    font-size: 300%;
    height: 14%;
    position: relative;
    width: 22%;
    display: inline-block;
    top: 75%;
}

#pauseMenuExtraButtons {
    height: 100%;
    left: 6%;
    position: absolute;
    top: 10%;
}

#menuButtonMainMenuArea4 {
    position: relative;
}

#menuButtonBackToSet {
    font-size: 240%;
    position: relative;
    top: 2%;
}

#menuButtonLoginCancel,
#menuButtonSignupCancel {
    font-size: 200%;
    height: 10%;
    left: 6%;
    position: absolute;
    top: 82%;
    width: 16%;
}


#menuButtonMainMenuArea {
    height: 10%;
    left: 7%;
    position: absolute;
    top: 66%;
    width: 16%;
}

#menuButtonNextRoundArea {
    font-size: 300%;
    height: 14%;
    left: 50%;
    position: absolute;
    top: 64%;
    width: 28%;
}

#menuButtonPrintArea {
    font-size: 200%;
    height: 14%;
    right: 7%;
    position: absolute;
    top: 4%;
    width: 28%;
    display: none;
}

.bot {
	left:5%;
	bottom:-2%;
	font-size:55px;
	position:absolute;
	
}

#menuButtonSaveScoreArea {
    font-size: 65%;
    height: 100%;
    left: 62%;
    position: relative;
    top: -77%;
    width: 60%;
}

#menuButtonStartOverArea,
#menuButtonScoresContinueArea {
    font-size: 300%;
    height: 14%;
    left: 50%;
    position: absolute;
    top: 64%;
    width: 28%;
}

#menuButtonPageArea {
    font-size: 300%;
    height: 13%;
    left: 50%;
    position: absolute;
    bottom: 3%;
    width: 20%;
}

#menuButtonReplayRoundArea {
    font-size: 200%;
    height: 10%;
    right: 7%;
    position: absolute;
    top: 66%;
    width: 16%;
}

#menuButtonMySetsTabArea {
    height: 10%;
    right: 50%;
    position: absolute;
    top: 20%;
    width: 16%;
}

#menuButtonSearchTabArea {
    height: 10%;
    left: 50%;
    position: absolute;
    top: 20%;
    width: 16%;
}

#menuButtonSetsSearchArea {
    height: 10%;
    left: 50%;
    position: absolute;
    top: 22%;
    width: 16%;
    font-size: 140%;
}

#menuButtonSetsSearchAgainArea {
    height: 10%;
    left: 50%;
    position: absolute;
    top: 82%;
    width: 16%;
    font-size: 220%;
}

#menuBgArea {
    height: 100%;
    position: absolute;
    width: 100%;
}

.menuBgRow {
    height: 60px;
}

.menuBgRow div {
    width: 69px;
}

#menuPatternLeft {
    left: 12px;
    position: absolute;
    top: 7px;
}

#menuPatternRight {
    bottom: 7px;
    position: absolute;
    right: 12px;
}

#templateArea {
    display: none;
}

#titleScreenArea {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background-size: 100% 100%;
    background-image: url(../../data/images/jewel/title-screen.jpg);
    background-color: #000;
}

#titleScreenButtons {
    font-size: 300%;
    height: 40%;
    left: 54%;
    position: absolute;
    top: 15%;
    width: 26%;
}

#infoText {
    font-size: 175%;
    font-style: italic;
    font-weight: normal;
    left: 14%;
    line-height: 112%;
    position: absolute;
    text-align: left;
    top: 35%;
    width: 38%;
}

#infoTextBullets {
    font-size: 150%;
    font-weight: normal;
    height: 15%;
    left: 14%;
    line-height: 100%;
    position: absolute;
    text-align: left;
    top: 68%;
    width: 43%;
}

#infoTextTitle {
    font-weight: bold;
}

#infoTextBullets img {
    float: left;
    height: 80%;
    margin-bottom: 15px;
    margin-right: 10px;
}

#infoTextBullets div {
    height: 15%;
    margin-bottom: 18px;
}

#menuButtonPause {
    font-size: 240%;
}

#pauseIcon {
    height: 31%;
}

#menuButtonPauseAreaInner {
    height: 100%;
    left: -100%;
    position: relative;
}

#menuButtonPauseArea {
    height: 39%;
    left: 42%;
    position: absolute;
    top: 22%;
}


#muteButtonArea {
    cursor: pointer;
    height: 36%;
    left: 58%;
    overflow: visible;
    position: absolute;
    top: 25%;
}

#menuButtonWonOkayArea {
    font-size: 300%;
    height: 14%;
    left: 50%;
    position: absolute;
    top: 78%;
    width: 26%;
}


#muteButton img {
    height: 200%;
    width: 100%;
}

#muteButton.muted img {
    position: relative;
    top: -100%;
}

#loadingArea {
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #000;
    color: #f5edc8;
    font-size: 300%;
    padding-top: 20%;
    text-align: center;
    z-index: 999;
}

#popup {
    display: none;
    height: 78%;
    left: 50%;
    position: relative;
    top: 180px;
    width: 95%;
}

#popupInner {
    position: relative;
    left: -50%;
    background: #231f20 url(../../data/images/jewel/menu-background.jpg);
    z-index: 998;
    height: 100%;
    width: 100%;
    font-weight: bold;
    color: #f5edc8;
    overflow: hidden;
}

#popupInnerInner {
    padding: 20px;
}

.popupArea {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

#popupStart {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 997;
}

#popupSignup input,
#popupLogin input {
    border-radius: 3px;
    color: #6b0;
    font-size: 225%;
    font-style: italic;
    padding-bottom: 15px;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 15px;
    width: 94%;
}

#safe {
    background-image: url(../../data/images/jewel/vault640.jpg);
    background-size: 100% 100%;
    left: 0px;
    position: absolute;
    top: 209px;
}

.scoreRankMessage {
    font-size: 75%;
    font-style: italic;
}

.scoresTableHeadingTemplate {
    font-size: 150%;
    font-weight: bold;
    text-transform: uppercase;
}

.scoresTableMarginTemplate {
    font-size: 150%;
    font-weight: bold;
}

.scoresTableRowTemplate {
    font-weight: normal;
}

#scoresTable td {
    text-align: left;
}

#scoresTable .rankColumn {
    text-align: right;
}

#scoresTableMargin {
    height: 8px;
    padding-bottom: 12px;
    padding-top: 12px;
    width: 100%;
}

#scoreArea {
    color: #000;
    height: 50%;
    left: 2%;
    position: absolute;
    text-align: left;
    top: 17%;
}

#scoreArea img {
    height: 100%;
    width: 100%;
}

#scoreMessage {
    height: 0px;
    left: 50%;
    position: absolute;
    top: 37%;
    width: 100%;
}

#scoreMessageInner {
    position: relative;
    width: 100%;
    left: -50%;
    top: -2px;
    text-align: center;
    color: #f5edc8;
    font-size: 280%;
}

#scoreTitle {
    font-size: 150%;
    height: 0px;
    left: 50%;
    position: absolute;
    top: 20%;
    width: 100%;
}

#scoreTitleInner {
    position: relative;
    width: 100%;
    left: -50%;
    top: -2px;
    text-align: center;
    color: #f5edc8;
    text-transform: uppercase;
}

#scoresTable {
    font-size: 190%;
    width: 90%;
}

#scoresTable th {
    font-size: 65%;
    text-align: left;
}

#scoresTable .scoreAccuracy {
    font-size: 75%;
    text-align: center;
}

#scoresArea {
    height: 100%;
    position: absolute;
    width: 100%;
}

#scoresLoading {
    font-size: 150%;
    font-style: italic;
}

/* your score in the high scores table, or your previous high */
.scoreYou,
.scoreYouPrevious {
    background: rgba(64, 32, 32, 0.5);
    color: #8DB848;
    font-size: 150%;
    font-weight: bold;
}

.scoreYou td {
    vertical-align: middle;
}

.scoreGhost {
    filter: alpha(opacity=50);
    opacity: 0.5;
    -moz-opacity: 0.5;
}

#gameScore {
    text-align: right;
}

#scoreTallyArea {
    height: 100%;
    margin: auto;
    text-align: left;
    width: 90%;
}

#scoreTallyTable {
    font-size: 350%;
    padding-bottom: 15px;
    width: 85%;
}

#scoreTallyTable td {
    vertical-align: middle;
}

#setLabel {
    color: #000;
    font-size: 150%;
    padding-top: 29px;
}

#setName {
    display: none;
    font-size: 300%;
    font-weight: bold;
    margin: 1% 0%;
}

#setsShortSearchMessage,
#setsNoneMessage,
#setsLoadingMessage {
    display: none;
}

#setsSearchArea {
    font-size: 220%;
    display: none;
    position: absolute;
    width: 80%;
    top: 45%;
    left: 10%;
    height: 55%;
}

#setsSearchInput {
    color: #6b0;
    padding: 1%;
    font-size: 160%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#setsSearchInput:-ms-input-placeholder {
    color: #999;
}

#popupSets.search #setsSearchArea {
    display: block;
}

#menuButtonSetsSearchAgainArea {
    display: none;
}

#popupSets.searchResults #menuButtonSetsSearchAgainArea {
    display: block;
}

#popupSets.search #setsTableArea {
    display: none;
}

.setsTableHeadingTemplate th {
    text-transform: uppercase;
}

#setsTable td {
    vertical-align: middle;
}

#setsTable a {
    text-decoration: none;
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 4px;
}

#setsTable a:hover {
    text-decoration: underline;
}

#setsTable .date {
    white-space: nowrap;
}

#setsTable .cards,
#setsTable .date {
    text-align: center;
    width: 20%;
}

#setsTable .setTitle {
    line-height: 90%;
}

#setsTableHeadingOuter {
    width: 80%;
    bottom: 67%;
    left: 10%;
    text-align: left;
    position: absolute;
}

#setsTableHeading {
    color: #FFF;
    font-size: 220%;
    font-weight: bold;
    width: 93.4%;
}

#setsTableOuter {
    height: 46%;
    overflow-y: scroll;
    -ms-overflow-style: scrollbar;
    color: #FFF;
    font-size: 220%;
    font-weight: normal;
    position: absolute;
    width: 80%;
    top: 33%;
    left: 10%;
    text-align: left;
}

#setsTableOuter.loading {
    width: auto;
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
}

#popupSets.search #setsTableOuter {
    overflow: visible;
    overflow-y: visible;
}


#popupWon {
    margin: 0;
}

.menuButton {
    left: 0%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    vertical-align: middle;
}

table td,
table th {
    padding: 0;
}

#timeBonus {
    text-align: right;
}

#accuracyBonus {
    text-align: right;
}

#yourScore {
    font-size: 135%;
    text-align: right;
    text-shadow: 0px 0px 6px #FFF;
}

#yourScoreLabel {
    font-size: 135%;
    text-shadow: 0px 0px 6px #FFF;
    white-space: nowrap;
}


#timerArea {
    color: #000;
    height: 50%;
    position: absolute;
    text-align: left;
    top: 20%;
    width: 0px;
}


#timerArea img {
    height: 100%;
    width: 100%;
}

#timer {
    color: #000;
    font-size: 100%;
    height: 0px;
    left: 42%;
    position: absolute;
    text-align: left;
    top: 42%;
    width: 100%;
}

#timerInner {
    position: relative;
    width: 100%;
    left: -50%;
    text-align: center;
    color: #f5edc8;
    font-size: 200%;
}

#timerTitle {
    color: #000;
    font-size: 150%;
    height: 0px;
    left: 42%;
    position: absolute;
    text-align: left;
    text-transform: uppercase;
    top: 20%;
    width: 100%;
}

#timerTitleInner {
    position: relative;
    width: 100%;
    left: -50%;
    text-align: center;
    color: #f5edc8;
}

#wonMessage {
    color: #f5edc8;
    font-size: 800%;
    font-weight: bold;
    padding-bottom: 34px;
    padding-top: 34px;
}

#loginUsername {
    margin-bottom: 5px;
}

#loginMessage {
    font-size: 180%;
    font-weight: normal;
    text-align: center;
    padding: 7px;
    background: #d45234;
    border-radius: 3px;
}

.loginDivider {
    height: 8px;
    padding-bottom: 8px;
    padding-top: 4px;
    width: 100%;
}

#signupEmail {
    margin-bottom: 10px;
}

#loginInputArea {
    text-align: left;
    width: 50%;
}

#loginInputMessageUsername {
    font-size: 200%;
}

#loginInputMessagePassword {
    font-size: 200%;
    margin-top: 3px;
}

.signupInputMessage {
    font-size: 200%;
    margin-top: 25px;
    text-transform: uppercase;
}

#signupMessage {
    font-size: 180%;
    font-weight: normal;
    text-align: center;
    padding: 7px;
    background: #d45234;
    border-radius: 3px;
}


#scoresNoneMessage {
    font-size: 175%;
    font-style: italic;
}

#scoresMessage {
    font-size: 200%;
    font-style: italic;
}

#scoreTallyClock {
    height: 77px;
    text-align: center;
    width: auto;
}

#scoreTallyIconJewel {
    height: 48px;
}

#scoreTallyIconClock img {
    height: 77px;
}

.scoreTallyIconCol {
    color: #FFF;
    text-align: center;
    width: 222px;
}

#scoreTallyDivider {
    height: 8px;
    margin-left: 10%;
    padding-bottom: 8px;
    padding-top: 8px;
    width: 100%;
}

.loginTable {
    margin: auto;
    width: 90%;
}

.loginTable td {
    text-align: left;
}

#signupTitle,
#loginTitle {
    color: #f5edc8;
    font-size: 550%;
    font-weight: bold;
    padding-top: 25px;
}

#highScoresTitle {
    color: #f5edc8;
    font-size: 550%;
    font-weight: bold;
    padding-bottom: 16px;
    padding-top: 16px;
}


.expandedCardContent {
    text-align: left;
}

.items1 .expandedCardContent {
    height: 100%;
}

.items2 .expandedCardContent {
    height: 50%;
}

.items3 .expandedCardContent {
    height: 33%;
}

.items4 .expandedCardContent {
    height: 25%;
}

.expandedCardHint {
    display: none;
    height: 11%;
    position: relative;
    top: -2%;
    width: 33%;
}

.expandedCardHint img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 10%;
    left: 0px;
}

.expandedCardHintText {
    color: #D2C200;
}

.expandedCardHintIconTextOuter {
    position: absolute;
    top: 5%;
    left: 0%;
    height: 100%;
    width: 100%;
    display: table;
    vertical-align: middle;
    text-align: center;
}

.expandedCardHintIconTextInner {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #000;
    text-shadow: none;
    text-transform: uppercase;
}

.lockedCard .hint {
    opacity: 0.30;
}

.hint {
    border-radius: 10%;
    display: none;
    height: 26%;
    left: 50%;
    position: absolute;
    top: 8%;
    width: 33%;
    z-index: 221;
}

.hint img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 10%;
    left: 0px;
}

.hintTextOuter {
    position: absolute;
    top: 5%;
    left: 0%;
    height: 100%;
    width: 100%;
    display: table;
    vertical-align: middle;
}

.hintTextInner {
    display: table-cell;
    vertical-align: middle;
}

.hintInner {
    color: #000;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    text-shadow: none;
}

.menuButton.mouseOver {
    height: 106%;
    left: -3%;
    top: -3%;
    width: 106%;
}

.menuButton.mouseOver .inner {
    font-size: 103%;
}

#menuButtonSearchTab.mouseOver,
#menuButtonMySetsTab.mouseOver {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

#menuButtonMySetsTab.selected,
#menuButtonSearchTab.selected {
    color: #bea883;
}

#menuButtonSearchTab .outer {
    left: -6%;
}

#menuButtonMySetsTab .outer {
    left: 6%;
}

/* popup background border design */
#menuBgTop {
    background: url(../../data/images/jewel/menu-border-top.png) repeat-x 0px 2px;
    width: 100%;
}

#menuBgTopLeft {
    background: url(../../data/images/jewel/menu-border-top-left.png) no-repeat 2px 2px;
    width: 69px;
}

#menuBgTopRight {
    background: url(../../data/images/jewel/menu-border-top-right.png) no-repeat -1px -7px;
    width: 69px;
}

#menuBgLeft {
    background: url(../../data/images/jewel/menu-border-left.png) repeat-y 2px 0px;
}

#menuBgRight {
    background: url(../../data/images/jewel/menu-border-right.png) repeat-y 50px 0px;
}

#menuBgBottomLeft {
    background: url(../../data/images/jewel/menu-border-bottom-left.png) no-repeat 3px -2px;
}

#menuBgBottom {
    background: url(../../data/images/jewel/menu-border-bottom.png) repeat-x 0px 49px;
}

#menuBgBottomRight {
    background: url(../../data/images/jewel/menu-border-bottom-right.png) no-repeat 0px -2px;
}

/* logged in header dropdown */
.top-block {
    margin-top: -10px;
}

/* This is for wide screens and sideways phones */
@media screen and (min-aspect-ratio: 17/10) {
    #titleScreenArea {
        background-image: url(../../data/images/jewel/title-screen-wide.jpg);
    }

    #titleScreenButtons {
        left: 60%;
        top: 22%;
        width: 19%;
        height: 33%;
    }

    #infoText {
        top: 43%;
        font-size: 215%;
    }

    #infoTextBullets {
        font-size: 200%;
        top: 75%;
    }
}

/* This css is for phones in portrait mode, and thin tall browser windows */
@media screen and (max-aspect-ratio: 1/1) {

    #titleScreenArea {
        background-image: url(../../data/images/jewel/title-screen-640.jpg);
    }


    #titleScreenButtons {
        left: 11%;
        top: 52%;
        width: 38%;
        height: 25%;
    }

    #infoText {
        top: 21%;
        font-size: 175%;
        width: 57%;
        display: none;
    }

    #infoTextBullets {
        top: 22%;
        width: 55%;
        height: 29%;
        font-weight: bold;
        font-size: 250%;
    }

    #signupTitle,
    #loginTitle {
        font-size: 450%;
    }

    #wonMessage {
        font-size: 600%;
    }
}

@media screen and (max-width: 640px) {

    #loginInputMessageUsername,
    #loginInputMessagePassword {
        font-size: 300%;
    }

    #menuButtonJoinPageArea,
    #menuButtonLoginArea {
        top: 20%;
    }

    #menuButtonSaveScoreArea {
        font-size: 55%;
    }

    #popupSignup input,
    #popupLogin input {
        font-size: 300%;
    }

    #scoresTable {
        font-size: 230%;
        width: 85%;
    }
}

/* On android the keyboard squishes the screen when it pops up */

#gameHeader {
    background: linear-gradient(to right, #2c3338, #4a5a64, #2c3338);
    font-size: 12px;
    height: 50px;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #1d95cb;
}

#gameHeaderLogo {
    background: url(../../data/images/site_logos-spr.png) no-repeat 0px -50px;
    border: 0;
    float: left;
    height: 36px;
    margin: 8px 20px 0px 15px;
    width: 110px;
}

#gameHeaderBack {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

#gameHeader .top-block {
    line-height: 50px;
    margin: 0px;
    padding-right: 36px;
    float: none;
}

#scoresTableContainer::-webkit-scrollbar {
    width: 8px;
}

#scoresTableContainer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}