* {
  margin: 0;
  padding: 0;
}

.clear {
  clear: both;
}

h2 {
  color:  #095BA6;
  font-weight: normal;
  margin: 0 0 0.5em 0;
  padding: 0;
  clear: both;
}

h3, h4 {
  font-size: 1em;
  clear: both;
}

p {
  margin: 0 0 1em 0;
}

a {
  color:  #095BA6;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}


#contents {
  margin-top: 13px;
  width: 770px; 
  margin-left: auto;
  margin-right: auto;
  text-align: left;         /* Hack for IE not doing margin-auto */
  min-height: 400px;
}

#banner {
  border: 1px solid #716F64;
}

#bannercontents {
  background: url(images/bg-helpbanner.jpg) top right no-repeat #A8D2F1;
  margin: 1px;
}

#bannercontents a {
  display: block;
  height: 40px;
}

#contents h1 {
  background: url(images/h1-betfairhelpunbranded.gif) no-repeat 7px 12px;
  width: 158px;
  height: 40px;
  margin: 0;
  padding: 0;
}


#topnav {
  background: url(images/bg-headershadow.gif) repeat-x #C0D5E8;
  border-bottom: 8px solid #052E53;
}

#topnav .clear {
  background: #052E53;
  font-size: 0;
  line-height: 0; 
  height: 0;
}

#tabs {
  float: left;
}

#tabs a {
  display: block;
  width: auto;
  float: left;
  padding: 4px 10px 4px 8px;
  margin-right: 2px;  
  margin-top: 5px;
  margin-bottom: 0;
  text-decoration: none;
}

#tabs a.tabon {
  background: url(images/bg-tabon.gif) top right no-repeat #052E53;
  font-weight: bold;
  color: white;
}

#tabs a.taboff {
  background: url(images/bg-taboff.gif) top right no-repeat #B1C8D9;
  font-weight: bold;
  color: #052E53;
}

#tabs a.taboff:hover {
  color: white;
}

#search {
  width: auto;
  float: right;  
}

#search input {
  margin: 4px 3px 0 0;
  font-family: tahoma, sans-serif;
  font-size: 1em;
  font-weight: bold;
}  

#search #submit {
  margin: 0 10px 4px 0;
  vertical-align: middle;
}  

/* left nav */

#leftnav {
  background: #C0D5E8;
  width: 220px;
  overflow: auto;
  float: left;
  border-bottom: 2px solid #C0D5E8;
}

#leftnav a {  
  display: block;
  background: #EFF4F9 url(images/bg-leftnavoff.gif) 3px 7px no-repeat;
  color: #052E53;
  text-decoration: none;
  margin: 2px;
  padding: 4px 14px;
  font-weight: bold;
}

#leftnav .subnavhead {
  padding-left: 6px;
  font-weight: bold;
}

/* 
  XXX 
  Put in up to 9 for now - will only work if we have 9 or less items.
  This could do with being refactored to use a classname instead,
  but this will involve changing a number of other elements to use
  classnames too, otherwise they will override the link styles.
*/

#subnav1, #subnav2, #subnav3, #subnav4, #subnav5, #subnav6, #subnav7, #subnav8, #subnav9 {
  display: none;
  background: white;
  padding-top: 2px;
  padding-bottom: 6px;
  margin-left: 2px;
  margin-right: 2px;
}

#subnav1 a, #subnav2 a, #subnav3 a, #subnav4 a, #subnav5 a, #subnav6 a,
#subnav7 a, #subnav8 a, #subnav9 a {
  padding: 2px 18px;
  color: #052E53;
  font-weight: normal;
  background: white url(images/bg-subnavoff.gif) 3px 3px no-repeat;
}


#subnav1 a:hover, #subnav2 a:hover, #subnav3 a:hover, #subnav4 a:hover, #subnav5 a:hover, #subnav6 a:hover, #subnav7 a:hover, #subnav8 a:hover, #subnav9 a:hover {
  background: #C0D5E8 url(images/bg-subnavon.gif) 3px 3px no-repeat;
  color: black;
}

#leftnav #global {
  margin-top: 10px;
}

#leftnav #global a {
  display: block;
  background: #095ba5 url(images/bg-leftnavglobaloff.gif) no-repeat left top;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

#leftnav #global a:hover {
  background: #6f9cc5 url(images/bg-leftnavglobalover.gif) no-repeat left top;
}


/* open states */

#leftnav .navswitchon {
  background: #095BA6 url(images/bg-leftnavon.gif) 3px 7px no-repeat;
  color: white;
}

#leftnav .navswitchonnosub {
  background: #095BA6 url(images/bg-leftnavover.gif) 3px 7px no-repeat;
  color: white;
}

#leftnav div.subnavon {
  display: block;
}

#leftnav a.subnavlinkon {
  background: #C0D5E8 url(images/bg-subnavon.gif) 3px 3px no-repeat;
  color: black;
}
  
/* glossary styles */

.glossarynav {
  text-align: center;
  background: #EFF4F9;
  margin: 2px;
  padding: 4px;
}

#leftnav .glossarynav a {
  display: inline;
  padding: 3px;
  margin: 0;
  background: none;
}

#leftnav .glossarynav span {
  padding: 3px;
  color: #716F64;
}  

#leftnav .glossarynav a:hover, #leftnav .glossarynav a.glossaryon {
  background: #095BA6;
  color: white;
}

#leftnav h4 {
  background: #095BA6 url(images/bg-leftnavon.gif) 3px 7px no-repeat;
  color: white;
  margin: 2px;
  padding: 4px 14px;
  font-weight: bold;
  font-size: 1em;
}

.glossarysubnav {
  background: white;
  padding-top: 2px;
  padding-bottom: 6px;
  margin-left: 2px;
  margin-right: 2px;
}

#leftnav .glossarysubnav a {
  margin: 0 2px 0 2px;
  padding: 2px 18px;
  color: #052E53;
  font-weight: normal;
  background: white url(images/bg-subnavoff.gif) 3px 3px no-repeat;
}

#leftnav .glossarysubnav a:hover {
  background: #C0D5E8 url(images/bg-subnavon.gif) 3px 3px no-repeat;
  color: black;
}

/* page contents */

.helpcontents, 
.helphome {
  background: white;
  border: 2px solid #C0D5E8;
  border-left: 0;
  padding: 10px 15px;
  overflow: auto;
}

/* home page */

#homepage {
  background: url(images/bg-introstripe.jpg) repeat-x #095BA6;
  border: 2px solid #095BA6;
  border-top: 2px solid #C0D5E8;
  padding: 0;
  margin: 0;
}

#iefix .helpcontents, 
#iefix .helphome {
  background-position: left top;
  float: left;
}

#homepage #tableholder {
  width: 100%;
}

#homepage table {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
}

#homepage td {
  width: 50%;
  padding: 0;
  margin: 0;
}

#homepage a {
  text-decoration: none;
}

#homepage a:hover {
  text-decoration: underline;
}

#helpintro {
  background: url(images/bg-introimage.jpg) no-repeat left top;
  min-height: 140px;
  padding: 2em 10px 1em 190px;
  margin: 0;
}

#iefix #helpintro {
  height: 175px;
}

#contents #helpintro h2 {
  font-size: 1.5em;
  font-weight: normal;
  color: black;
  margin-bottom: 0.5em;
}

#contents h2 {
  font-size: 1.5em;
}

#iefix #helpintro h2 {
  width: auto;
}

#helpintro p {
  font-size: 1em;
  color: white;
}

#iefix #helpintro p {
  width: auto;
}

#box1 {
  background: white;
  height: 169px;
}

#iefix #box1 {
  height: 170px;
}

#box1 h3 {
  background: url(images/bg-box1head.gif) repeat-x #ADD412;
  padding: 3px 5px 4px 5px;
  font-weight: normal;
  font-size: 1.25em;
  color: #052E53;
  margin: 0;
}

#box1 ol {
  margin: 0.75em 1em 0.5em 2.25em;
  color: #052E53;
}

#box1 ol a {
  color: #052E53;
}

#box2 {
  height: 169px;  
}

#iefix #box2 {
  height: 170px;
}

#box2 h3 {
  padding: 3px 5px 4px 70px;
  font-weight: normal;
  font-size: 1.25em;
  color: white;
  margin: 0;
  background: none;
}

#box2 p {
  margin: 0.5em 20px 1em 0.75em;
  font-style: italic;
}

#box2 .spacer {  
  float: left; 
  clear: left; 
  line-height: 0; 
  height: 50px;
  width: 80px;
}

#box2 #leftquote {
  margin-right: 3px;
}

#box2 #rightquote {
  vertical-align: top;
  margin-left: 3px;
}

#box2 span {
  white-space: nowrap;
}

#box2 #author {
  font-style: normal;
  margin-right: 0.5em;
  font-weight: bold;
  text-align: left;
}

/* article contents */


.helpcontents h3 {
  padding: 3px 10px 3px 5px;
  background: #095BA6;
  color: white;
}

.helpcontents h3, .helpcontents h4 {
  margin: 1.5em 0 0.5em 0;
}

.helpcontents p {
  margin: 0.5em 0 1em 0;
  line-height: 1.25em;
}

#contentpadding {
  height: 2em;
}

#contents .helpcontents a.anchor {
  color: black;
  text-decoration: none;
}

/* tables */

.helpcontents table {
    margin: 0.5em 0 1em 0;
  width: 100%;
}

.helpcontents th, .helpcontents td {
  padding: 3px;
}

.helpcontents th {
  background: #ADD412;
  font-weight: bold;
  color: black;
  text-align: left;
}

.helpcontents th.tablesubhead {
    background: white;
  font-weight: bold;
  color: black;
  text-align: left;
  border-bottom: 1px solid #CCCCCC;
}

.helpcontents td {
  text-align: left;
  border-bottom: 1px solid #CCCCCC;
}

/* lists */ 
.helpcontents ul, .helpcontents ol {
  margin: 0.5em 0 1em 2em;
}

/* images */ 
.helpcontents img {
  border: 0;
  margin: 0.5em 0em 0.5em 0em;
}

.helpcontents img.left {
  float: left;
  margin-right: 1em;
}

.helpcontents img.right {
  float: right;
  margin-left: 1em;
}

.helpcontents h2 img,
.helpcontents h3 img,
.helpcontents h4 img {
  margin: 0px;
  padding: 0px;
  vertical-align: bottom;
}

/* contact us */

#contactlinks {
  padding: 5px 0px 1em 0;
}

#contactlinks th {
  font-weight: normal;
  padding: 0 2em 0 0;
  background: white;
  border: 0;
}

#contactlinks td {
  border: 0;
}

#contactlinks a {
  color:  #095BA6;
}

#phonedirect {
  padding: 5px 0px 1em 0;
}

#phonedirect th, #phonedirect td {
  background: white;
  border-bottom: 1px solid #cccccc;
}

#phonedirect th {
  padding: 2px 50px 2px 0px;
}

#phonedirect td {
  padding: 2px 10px 2px 0px;
}

address {
  font-style: normal;
  margin-top: 0.5em;
}

/* search results */

.searchresults table {
  width: 100%;
}

.searchresults th {
  padding: 2px 10px 2px 10px;
  background: #ADD412;
  color: black;
  border-right: 2px solid white;
  text-align: center;
}

.searchresults th.left, .searchresults td.left {
  text-align: left;
}

.searchresults td {
  padding: 5px 10px 5px 10px;
  text-align: center;
  border: 0;
}

.searchresults th.th3 {
  width: 20%;
}

.relevancecontainer {
  float: right;
  width: 45px;
  border: 1px solid #052E53;
  height: 1em;
  text-align: left;
  font-size: 8px;
  margin-top: 1px;
}

.relevance {
  background: #095BA6;
  height: 1em;
  font-size: 8px;
}

/* tooltips */

.helpcontents span.tooltip {
  background: #DFEAF3;
}

.helpcontents a span.tooltip {
  display: inline;
  text-decoration: underline;  
}

.helpcontents a:hover span.tooltip {
  display: inline;
  text-decoration: none;  
}

#tooltip {
  max-width: 150px;
  background: #DFEAF3;
  border: #095BA6 1px solid;
  padding: 3px;
  text-align: left;
  position:absolute;
  top: 0;
  left: 0;
  z-index:9999;
  visibility : hidden;
}

#iefix #tooltip {
  width: 125px;
}

.tooltip {
  cursor: help;
}

span.tooltip span {
  display: none;
}

#footer {
  padding-top: 20px;
  clear: both;
  text-align: center;
}

#footer, 
#footer a {
  color: #666;
}

#footer ul {
  margin: 0px;
  padding: 0px;
  word-spacing: -0.5em; /* Adjust space between li on FF */
}

#footer li {
  display: inline;
  margin: 0px 0.5em 0.5em 0px;
  padding: 0px 0.5em 0px 0px;
  border-right: 1px #666 solid;
  word-spacing: normal;
}

#footer li.lilast {
  border-right: none;
}


#footer p {
  clear: both;
  width: 295px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}  

#progressholder {
  position: relative;
  display: none;
}

#progressbg {
  position: absolute;
  z-index: 50;
  top: 120px;
  left: 45%;
  width: 66px;
  height: 66px;
  background: url(images/img-cog-bg.png);
}

#iefix #progressbg {
  background: none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='/images/img-cog-bg.png');
}

#progress {
  background: url(images/img-cog.gif) no-repeat;
  width: 43px;
  height: 43px;
  position: absolute;
  top: 12px;
  left: 12px;
}
