/* Reset */
body, div, p, table, td, th, ul, li, h1, h2, h3, h4, h5, h6, .normal, button.link {
	font:normal 12px/18px Verdana,Helvetica,sans-serif;
	margin:0;
    padding:0;
    color:#261600;
}
.normal {
	color: inherit;
}
html {
    background-color: white;
}

/* Anchors */
a, a:active, a:visited, button.link {
    color:#005F99;
}
a.t{
	cursor:default;
    text-decoration:none;
    color:#261600;
}
a img{
    border:0;
}
h1 a, h1 a:visited, h1 a:active, h2, h3{
    color:#261600;
    text-decoration:none;
}
h2{
    border-bottom:3px double #DDCFBB;
    width:auto;
    font-weight:bold;
}
h3 {
    font-weight:bold;
}
.error {
    color:red;
}
.inline {
    display:inline;
}
#sidebar {
    clear:both;
    border-top:1px solid #724200;
    background:#261600;
    color:white;
}
#sidebar ul {
    list-style:none;
    text-align:center;
    border-bottom:1px solid #724200;
    margin-left:0;
}
#sidebar ul li {
    display:inline;
    color:white;
}
#sidebar ul a {
    padding:0 2px;
    text-decoration:none;
    color:white;
}
#sidebar ul a:hover {
    color:#DDCFBB;
}
#content {
	clear: both;
}
#footer {
    clear:both;
    text-align:center;
    border-top:1px solid #724200;
}
#crumbs {
    border-bottom:1px solid #724200;
}
#crumbs a {
    text-decoration:none;
}

/* stuff used on lots of screens */
ul.items {
	margin:0;
	padding:0;
}
.item{
    border:1px solid #005F99;
    border-top-color:#45A9E5;
    border-left-color:#45A9E5;
    -moz-border-radius:.5em;
    -webkit-border-radius:.5em;
    border-radius:.5em;
    list-style:none;
    background:#F2FAFF;
}
ul.items li {
	list-style: none;
}

.manage {
	margin-top:5px;
}
.pins {
    background: url(/img/lane.gif) repeat;
    text-align: center;
    padding:.5em;
    margin:0 auto .5em;
    width:9em;
}
.pins img{
	width:2em;
	height:2em;
}
.smallpins {
    background: url(/img/lane.gif) repeat;
    text-align: center;
    padding:2px 0;
    white-space: nowrap;
}
.smallpins img {
    width:1em;
    height:1em;
}
.smallpins img.spacer {
	width:4.1em;
	height:0px;
}
.tinypins {
    background: url(/img/lane.gif) repeat;
    text-align: center;
    padding:2px 0;
    white-space: nowrap;
    width:3.5em;
}
.tinypins img {
    width:.75em;
    height:.75em;
}

.actual {
	color:gray;
}

/* tables */
table {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
    page-break-inside: avoid;
}
table th {
	font-weight:bold;
}
table th, table td{
	padding: 2px 4px;
	border-bottom: 1px solid #D1EDFF;
	background: #fff;
}
table thead tr th{
	border: 1px solid #fff;
	background: #D1EDFF;
}
table tbody tr.odd td {
	background:#F0F0F0;
}

/* tablesorter */
table.tablesorter thead tr th{
	background: #D1EDFF url(/img/unsorted.gif) no-repeat center right;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(/img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/img/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #45A9E5;
}
table.tablesorter thead tr th{
	padding-right:10px;
}
table.tablesorter thead tr .header {
	cursor: pointer;
}

table.input {
	margin: 0 auto;
	width:auto;
}
table.input th {
	text-align:center;
}
table.input td {
	text-align:left;
}
table.input td, table.input th {
	border:0;
}
table.input td.header {
    font-weight:bold;
    text-align:right;
    padding:0 5px;
    vertical-align:top;
}
table.input input.text, table.input input.number, table.input select, table.input textarea {
    border:1px solid #005F99;
    padding:0;
    margin:0
}

table.game {
    text-align:center;
    width:auto;
}
table.game td {
    border:1px solid black;
    font-size:10px;
    text-align:center;
    padding:0;
}
table.game th {
    text-align:center;
    border:0;
    padding:0;
}
table.game tr.scores td.empty {
    border:0;
}
table.game tr.scores table td {
    border:0;
}
table.game tr.scores table td.ball {
    border:1px solid black;
    border-right:0;
    border-top:0;
    width:1.5em;
    max-width:1.5em;
}
table.game tr.scores table td.spacer {
    border-left:0;
    width:1.5em;
}
table.game tr.scores table td.score {
    padding-right:2px;
    text-align:right;
}
table.game tr.analysis td {
    vertical-align:top;
}
table.game tr.analysis td.header {
    font-weight:bold;
    text-align:right;
}
table.game tr.ball td {
    padding:0;
    width:4.5em;
}
table.game tr.ball td.header {
    padding:2px 5px;
    width:auto;
}
table.game tr.analysis td span {
    vertical-align:top;
    padding:0;
    margin:2px;
}
table.game tr.notes p {
    text-align:left;
    margin:0;
    padding:0;
}

table.game tr.leave td{
    padding:0;
    margin:0;
}
table.game tr.leave .smallpins {
	min-width:4em;
    white-space: nowrap;
}
table.game tr.leave .header {
    padding:0 5px;
}

table.game input, table.game number {
	width:4em;
	text-align:right;
}

ul.framenotes {
	list-style: none;
}

table.stats {
	width:auto;
}
table.stats td {
    padding-right:1em;
    text-align:right;
    border:1px solid #DDCFBB;
    border-left:0;
    border-right:0;
}
table.stats td.graph {
    padding-left:0em;
    text-align:right;
}

table.comments td {
	vertical-align:top;
	border-bottom:1px solid #DDCFBB;
}
table.comments .header {
	border-right:1px solid #DDCFBB;
}
.comments h3 {
	font-weight:normal;
}
.comments h4 {
	font-size:10px;
	font-style:italic;
	font-weight:normal;
}
.comments .content {
	padding-top:.5em;
}
.comments td {
	border-bottom-color:#DDCFBB;
}
.comments .header {
	border-right-color:#724200;
}

.home-blurb ul {
    list-style:none;
}
.home-blurb li {
    border-bottom:1px solid #DDCFBB;
}

.newsitem{
    border-bottom:1px solid #DDCFBB;
    padding-bottom:1em;
    margin-bottom:1em;
}
.retired {
    color:gray;
}
.loss {
	color:red;
}