html {
  background: #f2f2de;
  font-family: Verdana;
  color: black;
}

a {
  font-weight: bold;
  color: #16424D;
  text-decoration: none;
}

a:hover {
  color: red;
}

#page {
  min-width: 820px;
  width: expression(document.body.clientWidth < 820? "820px": "auto" );
  height: 100%;
  background: #f2f2de;
  font-family: Verdana;
  font-size: 0.8em;
  color: black;
}

#heading {
  height: 135px;
  text-align: center;
  padding: 15px 140px 0px 15px;
  background-color: #46828D;
  border-top: 10px solid #2A8E32;
  border-bottom: 10px solid #2A8E32;
  font-weight: 800;
  font-size: 2em;
  color: white;
  margin-bottom: 15px;
}

img#logo {
  margin-top: -15px;
  margin-left: -15px;
  float: left;
  border: 0px;
}

#left-side {
  position: absolute;
  padding: 0px 10px 15px 5px;
  width: 150px;
}

.beta {
  font-size: smaller;
  text-align: justify;
  background: #ffe8bb;
}

#main-menu {
  background: #ffe8bb;
}

#main-menu ul {
  list-style-type: none;
  display: inline;
}

#main-menu ul li {
  margin-bottom: 5px;
}

#main {
  margin-left: 170px;
}

#right-side {
  width: 140px;
  float: right;
  background: #ffe8bb;
  margin-left: 5px;
}

#right-side ul li {
  margin-bottom: 5px;
}

.titletl {
	background: url(images/tl.gif) 0 0 no-repeat;
}

.titletr {
	background: url(images/tr.gif) 100% 0 no-repeat;
	padding: 7px;
}

.titlebl {
	background: url(images/bl.gif) 0 100% no-repeat;
}

.titlebr {
	background: url(images/br.gif) 100% 100% no-repeat;
}

.titlet {
	background: url(images/pix.gif) 0 0 repeat-x;
}

.titleb {
	background: url(images/pix.gif) 0 100% repeat-x;
}

.titlel {
	background: url(images/pix.gif) 0 0 repeat-y;
}

.titler {
	background: url(images/pix.gif) 100% 0 repeat-y;
	width: 100%;
}


/* Tables for the Spring Fours */

table.s4 {
  border-collapse: collapse;
  border: 1px solid black;
  width: 27em;
  font-size: 1em;
  margin-right: 10px;
}

table.swiss {
  width: 40em;
  margin-top: 3px;
}

table.pb {
  width: auto;
}

table.s4 tr td {
  text-align: center;
  padding: 3px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  width: 2.5em;
}

table.s4 tr th {
  padding-left: 5px;
  padding-right: 5px;
}

table.pb tr td {
  width: auto;
}

table.s4 tr td.position {
  font-weight: bold;
}

table.s4 tr td.winnum {
  font-size: smaller;
}

table.s4 tr td.seed {
  font-size: smaller;
}

table.s4 tr td.name {
  text-align: left;
  font-weight: bold;
  width: auto;
}

table.s4 tr td.center {
  text-align: center;
}

table.s4 tr td.name a {
  text-decoration: none;
  color: #16424D;
}

table.s4 tr td.name a:hover {
  color: red;
}

table.s4 tr td.win {
  color: #0421a6;
}

table.s4 tr td.lose {
  color: #d20000;
}

table tr td.gold {
  background-color: #f3d878;
}

table.s4 tr.gold td {
  background-color: #f3d878;
}

table.swiss tr td.total {
  background-color: #f3d878;
  font-weight: bold;
  border: 1px solid black;
}

a.roundtitle {
  text-decoration: none;
  color: #16424D;
  font-weight: bold;
}

a.roundtitle:hover {
  color: red;
}

table.ko {
  border-collapse: collapse;
  margin-right: 5px;
}

table.ko tr td{
  border: 1px solid black;
  padding: 4px;
  text-align: center;
  font-size: smaller;
}

table.ko tr td a {
  color: #16424D;
  text-decoration: none;
  font-weight: bold;
}

table.ko tr td a:hover {
  color: red;
}

table.ko tr td.reason {
  font-size: smaller;
}

span.seed {
  font-size: smaller;
}

table.teamlist {
  border: 1px solid black;
  border-collapse: collapse;
  margin-left: 10px;
  margin-right: 10px;
}
  

table.teamlist tr td {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 2px;
  font-size: smaller;
}

table.teamlist tr td.seed {
  font-weight: bold;
  color: black;
  text-align: center;
}

td.teamname {
  font-weight: bold;
  color: black;
}

td.teamname a {
  text-decoration: none;
  color: #16424D;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

td.teamname a:hover {
  color: red;
}

table.pb td.teamlist {
  text-align: left;
}

div.pictureshow {
  text-align: center;
}

/* The Bridge Shop */

table.shop {
  font-size: 1em;
  border-bottom: 1px dashed black;
  margin-right: 10px;
  border-collapse: collapse;
}

table.shop tr td {
  padding: 5px;
}

table.shop tr td img {
  border: 0px;
}

table.shop tr td {
  border-top: 1px dashed black;
  text-align: center;
}

table.shop tr td.picture {
  text-align: center;
}

table.shop tr td.two {
  border-top: none;
  font-size: 0.81em;
}

table.shop tr td.price {
  text-align: right;
  font-size: 1em;
}

table.shop tr td.quantity {
  font-size: 1em;
}

table.shop tr td.name {
  text-align: left;
}

table.shop tr.hott td {
  border-top: 5px solid #d20000;
}

table.shop tr.hotb td {
  border-bottom: 5px solid #d20000;
}

table.shop tr td.hotl {
  border-left: 5px solid #d20000;
}

table.shop tr td.hotr {
  border-right: 5px solid #d20000;
}

table.shop tr td.blank {
  border-bottom: none;
}

.shopinfo {
  border: 1px solid black;
  padding: 5px;
  margin-bottom: 20px;
  width: 70%;
  background: #DDE0FF;
}

.specialoffer {
  border: 1px solid black;
  padding: 5px;
  margin-bottom: 20px;
  width: 70%;
  background: #ff5f5f;
/*  background-image: url("images/snow.gif");
  background-repeat: repeat;*/
  font-weight: bold;
}

table.handdiagram {
  margin-left: auto;
  margin-right: auto;
}

table.handdiagram tr th {
  font-size: 90%;
  font-weight: normal;
}

table.handdiagram tr td {
  font-size: 90%;
  letter-spacing: 4px;
  line-height: 150%;
}

table.handdiagram tr td table.s4 tr td{
  letter-spacing: 0px;
}

table.handdiagram tr td.middle {
  text-align: center;
}

table.handdiagram tr td img {
  margin-right: 5px;
}

