 
/* Core styles for www.shenfield.cc
 * (C) Doug Wright 2005-2006
 */

/* margin and padding */
*, .clear, td img, .third img, img + h4, img + h5, img + p, .half ul {
  margin:0;
  padding:0;
}

h2, h3, h4, h5, h6, dt, dd + dd, caption  {
  margin-top: 0.75em;
}

h2 + p, h3 + p, h4 + p, h5 + p {
  margin-top: 0.25em;
}

img {
  margin: 1em 1em 1.75em 1em;
}

img[alt=""], ul ul {
  margin: 0 0.25em 0 2em;
}

img + div {
  margin-top: -1em;
}

.map img + div {
  margin-top: 0; /*Unbreak Google map*/
}

dd {
  margin-left: 1.5em;
  padding-left: 1em;
}

div, ul.unstyled li, .left img, .right img, .thumbnail img, img.third {
  margin: auto;
}

table, table.half, table.third, table.twothirds {
  margin: 0.5em auto;
}

ul, ol, dl, p, blockquote > img + p {
  margin: 1em;
}

.spaceout, #footer {
  padding: 1em 0;
}

.third + .third + .third + *, .left + .right + *:not(.left) {
  padding-top: 0.5em;
}

blockquote {
  padding: 0 1em;
}

ul + p {
  margin-top: 0em;
}

/* border styles */
img {
  border: none;
}

th, td, img[src$=".jpg"] {
  border: 1px solid;
}

table {
  border-collapse: collapse;
}

#oldbrowser {
  border-top: 2px solid;
}


/* sizing */
img, img[title] {
  max-width: 90% !important;
}

.map img, .map img[title] {
  max-width: none !important; /*Unbreak Google maps*/
}


table, table.half, table.third, table.twothirds {
  width: 90%;
}

td img {
  max-width: inherit !important;
}

.half, table.half td {
  width: 50%;
}

.third, table.third td{
  width: 33.33%;
}

.twothirds, table.twothirds td, .right .left, .left .right {
  width: 66.67%;
}

.thumbnail {
  width: 120px;
  height: 150px;
}

.thumbnail img {
  max-width: 120px;
  max-height: 90px;
}

tr {
  height: 2em;
}

/* block positioning*/
.left, .thumbnail {
  float: left;
}

.right, #updated {
  float: right;
}

.left + .right + *, .third + .third + .third + * {
  clear: both;
}

.clear, div#footer, h1, h2, h3, h4, h5, h6, caption {
  clear: both;
}

.left img, .right img, #content .thumbnail img, #content ul.unstyled li, #counter {
  display: block;
}

/* inline positioning */

/* .thumbnail {
  float: none;
  display:inline;
  display:inline-block
} */
p, dl, dt, dd, #content li {
  text-align: left;
}

#content, #content .half li, #latestmatch * {
  text-align: center;
}

/*#content a {
  vertical-align: text-bottom;
}*/

sup {
  vertical-align: text-top;
}

#footer {
  text-align: left;
}

img, img[title], table, table.half, table.third, table.twothirds {
  vertical-align: middle;
}

/* text styling*/
h2 {
  font-size: 2em;
  font-weight: bold;
}

h3 {
  font-size: 1.4em;
  font-weight: bold;
}

h4, caption {
  font-size: 1.2em;
  font-weight: bold;
}

h5, h6 {
  font-size: 1em;
  font-weight: bold;
}

.third h6 {
  font-size: 0.83em;
  font-weight: bold;
}

small.smaller {
  font-size: 0.7em;
}

html, body, .thumbnail {
  font-family: Verdana, Tahoma, "Bitstream Vera Sans", sans-serif;
  font-size-adjust: 0.55;
}

h4 + img + div, h5 + img + div {
  font-family: Verdana, Tahoma, "Bitstream Vera Sans", sans-serif;
  font-size-adjust: 0.55;
}

dt {
  font-weight: bold;
}

a[href="cgi-bin/awstats.pl"] {
  text-decoration: none;
}

.half ul li a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.33em;
}

.thumbnail, sup + span, .half ul {
  font-size: 0.75em;
}

h3 + img + div, h4 + img + div, h5 + img + div {
  font-size: 0.7em;
}

div#footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-small;
}

samp {
  font: inherit;
  font-style: italic;
}

/* lists */
dl:not(.dfn) dd {
  display: list-item;
  list-style-type:square;
}

.half ul, #menu ul {
  list-style:none;
}

li {
  list-style-position: outside;
  margin-left: 1em;
  padding-left: 0;
}

address {
  font-size: small;
  font-style: normal;
}

/*  Browser-hacks */

th, td {
  text-align: left;
}



/*  Experiments*/

div#playforus li {
  list-style-image:url(../images/ball2b.gif);
  list-style-position:inside;
}

#diarydates h3 {
  clear: none;
}

#latestmatch {
  margin-top: -1em;
}

#latestmatch ul {
  margin-top: 0;
}

#latestmatch li {
  list-style: none;
  /*display: inline;*/
}

#latestscores ul, #latestscores li {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0 0.5em;
}
