
:root {
  /* Core brand colors */
  --b-dark: #111111; /* charcoal */
  --b-light: #f3f3f2; /* off-white */
  --b-hot: #ee0000; /* signal red */
  --b-cool: #a1b3c9; /* slate blue */
  --b-accent: #986f57; /* bronze */
  --b-bluz: #2f80ed; /* blue from Niki Undercover */

  /* Semantic aliases */
  --bg: var(--b-dark);
  --surface: var(--b-light);
  --text: var(--b-dark);
  --text-on-dark: var(--b-light);
  --text-hot: var(--b-hot);
  --text-cool: var(--b-cool);
  --text-bluz: var(--b-bluz);
  --accent-ink: #ffffff; /* white */

  /* Links */
  --link: var(--b-cool);
  --link-visited: #8fa0bd; /* alternate slate blue */
  --link-hover: var(--b-hot);

  /* Typography */
  --font-display: "Cormorant Garamond", serif;
  --font-body: Lato, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* UI shape */
  --radius: 14px;
  --radius-pill: 999px;
  --focus: 0 0 0 3px rgba(238, 0, 0, 0.35);
}

/* End of JMJ Tokens */

/* added for HTML5 */
article, aside, figure, footer, header, hgroup, menu, nav, section { display:block; }
/* end of addition */

html {
	height: 100%;
	font-family: var(--font-body);  /* uses the tokens you defined */
	line-height: 1.4;
	font-size: 18px;
}
body {
	height: 100%;
	border: 0px;
	padding: 0px;
	border-spacing: 0px;
	margin: 0 auto;
/*    background-color: #ebebeb; /*This is the header and footer background color */
	background-color: var(--b-dark);
	text-align: center;
	max-width: 1600px;
}
#ww {
 width: 100%;
 min-width: 300px;
 margin: 0 auto;
 height: 100%;
 background: var(--b-dark);
 }
#ww-900 {
 max-width: 900px;
 min-width: 300px;
 margin: 0 auto;
 text-align: left;
 height: 100%;
 }
 
 
/* Division rules */

div.wp {
/*	float: left; */
	padding: 1px 25px;
	background: var(--b-light);
	text-align: left; /* Checking to see where there might be damage for this */
}
div.bar {
/*	float: left; */
	padding: 1px 25px;
	background: var(--b-dark);
	overflow: hidden;
}
div.wpf {
	display: flex;
/*	flex-direction: row-reverse; */
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 25px;
	font-size: .75em;
}
div.wp2col, div.wp3col, div.wp4col{
	display: flex;
/*	flex-direction: row-reverse; */
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 25px;
	text-align: left;
}
div.wp2col>div.equal2col, div.wp3col>div.equal3col, div.wp4col>div.equal4col, div.wp2col>div[class^="col2-"], div.wp3col>div[class^="col3-"], div.wp4col>div[class^="col4-"] {
	width: 100%;
}

/* Base link palette in light content areas only */
.wp a, .wp2col a, .wp3col a {
  color: var(--link);
  text-decoration: none;
}
.wp a:hover, .wp2col a:hover, .wp3col a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
.wp a:visited, .wp2col a:visited, .wp3col a:visited {
  color: var(--link-visited);
}
 
 
h2 {
	font-size: 1.75em;
}
h3 {
	font-size: 1.5em;
}

/* Text utilities for any element */
.text-hot  { color: var(--text-hot); }
.text-cool { color: var(--text-cool); }
.text-bluz { color: var(--text-bluz); }

/* Allows addition of text-hot to a heading to change it to the brand hot color */
h1.text-hot, h2.text-hot, h3.text-hot { color: var(--text-hot); }
h1.text-cool, h2.text-cool, h3.text-cool { color: var(--text-cool); }
h1.text-bluz, h2.text-bluz, h3.text-bluz { color: var(--text-bluz); }

/*BACKGROUND COLORS START */

.bc-white, .bc-light {
	background-color: var(--b-light);
}
.bc-yellow {
	background-color: #ffffb8;
}
.bc-8fa6b3 {
	background-color: var(--b-cool);
/* another slate gray/blue */
}
.bc-gray {
	background-color: #989898; /* NO LONGER USED? Grayish */
}
.bc-9da9b3 {
	background-color: #9da9b3; /* NO LONGER USED?  another slate gray/blue*/
}
.bc-black {
	background-color: var(--b-dark);
}

/* BACKGROUND COLORS END */


.box4text {
	border: 2px solid red; /* NO LONGER USED? */
}
.button-red { /* similar to butto NO LONGER USED? */
	background-color: #ff0000;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	display: inline-block;
	font-size: 1em;
}

/* TEXT COLORS START HERE */

.c-heading {
	color: var(--b-cool);
}
.c-8fa0bd {
	color: #8fa0bd;
/* pale blue gray NO LONGER USED? */
}
.c-5f3713 {
	color: #8fa6b3;
/* Changing so this is use for header material. Eventually destroy when all replaced by c-heading */
}
.c-800000 {
	color: #800000;
/* deep red NO LONGER USED? */
}
.c-BF3C49 {
	color: #BF3C49;
/* russet used in FAQ TOC */
}
.c-3C8BBF {
	color: #3C8BBF;
/* lighter slate gray/blue use in FAQ */
}
.c-gray {
	color: gray; /* NO LONGER USED? */
}
.c-green {
	color: green;
}
.c-red {
	color: var(--b-hot);
}
.c-white {
	color: var(--b-light);
}

/* TEXT COLORS END */

.fsize075 { /* USED IN FOOTER ONLY */
	font-size: 75%;
}
.fsize2 { /* NO LONGER USED? */
	font-size: 200%;
}
.fsize3 { /* NO LONGER USED? */
	font-size: 300%;
}
.fsize4 { /* NO LONGER USED? */
	font-size: 400%;
}
.h17 { /* NO LONGER USED? */
	height: 17px;
}
.indent {
	padding-left: 2.5em;
	padding-right: 1.5em;
	padding-bottom:  12px;
	text-indent: -.8em;
}
/* gives a 25px margin on right and left */
.indent25px {
	padding-right: 25px;
	padding-left: 25px;
}
.navbar a:link, .navbar a:visited {
	color: var(--b-light);
	text-decoration: none;
}
.navbar a:hover, .navbar a:active {
	color: var(--b-accent);
	text-decoration: none;
}
.noindent {
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-bottom:  12px;
}
.progress {
    background: #6d8383;
    border-radius: 13px;
    height: 10px;
    width: 200px;
    padding: 3px;
	margin-right: auto;
	margin-left: auto;
}
.progress-current {
    content: '';
    display: block;
    background: #cdbbcf;
/*    width: 50%;  Use only if I am setting the percentage completion here. And why would I? */
    height: 100%;
    border-radius: 9px;
}
.right {
	text-align: right;
}

.btn { /* Describes Buy Buttons Normal*/
  background: #aabbaa;
  background-image: -webkit-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -moz-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -ms-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -o-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: linear-gradient(to bottom, #aabbaa, #aabbbb);
  -webkit-border-radius: 28px;
/* -moz-border-radius: 28; */ /* claims to be unknown property */
  border-radius: 28px;
  color: #ffffff;
  font-size: 1em;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.btn-f24 { /* Describes Buy Buttons font 24*/
  background: #aabbaa;
  background-image: -webkit-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -moz-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -ms-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -o-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: linear-gradient(to bottom, #aabbaa, #aabbbb);
  -webkit-border-radius: 28px;
/* -moz-border-radius: 28; */ /* claims to be unknown property */
  border-radius: 28px;
  color: #ffffff;
  font-size: 1.33em;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.btn:hover, .btn-ib:hover {
  background: #3cb0fd;
/* background: var(--b-hot); */ /*if want new colors to work here delete all above */  
  background-image: -webkit-linear-gradient(top, #3cb0fd, #aabbaa);
  background-image: -moz-linear-gradient(top, #3cb0fd, #aabbaa);
  background-image: -ms-linear-gradient(top, #3cb0fd, #aabbaa);
  background-image: -o-linear-gradient(top, #3cb0fd, #aabbaa);
  background-image: linear-gradient(to bottom, #3cb0fd, #aabbaa);
/* background-image: none; */ /*if want new colors to work here delete all above */  
  text-decoration: none;
}
.btn-ib { /* Describes Buy Buttons Inline Blocks*/
  background: #aabbaa;
  background-image: -webkit-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -moz-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -ms-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -o-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: linear-gradient(to bottom, #aabbaa, #aabbbb);
  -webkit-border-radius: 28px;
/* -moz-border-radius: 28; */ /* claims to be unknown property */
  border-radius: 28px;
  color: #ffffff;
  font-size:1em;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.btn-nav { /* Describes Navigation Buttons Normal*/
  background: #8fa6b3;
/*  background-image: -webkit-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -moz-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -ms-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -o-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: linear-gradient(to bottom, #aabbaa, #aabbbb); */
  -webkit-border-radius: 28px;
/* -moz-border-radius: 28; */ /* claims to be unknown property */
  border-radius: 28px;
  color: #ffffff;
  font-size: 1em;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.btn-nav:hover, .btn-soc:hover {
	background: var(--b-hot); /* mouse-over color */
    color: #fff;
}
.btn-soc { /* Describes Navigation Buttons Normal*/
  background: #8fa6b3;
/*  background-image: -webkit-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -moz-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -ms-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: -o-linear-gradient(top, #aabbaa, #aabbbb);
  background-image: linear-gradient(to bottom, #aabbaa, #aabbbb); */
  -webkit-border-radius: 38px;
/* -moz-border-radius: 28; */ /* claims to be unknown property */
  border-radius: 28px;
  color: #ffffff;
  font-size: 1em;
  padding: 30px 20px 10px 20px;
  text-decoration: none;
}

/* Swap these at the point you are worried about consistency of colors for buttons */

/* .btn, .btn-ib, .btn-nav, .btn-soc { background: var(--b-cool); }
.btn:hover, .btn-ib:hover, .btn-nav:hover, .btn-soc:hover {
  background: var(--b-hot);
  color: #fff;
  background-image: none;
} */

/* END OF SWAP */





.button {
  background-color: #f00;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
}

.button:hover {
  background-color: #000;
}

/* Button text should always be white (override wrapper link palette) */
a.btn,
a.btn-ib,
a.btn-nav,
a.btn-soc {
  color: var(--accent-ink);       /* = #fff */
  text-decoration: none;
}

a.btn:link,
a.btn:visited,
a.btn-ib:link,
a.btn-ib:visited,
a.btn-nav:link,
a.btn-nav:visited,
a.btn-soc:link,
a.btn-soc:visited {
  color: var(--accent-ink);
}
/* Eliminates the hovering change -- but I like that so commented out */
/* a.btn:hover,
a.btn-ib:hover,
a.btn-nav:hover,
a.btn-soc:hover {
  color: var(--accent-ink);   */    /* stays white on hover */
  /* your background hover colors already set elsewhere */
/* } */

/* Keep adjacent buttons from overlapping on small screens */
.button-row a.btn,
.button-row a.btn-ib {
  display: inline-block;
  margin: 0.25rem 0.5rem;   /* space around each button */
  vertical-align: middle;   /* stable alignment when wrapping */
  white-space: nowrap;      /* keeps each button label on one line */
}



/* Base link palette in dark content areas only */
.bar a:link, .bar a:visited,
.wpf a:link, .wpf a:visited {
  color: var(--b-light);
  text-decoration: underline;
}
.bar a:hover, .wpf a:hover {
  color: var(--b-hot);
}
/* Links on dark/slate bands (overrides light-area link palette) */
.bc-8fa6b3 a:link,
.bc-8fa6b3 a:visited,
.bc-black a:link,
.bc-black a:visited,
.bar a:link,
.bar a:visited,
.wpf a:link,
.wpf a:visited {
  color: var(--b-light);
  text-decoration: underline;
}

.bc-8fa6b3 a:hover,
.bc-black a:hover,
.bar a:hover,
.wpf a:hover {
  color: var(--b-hot);
}


/* For smaller screens */

@media only screen and (min-width: 600px) {
	div.wp2col, div.wp3col, div.wp {
		width: 90%;
		margin: 0 auto;
		max-width: 1500px;
	}
	div.wp2col>div.equal2col {
		box-sizing: border-box;
		width: 50%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-20 {
		box-sizing: border-box;
		width: 20%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-30 {
		box-sizing: border-box;
		width: 30%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-40 {
		box-sizing: border-box;
		width: 40%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-60 {
		box-sizing: border-box;
		width: 60%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-70 {
		box-sizing: border-box;
		width: 70%;
		padding: 0 15px;
	}
	div.wp2col>div.col2-80 {
		box-sizing: border-box;
		width: 80%;
		padding: 0 15px;
	}
	div.wp3col>div.equal3col {
		box-sizing: border-box;
		width: 33.333333%;
		padding: 0 15px;
	}
	div.wp3col>div.col3-20 {
		box-sizing: border-box;
		width: 20%;
		padding: 0 15px;
	}
	div.wp3col>div.col3-30 {
		box-sizing: border-box;
		width: 30%;
		padding: 0 15px;
	}
	div.wp3col>div.col3-40 {
		box-sizing: border-box;
		width: 40%;
		padding: 0 15px;
	}
	div.wp3col>div.col3-50 {
		box-sizing: border-box;
		width: 50%;
		padding: 0 15px;
	}
	div.wp3col>div.col3-60 {
		box-sizing: border-box;
		width: 60%;
		padding: 0 15px;
	}
	div.wp4col>div.equal4col {
		box-sizing: border-box;
		width: 25%;
		padding: 0 15px;
	}
	div.foot-r {
		text-align: right;
	}
	div.foot-c {
	text-align: center;
	}
}

/* all the following applies to using a background picture for the main section */
/*    background: url(Images/lake-background.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; */


img { /* defines how pictures are handled */
	border-style: none;
	max-width: 100%;
}
input, textarea {
	max-width: 100%;
}
p.big-font-clr {
	font-size: 1.5em;
}
p.big-font-color {
	font-size: 1.5em;
	background-color: #ffffb8;
}
p.border { /* added to test a surrounding border on a paragraph */
	border: 1px solid #000000;
	padding-right: 25px;
	padding-left: 25px;
}
p.center {
	text-align: center;
}
p.creative {
	color: var(--b-dark);
	font-size: .78em;
	padding: 0px;
	text-align: left;
	text-indent: 20px;
}
p.creative_author {
	color: #333333;
	font-size: 18px;
	text-align: center;
}
p.creative_title {
	color: #3c8bbf;
	font-size: 1.5em;
	margin-bottom: .2em;
	text-align: center;
}
p.indent25px {
	padding-right: 25px;
	padding-left: 25px;
}
p.indent25px-color {
	padding-right: 25px;
	padding-left: 25px;
	background-color: #ffffb8;
}
p.yellow {
	background-color: #ffffb8;
}

#TipLayer { /* The pound sign means it relates to a id instead of class. Id can only be used
once, whereas class can be used multiple times. */
	visibility: hidden;
	position: absolute;
	z-index: 1000;
	top: -100px;
}
/* this is all going for columns */
#container {
 width: 870px;
 margin: 0 0 0 20px; /* top right bottom left */
 padding: 0;
 }
#container #col1 {
 width: 250px;
 float: left;
 }
 #container #col2outer {
 width: 610px;
 float: right;
 margin: 0;
 padding: 0;
 }
 #wholeweb {
 width: 900px;
 margin: 0 auto;
 text-align: left;
 height: 100%;
 }
 
 /* === Layout primitives (lite) === */
.section { padding-block: 0rem; }

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.stack > * + * { margin-top: 1rem; }

.grid-auto {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.center { text-align: center; }

/* Dark band + readable links on dark */
.bg-dark { background: var(--b-dark); color: var(--b-light); }
.bg-dark a:link, .bg-dark a:visited { color: var(--b-light); text-decoration: underline; }
.bg-dark a:hover { color: var(--b-hot); }

/* Simple “book tile” */
.book-tile {
  display: block;
  text-align: center;
  padding: .5rem;
  border-radius: 12px;
}
.book-tile img {
  display: block;
  margin-inline: auto;
  max-width: 200px;
  height: auto;
}
.book-tile .title {
  display: block;
  margin-top: .5rem;
  font-weight: 600;
}

/* Optional: keep headings readable on dark bands */
.bg-dark :is(h1,h2,h3) { color: var(--b-light); }

