/* Natstand stylesheet - last updated 2025 October 15 */

a {text-decoration: none;color: #0000a0}
a:hover {color: #0000ff;text-decoration: underline;}

body
 {
	background-color : White;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 8pt;
        width : 1024px;
        margin : auto;
}

header
{
  height : 76px;
}


h1
{
        font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 28pt;
	color:#1B58B8;
	margin-left : 200px;
	padding-top : 15px;
}

h2
{
        font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 12pt;
	color:#1B58B8;
}

h3
{
        font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 10pt;
	color: black; 
	padding-top : 0px;
	margin-top : 6px;
	margin-bottom : 6px;
}



.title
/* positions the news page banner annotation */
{ font-weight: bold;
  font-size: 28px;
  color: navy;
  margin-bottom : 8px;
  margin-top : 4px;
  width : 100%;
  text-align: center;
}

.subtitle
/* positions the news page banner annotation */
{ font-weight: bold;
  font-size: 12px;
  color: navy;
  display : block;
  top : 10px;
  margin-bottom : 6px;
  margin-top : 4px;
  width : 100%;
  text-align: center;
}

.cue  /* for inserting the navigation cue on the banner */
{ font-size: 8px;
  margin-top : 0px;
  color: red;
  text-indent: 12px;
}
.rolo{opacity: 1.0;
      border: 1px solid white;}

.rolo:hover{opacity: 0.6;
            border: 1px solid blue;}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.twocoltext
{
        column-count: 2;
        column-gap: 10px;
}

.rounded
{
	border-radius:10px;
}

.caption
{
	font-weight : bolder;
	font-family : sans-serif;
}

.arttitle
{
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 10pt;
        padding: 4px 0 0 0;
        margin: -4px 0 8px 0;
	color:#1B58B8;
	font-weight : bold;
        text-align: left;
}

/* This does the heavy-lifting ... */

my-panel
{
	display : block;
}

.default
{
	display : block;
        background-color : CornSilk;
	border-style:solid;
	border-width:1px;
	border-color: #331122;
	border-radius:15px/10px;
	padding:10px 10px 10px 10px;
	box-shadow: 8px 8px 9px #040404;
	margin-bottom: 10px;
	margin-left: 10px;
}

.hintBox {
   position: absolute;
   top:100px;
   left : -999px;
   background-color: #FFFFc0;
   border-width: 1px;
   border-style: solid;
   padding: 2px 10px 2px 10px;
   font-size: 12px;
   font-style: italic;
}

/* ============================== formatting a transcription ============================*/

.transcription {
   background-color : white;
   border-style:solid;
   border-width:1px;
   border-color: #331122;
   padding:10px 10px 10px 10px;
   box-shadow: 8px 8px 9px #040404;
   margin-bottom: 10px;
   margin-left: 10px;
   margin-right: 20px;
}

.literal { 
   font-size: 12px;
   font-family: monospace; 
   white-space: pre-wrap;
}

/* ============================== formatting a link-list ================================*/

ul.llf  {list-style: none;}

ul.llf li {
   background-repeat: no-repeat; 
   padding: 2px 10px 3px 40px; 
   margin-left: -40px;
}

ul.llf li:hover  {color: blue; text-decoration: underline; cursor: pointer;}

/* depreciated version
li.llf1 {
   background-repeat: no-repeat; 
   padding: 2px 10px 3px 40px; 
   margin-left: -40px;}

li.llf1:hover {color: blue; text-decoration: underline; cursor: pointer;} 
*/

/* ===================== formatting a residence list plus defaults========================*/

table.tsRes {width: 100%;}
table.tsRes tr td:first-child {vertical-align: top; width: 35%; font-weight: bolder;}
table.tsRes tr td:nth-child(even) {margin-bottom: 4px; border-bottom : thin solid silver;}

/* depreciated version
  .tsRes {width: 100%;}
  .tsRes1 {vertical-align: top; width: 35%; font-weight: bolder;}
  .tsRes2 {margin-bottom: 4px; border-bottom : thin solid Silver;}
*/

/* ============================ formatting a Publication link list =======================*/

table.tsBib  {width: 100%;}
table.tsBib tr td:first-child {vertical-align: top; width: 15%; font-weight: bolder;}
table.tsBib tr td:nth-child(even) {vertical-align: top; width: 78%; margin-bottom: 4px; border-bottom : thin solid silver;}

/* ============================ formatting a bio table plus defaults =====================*/

table.tsEvent  {width: 100%;}
table.tsEvent tr td:first-child {vertical-align: top; width: 25%; font-weight: bolder;}
table.tsEvent tr td:nth-child(even) {vertical-align: top; width: 68%; margin-bottom: 4px; border-bottom : thin solid silver;}

.inpara{			/* for a transcription paragraph */
  font-style: italic;
  text-indent: 8px;
  padding-left: 10px;
}

/* depreciated version
  .tsEvent1 {vertical-align: top; width: 25%; font-weight: bolder;}
  .tsEvent2 {vertical-align: top; width: 68%; margin-bottom: 4px; border-bottom : thin solid Silver;}
  .tsEvent3 {} included in case anything ever needs doing
*/
/* ============================ formatting a scanned sheet viewer ======================*/

table.tsHerb  {width: 95%;}
table.tsHerb tr td:first-child {vertical-align: top; width: 10%;}
table.tsHerb tr td:nth-child(even) {vertical-align: top; width: 90%; margin-bottom: 4px; border-bottom : thin solid silver;}

/* depreciated version
  .tsHerb1 {vertical-align: top; width: 10%;}
  .tsHerb2 {vertical-align: top; width: 90%; margin-bottom: 4px; border-bottom : thin solid Silver;}
*/
/* ============================ support for tiled panel grids ==========================*/

/* these styles were applied to managed panels  - it is now only retained for reference

news-grid {		
  display: grid;
  grid-row-gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(330px,1fr));
  grid-auto-rows: 10px;
}

.content {		
  background-color: Cornsilk;
  border-style:solid;
  border-width:1px;
  border-color: #331122;
  border-radius:10px/10px;
  padding:10px 10px 10px 10px;
  box-shadow: 8px 8px 9px #040404;
  margin: 10px 0px 0px 5px;
}

.content p {
  margin: 10px 2px 0px 2px;
  text-indent: 8px;
}

.content hr {
  margin-top: 10px;
}

*/

.newsimage {
  clear: none;
  width: 100%;
  object-fit: cover;
}

item-signature {
  display: block;
  font-style: italic;
  text-align: right;
}

item-head {
  display: block;
  color: black;
  font-weight: bold;
  font-size: 10pt;
  margin: 0px 0px 10px 0px;
}

/* ============================== Dynamic menu formatting ================================*/

nav {margin: 0px; z-index: 999; position:relative;} /*Bottom margin was -10px removed as for cue. Position relative added so z-index effective*/

nav ul ul { display: none;}

nav ul li:hover > ul {display: block;}

nav ul {
  margin: 0px;/*seemed to inherit a 30pt left margin and 10px top and bottom*/
  background: #1B58B8;
  box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
  padding: 0px 0px;
  list-style: none;
  width: 100%; /*Need this for IE as well as clear both below*/
}

nav ul li {
  float: left; /*If use inline-block IE makes them 100% wide so use float*/
  position: relative;
  height: 28px; /* 30 */
  width: 202px;
  color: white;
  line-height:27px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

nav ul:after {content: ""; clear: both; display:block;}/* Need to do this as floating li means ul collapses*/
    
nav ul li:hover {background: DarkBlue;}
        
nav ul li:hover a {color: black;}

nav ul li:hover > a {color: OrangeRed;}
    
nav ul li a {
  display: inline-block;
  width: 100%;
  height:100%;
  line-height:27px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

nav ul ul {
  background: #f9f9f9;
  box-shadow: 8px 8px 16px 0px rgba(0,0,255,0.4);
  position: absolute; 
  top: 100%;
  left: 0%;
}
    
nav ul ul li {
  color : black;
  border-top: 1px solid LightSlateGrey;
  border-bottom: 1px solid Silver;
}
 
        
nav ul ul li a {
  text-align:left;
  width: 90%; /*width plus padding gives same width as parent a*/
  padding-left: 10%;
}    
            
nav ul ul li a:hover {background: #e0e0ff;}

nav ul ul ul {position: absolute; left: 100%; top:-1px;} /*Top of child li (including border) aligns with top of parent without border*/



