/* -------------------------------------------------
   GLOBAL BASE – EARTHY / MODERN MINERALS THEME
--------------------------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  /* dark, mineral-toned background outside the content */
  background: radial-gradient(circle at top, #2b3530 0%, #151a1d 45%, #050607 100%);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2528;
}

/* -------------------------------------------------
   TYPOGRAPHY & LINKS
--------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #1f2528;
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p {
  margin: 0 0 1em;
}

a {
  color: #2f7b5a; /* deep mineral green */
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c89b3b; /* warm ochre accent */
  text-decoration: underline;
}

/* preserve existing smallcaps styling for logo/nav */
.smallcaps  { font-size: 0.9em; text-transform: uppercase; letter-spacing: 0.06em; }
.smallcaps2 { font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.08em; }
.smallcaps3 { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.08em; }

/* -------------------------------------------------
   MAIN PAGE FRAME
--------------------------------------------------*/

#content {
  width: 960px;
  max-width: 96%;
  margin: 20px auto;
  background-color: #f7f6f3;    /* warm off-white */
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* -------------------------------------------------
   HEADER / HERO STRIP
--------------------------------------------------*/

#header {
  height: 280px;
  width: 100%;
  position: relative;
  /* earthy gradient instead of old concrete grey */
  background: linear-gradient(135deg, #1b2621 0%, #24362b 45%, #3b4c3a 100%);
  overflow: hidden;
}

/* logo title block that sits on top of slideshow */
#name {
  position: absolute;
  left: 40px;
  bottom: 36px;
  padding: 12px 18px;
  background: rgba(247, 246, 243, 0.92);
  border-radius: 4px;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: #1f2528;
  line-height: 1.2;
}

.name2 {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 400;
  color: #475056;
}

/* -------------------------------------------------
   NAVIGATION BAR
--------------------------------------------------*/

#navigation {
  height: 44px;
  position: relative;
  width: 100%;
  line-height: 44px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  background: linear-gradient(to right, #111c17, #1d3026, #111c17);
}

.select {
  white-space: nowrap;
  margin: 0;
  padding: 0 16px;
  list-style: none;
  float: left;
}

#navigation li {
  float: left;
  text-align: center;
  margin-right: 6px;
}

#navigation .select a {
  display: block;
  padding: 0 12px;
  height: 44px;
  line-height: 44px;
  color: #f7f6f3;
  text-decoration: none;
}

#navigation .select a:hover,
#navigation .select li:hover a {
  background-color: rgba(247, 246, 243, 0.08);
  color: #c89b3b;
  cursor: pointer;
}

/* dropdown (kept compatible with old markup) */

.sub {
  display: none;
  margin: 0;
  list-style: none;
  border: 1px solid #000000;
  background-color: #ffffff;
}

.select :hover .sub {
  display: block;
  position: absolute;
  top: 42px;
  left: 44px;
}

.select :hover .sub li a {
  display: block;
  height: 24px;
  line-height: 24px;
  float: left;
  white-space: nowrap;
  color: #1f2528;
  font-size: 14px;
  padding: 0 10px;
}

.select :hover .sub li a:hover {
  background: #f0eee8;
  color: #2f7b5a;
}

/* -------------------------------------------------
   MAIN CONTENT AREA
--------------------------------------------------*/

#main {
  width: 100%;
  background-color: #f7f6f3;
  color: #1f2528;
}

#information {
  width: 92%;
  margin: 18px auto 28px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  color: #1f2528;
  text-align: left;
}

/* ensure lists look clean in the article areas */
#information ul,
#information ol {
  margin: 0 0 1em 24px;
  padding: 0 0 0 4px;
}

#information ul li,
#information ol li {
  list-style: disc;
  margin-bottom: 4px;
  float: none;
}

/* images inside content */
#information img {
  border-radius: 4px;
}

/* thumbnails & legacy classes still supported */
div.thumb a {
  display: block;
  color: #000000;
  text-decoration: none;
  height: 129px;
  width: 199px;
}
div.thumb a:hover {
  border: 1px solid #2f7b5a;
  text-decoration: underline;
}

/* -------------------------------------------------
   SITE FOOTER BAR
--------------------------------------------------*/

#footer {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  background-color: #111819;
  text-align: right;
  height: 26px;
  width: 100%;
  color: #e3e3df;
  line-height: 26px;
  padding: 0 12px;
}

#footer a {
  color: #e3e3df;
}

#footer a:hover {
  color: #c89b3b;
}

/* -------------------------------------------------
   HIDDEN SEO KEYWORDS BLOCK
   (use <div class="seo-footer"> in HTML)
--------------------------------------------------*/

.seo-footer {
  text-indent: -9999px;
  white-space: nowrap;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------
   LIGHTBOX / GALLERY (kept from original, colours nudged)
--------------------------------------------------*/

img { border: none; }
.copyright { font-size: 9px; }

#lightbox {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  line-height: 0;
}

#outerImageContainer {
  position: relative;
  background-color: #ffffff;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

#imageContainer { padding: 10px; }

#loading {
  position: absolute;
  top: 40%;
  left: 0%;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

#hoverNav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

#hoverNav a { outline: none; }

#prevLink,
#nextLink {
  width: 49%;
  height: 100%;
  display: block;
  background-color: transparent;
  background-image: url(images/blank.gif);
  background-repeat: no-repeat;
}

#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }

#prevLink:hover,
#prevLink:visited:hover {
  background-image: url(images/prevlabel.gif);
  background-position: left 15%;
}

#nextLink:hover,
#nextLink:visited:hover {
  background-image: url(images/nextlabel.gif);
  background-position: right 15%;
}

#imageDataContainer {
  font: 10px/1.4em Verdana, Helvetica, sans-serif;
  background-color: #ffffff;
  margin: 0 auto;
  color: #000000;
}

#imageData { padding: 0 10px; }

#imageData #imageDetails {
  width: 70%;
  float: left;
  text-align: left;
}

#imageData #caption {
  font-weight: bold;
}

#imageData #numberDisplay {
  display: block;
  clear: left;
  padding-bottom: 1.0em;
}

#imageData #bottomNavClose {
  width: 66px;
  float: right;
  padding-bottom: 0.7em;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 500px;
  background-color: #000;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

* html>body .clearfix { display: inline-block; width: 100%; }
* html .clearfix { height: 1%; }

/* pagination buttons (kept, colours adjusted a bit) */
.pages {
  background-color: #111819;
  text-decoration: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
  color: #c89b3b;
  border: 1px solid #000000;
}

.pages:hover {
  border: 1px dotted #c89b3b;
}

/* tab menu (legacy) */
#tabmenu {
  margin: 0;
  padding: 0;
  z-index: 1;
}

#tabmenu li {
  display: inline;
  overflow: hidden;
  list-style-type: none;
}

#tabmenu a {
  color: #ffffff;
  background: #1b2621;
  border: 1px solid;
  padding: 0 4px;
  margin: 0;
  text-decoration: none;
  border-bottom: 3px #1b2621;
  border-left-color: #122019;
  border-right-color: #2f7b5a;
  border-top-color: #2f7b5a;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

#tabmenu a.active {
  background: #f7f6f3;
  border-bottom: 3px solid #f7f6f3;
  color: #1f2528;
}

#tabmenu a:hover {
  background-color: #2f7b5a;
  border-bottom-color: #c89b3b;
}

/* -------------------------------------------------
   RESPONSIVE TWEAKS
--------------------------------------------------*/

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  #content {
    margin: 10px auto;
    border-radius: 0;
  }

  #name {
    left: 20px;
    right: 20px;
    font-size: 24px;
  }

  #navigation .select {
    padding: 0 8px;
  }

  #navigation .select a {
    padding: 0 8px;
    font-size: 13px;
  }

  #information {
    width: 94%;
  }
}