body {
	background-image: url('/static/bg_images/bkgrnd.jpg');
	font-family: 'Fira Sans Condensed', 'Arial Narrow', sans-serif;
	font-size: medium;
	color: #333333;
}

.landing {
    text-align: center;
    width: 75%;
    margin: 2em auto;
}

.landing h1, .landing h3 {
	color: #bc9906;
	font-size: 3em;
	line-height: .25em;
}

.landing h3 {
	font-weight: 200;
}
.landing p, .landing a {
    color: #f9f2c2;	
}

.landing nav {
	background-image: url('/static/bg_images/landing-inset.jpg');
	background-size: contain;
	background-repeat: no-repeat;
	/* height: 40vw; */
  padding-bottom: 2em;
	width: 75vw;
	position: relative;
}
.landing nav a {
    color: #f9f2c2;
    opacity: .9;
    height: 80px;
    padding: 1.25em 0 0 0;
    display: inline-block;
    background-color: #9B4D18;
    margin: 15% .25em;
    width: 250px;
    border-radius: 100px;
    border: 1px solid #D35C0B;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}
.landing nav a span {
	font-weight: 200;
	display: block;
}

header{
	padding: 0.125em 5%;
}

header h3 a { /* global link to landing */
	color: #CCB02F;
	float: left;
	font-size: 1.5em;
	text-decoration: none;
}

 /* global links to browse sections */
header nav {
    text-align: right;
}

header nav ul li {
	display: inline-block;
}

header nav ul li a:link, header nav ul li a:visited  {
    color: #f9f2c2;
    padding: 0.75em;
    display: inline-block;
    background-color: #BC4D02;
    margin: 0 .25em;
    width: 140px;
    border-radius: 60px;
    border: 1px solid #D35C0B;
    text-align: center;
    text-transform: uppercase;
    font-size: .9em;
    text-decoration: none;
}

header nav ul li a:hover, header nav ul li a.selected {
	background-color: #D35C0B;
}

section.wrapper {
	background-color: #FFF;
    border-top: 36px solid #BC4D02;
    padding: 0 5% 2% 5%;
}

footer {
	background-color: #96801A;
}

footer nav {
	text-align: center;
}

footer nav ul	{
    list-style-type: none;
    font-size: 85%;
    font-weight: normal;
    padding: 1em 0;
    margin: 0;
}
footer nav ul li {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

footer nav ul li a {
	color: #f9f2c2;
	margin: 0 2em;
}

ul {
	padding: 0;
	list-style-type: none;
}
/*style for heads and subheads*/
h1, h2, h3 {
	color: #96801A;
	font-weight: 600;
}
h1 {font-size: 1.50em;}
h2 {font-size: 1.25em; margin-top: .5em;}
h3 {font-size: 1em;}
h4 {
	font-size: 1em;
    margin: 0;
    text-transform: uppercase;
    color: #96801A;
    letter-spacing: .025em;
}
ul.horiz li	{float: left; margin-right: 2em;}
/*style for basic text elements*/
/* p, blockquote {	font-size: 1em; line-height: 1.75em;	} Don changing */
p, blockquote {	font-size: 1em; line-height: 1.5em;	}
li {	font-size: 1em; line-height: 1.2em;	}

/* Don addition */
/* .entry-text {
    font-weight: 400;
} 
Moved class out of p tag since that will now come from 
wysiwig admin. 
*/

table, th, td, dl {	font-size: .9em; line-height: 1.75em;	}

table 	{ width: 100%;	}
th		{ text-align: left;	}
td 		{ border-bottom: 1px dotted silver; border-left: 1px dotted silver; padding: 3px; }
td.sm 	{ width: 3%;}
td.sm-top 	{ /*  Don */
	width: 3%;
	vertical-align: top;
}
td.xsm 	{ width: 2%;}
td.med 	{ width: 6%;}
td.medplus 	{ width: 10%;}
td.medlrg { width: 15%;}
td.lrg	{ width: 30%;}
td.lrgr	{ width: 40%;}
td.xlrg { width: 50%;}

dl {
	line-height: 1.5em;
	margin: 0;
}
dt {
	border-top: 1px dotted silver;
	color: #999;
	float: left;
	width: 30%
}
dd {
	border-top: 1px dotted silver;
	margin-left: 33%;
	width: 65%;
}
dd:after {content: "."; color: #faf6ef;}

ul.unstyledlist	{list-style-type: none; padding-left: 0;}
ul.unstyledlist li	{ line-height: 1.5em;}

.small	{	font-size: .75em; }
.faint	{color: #bbb; margin-top: 4em;}
.breadcrumbs    {font-size: .8em; margin-top: -28px; font-weight: 400 !important; color: white;}
.breadcrumbs a:visited, .breadcrumbs a:link {color: white; font-weight: 400 !important;}

/*style for links*/
/* section a:link		{	color: #29439C; text-decoration: none;	}
section a:visited	{	color: #2D3F72; text-decoration: none;	} */
section a:hover		{	color: #96801A ;text-decoration: underline;	}

/* Don's brighter links! */
section a:link {	color: #405ab3; text-decoration: none;	}
section a:visited	{	color: #695a9f; text-decoration: none;	}
.hx-link 	{	color: #405ab3; text-decoration: none;	}


/* styles for modal window */
/* slim pop styles */

.hidden {
    display: none;
}

.unhidden {
    display: block;
}

#slimpop-overlay {
    background: url(images/overlay.png) repeat;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 99;
}

#slimpop-wrapper {
    background-color: #fff;
    border: 1px solid #CCB02F;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.75);
    /* overflow: auto; */
    /* per Claude */
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh; /* Match the slimpop-basic max-height */    
    overflow: hidden; /* Prevent wrapper overflow */
}

/* JavaScript assigns this (or .hidden) to slimpop-container */
.slimpop-basic {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    /* this positions the slimpop relative to viewport, it won't scroll with the page */
    right: 0;
    top: 0;
    z-index: 100;
    max-height: 90%;
    width: 85%;
}

.slim-info {
	display: grid;
	grid-template-columns: 45% 40% 5%;  /* Three columns: title/entry, details, close button */
	grid-auto-rows: auto;
	grid-column-gap: 5%;
	padding: 1em 3em 0em;
	flex-shrink: 0;
	min-height: fit-content;
}

h1.slim-title {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0.5em;
}

.slim-entry {
    grid-column: 1;
    grid-row: 2;	
}

.slim-entry p,
.interpretive-note p {
	font-size: 1em;
	margin: 0;
  font-weight: 400;
  line-height: 1.25em;
  margin-bottom: 0.75em;
}

/* Don for entry interpretive note */
/* .interpretive-note p {
  font-size: 1em;
  line-height: 1em;
  margin-bottom: 0.75em;
} */

/* Ensure details section stays at bottom */
.slim-details {
    flex-shrink: 0; /* Don't shrink */
    border-top: 1px solid #ddd; /* Optional: visual separator */
    padding-top: 1em;
}

.dragon-container-horiz {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

/* New layout for vertical split */
.slimpop-content {
    display: flex;
    height: calc(100% - 40px); /* Account for close button */
    gap: 2em;
    /* padding: 0 2em 2em; */
    padding: 0.5em 0.5em 0;
}

/* Right column - Metadata (1/3 width) */
.slim-metadata {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 1em;
    height: 100%;
    overflow: hidden; /* Prevent overall scrolling */
}

/* Container for entry and note that can scroll */
.slim-entry-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0; /* Important for Firefox */
    margin-bottom: 0; /* 1em */
}

/* Left column - Image viewer (2/3 width) */
.dragon-container {
    flex: 2;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

/* Override OpenSeadragon's inline styles 
Same as Horizontal */
#openseadragon1 {
    height: 100% !important; /* Use container's full height */
    max-height: 100% !important; /* Don't exceed container */
    width: 100% !important;
    position: absolute !important; /* Position within dragon-container */
    top: 0;
    left: 0;
    background-color: #EEE; 
}

/* Ensure OpenSeadragon's internal container respects boundaries 
Same */
#openseadragon1 .openseadragon-container {
    height: 100% !important;
    max-height: 100% !important;
}

.slimpop-close {
    position: absolute;
    top: 1em;
    right: 2em;
    z-index: 101;
    font-size: .9em;
    margin: 0;
}

.slimpop-close-horiz {
    font-size: .9em;
    grid-column: 3;
    grid-row: 1;  
    margin: 0;
    position: relative;
    text-align: right;  
}

.close { 
  cursor:pointer;
}
 .close:after, .close:before {
    content:"";
    height:20px;
    width:20px;
    border-top:1px solid #000;
    position:absolute;
    top:10px;
    right:-8px;
    rotate: -45deg;
}
      
.close:before {
    right:6px;
    rotate: 45deg;
  }
  
.close:hover {	
    opacity: 0.3;
}
  
.source-image {
	max-width: 95%;
}

.image-container {
	position: relative;
	max-width: 60%;
}

.box-hilite {
	position: absolute;
	background: rgba(0,0,0,0.0);
	border:2px solid darkred;
	z-index: 1;
}

.source-volumes {
	line-height: 1.2em;
}

.volume-heading {
	margin-bottom: .5em;
	padding: none;
	margin: none;
	margin-block-end: .1em;
}

.volume-sublist {
	margin-block-start: 0em;
	margin-block-end: .5em;
}

/* ----- COLORS --------
rust: #BC4D02, dark rust: #9B4D18, bright rust #D35C0B
gold: #96801A, bright gold: #CCB02F or #D3AD0D, dark gold #968024, rich gold: #BC9906
blue: #29439C, dark blue: #2D3F72, bright blue: #3372FF-*/

/* Added for our favorite volume/date range display - Don */
.date-span {
	float: left;
	width: 5em;
}

.home-blurb {
    font-weight: 300;
}

.more-link {
    font-weight: 400;
    color: #bc9906;
}

.more-link:hover{
	/* color: #D35C0B; */
    color: #bc9906;
}

.home-more {
	padding: 1em;
	margin: 1em;    
}

.home-more p {	
    font-size: 1em; 
    line-height: 1.5em; 
    font-weight: 400;	
}

/* From Impressions */
#paging {
    margin: 0.8em 0;
  }
  
#paging li {
display: inline;
padding: 2px;
}

.previous {
    float: left;
    display: block;
    margin-right: 3.5786636068%;
    width: 22.3160022949%;
}
.previous:last-child {
margin-right: 0;
}

.page-numbers {
    float: left;
    display: block;
    margin-right: 3.5786636068%;
    width: 48.2106681966%;
    text-align: center;
}

.page-numbers:last-child {
margin-right: 0;
}

.next {
float: left;
display: block;
margin-right: 3.5786636068%;
width: 22.3160022949%;
text-align: right;
}
.next:last-child {
margin-right: 0;
}

.page-nav, .page-nav--disabled, .page-nav--selected {
display: inline;
}

.page-nav, .page-nav--selected {
margin-right: 0.4em;
padding: 0 2px;
}
.page-nav a:hover, .page-nav--selected a:hover {
text-decoration: none;
}
.page-nav a::before, .page-nav--selected a::before {
content: "\02666";
color: #b3aa98;
font-size: 0.8em;
padding-right: 0.8em;
}

.next-link, .prev-link {
border: none;
}
.next-link a:hover, .prev-link a:hover {
text-decoration: underline;
}

.page-nav--selected {
background-color: #b3aa98;
color: #b12b00;
padding: 0 3px;
}

.page-nav--disabled {
color: #999;
}

/* Don added */
.about p {
	font-weight: 400;
}
/* Don adding for zoom */
/* .dragon-wrapper {
    height: 50vh;
} */

/* For team */
.team {
    background-color: #fff6c8;
}

/* Don for People menu side-by-side 
From lucy moment-scroll. control-panel was not defined there */
.control-panel {
	/* background-color: black; */
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: fit-content auto;
	grid-gap: 0;
	/* margin-top: 101px; */
	/* overflow: hidden; */
	/* z-index: 1; */
}
.control-left {
	/* background-color: white; */
	/* grid-column: 1 / 3; */
	grid-column: 1;
	grid-row: 1;
	/* padding: 0 0 6em 0; */
}
.control-mid {
	grid-column: 2;
	grid-row: 1;
	/* padding: 0 0 6em 0; */
}
.control-right {
	grid-column: 3;
	grid-row: 1;
	/* padding: 0 0 6em 0; */
}


/* 
#paging li.document-paging--page::after {
content: " |";
}
#paging li.last::after {
content: none;
}
#paging a:link {
text-decoration: underline;
}
#paging a:hover {
background-color: #b3aa98;
}

.document-paging--title {
float: left;
margin: 2px 4px 0 0.0625em;
}

.page-nav--selected {
background-color: rgba(179, 170, 152, 0.5);
} */
