/* GENERAL ----------------------------------------------------------------- */

.center { 
  text-align: center ! important;
}
.center table { 
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.left {
  text-align: left ! important;
}
.right {
  text-align: right ! important;
  padding-right: 5px;
}
.nowrap {
  white-space: nowrap;
}
.bold {
  font-weight: bold;
}

.statsmain a,
.statsmain a:link {
/* this is to overide Gary's setting in /html/styles.css */
  color: #283F68;
}
.statsmain h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}
.statsmain h2.top {
  margin-top: 15px;
  margin-bottom: 40px;
}

/* NICE TABLE -------------------------------------------------------------- */

.niceTable {
  border-collapse: collapse;
}
.niceTable th, .niceTable td {
  padding: 5px 15px;
  color: #5F5F61;
}
.niceTable tr.heading {
  background: url('pix/row-bg.png') no-repeat right top;
  height: 35px;
}
.niceTable th, .niceTable td {
  text-align: left;
}
.niceTable tr.heading th, .niceTable tr.heading td {
  color: white;
  padding-top: 0;
  background-position: expression(-this.offsetLeft);
  /* this will make IE appear as using left aligned TR background - instead of duplicating it for each TD */
  text-align: center;
}
.niceTable .altRow th,
.niceTable .altRow td {
  background-color: #C7D6EF;
}

#selectPlayer .niceTable th,
#selectPlayer .niceTable td {
  padding: 5px 10px;
}


/* MESSAGES ---------------------------------------------------------------- */

.ok {
  font-weight: bold;
  padding: 10px;
  border: solid 1px #CCCCCC;
  background-color: #F5F5F5;
  margin: 10px 0px;
}

.error {
  font-weight: bold;
  padding: 10px;
  border: solid 1px #CCCCCC;
  background-color: #FBF7B0;
  margin: 10px 0px;
}

/* STATS TEMPLATE ---------------------------------------------------------- */

.stats_links {
  margin: 10px 0px 0px 110px;
  width: 450px;
}
.stats_links td {
  font-size: 12pt;
  padding: 5px;
}
.stats_links h3 {
  font-size: 13pt;
  margin-bottom: 5px;
}
.stats_links li {
  padding: 0px 0px 2px 0px;
  margin: 0px;
}
.stats_links ul {
  padding: 0px 0px 0px 20px;
  margin: 0px;
}

#selectStats ul {
  text-align: left;
  width: 245px;
  margin-left: 0;
  padding-left: 25px;
}

/* PLAYER BIOS ------------------------------------------------------------- */

div.biosmain, div.biosmain td, div.biosmain th {
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: black;
}
div.biosmain th {
  color: #006699;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
}
div.biostitle {
  font-size: 200%;
  font-variant: small-caps;
  text-align: center;
  margin: 10px 0px 10px 0px;
}
div#count {
  color: rgb(119,115,123);
  margin: 6px 0px;
}
div.biosmain td.biosheading {
  font-weight: bold;
  color: #d0e1ea;
  height: 30px;
  padding: 2px 8px;
  vertical-align: bottom;
}

#statTrackerButton {
  width: 145px;
}
#biosUpdateButton {
  width: 190px;
}
#giftCertificateButton {
  width: 170px;
}

/* PLAYER STATS ------------------------------------------------------------ */

.logoutLink {
  font-size: 10px;
  font-weight: normal;
  color: black;
}
.playerStats select {
  width: 350px;
}
.playerStats .gir,
.playerStats .others {
  margin: 10px 0;
}
.playerStats .others input {
  width: 40px;
}

/* PLAYER BIOS UPDATE ------------------------------------------------------ */

.login_title {
  display: none;
}
.login_fieldset {
  margin: 20px 0px 0px 90px;
  width: 330px;
  padding: 20px;
  text-align: left;
}
.login_fieldset label {
  text-align: right;
  width: 100px;
  float: left;
  display: block;

  font-size: 12px;
  padding: 5px;
  color: #484848;
  text-align: left;
}
.login_fieldset .text {
  margin: 4px;
  height: 20px;
  width: 150px;
}
.login_fieldset .button {
  margin: 4px;
}
.login_fieldset .link {
  display: block;
  margin-top: 6px;
}

div.biosmain .biosLink {
  text-align: center;
  margin-top: 30px;
}
div.biosmain .biosLink input {
  margin-bottom: 10px;
}

div.biosmain textarea,
div.biosmain select {
  background-color: #E3E4E8;
  border: 1px solid #0F53A4;
}
div.biosmain textarea {
  width: 350px;
  height: 100px;
  font-size: 12px;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
}

/* to prevent TH wrapping */
div.biosmain td.address {
  width: 400px;
}

div.biosmain table {
  /* border-collapse: collapse; */
}
div.biosmain tr.public td,
div.biosmain tr.public th,
div.biosmain div.public {
  background-color: #F1F5E7;
}
div.biosmain tr th {
  font-weight: normal;
}  
div.biosmain tr.obligatory th {
  font-weight: bold;
}

input.equipment_ball,
input.equipment_glove,
input.equipment_shoe,
input.equipment_driver,
input.equipment_hybrids,
input.equipment_woods,
input.equipment_irons {
  width: 100px;
}
input.other_tours {
  width: 350px;
}

/* PLAYER'S PREFERENCES ---------------------------------------------------- */

.preferences {
  color: black;
}

/* FRONT PAGE NEWS ROTATOR ------------------------------------------------- */

.rotatingBanner {
  position: absolute;
  display: block;
  margin: 0px;
}
.rotatingBanner img {
  border: none;
}

/* FRONT PAGE LISTS -------------------------------------------------------- */

.frontList {
  overflow: hidden;
}
.frontList .list {
  border-collapse: collapse;
  width: 100%;
}
.frontList .list td {
  padding-left: 8px;
  padding-right: 8px;
}
.frontList td, .frontList th, .frontList {
  font-size: 12px;
  color: #5F5F61;
}
.frontList .altRow td {
  background-color: #C7D6EF;
}
.frontList a:link,
.frontList a {
  color: #283F68;
}


/* FRONT PAGE LEADERBOARD -------------------------------------------------- */

#frontLeaderBoard {
  height: 210px;
}
#frontLeaderBoard .list {
  height: 155px;
}

#frontLeaderBoard .eventName {
  height: 60px;
  overflow: hidden;
}
#frontLeaderBoard .eventName table {
  height: 60px;
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
}
#frontLeaderBoard .eventName td {
  text-align: center;
}
  
#frontLeaderBoard .eventName a {
  font-size: 13px;
  font-weight: bold;
}

#frontLeaderBoard #nextEvent {
  text-align: center;
  margin-top: 30px;
}
#frontLeaderBoard .nextName {
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0 20px 0;
}
#frontLeaderBoard .nextDate {
  margin: 15px 0 5px;
}
#frontLeaderBoard .nextCourse {
  font-weight: bold;
}
  

/* FRONT PAGE ORDER OF MERIT ----------------------------------------------- */

#frontOrderOfMerit {
  margin-top: 10px;
  height: 210px;
}
#frontOrderOfMerit .list {
  height: 210px;
}


/* LISTS ------------------------------------------------------------------- */

div.game {
  font-size: 150%;
  text-align: center;
  margin: 0px 0px 10px 0px;
  color: black;
}
td.flight_name {
  text-align: center;
  padding: 10px 0px 5px 0px;
  color: rgb(119,115,123);
  font-size: 18px ! important;
}

/* STATS ------------------------------------------------------------------- */

div.links {
  text-align: center;
  margin-bottom: 12px;
}
div.statsmain {
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: center;
  color: black;
}
div.statsmain td, div.statsmain th {
  font-size: 12px;
}
div.statstitle {
  font-size: 160%;
  font-variant: small-caps;
  margin: 10px 0px 10px 0px;
  color: rgb(119,115,123);
}
div.player_name {
  font-size: 200%;
  font-variant: small-caps;
  color: rgb(119,115,123);
}
div.flight_name {
  color: black;
  font-size: 11pt;
  font-weight: bold;
  margin-bottom: 5px;
  font-variant: normal;
}
div.game_name {
  font-size: 150%;
  margin: 10px 0px 10px 0px;
  color: black;
}
table.totalscores th,
table.totalscores td {
  padding: 5px 10px;
}
table.totalscores {
  border-collapse: collapse;
}
table.totalscores th {
  text-align: left;
}
table.totalscores th.label {
  width: 165px;
}

table.scores {
  border-collapse: collapse;
}
table.scores td, table.scores th {
  text-align: center;
  font-size: 10px;
  padding: 5px 8px;
}
table.scores.niceTable td.first,
table.scores.niceTable th.first {
  padding-left: 15px;
}
table.scores.niceTable td.last,
table.scores.niceTable th.last {
  padding-right: 15px;
}
table.scores th.left {
  text-align: left;
  font-size: 10px;
}
table.scores tr.yards th {
  padding: 2px 8px;
  font-weight: normal;
}
table.scores tr.par th {
  /* border-bottom: solid 1px black; */
  padding: 2px 8px;
  padding: 2px 8px 5px 8px;
}

.par    { font-weight: bold; }
.birdie   { font-weight: bold; color: red ! important; }
.eagle    { font-weight: bold; color: brown ! important; }
.bogie    { font-weight: bold; color: blue ! important; }
.doublebogie  { font-weight: bold; color: green ! important; }

#compare select {
  width: 160px;
}
th.player {
  color: gray;
  text-align: center ! important;
}

/* STATS - YEAR SELECTION -------------------------------------------------- */

#selectYear .year {
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #283F68;
  font-weight: bold;
}

/* GALLERY ----------------------------------------------------------------- */

.gallery {
  text-align: center;
}
table.gallery {
  width: 100%;
}
table.gallery td {
  padding: 3px 3px 15px 3px;
  font-size: 12px;
  width: <?php echo intval(100/$MAX_COLS); ?>%;
  vertical-align: top;
}
table.gallery td.photo {
  padding-bottom: 0px;
  text-align: center;
  vertical-align: middle;
}
table.gallery td.photo img {
  border: 0;
}

/* SCHEDULE ---------------------------------------------------------------- */

.schedule_table {
  empty-cells: show;
  width: 100%;
}
.schedule_table form {
  display: inline;
}
.schedule_table.new tr td {
  border-bottom: 6px solid white;
}

#legend {
  margin: 0 auto;
}
#legend td {
  width: 100px;
}
#legend th {
  font-weight: normal;
  padding-left: 5px;
}

.eventDetails th {
  white-space: nowrap;
}

.sponsorLogo {
  border: 0;
}
.sponsors div {
  margin-bottom: 10px;
}
