/* This is the master style sheet for the 
   William Hill scorecard */

body {
  margin: 0;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 16px;
  background-color: #ffffff;
}

/* DIVS
   ---- */

#header {
  height: 65px;
  background: #003756 url('/images/willhill/headerBG.png') top left repeat-x;
  padding-top: 3px;
  border-bottom: 1px solid #666;
}

#header #wh_logo {
  float: right;
}

#header #wh_header_text {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  float: left;
  margin-top:  16px;
  padding-left: 10px;
}

/* --- Link to WH cricket odds --- */

div#willhill_odds_link {
  float: right;
  font-weight: bold;
  text-align: center;
  margin: 2px;
  padding: 3px 10px 3px 10px;
  background: #003756;
  border: 1px solid #666;
}

div#willhill_odds_link a {
  font-size: 0.7em;
  color: #EEE;
  text-decoration: none;
}

div#willhill_odds_link a:hover {
  text-decoration: underline;
}

/* ------------------------------- */

#match_title {
  color: #333;
  height: 30px;
  background: url("/images/willhill/title_bg.png") top left repeat-x;
}

div#match_title p.title_text {
  float: left;
}

#content {
  position: relative;
  width: 779px;
  margin-top: 8px;
  margin-left: 0;
  margin-right: 0;
}

#headline {
  clear: left;
  color: white;
  background: #003756;
  margin-top: 0;
  margin-left: 1px;
  margin-right: 1px;
  margin-bottom: 5px;
  height: 23px;
}

/* TABLES 
   ------ */

table {
  font-size: 9px;
  text-align: left;
  width: 100%;
  text-align: center;
}

tr.columnheading {
  color: #ffffff;
  background: #003756;
}

tr.tableheader {
  color: #ffffff;
  background: #003756;
  height: 20px;
}

tr.row_0 {
  background-color: #ffffff;
}

tr.row_1 {
  background-color: #EFF3FF;
}

td.batsman {
  height: 25px;
}

td.batsman_text {
  padding-left: 8px;
  text-align: left;
  height: 25px;
}

td.batsman_analysis {
  text-align: left;
  vertical-align: top;
  font-weight: bold;
  padding-left: 4px;
  padding-right: 4px;
}

td.bowler_analysis {
  text-align: left;
  vertical-align: top;
  padding-left: 4px;
  padding-right: 4px;
}

td.wicket {
  padding-left: 8px;
  text-align: left;
  height:15px;
}

td.wicket_columns { width: 53px; }

td.penalties {
  text-align: left;
  padding-left: 8px;
  background-color: #EFF3FF;
  height: 15px;
}

td.total {
  text-align: left;
  padding-left: 8px;
  background-color: #CED7EF;
  height: 20px;
}

td.bold_bg { 
  background-color: #CED7EF;
  font-weight: bold;
}

td.bowler_1, td.bowler_2, td.bowler_3, td.bowler_4, td.bowler_5, td.bowler_6, 
td.bowler_7, td.bowler_8, td.bowler_9, td.bowler_10 {
  text-align: left;
  padding-left: 8px;  
}

td.current_bowler_1, td.current_bowler_2, td.current_bowler_3, 
td.current_bowler_4, td.current_bowler_5, td.current_bowler_6, 
td.current_bowler_7, td.current_bowler_8, td.current_bowler_9, 
td.current_bowler_10 {
  text-align: left;
  padding-left:  8px; 
  color: #ffffff; 
  height: 20px;
}


td.bowler_1 {  color: #ffffff; background: #999999; height: 20px;}
td.bowler_2 {  color: #ffffff; background: #ff6600; height: 20px;}
td.bowler_3 {  color: #ffffff; background: #339966; height: 20px;}
td.bowler_4 {  color: #ffffff; background: #ff0000; height: 20px;}
td.bowler_5 {  color: #ffffff; background: #3366ff; height: 20px;}
td.bowler_6 {  color: #ffffff; background: #990099; height: 20px;}
td.bowler_7 {  color: #ffffff; background: #ff00ff; height: 20px;}
td.bowler_8 {  color: #ffffff; background: #000000; height: 20px;}
td.bowler_9 {  color: #ffffff; background: #0000ff; height: 20px;}
td.bowler_10 { color: #ffffff; background: #33cccc; height: 20px;}

td.current_bowler_1 {  
  background: #999999 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_2 {  
  background: #ff6600 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_3 {  
  background: #339966 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_4 {  
  background: #ff0000 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_5 {  
  background: #3366ff url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_6 {  
  background: #990099 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;    
}
td.current_bowler_7 {  
  background: #ff00ff url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_8 {  
  background: #000000 url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_9 {  
  background: #0000ff url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}
td.current_bowler_10 {  
  background: #33cccc url("/images/shared/pointer.gif")
    no-repeat right center;
  background-position: 97%;
}

span.bowler_1 {  color: #999999; }
span.bowler_2 {  color: #ff6600; }
span.bowler_3 {  color: #339966; }
span.bowler_4 {  color: #ff0000; }
span.bowler_5 {  color: #3366ff; }
span.bowler_6 {  color: #990099; }
span.bowler_7 {  color: #ff00ff; }
span.bowler_8 {  color: #000000; }
span.bowler_9 {  color: #0000ff; }
span.bowler_10 { color: #33cccc; }

/* PARAGRAPHS
   ---------- */

p.title_text {
  margin: 0;
  padding-top: 5px;
  padding-left: 10px;
}

p.innings {
  margin: 0;
  font-size: 13px;
  padding-top: 2px;
  padding-left: 5px;
}

p.headline {
  margin: 0;
  font-size: 15px;
  padding-left: 5px;
  padding-top: 2px;
}

/* Fancy tabs
   ---------- */

#innings_links {
  float: left;
  width: 777px;
  background: url("/images/willhill/tabs/tab_bg.png");
  line-height: normal;
  margin: 5px 0 0 1px;
}

#innings_links ul {
  margin:0;
  padding: 0;
  list-style:none;
}

#innings_links li {
  float:left;
  background:url("/images/willhill/tabs/left.png")
     no-repeat left top;
  margin:0;
  padding:0 0 0 9px;
}

#innings_links a {
  float: left;
  display:block;
  background:url("/images/willhill/tabs/right.png")
     no-repeat right top;
  padding:5px 15px 4px 6px;
  font-size: 0.7em;
}

#innings_links a:visited {
  color: blue;
}

#innings_links #current {
  background-image:url("/images/willhill/tabs/left_on.gif");
}
#innings_links #current a {
  background-image:url("/images/willhill/tabs/right_on.gif");
  padding-bottom:5px;
  text-decoration: none;
  color: black;
}

#batting {
  margin-bottom: 10px;
}

#wickets {
  margin-bottom: 10px;
}
