/* Force content size on mobile */

p, li, h1, h2, h3, h4, h5, h6, td, th, a, span,
div, section, article, blockquote, pre, code {
    overflow-wrap: break-word;
    word-break: break-word;
}   

img, video, iframe, table, pre {
    max-width: 100%;
    height: auto;
}
pre, code {
    overflow-x: auto;   /* wide code blocks scroll instead of stretching the page */
}
body {
    overflow-x: hidden; /* safety net against stray overflow */
}   

/*  ============= Prevent overflow ========== */
html, body {
    width: 100%;
  margin-top: 0px;
  margin-right: 1px;
  margin-bottom: 10px;
  margin-left: 5px;
}
.page-wrapper {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* ============== Dropdown Menu =================*/

.topnav {  position: sticky;
  top: 0px;
  z-index: 100;
  background-color: #333;
  overflow: hidden;
  display: flex;
  align-items: center;

   background: url('blank-1.gif')

}

.topnav .link {

  text-decoration: none;
  padding: 1px 16px;
}

.hamburger {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 1px 20px 1px 50px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 3px 0px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .topnav {
    display: block;
width: 225px;
  padding: 1px 5px 1px 10px;
   background: url('blank-1.gif')
  }


  .topnav .link {
    display: none;
  }

  .topnav .link.active {
    display: table;  /* ← shrink-wraps to text width, no width property needed */
    padding: 5px 0px;
  }

  .topnav .link.active:hover {
    background-color: #b2bb3e;
  }

  .hamburger {
    display: block;
color: black;
padding: 5px 5px 0px 0px;
  }
}


/* ======================================= Styling  ======================================= */
/*
body {
  margin-top: 0px;
  margin-right: 1px;
  margin-bottom: 10px;
  margin-left: 10px;
}
*/

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p, ul, ol,    		{font-family: "georgia";}

/* +++++++++++++  Text Shadow +++++++++++++++++++++ */
h1 a {text-shadow: 1px 1px #000000; font-size:1.2rem; color:#696969; font-weight: 600;}

figcaption.fc { text-shadow: 1px 1px #000000; font-size:1.2rem; color:#696969; font-weight: 600;}
.fc     { text-shadow: 1px 1px #000000; font-size:1.2rem; color:#696969; font-weight: 600;}
a {
  text-decoration: none !important;
}   
/*
.link2 { text-shadow: 1px 1px 0px #000000, 0 0 0.5em #c0c0c0, 0 0 0em #c0c0c0; font-size:1.5rem; color:#cb1401;   
   font-weight: 600;}
*/
.link { text-shadow: 1px 1px 0px #000000, 0 0 0.5em #c0c0c0, 0 0 0em #c0c0c0; font-size:1.3rem; color:#cb1401;   
   font-weight: 600;}

tr.t	{ text-shadow: 1px 1px 1px #000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.2rem; color:#678f29; }
tr.u    { text-shadow: 1px 1px 1px #000000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.2rem; color:#c39303; }
tr.v    { text-shadow: 1px 1px 1px #000000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.2rem; color:#cb1401; }
div.v   { text-shadow: 1px 1px 1px #000000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.2rem; color:#cb1401; }
tr.w    { text-align: left;}   
th.w	{ text-shadow: 1px 1px 1px #000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:2rem; color:#678f29; text-align: left;}


h1	{ text-shadow: 1px 1px 1px #000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.8rem; color:#678f29; }
h2	{ text-shadow: 1px 1px #000000; font-size:1.1rem; color:#696969; font-weight: 600;}
tab	{ text-shadow: 1px 1px #000000; font-size:0.8rem; color:#696969; font-weight: 600;}
button  { text-shadow: 1px 1px #000000; font-size:0.8rem; color:#696969; font-weight: 600;}

h3	{ text-shadow: 1px 1px 1px #000000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.4rem; color:#c39303; }
h4      { text-shadow: 1px 1px 1px #000, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.6rem; color:#678f29; }

h5      { text-shadow: 1px 2px 1px #332b00, 0 0 0em #d4af37, 0 0 0em #d4af37; font-size:1.8rem; color:#c39303; }

h6	{ text-shadow: 2px 2px #c0c0c0; font-size:2em; color:#000000; font-weight: 600;}		
h7	{ text-shadow: 1px 1px 2px black, 0 0 1em #c0c0c0, 0 0 0.2em #c0c0c0; font-size:2em; color:#000000; font-weight: 600;}
	

/*-- ..........i.e. <div class="top">  ========== --*/


	/* ================== Image <img class="z" ===================  */
img.z {
    transition:transform 0.25s ease;
}

img.z:hover {
    -webkit-transform:scale(3);  /* or some other value */
    transform:scale(1.7);
}

	/* ==================== Image align centre ======================= */
img.center
 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ======================== Image ZOOM <img class="z" .....> ========================= */
.z {
    transition:transform 0.25s ease;
}

.z:hover {
    -webkit-transform:scale(3); /* or some other value */
    transform:scale(1.7);
}

/* -------------------------------- Image Shadow -------------------------- */

  img.s 	{filter: drop-shadow(5px 5px 5px #222);}
  img.s	{margin: 10px 0px; position: relative; z-index:1;}



/*- +++++++++++++++++++++++++++++++++++++ New Tabs +++++++++++++++++++++++++++++ */

.tabs-container {
  max-width: auto;
  margin: 2rem 0;
  font-family: sans-serif;
   font-weight: 600;
  font-size: 1rem;
  background: #fff; 
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

  
/*
.tab-content h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}   

*/

.tab {
  flex: 1;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  border: none;
  background: url('blank-1.gif'); /* #eee; */
  border-radius: 4px;
  transition: background 0.3s ease;
max-width: 12rem; 
}


.tab:hover {
  background: #ddd;
}

.tab.active {
  background:url('blank-2.gif'); /* #f4fbbf; */
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content > *:first-child {
  margin-top: 0;
  margin-bottom: 20px;
}   

.tab-content > * {
  margin-top: 20px;
  margin-bottom: 20px;
}   

.tab-content.active {
  display: block;
vertical-align: top;
  margin-bottom: 20px;
}   

/* ================================= End New Tabs =================== */

/* ========================== Positioning Content   ===================== */

.front-page-1  {
  top: 10px;
  left: 0%;
  display: flex;
position: relative;
  flex-wrap: wrap;
  gap: 20px;
  padding: 1px 10px 10px 0; 
  align-items: flex-end; 
}

.front-page-1 figure {
       /* each figure takes this width */

  width: auto;
  margin: 5px 5px 5px 0;   
}

div.1 { display: block; 
margin: 0px 0px;
}

/* ============================== video embedding ================ */
iframe {
  border: 0;
}   

.c {
  display: inline-block;
}



/* ============================ Anchor text below img =================== */
.fc {
  display: block;
}   
/* ====================== anchor img sizing ======================= */
/*
a.s {
  width: 150px;
  display: inline-block;
}   
*/
/* ===============================  ==================================  */