/*
    Infield:  #f7931e
    Outfield: #009245
*/

html {
    background: #009245 url("../img/infield.png") no-repeat fixed bottom center;
    color: #eff;
    font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    font-size: 13px;
    height: 100%;
    line-height: 20px;
}

a:hover,
a:active {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
th,
strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

header,
section,
footer {
    display: block;
}

p,
ol,
ul {
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    border: 1px solid #899;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block;
    font-size: 15px;
    padding: 5px 10px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border: 2px solid #566;
    outline: 0;
    padding: 4px 9px;
}

form > div {
    clear: both;
    margin-bottom: 10px;
}

form > div.inline li {
    float: left;
    margin-bottom: 10px;
    margin-left: 10px;
}

form > div.inline li:first-child {
    margin-left: 0;
}

body > header,
body > footer {
    color: #122;
    float: left;
    background: #eff;
    background: rgba(238, 255, 255, 0.90);
    padding: 10px 2.5%;
    width: 95%;
}

body > header {
    margin-bottom: 20px;
}

body > header h1 {
    float: left;
}

body > header h1 a {
    color: #122;
    text-decoration: none;
}

body > header nav {
    float: right;
}

body > header nav li {
    float: left;
    margin-left: 10px;
}

body > header nav li:first-child {
    margin-left: 0;
}

body > footer {
    margin-top: 20px;
}

body > footer p {
    margin: 0;
}

#messages {
    left: 0;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

#messages li {
    background: #f7931e;
    color: #eff;
    font-size: 11px;
    padding: 1px 20px;
}

#main {
    clear: both;
    margin: 0 auto;
    min-width: 760px;
    padding: 0 20px;
    width: 760px;
}

#main > h1 {
    text-transform: uppercase;
    margin-bottom: 20px;
}

#primary,
#secondary {
    float: left;
}

#primary {
    margin-right: 20px;
    width: 420px;
}

#primary input[type="text"],
#primary input[type="password"],
#primary input[type="email"] {
    width: 358px;
}

#primary button[type="submit"] {
    background: #eee;
    border: 1px solid #899;
    font-weight: bold;
    margin: 10px 0;
    outline: 0;
    padding: 5px 0;
    width: 380px;
}

#primary button[type="submit"]:active {
    border: 2px solid #566;
    font-weight: normal;
    padding: 4px 0;
    width: 380px;
}

#primary > .box {
    width: 380px;
}

#secondary {
    width: 320px;
}

#secondary > .box {
    clear: both;
    width: 260px;
}

#roster .person {
    margin-bottom: 10px;
}

.person th {
    width: 202px;
}

.person .picture {
    width: 58px;
}

.person .owed {
    color: #f00;
    font-weight: bold;
}

.person .badges {
    height: 20px;
}

.person .badges li {
    float: left;
    font-size: 12px;
    margin-left: 5px;
}

.person .badges img {
    vertical-align: middle;
}

.person .badges img:hover {
    cursor: help;
}

.person .badges li:first-child {
    margin-left: 0;
}

#profile .person {
    margin-bottom: 20px;
}

#profile .badge {
    margin-top: 10px;
}

#profile .badge:first-child {
    margin-top: 0;
}

#profile .badge img {
    margin-right: 5px;
    vertical-align: middle;
}

.box {
    background: #eff;
    background: rgba(238, 255, 255, 0.90);
    border: #eff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    color: #122;
    float: left;
    margin-top: 20px;
    padding: 10px 20px;
}

.box:first-child {
    margin-top: 0;
}

.box > h1:first-child,
.box > h2:first-child {
    color: #eff;
    background: #f7931e;
    border: #f7931e;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    left: -20px;
    margin-bottom: 10px;
    padding: 5px 25px 5px 15px;
    position: relative;
    top: -10px;
    width: 100%;
}

.box .action {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 10px;
}

.box .action form {
    display: inline;
}

.money {
    text-align: right;
}

.open .money {
    color: #f00;
}

#games h2 {
    border-top: 1px solid #fff;
    margin: 20px 0 10px;
    padding-top: 5px;
}

#games h2.first {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

#games .info {
    font-size: 11px;
    margin-bottom: 10px;
}

#games > ol li {
    margin-bottom: 20px;
}

#game .info {
    margin: 10px 0;
}

#game nav {
    display: block;
    float: left;
    margin: 10px 0;
    width: 380px;
}

#game nav a[rel="next"] {
    float: right;
}

#game nav a[rel="prev"] {
    float: left;
}

.boxscore {
    width: 100%;
}

.boxscore td,
.boxscore th {
    text-align: center;
}

.boxscore th {
    font-size: 11px;
}

.boxscore th.row {
    font-size: inherit;
    text-align: left;
}

.boxscore td {
    width: 25px;
}

.boxscore td.status {
    font-weight: bold;
    width: 50px;
}

.boxscore td.total {
    width: 50px;
}

.players {
    margin-bottom: 10px;
    width: 100%;
}

.players td {
    width: 50px;
}

.player-status {
    font-weight: bold;
    margin: 5px;
}

.player-status .label,
.player-status ul {
    float: left;
    margin-bottom: 0;
}

.player-status .label {
    margin-right: 10px;
}

#settings nav {
    float: left;
    margin-bottom: 10px;
}

#settings nav li {
    float: left;
    margin-left: 10px;
}

#settings nav li:first-child {
    margin-left: 0;
}

.help {
    color: #566;
    font-size: 11px;
}

.password-reset {
    float: right;
}
