/*
Theme Name: Sydenhurst Ramblers
Description: Custom theme recreating the original sydenhurst.co.uk cricket club site design, rebuilt from Wayback Machine archives.
Author: Better Media
Version: 1.0
Text Domain: sydenhurst
*/

/* ==========================================================================
   Base / layout (from original main.css)
   ========================================================================== */
body#main_body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

#main_container {
  clear: both;
  background-color: #ffffff;
  z-index: 0;
}

#content_container ul {
  list-style: none;
}

#content_container ul li {
  padding: 0;
}

#content_container ul, #content_container ol {
  margin-left: 5em;
  margin-bottom: 2em;
}

#content_container ul li, #content_container ol li {
  padding: 0.2em 0;
}

/** Footer
==============================================================================*/
#footer {
  width: 100%;
  clear: both;
  height: 50px;
  text-align: center;
}
#footer_text {
  color: #fff;
  padding-top: 10px;
}

/** Menu
==============================================================================*/
#main_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #CFC9BC;
}

#main_nav_list a {
  overflow: hidden;
  height: 1.5em;
  line-height: 1.6em;
}

a.main_nav_item {
  display: block;
  padding: 0.4em 0.5em;
  border-top: 1px solid #F7F5F2;
  border-bottom: 1px solid #CFC9BC;
  margin: 0;
  color: #000000;
  background-color: #f0efeb;
}

a.main_nav_active_item {
  display: block;
  padding: 0.3em 1em;
  color: #fff;
  margin: 0;
}

a.main_nav_item:hover {
  background-color: #fcfcfc;
}

.sub_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub_nav_list li a {
  overflow: hidden;
  height: 1.5em;
  display: block;
  padding: 0.4em 0;
  text-indent: 0.5em;
  color: black;
  border-top: 1px solid #F7F5F2;
  border-bottom: 1px solid #CFC9BC;
  margin: 0;
  width: 100%;
}

a.sub_nav_item {
  background-color: #e4e1dc;
}

a.sub_nav_active_item {
  background-color: #f0efeb;
}

.sub_nav_list li a:hover {
  background-color: #fcfcfc;
}

* html #main_nav_list li { display: inline; }

#logo {
  z-index: 3;
  position: absolute;
  top: 0;
  left: 55%;
  height: 148px;
  width: 299px;
}

#text_caption {
  color: #fff;
  position: absolute;
  top: 10px;
  left: 3%;
  width: 500px;
}
#key_visual {
  z-index: 3;
  position: relative;
  top: 0;
  left: 5%;
  margin-top: 30px;
  height: 200px;
  width: 400px;
  border-left: 5px solid #D5D0C4;
}
#header {
  height: 100px;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
}

#layout_table {
  width: 100%;
  border-collapse: collapse;
}

#left_column {
  width: 250px;
  vertical-align: top;
  background-color: #f0efeb;
}

#right_column {
  vertical-align: top;
}

#left_column_container {
  width: 250px;
  background-color: #f0efeb;
  padding: 120px 0 120px 0;
  margin: 0;
}

#sub_container2 {
  background-color: #ffffff;
  margin: 30px auto 0 auto;
  width: 94%;
}

#content_container {
  border: 1px solid #F3F4F4;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  padding: 16px;
}

#content_container h1 { padding: 16px; }
#content_container h2 { padding: 16px; }
#content_container h3 { padding: 16px; }

#content_container a { color: #172D52; }
#content_container a:visited { color: #172D52; }
#content_container a:hover { color: #FF8A00; }
#content_container a:active { color: #172D52; }
#content_container table { border-collapse: collapse; }

#content_container table th { padding: 0.5em 0.2em; }
#content_container table td {
  padding: 0.2em 0.2em;
  border-bottom: 1px solid #CFC9BC;
}
#content_container table tr.odd:hover, #content_container table tr.even:hover {
  background-color: #F1EFEB;
}

/* ==========================================================================
   Skin (from original style.css) — image paths rewritten to theme folders
   ========================================================================== */
div#logo a {
  display: block;
  width: 100%;
  height: 100%;
}
#footer_text a {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: normal;
  color: #ffffff;
  text-decoration: underline;
  white-space: nowrap;
}

#logo {
  background: url('resources/_wsb_logo.JPG') no-repeat;
}
#key_visual {
  background: url('resources/_wsb_keyvisual.jpg') no-repeat;
}
#text_caption {
  font-family: 'Times New Roman', serif;
  font-style: normal;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}
#main_nav_list a.main_nav_active_item {
  background: url('images/dynamic/buttonset1/n1active.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  font-weight: normal;
  text-decoration: underline;
  color: #ffffff;
}
#main_nav_list a.main_nav_item {
  background: url('images/dynamic/buttonset1/n1.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
}
#main_nav_list a.main_nav_item:hover {
  background: url('images/dynamic/buttonset1/n1hover.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  font-weight: normal;
  text-decoration: underline;
  color: #000000;
}
.sub_nav_list a.sub_nav_active_item {
  background: url('images/dynamic/buttonset1/sub1active.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-weight: normal;
  text-decoration: underline;
  color: #000000;
  background-position: top right;
}
.sub_nav_list a.sub_nav_item {
  background: url('images/dynamic/buttonset1/sub1.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
  background-position: top right;
}
.sub_nav_list a.sub_nav_item:hover {
  background: url('images/dynamic/buttonset1/sub1hover.gif') no-repeat;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-weight: normal;
  text-decoration: underline;
  color: #000000;
  background-position: top right;
}
#content_container h1 {
  font-family: 'Times New Roman', serif;
  font-size: 24px;
  font-weight: bold;
  color: #31552F;
}
#content_container h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: bold;
  color: #31552F;
}
#content_container h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: bold;
  color: #31552F;
}
#content_container, #content_container p {
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-weight: normal;
  color: #000000;
}
#content_container a:link {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 1em;
  text-decoration: none;
  color: #172D52;
}
#content_container a:hover {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 1em;
  text-decoration: none;
  color: #FF8A00;
}
#footer_text {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #ffffff;
}

/* ==========================================================================
   Colour scheme (from original colorscheme2/colorscheme.css)
   ========================================================================== */
#footer {
  background: url('images/static/bg_bottom.png') bottom center repeat-x;
}
#content_container h1 { color: #31552F; }
#content_container h2 { color: #31552F; }
#content_container h3 { color: #31552F; }

#header {
  background: url('images/static/bg_top.png') top center repeat-x;
}

#sub_container2 ul {
  list-style-image: url('images/static/liststyle.gif');
}
#content_container table {
  border-top: 3px solid #96B269;
  border-bottom: 3px solid #96B269;
  border-right: 2px solid #96B269;
  border-left: 2px solid #96B269;
}
#content_container table th {
  background-color: #ABC581;
  border-top: 3px solid #96B269;
  border-bottom: 3px solid #96B269;
}

#main_nav_container {
  background: url('images/static/menue_bg.png') right -20px no-repeat;
}

#main_nav_list {
  border-left: 20px solid #96B269;
}
a.main_nav_active_item {
  border-left: 10px solid #96B269;
  border-bottom: 2px solid #96B269;
  background-color: #96B269;
}

/* NOTE: original used a "buttonset2" hover image set for these two rules
   (images/dynamic/buttonset2/menuepunktbg*.png) which was never captured by
   the Wayback downloader — only buttonset1 exists in the archive. Falling
   back to a plain colour hover until/unless the buttonset2 images turn up. */
a.main_nav_item:hover {
  background-color: #ffffff;
}

.sub_nav_list {
  border-bottom: 2px solid #96B269;
}

a.sub_nav_item {
  background-color: #E4E1DB;
}

a.sub_nav_item:hover {
  background-color: #ffffff;
}
