/* screen-specific default styles for www.shenfield.cc
 * Author: Doug Wright
 */
#skipLink {
  position: absolute;
  left: -999px;
  top: -999px;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 95%;
  font-size-adjust: none;
}

h1 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 2.5em;
}

h2 {
  font-family: Arial, sans-serif;
  font-size: 1.5em;
}

h3 {
  font-family: Arial, sans-serif;
  font-size: 1.4em;
}

h4 {
  font-family: Arial, sans-serif;
  font-size: 1.3em;
}

h5 {
  font-family: Arial, sans-serif;
  font-size: 1.2em;
}

h6 {
  font-family: Arial, sans-serif;
  font-size: 1.1em;
}

#content h2, #content h3, #content h4, #content h5, #content h6 {
  font-family: Arial, sans-serif;
}

body {
  color: #000040;
}

html {
  background: white url(../images/modern/backgrounddark.jpg) fixed no-repeat top right;
}

body {
  background: white url(../images/modern/backgroundlight.jpg) fixed no-repeat top right;
}

#sidebar > * {
  background: white url(../images/modern/backgroundlight.jpg) fixed no-repeat top right;
}

* > #footer, * > #sidebar, #sidebar .cockerel {
  background: #f0f0f0 url(../images/modern/backgrounddark.jpg) fixed no-repeat top right !important;
}

#sidebar {
  float: left;
  width: 20%;
  /*padding-left: 0.5em;*/
  padding-right: 0.5em;
}

#sidebar div {
  margin: 1em 0 1em 0;
}

#innerwrapper{
  float: left;
  width: 75%;
  padding-left: 2.5%;
}

#wrapper {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: -2.5em;
}

#innerwrapper {
  padding-bottom: 1000em;
  margin-bottom: -998em;
}

#sidebar {
  padding-bottom: 1000em;
  margin-bottom: -999.5em;
  z-index: 2;
}
#footer {
  position: absolute;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: 1em;
  padding: 0.5em;
  z-index: 99;
}

#sidebar ul {
  margin: 0;
}

a, a:visited {
  color: #0007b4;
  text-decoration: none;
}

/*#content a, #content a:visited {
  border-bottom: 1px dotted #000040;
}*/

/*td, th {
  font-family: Arial, sans-serif;
  font-size-adjust: none;
}*/

#footer a:hover, #content p a:hover, #content td a:hover, #content li a:hover, #content dd a:hover, #content .bbcnews a:hover, #content a#morenews:hover, #content a#playforus:hover {
  background: rgb(255, 255, 224);
}

#counter a:hover {
  background: #000000;
}

.thumbnail {
  margin:0 15px;
}

table, td, th {
  border: 1px solid rgb(229,229,229);
}

table, td, th{
  border: 1px solid rgba(211,211,211,0.5);
}

#content img {
  border: 1px solid #000040;
}

#content table img {
  border: none;
}

#content img[alt=""] {
  border: none;
}

th {
  background: url(../images/modern/grey.png) repeat;
}

tr.highlight td, tr.highlight th {
  background: rgb(255, 255, 224);
}


#sidebar {
  color: #000077;
}

#sidebar li, #sidebar a {
  color: #000077;
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: none;
}

#sidebar li {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}



#sidebar a {
  padding: 0 1em;
}


#sidebar li:hover {
  background: rgb(255, 255, 224);
  color: #0000b0;
  border-top: 2px solid #0000b0;
  border-bottom: 2px solid #0000b0;
}

td, th {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

caption {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}


#weather dd {
  display: block;
  margin-left: 0.5em;
}

#weather dd + dd {
  margin-top: 0;
}

#weather small {
  display: block;
  text-align: center;
}

#sidebar h2 {
  text-indent: 0.5em;
  font-size: 1.4em;
  font-weight: normal;
  font-family: Verdana, Tahoma, "Bitstream Vera Sans", sans-serif;
  background: url(../images/modern/grey.png) repeat;
}

a:focus {
  outline: none;
}

#sidebar li ul {
  margin-left: 1em;
}

#sidebar li > ul {
  display: none;
}


#sidebar li:hover {
  position: relative;
  z-index: 2;
}

#sidebar li:hover > ul {
  display: block;
  left: 100%;
  width: 100%;
  top: 0;
  margin-top: -5px;
  margin-left: 0;
  position: absolute;
  padding: 2px 0;
  background: white url(../images/modern/backgroundlight.jpg) fixed no-repeat top right;
}


#sidebar li:hover > ul {
  border: 1px solid rgb(211,211,211);
}

#sidebar li:hover > ul {
  border: 1px solid rgba(211,211,211,0.5);
}

#sidebar {
  font-size: 0.9em;
  }

*[title] {
  border-bottom: 1px dotted #000077;
  cursor: help;
}

#diarydates, .bbcnews, #latestscores, #bar {
  float: right;
  clear: right;
  width: 25%;
  border: 0.5em solid rgb(238,238,238);
  padding: 0;
  margin-left: 5%;
  font-size: 0.8em;
  font-family: Arial, sans-serif;
}

* > #diarydates, * > .bbcnews, * > #latestscores, * > #bar {
  border: 0.5em solid rgba(0,0,0,0.04);
}

#diarydates dt, #diarydates dd, .bbcnews dt, .bbcnews dd, #latestscores p {
  text-align: left;
}

#latestscores, #bar {
  margin-top: 5em;
}

.bbcnews h4 {
  text-align: left;
  text-indent: 0.75em;
}

#innercontent {
  margin-right: 27.5%;
}

#innercontent h2 {
  clear: none;
}

.bbcnews cite {
  display: block;
  font-size: 0.7em;
  font-weight: normal;
}

tr:hover > *, tr.highlight:hover > * {
  background: url(../images/modern/grey.png) repeat;
  background: none rgba(230, 230, 230, 0.2);
}

#counter a, #counter a:visited {
  background-color: #000000;
  color: #eee;
  text-decoration: none;
}

#counter {
  font-size: 1.25em;
  letter-spacing: 0.25em;
  float: right;
  clear: right;
  width: 25%;
  padding: 0 0 0 0.5em;
  margin: 0;
  font-family: Arial;
  font-size-adjust: none;
}

#counter a {
  font-weight: normal;
  padding: 0 0.25em;
}

/*.Dashboard_toggler, .dashboardContainerTable tr + tr, #myMap_dashboard .header {
  display: none !important;
}*/

#content h2 {
  font-size: 1.8em;
}

#footer img {
  margin: 0;
}

/*p, #content ul, ol {
  max-width: 45em;
  margin-left: auto !important;
  margin-right: auto !important;
}

table {
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;
}*/

.cockerel {
  display: block;
  /*width: 6em;
  height: 6em;*/
}

.cockerel img {
  display: block;
  margin: 0 auto 0 auto;
}

* html #sidebar .cockerel {
  margin-right: 0.5em;
  background: #f0f0f0;
}

#headerwrapper {
  display: block;
  background: url(../images/modern/header.png) no-repeat 30em 0;
  height: 182px;
  margin: 0 -5% 0 0;
  padding: 0;
  font-size: 0.9em;
}

* html #headerwrapper {
  width: auto;
}

#headercontent {
  text-align: center;
  width: 30em;
  float: left;
  padding-bottom: 5px;
  /*border-bottom: 2px solid #f0f0f0;*/
}
#headercontent * {
  margin: 0;
  padding: 0;
}

#headercontent small {
  display: block;
  font-size: 70%;
}

#headercontent h4 {
  margin-top: 0.75em;
}

#feeds img {
  display: inline;
  margin: 0;
}

#sidebar a[title] {
  cursor: pointer;
}

#search form {
  padding: 0 0.5em;
  font-size: 0.9em;
  text-align: center;
}

#search input[type="text"] {
  display: block;
  margin: auto;
}

#sidebar iframe {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  display: block;
}

#menu h2{
  margin-top: 0;
}

#footer img {
  vertical-align: middle;
}

address.club {
  font-size: 1em;
}

#maps, #maps li {
  list-style: none;
  display: block;
  margin: 0.5em auto;
  padding: 0;
  text-align: center;
}


a#playforus {
  position: absolute;
  right: 0;
  top: -1.5em;
    font-weight: bold;
  left: 31em;
}

#playforus ul {
  width: 16.5em;
}

#latestscores p {
  margin: 1em;
}

#content a.thumbnail {
  border-bottom: none;
  margin: 1em;
  height: 92px;
}

#content a.thumbnail:hover {
  background: none;
}

#content a.thumbnail img {
  margin:0 auto;
  max-width: 120px;
  max-height: 90px;
}

#logos {
  text-align: center;
}

#logos a {
  border: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  max-width: none !important;
}


#content a#clubmark, #content a#clubmark:hover {
  float: right;
  clear: both;
  width: 25%;
  background: none;
  text-decoration: none;
  border: none;
}

#content a#clubmark img {
  border: none;
  padding: 0;
  margin: 0 auto;
}

















#latestscores p, #bar p {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

body {
  max-width: 1500px;
}

html, body {
  font-family: Corbel, Verdana, Tahoma, "Bitstream Vera Sans", sans-serif;
}

#content {
  position: relative;
}
