@font-face
{
    font-family: digi;
    src: url(../font/digi.eot), url(../font/digi.ttf);
}
html, body {
    margin: 0;
    padding: 0;
    background-color: #EEE;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
}
div::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    margin: 0;
    padding: 0;
}
div::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}
div::-webkit-scrollbar-button:horizontal {
    display: none;
}
div::-webkit-scrollbar-button:vertical:start:increment, ::-webkit-scrollbar-button:vertical:end:decrement {
    display: none;
}
div::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,.03);
    border-radius: 5px;
}
div::-webkit-scrollbar-track:hover {
    background-color: rgba(0,0,0,.1);
    border-radius: 5px;
}
div::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.35);
    border-radius: 5px;
}
div::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,.5);
}
div::-webkit-scrollbar-thumb:active {
    background: rgba(0,0,0,.6);
}
div::-webkit-scrollbar-thumb:vertical {
    min-height: 30px;
}
div::-webkit-scrollbar-thumb:horizontal {
    min-width: 30px;
}
#gameContainer {
    position: absolute;
    width: 900px;
    height: 500px;
    left: 50%;
    top: 50%;
    margin-left: -450px;
    margin-top: -250px;
}
#gameTitle {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 40px;
    font-style: italic;
    font-weight: bold;
    text-shadow: -1px -1px #FFF;
}
#cover {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(0,0,0,.8);
}
#cover .intro {
    color: #CCC;
    padding: 30px;
    margin-top: 40px;
    font-family: "Courier New", Courier, monospace;
    font-size: 19px;
    line-height: 30px;
}
#cover .waiting {
    color: #CCC;
    padding: 0 30px;
    font-size: 16px;
    line-height: 30px;
}
#cover .startButton {
    background-color: rgba(255,255,255,.5);
    margin: 10px 30px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 5px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,.3);
    -webkit-transition: color .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}
#cover .startButton:hover {
    background-color: rgba(255,255,255,.7);
}
#cover .startButton:active {
    box-shadow: inset 2px 2px 2px rgba(0,0,0,.4);
    line-height: 53px;
}
.scoreBoard {
    position: absolute;
    width: 180px;
    height: 360px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    top: 90px;
    border: solid 5px;
    padding: 20px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.3), inset 0 0 20px;
    overflow: hidden;
}
.scoreBoardTitle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #FFF;
    font-size: 24px;
    font-family: Tahoma, Geneva, sans-serif;
    text-shadow: -1px -1px 1px rgba(0,0,0,.4);
    text-align: center;
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
}
#humanScoreBoard {
    color: #082F6D;
    background-color: #6D94D1;
    border-color: #174EA5;
    left: 0px;
}
#computerScoreBoard {
    color: #A46A05;
    background-color: #FCCC78;
    border-color: #F9A40E;
    right: 0px;
}
#humanScoreBoard .scoreBoardTitle {
    background-color: #174EA5;
}
#computerScoreBoard .scoreBoardTitle {
    background-color: #F9A40E;
}
.scoreBoardTitle span {
    position: relative;
    font-size: 16px;
    border-radius: 20px;
    margin-left: 20px;
    padding: 0 10px 0 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,.3);
    top: -4px;
}
#humanScoreBoard .scoreBoardTitle span {
    background-color: #082F6D;
}
#computerScoreBoard .scoreBoardTitle span {
    background-color: #A46A05;
}
#gameCube {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #000;
    left: 245px;
    top: 90px;
    border: solid 5px;
    border-radius: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
#gameCube .letterBox {
    background-color: #CCC;
    border: solid 5px #000;
    float: left;
    border-radius: 10px;
    font-family: "Arial Black", Gadget, sans-serif;
    text-align: center;
    cursor: pointer;
    width: 90px;
    height: 90px;
    font-size: 48px;
    line-height: 90px;
    -webkit-transition: color .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
    box-shadow: inset 2px 2px 3px rgba(0,0,0,.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,.3);
}
#gameCube .letterBox:hover {
    background-color: #EEE;
}
#gameCube .letterBox:active {
    background-color: #FFF;
}
#gameCube .letterBox.selected {
    background-color: #666;
    color: #CCC;
    cursor: default;
}
#gameCube[board="standard"] .letterBox {
    width: 90px;
    height: 90px;
    font-size: 48px;
    line-height: 90px;
}
#gameCube[board="big"] .letterBox {
    width: 70px;
    height: 70px;
    font-size: 40px;
    line-height: 70px;
}
.wordCardContainer {
    position: absolute;
    left: 0;
    top: 40px;
    width: 100%;
    height: 360px;
    overflow-y: auto;
}
.wordCard {
    height: 38px;
    box-shadow: 0px 1px 3px -1px;
}
#humanScoreBoard .wordCard {
    background-color: #6D94D1;
    border-bottom: solid 1px #6487C6;
    border-right: solid 1px #6487C6;
    border-top: solid 1px #749DE2;
    border-left: solid 1px #749DE2;
}
#humanScoreBoard .wordCard:nth-child(2n) {
    background-color: #658AC6;
    border-bottom: solid 1px #5E82BD;
    border-right: solid 1px #5E82BD;
    border-top: solid 1px #668ED4;
    border-left: solid 1px #668ED4;
}
#computerScoreBoard .wordCard {
    height: 38px;
    background-color: #FCCC78;
    border-bottom: solid 1px #F1C576;
    border-right: solid 1px #F1C576;
    border-top: solid 1px #FFCF7E;
    border-left: solid 1px #FFCF7E;
}
#computerScoreBoard .wordCard:nth-child(2n) {
    background-color: #F7C877;
    border-bottom: solid 1px #EEC375;
    border-right: solid 1px #F4C97C;
    border-top: solid 1px #F8CB7A;
    border-left: solid 1px #F8CB7A;
}
.wordCard .word {
    float: left;
    height: 38px;
    line-height: 38px;
    width: 150px;
    font-size: 20px;
    text-align: center;
}
.wordCard .point {
    float: right;
    height: 38px;
    line-height: 38px;
    width: 39px;
    margin-right: 1px;
    text-align: center;
    background-color: rgba(255,255,255,.2);
    font-weight: bold;
    font-style: italic;
}
#infoPanel {
    background-color: #0D2509;
    height: 70px;
    border: solid 5px #0D2509;
    border-radius: 10px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
#infoLine {
    float: left;
    line-height: 70px;
    color: #85E138;
    margin-left: 15px;
    font-size: 48px;
    font-family: digi;
    text-shadow: 0 0 4px #99FF3F;
}
#mainBtn {
    float: right;
    color: #85E138;
    border: solid 1px;
    border-radius: 5px;
    cursor: pointer;
    height: 30px;
    padding: 0 10px;
    margin-right: 15px;
    margin-top: 18px;
    line-height: 30px;
    text-align: center;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: bold;
    display: none;
    -webkit-transition: color .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}
#mainBtn:hover {
    background-color: #85E138;
    color: #0D2509;
}

#newButton {
    float: right;
    color: #85E138;
    border: solid 1px;
    border-radius: 5px;
    cursor: pointer;
    height: 30px;
    padding: 0 10px;
    margin-right: 15px;
    margin-top: 18px;
    line-height: 30px;
    text-align: center;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: bold;
    display: none;
    -webkit-transition: color .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}

#newButton:hover {
    background-color: #85E138;
    color: #0D2509;
}
