body {
    background: #223;
    color: #223;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 200;
    letter-spacing: 1px;
}
p {
    margin-top: 1em;
}
a {
    color: #223;
}
a:hover {
    color: #556;
}
h1 {
    background: #556;
    font-weight: 200;
    letter-spacing: 2px;
    font-size: 36pt;
    padding: 5px 0 15px 0;
    text-align: center;
    color: #FFF;
    height: 80px;
    margin: 0 0 20px;
}
h1 b {
    font-weight: 600;
}
h1 a {
    color: #FFF;
    text-decoration: none;
}
h1 a:hover {
    color: #FFF;
    text-shadow: 0 0 5px #AAD;
}
.question {
    text-align: center;
    font-size: 16pt;
}
.choices {
    margin: 30px 0;
}
.choice {
    text-align: center;
    font-size: 12pt;
}
.choice a {
    color: #FFF;
    text-decoration: none;
    background: #223;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block;
    padding: 2px 5px;
}
.choice a:hover {
    background: #779;
}
.skip {
    text-align: center;
    font-size: 12pt;
}
.skip a {
    margin-top: 20px;
    color: #FFF;
    text-decoration: none;
    background: #556;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block;
    padding: 2px 5px;
}
.skip a:hover {
    background: #779;
}
.quote {
    margin: 20px 0;
    font-size: 16pt;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}
.small-type-sample {
    text-align: center;
}
.type-sample img {
    height: 250;
}
.small-type-sample img {
    height: 93;
}
.answer {
    font-weight: bold;
    font-size: 12pt;
}
#main {
    background: #FFF;
    padding-bottom: 80px;
}
#footer {
    background: #223;
    width: 100%;
    color: #556;
    font-weight: normal;
}
.box1 {
    margin: 5px 0;
    background: #556;
    color: #FFF;
    padding: 5px 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.box2 {
    margin: 5px 0;
    background: #779;
    color: #FFF;
    padding: 5px 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.box3 {
    margin: 5px 0;
    color: #556;
    border: 2px solid #556;
    padding: 5px 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.box4 {
    margin: 5px 0;
    background: #223;
    color: #FFF;
    padding: 5px 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.box-wrong {
    margin: 5px 0;
    background: #855;
    color: #FFF;
    padding: 5px 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.box1 a, .box2 a, .box4 a {
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}
.box1 a:hover, .box2 a:hover, .box4 a:hover {
    color: #ACC;
}
.box3 a {
    color: #223;
    font-weight: bold;
    text-decoration: none;
}
.box3 a:hover {
    color: #556;
}

.person {
    font-weight: bold;
}
.percentage, .score, .place {
    font-size: 20pt;
    font-weight: bold;
}
.score2 {
    font-size: 18pt;
    font-weight: bold;
}
.tip {
    font-weight: bold;
}
.person2 {
    font-size: 16pt;
    text-align: center;
    font-weight: 200;
}
.cross-table {
    margin: 30px auto;
}
.cross-table td {
    text-align: center;
    padding: 10px 15px;
    font-size: 24pt;
    border: 1px solid #FFF;
    font-weight: bold;
    color: #FFF;
}
.cross-table th {
    padding: 10px 15px;
}
.cross-table th.person {
    font-size: 16pt;
    text-align: right;
    font-weight: 200;
}

.cross-table td.right {
    background: #556;
}

.cross-table td.wrong {
    background: #779;
}

.cross-table td.total {
    background: #223;
}

.leaderboard {
    width: 100%;
}
.leaderboard td, .leaderboard th {
    padding: 5px 15px;
    border: 1px solid #FFF;
    text-align: center;
    font-size: 12pt;
    color: #FFF;
}

.leaderboard th {
    background: #223;
    color: #FFF;
}

.leaderboard tr.odd {
    background: #779;
}

.leaderboard tr.even {
    background: #556;
}

.leaderboard a {
    color: #FFF;
    text-decoration: none;
    display: block;
}

.leaderboard a:hover {
    color: #AAC;
}

.nav {
    text-align: center;
    margin: 60px 0 0;
}

.nav a, .nav span {
    display: block;
    color: #556;
    border: 1px solid #556;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
    font-size: 8pt;
    font-weight: normal;
    text-decoration: none;
    padding: 3px;
}

body.stats a.stats_nav,
body.following a.following_nav
{
    background: #556;
    color: #FFF;
}

.nav a:hover {
    color: #FFF;
    background: #779;
}

a.more_link {
     display: block;
     font-size: 16pt;
}
.anonymous {
    font-style: italic;
    color: #CCC;
}
ul.badges {
    margin-top: 20px;
    list-style: none;
}
ul.badges li {
    margin: 5px 0 0 0;
    font-size: 12pt;
}
ul.badges .count {
    font-weight: bold;
}
.badge-group .badge {
    float: left;
    margin: 5px 10px 0 0;
    font-size: 12pt;
}
.badge {
    background: #A84;
    color: #FFF;
    padding: 4px 12px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.crown {
    float: left;
    margin: 5px;
    background: #CC9;
    color: #000;
    padding: 2px 12px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-variant: small-caps;
}
.crown a {
    text-decoration: none;
}
.crown a:hover {
    color: #FFF;
}
h2 {
    margin-top: 30px;
    font-weight: bold;
    font-size: 24pt;
    letter-spacing: 2px;
    line-height: 28pt;
}
h3 {
    font-weight: bold;
    font-size: 16pt;
    letter-spacing: 1px;
    margin: 40px 0 10px;
}
.progress_bar {
    line-height: 10px; /* not sure why this is needed */
    width: 100px;
    margin: 5px 10px;
    padding: 0;
    border: 1px solid #404050;
}

/* MESSAGES */

ul#messages {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}
ul#messages li {
    padding: 5px 10px;
    background: #779;
    color: #FFF;
    font-weight: normal;
    margin: 3px;
    border: 1px solid #556;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
ul#messages li a {
    float: right;
    color: #223;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px 5px;
    margin: -5px -10px 0;
}
ul#messages li a:hover {
    color: #556;
}


.event {
    margin: 5px 0;
    padding: 2px 8px;
    border: 1px solid #999;
    background: #FFF;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
}
.event-description {
    font-weight: 500;
}
.event-datetime {
    float: right;
}
.event-join { border-left: 15px solid #556;}
.event-level { border-left: 15px solid #569;}
.event-follow-user { border-left: 15px solid #966;}
.event-badge { border-left: 15px solid #A84;}
.event-team { border-left: 15px solid #223;}
.event-crown { border-left: 15px solid #CC9;}
.event-lost-crown { border-left: 15px solid #CCC;}
.event-unlock-person { border-left: 15px solid #799;}
.event-unlock-character { border-left: 15px solid #979;}

.iphone-link {
    margin-top: 15px;
    text-align: left;
}
.other-links {
    font-size: 10pt;
    text-align: right;
    margin-top: 15px;
}
.other-links a {
    color: #799;
    text-decoration: none;
}
.other-links a:hover {
    color: #FFF;
}
.logo {
    text-align: center;
}

input[type=text], input[type=password], textarea {
    -moz-border-radius: 5px ;
    -webkit-border-radius: 5px;
    font-size: 12pt;
    border: 1px solid #779;
    color: #556;
    padding: 4px 8px;
}

input[type=submit] {
    -moz-border-radius: 5px ;
    -webkit-border-radius: 5px;
    font-size: 12pt;
    color: #FFF;
    background: #223;
    border: none;
    padding: 4px 8px;
}

input[type=submit]:hover {
    background: #556;
}

input[type=submit]:active {
    background: #779;
}

.search-results {
    margin: 20px 0;
    font-size: 12pt;
}

.search-results ul {
    list-style: none;
}

.search-results li {
    margin: 0;
    padding: 4px 4px 8px 8px;
    -moz-border-radius: 5px ;
    -webkit-border-radius: 5px;
}

.search-results li:hover {
    background: #DDD;
}

.search-results input[type=submit] {
    float: right;
    font-size: 10pt;
    background: #556;
}

.search-results input[type=submit]:hover {
    float: right;
    font-size: 10pt;
    background: #223;
}

span.follow {
    color: #5A5;
    float: right;
}
span.has_badge {
    color: #5A5;
}

.uniForm.feedback-form textarea {
    width: 300px;
    -moz-border-radius: 5px ;
    -webkit-border-radius: 5px;
    font-size: 12pt;
    border: 1px solid #779;
    color: #556;
    padding: 4px 8px;
}

body.iphone #main {
    text-align: center;
}
.iphone h2 {
    margin-top: 0;
    font-weight: normal;
}
.iphone p {
    font-size: 16pt;
}

ul.errorlist {
    list-style: none;
    margin-bottom: 0;
}
ul.errorlist li {
    margin-left: 0;
    color: #900;
    font-weight: bold;
}
.submit-link {
    margin-top: 50px;
    text-align: center;
    font-size: 14pt;
}

form th {
    font-size: 14pt;
    vertical-align: top;
}
form tr {
}