.clearfix:after {
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}
.clearfix {display:inline-block;}
* html .clearfix {height:1%;}
.clearfix {display:block;}

html, body, label, textarea, input {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #000;
}

#loading {
    padding: 10px 0 0 13px;
    font-size: 24px;
    line-height: 27px;
    color: #999;
}
#loading.off {
    display: none;
}

#content.off {
    display: none;
}

#update {
    display: none;
    padding: 10px 0 0 7px;
}
#update.on {
    display: block;
}
#update-text {
    display: inline-block;
    padding: 6px;
    font-size: 18px;
    line-height: 23px;
    color: #999;
}
#update-text b {
    font-weight: bold;
    color: green;
}

#hint-wrapper.off {
    display: none;
}
body.archive #hint-wrapper {
    display: none;
}
#hint {
    display: none;
    padding: 10px 0 0 7px;
}
#hint.on {
    display: block;
}
#hint-text {
    display: inline-block;
    padding: 6px;
    font-size: 18px;
    line-height: 23px;
    color: #999;
}
#hint-text b {
    font-weight: bold;
    color: green;
}

#letters-left-wrapper {
    padding: 10px 0 6px 7px;
}
body.game-over #letters-left-wrapper {
    display: none;
}
#letters-left {
    padding: 6px 6px 0 6px;
    color: #999;
}
#letters-left-count {
    font-weight: bold;
}


#result {
    display: none;
    padding: 10px 0 0 7px;
}
#result.on {
    display: block;
}
#result-text {
    display: inline-block;
    padding: 6px;
    border: 1px solid #999;
    font-size: 18px;
    line-height: 23px;
    color: #999;
}
#result-text b {
    font-weight: bold;
    color: green;
}

#lookupWrapper {
    position: relative;
    height: 0;
}
.archive #lookupWrapper,
#lookupWrapper.off {
    display: none;
}
#lookup {
    position: absolute;
    left: 380px;
    top: 27px;
    width: 314px;
    height: 40px;
    border: 1px solid #aaa;
    border-radius: 5px;
}
#lookup input {
    position: absolute;
    left: 12px;
    top: 5px;
    width: 290px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    font-size: 20px;
    line-height: 30px;
    color: #aaa;
    text-transform: uppercase;
    background: transparent;
}
#lookup input.off {
    display: none;
}

#lookupLoading,
#lookupSuccess,
#lookupFailure {
    display: block;
    position: absolute;
    height: 20px;
    letter-spacing: 1px;
}
#lookupLoading.off,
#lookupSuccess.off,
#lookupFailure.off {
    display: none;
}
#lookupLoading {
    width: 150px;
    left: 12px;
    top: -23px;
    font-size: 18px;
    line-height: 20px;
    color: #999;
}
#lookupSuccess {
    width: 150px;
    left: 12px;
    top: -23px;
    font-size: 18px;
    line-height: 20px;
    color: green;
}
#lookupFailure {
    width: 100px;
    left: 210px;
    top: -21px;
    font-size: 16px;
    line-height: 18px;
    color: red;
}

.racks {
    margin: 10px 0 0 0; 
    padding: 16px 0 0 0;
    list-style: none;
    font-family: monospace;
    
}
.racks > li {
    float: left;
    margin-left: 0px;
}
.racks > li+li {
    margin-left: 20px;
}
.rack {
    position: relative;
}
.rack .name {
    width: 140px;
    height: 19px;
    padding: 3px 0 0 8px;
}
.rack .name.current {
    background-color: #d4ebd3;
}
.rack .score {
    position: absolute;
    top: 3px;
    right: 10px;
}

#player1-bingo,
#player1-plus-one,
#player2-bingo,
#player2-plus-one {
    display: none;
    position: absolute;
    top: -18px;
    width: 10px;
    height: 10px;
    border: 1px solid #bad4ba;
    border-radius: 6px;
    font-size: 18px;
    line-height: 10px;
    text-align: center;
    color: #fff;
    background-color: #bad4ba;
}
#player1-bingo,
#player2-bingo {
    left: 110px;
}
#player1-plus-one,
#player2-plus-one {
    left: 130px;
}
#player1-plus-one span,
#player2-plus-one span {
    position: absolute;
    top: -2px;
    left: -1px;
    width: 10px;
    height: 10px;
    font-size: 20px;
    line-height: 12px;
}
#player1-bingo.off,
#player1-plus-one.off,
#player2-bingo.off,
#player2-plus-one.off {
    border-color: #ccc;
    color: #ccc;
    background-color: #fbfbfb;
}
#player1-bingo.inactive,
#player1-plus-one.inactive,
#player2-bingo.inactive,
#player2-plus-one.inactive {
    display: none;
}
/* Conditionally display bingo circles */
/*
body.bingo.mom.player1 #player1-bingo,
body.bingo.mom.player1 #player1-plus-one,
body.bingo.mom.player2 #player2-bingo,
body.bingo.mom.player2 #player2-plus-one {
    display: block;
}
body.bingo.matt #player1-bingo,
body.bingo.matt #player1-plus-one,
body.bingo.matt #player2-bingo,
body.bingo.matt #player2-plus-one {
    display: block;
}
*/
/* Always display bingo circles */
body.bingo #player1-bingo,
body.bingo #player1-plus-one,
body.bingo #player2-bingo,
body.bingo #player2-plus-one {
    display: block;
}

#player1-bingo-num,
#player1-plus-one-num,
#player2-bingo-num,
#player2-plus-one-num {
    display: none;
    position: absolute;
    top: -19px;
    width: 40px;
    height: 18px;
    font-size: 12px;
    line-height: 14px;
    color: #aaa;
}
#player1-bingo-num,
#player2-bingo-num {
    left: 64px;
    text-align: right;
}
#player1-plus-one-num,
#player2-plus-one-num {
    left: 147px;
    text-align: left;
}
#player1-bingo-num.inactive,
#player1-plus-one-num.inactive,
#player2-bingo-num.inactive,
#player2-plus-one-num.inactive {
    display: none;
}
/* Conditionally display bingo numbers */
/*
body.bingo.mom.player1 #player1-bingo-num.on,
body.bingo.mom.player1 #player1-plus-one-num.on,
body.bingo.mom.player2 #player2-bingo-num.on,
body.bingo.mom.player2 #player2-plus-one-num.on {
    display: block;
}
body.bingo.matt #player1-bingo-num.on,
body.bingo.matt #player1-plus-one-num.on,
body.bingo.matt #player2-bingo-num.on,
body.bingo.matt #player2-plus-one-num.on {
    display: block;
}
*/
/* Always display bingo numbers */
body.bingo #player1-bingo-num.on,
body.bingo #player1-plus-one-num.on,
body.bingo #player2-bingo-num.on,
body.bingo #player2-plus-one-num.on {
    display: block;
}

pre {
    font-size: 14px;
    line-height: 16px;
}
pre b {
    padding: 2px 5px 1px 5px;
    font-size: 16px;
    line-height: 18px;
    background-color: #cdc6a9;
}

#boards {
}
#boards .board {
    position: relative;
    float: left;
    width: 316px;
    height: 301px;
    margin: 0 64px 59px 0;
    background-color: #cdc6a9;
}
.rack ul,
.board ul {
    margin: 0; 
    padding: 0;
    list-style: none;
}

.rack ul li,
.board ul li {
    float: left;
    margin: 0px 0px 0px 0px;
    padding: 2px 0px 1px 0px;
    border: 1px solid #000;
    width: 20px;
    height: 16px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 16px;
    background-color: #cdc6a9;
    text-align: center;
    overflow: hidden;
}
.rack ul+ul li,
.board ul+ul li {
    border-top: none;
}
.rack ul li+li,
.board ul li+li {
    border-left: none;
}

.board ul li.tw {
    background-color: #fe684f;
}
.board ul li.dw {
    background-color: #fdc0ae;
}
.board ul li.tl {
    background-color: #37a1b7;
}
.board ul li.dl {
    background-color: #c3ded9;
}

.rack ul li.le,
.board ul li.le {
    border-radius: 2px;
    border-color: #cdc6a9 #000 #000 #cdc6a9;
    font-weight: normal;
    font-style: normal;
    color: black;
    background-color: #f4d6a4;
}
.board ul li.le {
    border-radius: 1px;
}
.rack ul.off li.le {
    color: #f4d6a4;
}
.board ul li.mv {
    font-weight: bold;
    color: red;
}
.rack ul li.bl,
.board ul li.bl {
    text-decoration: underline;
}
.board .caption {
    display: block;
    position: absolute;
    top: 307px;
    left: 10px;
    width: 182px;
    color: #999;
}
.board .caption.wide {
    width: 260px;
}
.board .caption i {
    font-style: normal;
    padding-right: 12px;
}
.board .caption b {
    font-weight: bold;
    color: green;
}
.board .archive-rack {
    display: block;
    position: absolute;
    top: 307px;
    right: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.board .turn-num {
    display: block;
    position: absolute;
    top: 307px;
    left: 278px;
    color: #aaa;
    letter-spacing: 1px;
}
.game-over .board .turn-num {
    left: 312px;
}

#email-wrapper {
    display: none;
    padding: 0 0 10px 0;
}
body.archive #email-wrapper {
    display: none;
}
#email-wrapper.on {
    display: block;
}
#email-wrapper .email-label-wrapper {
    padding: 0 0 3px 10px;
}
#email-wrapper .email-label-wrapper label {
    font-size: 16px;
    line-height: 19px;
    color: #999;
}
#email-wrapper .email-text-wrapper {
    padding: 0 0 3px 0;
}
#email-wrapper .email-text-wrapper textarea {
    width: 680px;
    height: 160px;
    padding: 3px 6px;
    font-size: 16px;
    line-height: 19px;
}
#email-wrapper #email-button,
#email-wrapper #reset-button {
    width: 120px;
    height: 30px;
    padding: 0;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
}
#email-wrapper #reset-button {
    margin-left: 450px;
}

#cheat-sheet-wrapper {
    padding: 0 0 0 10px;
}
body.archive #cheat-sheet-wrapper {
    display: none;
}
#cheat-sheet-wrapper {
    color: #999;
}

.archive-link {
    padding: 10px 0 20px 10px;
}
body.archive .archive-link {
    display: none;
}

