/* CSS Document */

body {
	background-color:#e9e9d6;
	margin:0px;
	font:Verdana, Arial, Helvetica, sans-serif;
	font-size:.8rem;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height:1.1rem;
}	

html {
	overflow-y: scroll;
}

a {
	text-decoration:none;
	color:#6b0a0d;
	font-weight:bold;
}

.mainback {
	background-color:#e0e0cf;
	border: 1px solid #b9b9ad;
	padding:10px;
}

/* Section Heading */
h1 {
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 24px;
	color:#5D5D58;
	margin-top:0px;
	font-weight: bold;
	margin-bottom:10px;
	line-height:28px;
	}
h2 {
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 16px;
	color:#5D5D58;
	margin-top:2px;
	font-weight: bold;
	margin-bottom:8px;
	line-height:18px;
	}

.sub {
	color:#6b0a0d;
	font-size:11px;
	font-weight: normal;
	}
	

/* Sub Section Heading */
h3 {
	font-size: 10px;
	color:#6b0a0d;
	text-transform:uppercase;
	margin-top:0;
	font-weight: bold;
	margin-bottom:-2px;
}

.subtitle {
	font-weight:bold;
	color:#000000;
	line-height:18px;
}

.subtitle2 {
	color:#666666;
	font-weight:bold;
	}
	
.pageopening {
	font-weight:bold;
	color:#4A4A49;
	line-height:18px;
}

/* Left Nav */
.navtable {
	background-image:url(images/navpat.jpg);
	border: 1px solid #777777;
}

.navcell {
	padding: 3px 3px 9px 3px;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
}

.navcell_on {
	padding:1px 1px 2px 1px;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
}

.navcell_on a {
	border: 1px solid #777777;	
	padding: 6px 5px 6px 5px;
	display: block;
}

/* Theme Photo */
.photo {
	background-color:#ffffff;
	padding:3px;
	width: 245px;
	font-size:10px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #797976;
	padding-bottom:7px;
}

.photo img{
	border: 1px solid #b9b9ad;
	text-align: center;
	width: 243px;
	margin-bottom:7px;
}

.photoCredit {
	color: #888;
}

.photoCredit a{
	font-weight:normal;
}

/* Header */
.topcell table{
	background-image:url(images/header.jpg);
	background-repeat:no-repeat;
	color:#FFFFFF;
	text-align:center;
}

.topcell a {
	color:#FFFFFF;
	text-transform:uppercase;
	text-align:center;
	padding:0px 10px 0px 10px;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 11px;
}

.toprow {
	background-image:url(images/toptile_back.jpg); 
	background-repeat:repeat-x;
}

/* Footer */
table.footer {
	width:100%;
	margin-top: 43px;
	font-size:10px;
	text-align:left;
}

table.footer td{
	padding-bottom: 7px;
	text-align:center;
}

table.footer a {
	text-transform: uppercase;
	padding:0 10px 0px 10px;
}
/* Timeline Page */

.timeline {
	width:3000px;
	height:70px;
	margin:0;
	padding:0;
	}

.footer2 td{
	padding: 7px;
	text-align:left;
	font-size:10px;
}

.footertimeline{
	background-image:url(images/footer.jpg); 
	background-repeat:repeat-x;
	height:32px;
}

.footer2 a {
	text-transform: uppercase;
	font-size:10px;
	padding:0 10px 0px 10px;}

.topcell2 {
	background-image:url(images/header.jpg);
	background-repeat:no-repeat;
	color:#FFFFFF; 	
	text-align:left;
}

.topcell2 a {
	color:#FFFFFF;
	text-transform:uppercase;
	padding:0px 10px 0px 10px;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 11px;
}

.timetitle {
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 24px;
	color:#5D5D58;
	margin-top:0px;
	padding-top:0;
	padding-bottom:15px;
	text-align:center;
	font-weight: bold;
	}

.timeEvent {
	background-color:#ffffff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #797976;
	font-size:10px;
	line-height:12px;
	width:100px;
	text-align:left;
	padding:6px 6px 6px 6px;
}

.timeEventFounded {
	background-color:#DBDBC8;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #797976;
	font-size:10px;
	line-height:12px;
	width:100px;
	text-align:left;
	padding:6px 6px 6px 6px;
}

.timeEvent b {
	font-weight:bold;	
	color:#666666;
	}

#Timeline a {text-decoration:none;}

/* Map Page */
.MapSub {font-size:11px; font-weight:bold; color:#5D5D58;}
.border {
	background-color:#ffffff;
	padding:3px;
	font-size:10px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #797976;
	height:725px; 
	vertical-align:bottom;
}

.legend td {padding-bottom:2px; padding-right:2px;}

/* item page */
#small {
	font-size:10px; 
	color:#666666;}

.sup {
vertical-align:super;
font-size:9px;}

.paraHead {
	padding: 7px 0 5px 0;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
/* resources section */

@media screen, print { 
	/* Turn off list bullets */
	ul.mktree  li { list-style: none; padding:0px; } 
	/* Control how "spaced out" the tree is */
	ul.mktree, ul.mktree ul , ul.mktree li { margin-left:0px; padding:0px; }
	/* Provide space for our own "bullet" inside the LI */
	ul.mktree  li .bullet { padding-left: 10px; }
	
	/* Show "bullets" in the links, depending on the class of the LI that the link's in */
	ul.mktree  li.liOpen    .bullet { cursor: pointer; background: url(images/minus.gif)  center left no-repeat; }
	ul.mktree  li.liClosed  .bullet { cursor: pointer; background: url(images/plus.gif)   center left no-repeat; }
	ul.mktree  li.liBullet  .bullet { cursor: default; background: url(images/bullet.gif) center left no-repeat; }
	
	/* Sublists are visible or not based on class of parent LI */
	ul.mktree  li.liOpen    ul { display: block; margin-left:10px; }
	ul.mktree  li.liClosed  ul { display: none; }
	
	.cursor {cursor: pointer; }
	
	/* Format menu items differently depending on what level of the tree they are in */
	/* Uncomment this if you want your fonts to decrease in size the deeper they are in the tree */
/*	ul.mktree  li ul li { font-size: 90% }*/

}

.lnavbox {margin-top:7px;}
.lnavbox td {padding-top:10px;}
.lnavlinks {font-size:10px; line-height:12px;}
.subtitle3 {
	color:#9c9d93;
	font-weight:bold;
	font-size:10px;
	border-bottom:1px solid #c8c9bb;
	}
	
	
	/* ========== SURDYKA MOBILE RESPONSIVENESS + NAVIGATION ========== */

/* Layout containers */
#full-body-container,
.topnav-container,
.layout {
  max-width: 978px;
  margin: 0 auto;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url(images/toptile_back.jpg);
  background-repeat: repeat-x;
}

/* Main layout */
.layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  background-color: #e0e0cf;
  border: 1px solid #b9b9ad;
}

/* Navigation Header */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 978px;
  margin: 0 auto;
}

#nav-container {
  width: 100%;
}

/* Main Navigation */
.main-nav {
  background-image: url(../images/header.jpg);
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding-bottom: 48px;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  gap: 0.5rem;
}

.main-nav li {
  margin: 0;
  list-style-type: none;
}

.main-nav li:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: #666;
}

.main-nav a {
  text-decoration: none;
  padding: 0.5rem;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

/* Responsive: Stack vertically on smaller screens */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav li:not(:last-child)::after {
    content: ""; /* remove | separator */
  }

  .main-nav a {
    padding: 0.5rem 0;
  }

  .sidebar, .photo, .content {
    flex: 1 1 100%;
  }
  
  .main-nav li:not(:last-child)::after {
  margin-left: 0;

}
}

/* Sidebar & Navigation Tables */
.sidebar {
  flex: 0 0 167px;
}

@media (max-width: 768px) {
  .sidebar {
    flex: 1 1 100%;
  }
  }

.navtable img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

.navtable ul,
.resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navtable li,
.resources li {
  margin-bottom: 8px;
}

.navtable li.active a {
  font-weight: bold;
  text-decoration: underline;
  padding: 6px 5px;
  display: block;
}

/*.navtable li.active a::before {
  content: url('../images/navarrow.jpg');
  margin-right: 4px;
}*/

.resources {
  margin-top: 20px;
}

.subtitle3 {
  font-weight: bold;
  margin-bottom: 10px;
}

/* Photo */
.photo {
  flex: 0 0 255px;
  height: 100%;
}

.photo img {
  width: 100%;
  height: auto;
}

.caption {
  font-size: 0.9em;
  margin-top: 5px;
}

.photoCredit {
  font-style: italic;
  color: #555;
}

/* Main Content */
.content {
  flex: 1;
}

.pageopening {
  font-weight: bold;
  margin-bottom: 10px;
}


/* ========== 6/23/25 SURDYKA HAMBURGER MENU ========== */

	/* HAMBURGER MENU BASE STYLES */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  padding: 1rem;
  cursor: pointer;
  color: white;
}

/* MOBILE HAMBURGER BEHAVIOR */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    text-align: right;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    display: none; /* Hidden by default */
    background-color: #333;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main-nav ul li {
    width: 100%;
    border-top: 1px solid #444;
  }

  .main-nav ul li a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: white;
  }

  /* Show menu when checkbox is checked */
  .menu-toggle:checked + .menu-icon + .main-nav ul {
    display: flex;
  }

  /* Remove separators on mobile */
  .main-nav li::after {
    content: "";
  }
  
  .main-nav {
  	padding-bottom: 12px;
  }
}


/* === Hamburger Icon === */
.menu-icon {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  margin: 1rem;
  z-index: 2;
}

.menu-icon span {
  display: block;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.4s ease;
  border-radius: 2px;
}

/* === Only show on mobile === */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  /* Animate to 'X' */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Nav slide-down animation */
  .main-nav ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    flex-direction: column;
    align-items: flex-start;
    background-color: #333;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .menu-toggle:checked + .menu-icon + .main-nav ul {
    max-height: 500px; /* Enough to reveal all items */
    transition: max-height 0.4s ease-in;
  }

  .main-nav li {
    width: 100%;
    border-top: 1px solid #444;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: white;
  }
}



/* key-board toggle and smooth transition hamburger menu */

/* HAMBURGER STYLING */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  margin: 1rem;
  z-index: 3;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  margin: 5px 0;
  transition: all 0.4s ease;
  border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .main-nav ul {
    max-height: 0;
    opacity: 0;
    transform: scaleY(0.95);
    overflow: hidden;
    transition: all 0.4s ease;
    transform-origin: top;
    flex-direction: column;
    align-items: flex-start;
    background-color: #333;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .main-nav li {
    width: 100%;
    border-top: 1px solid #444;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
  }

  /* Show menu when toggled */
  .menu-toggle:checked + .menu-icon + .main-nav ul {
    max-height: 500px;
    opacity: 1;
    transform: scaleY(1);
  }

  /* Animate hamburger to X */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ========== 6/27/25 SURDYKA FOOTER STYLES ========== */
#footer-text{
	text-align:center;
}

/* ========== 6/30/25 SURDYKA FOOTER STYLES ========== */

@media (max-width: 768px) {
	#nav-container {
	  background-image: url(/images/our-plural-history-mobile-logo-768.jpg);
	  background-repeat: no-repeat;
	}
	.main-nav {
	  background-image: none;
	}

	.content {
		min-width:150px;
	}
}

/* ========== 7/3/25 SURDYKA SIDE NAVIGATION ========== */

/* highlight current page in sidebar */
.sidebar a.active {
  font-weight: bold;
  color: #6b0a0d;     /* or any highlight colour */
}




.navtable .subnav li {
	margin-bottom:0px;
}

ul.subnav {
    padding-left: 10px;
}

li.navcell.active {
    border: 1px solid #777777;
}

/* put this as the last thing in the file (or at least after every
   .navtable li.active a rule – also after the mobile media‑query) */
.navtable ul.subnav li a      { padding: 2px 10px 2px 20px; margin-bottom: 0; border: none; }
.navtable ul.subnav li.active a { padding: 1px 10px; margin-bottom: 0; border: none;}
		
/* arrow for the active *theme* link (class sits on <li>) */
.navtable > ul > li.active > a::before,
/* arrow for the active *sub‑page* link (class sits on <a>) */
.navtable ul.subnav a.active::before {
  content: url("../images/navarrow.jpg");
  margin-right: 4px;
}

#footer-section {
    margin: auto;
    max-width: 978px;
	}
	
#timeline-table {
	position:relative;
}

/* ========== 7/8/25 SURDYKA MAP Responsive ========== */

.map-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.map-left {
  flex: 1 1 40%;
  min-height: 300px; /* placeholder height if empty */
}

.map-right {
  flex: 1 1 40%;
}

.map-legend {
  margin-top: 15px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
  .map-layout {
    flex-direction: column;
  }

  .map-left,
  .map-right {
    flex: 1 1 100%;
  }
}

/* ========== 7/10/25 SURDYKA Hover Function ========== */


a:hover {
  color: #3F0C1C;
  text-decoration: underline;
}

.main-nav a:hover {
  color: #eee4ce;
}