@import url('https://fonts.googleapis.com/css2?family=Karla&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@font-face {
  font-family: 'FeltThat';
  src: url("fonts/FeltThat.woff");
}
:root {
	/* NB this is full set, site as coded does NOT use all */
	--bodycream: #f2ead3;
	--bodycreamdim: #f2ead3bb;
	--bodyfont: "Roboto Slab", monospace;
	--bodypadding: min(2vw, 30px);
	--bodysize: 18px;
	--bodywidth: 900px;
	--darksitebright: #94242a;
	--EXTlink: 59,101,121;
	--figure-full: calc(var(--bodywidth) - var(--bodypadding));
	--figure-large: 350px;
	--figure-medium: 250px;
	--figure-small: 150px;
	--figure-thumb: 100px;
	--figure-xl: 500px;
	--figure-xxl: 600px;
	--headcolor: #1E5A78;
	--headfont: "Oswald", sans-serif;
	--lightbodycream: #fcfaf3;
	--lightcream: #f6ebd2;
	--lightsitebright: #c1af86;
	--menucream: #e2d2ac;
	--ourmenuhead: #a4343a;
	--pureleft: 220px; /* wider than usual for more prominent logo */
	--sepback: #eee5ce;
	--sitebright:  178, 58, 58;
	--SITElink: 59,101,121;
	--WIKlink: 59,101,121;
}

html { background: #fff; }
#main { background: #fff; }

html,body { font-family: 'Libre Baskerville', serif; font-size: 17px; margin: 0; padding: 0; border: none; }
.pure-g [class*=pure-u] { font-family: 'Libre Baskerville', serif; font-size: 17px;  }
body * { box-sizing: border-box; }
#header.our h1 { font-family: FeltThat, serif; color: #333; font-size: 42px; font-weight: normal; text-align: center;
 margin: 0 0 12px 0; }
h2, h2 a.mCM_EXT_link, h3, h3 a.mCM_EXT_link { font-family: Karla, sans-serif; font-size: 28px; font-weight: normal; color: #b785b5; text-align: center; }
h3, h3 a.mCM_EXT_link { font-size: 24px; }
h2.feltthat { font-family:FeltThat; font-size:46px; font-weight: normal; color: #333; line-height: 100%;
 text-shadow: 4px 4px 8px #888;} /* home page only */
h2 a.mCM_EXT_link { text-decoration: none; border-bottom: 3px dotted; }
h2 a.mCM_EXT_link:hover { border-bottom: solid; }
a.mCM_EXT_link, .mCM_SITE_link, .mCM_WIKI_link { color: #b785b5; }


/* content fader - move to resources because colors change depending on background, left menu, etc.*/

#fadebar { height: 32px; width: 100%; 
	/* max-width: 800px; */
	/* margin: 0 auto; */
	/* position: sticky; top: 0; */
	/* position: fixed; */
	z-index: 10;
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%,
		rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,
		rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,
		rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff',
		endColorstr='#00ffff',GradientType=0 ); /* IE6-9 */
	opacity: 0; /* default = off on initial load */
	position: static;
	}

.content ul { list-style-type: square; }
.content, #header.our { width: 800px; max-width: 100%; margin: 0 auto; }
.content p, ul, ol { line-height: 150%; }

/* old site was #[7b0f4b] but Valerie would like her new purple #[8d2eed] */

:root {
--topmenuback: #ffffff;
--topmenutext: #555555; /* also for hover underline, implicit */
--topmenuchildtext: #eeeeee; /* also for hover underline, implicit */
--TOCback: #6e3e5a;
--TOCtext: #ffffff;
}

#topmenu.our, #menu.our { background: var(--topmenuback) /*#8d2eed*/; color: var(--topmenutext); z-index: 11; }
:not(h1) > .fv { color: #8d2eed; font-weight: bold; letter-spacing: 1px;}
h1 > .fv > .prev { padding-left: .08em; }

em { font-size: 130%; font-style: normal; }
#topmenu.our { /* display: flex; align-items: center; */ font-size: max( 1.75vw, 18px ); position: sticky; top: 0; }
#topmenu.our .pure-menu-horizontal { white-space: normal; }

#topmenu.our a, #menu.our a,
#topmenu.our .pure-menu-has-children .pure-menu-link,
#topmenu.our .pure-menu-has-children .pure-menu-link:visited { color: var(--topmenutext); padding: 0 0 3px 0; margin: 3px 12px; border-bottom: 3px transparent solid; }
#menu.our a { margin: 3px 12px 3px 24px; }

#topmenu.our .pure-menu-children .pure-menu-link,
#topmenu.our  .pure-menu-children .pure-menu-link:visited { color: var(--topmenuchildtext); padding: 0 0 3px 0; margin: 3px 12px; border-bottom: 3px transparent solid; }

#topmenu.our a.pure-menu-link:hover,
#topmenu.our .pure-menu-has-children .pure-menu-link:hover,
#topmenu.our .pure-menu-has-children .pure-menu-link:visited:hover  { background: transparent; border-bottom: solid; }

#topmenu.our .pure-menu-children .pure-menu-link:hover,
#topmenu.our .pure-menu-children .pure-menu-link:visited:hover  { background: transparent; border-bottom: solid; }

#topmenu.our ul.mCM_flat.pure-menu-list { padding: 1vw 0; }

#topmenu.our .pure-menu-selected .pure-menu-link,
#topmenu.our .pure-menu-selected .pure-menu-link:visited,
#topmenu.our .pure-menu-selected .pure-menu-link:hover,
#topmenu.our .pure-menu-selected .pure-menu-link:visited:hover
 { color: #aaa; padding: 0 0 3px 0; margin: 3px 12px; border-bottom: dotted; background: transparent;
 }
#topmenu.our .pure-menu-has-children .pure-menu-link:after { content: ''; }
#topmenu.our li ul { margin-left: 12px; background: #555; padding: 8px 0;  }
#topmenu.our li ul li { display: block; float: left; clear: both; font-size: 85%; }

/* mainly home page, overlays */
.container {
 position: relative;
 width: 100%;
}
@media ( max-width: 400px ) { .container.top { padding-top: calc( 200px - 50vw )  ; } }
@media ( max-width: 400px ) { .container.bottom { padding-top: calc( 400px - 100vw )  ; } }
.overlay-text {
 padding: 12px;
 font-family: 'FeltThat';
 font-size: 48px;
 line-height: 100%;
 position: absolute;
 width: 100%;
 top: 0;
 z-index: 2;
 /*background-color: rgba(255, 255, 255, 0.5); */
 text-align: center;
 color: #333;
 text-shadow: 4px 4px 8px #888;
}
@media ( max-width: 800px ) { .overlay-text { font-size: max( 6vw, 32px ); } }
.overlay-text.text{
 font-family: 'Libre Baskerville', serif; font-size: 17px;
 line-height: 100%;
 position: absolute;
 width: 100%;
 top: 0;
 z-index: 2;
 background-color: rgba(255, 255, 255, 0.5); 
 text-align: center;
 color: #333;
 text-shadow: 4px 4px 8px #888;
line-height: 150%;
}


/* autogenerated <H# in-page TOC/links */

blockquote { background: #eee; border-radius: 12px; margin-left: 0; margin-right: 0; padding: 0 12px; border: 0.5px solid #8d2eed; }

#topmenu { position: fixed; width: 100%; }

/* pre-pad, add media widths as makes sense, hmm need to slide envelope transition not jump */
/*.envelope { padding-top: 100px; } don't need to prepad, menu is sticky top now */

p,ul,ol,blockquote,h2,form { margin-top: 9px; margin-bottom: 9px; }

.content { margin-bottom: 12px; }

.mCM_sitetrailer { background: #434a54; color: #ccc; padding: 0 12px; margin: 0;  }
.mCM_sitetrailer .pure-g [class*=pure-u] { font-family: Karla, sans-serif; font-size: 15px;  }
#topBtn { bottom: 90px; }
.sitecredits { background: #333a44; color: #aaa; padding: 2px 12px 8px 12px; margin: 0;  font-family: Karla, sans-serif; font-size: 13px; text-align: right; }
.sitecredits a.dr { text-decoration: none; color: #aaaaaa; }
.sitecredits a.dr:hover { border-bottom: 2px dotted; }
.r { text-align: right; }
.c { text-align: center; }
.i { font-style: italic; }
.b { font-weight: bold; color: #333; }
.g { font-size: 130%; } /* g for "grand" */

@media print {
	#topmenu.our,
	.sitecredits,
	.mCM_sitetrailer,
	#menu,
	#menuLink,
	#fadebar,
	#topBtn,
	.mCM_ADDTHIS
		{ display: none !important; }
	#header.our, #header.our h1
		{ margin-top: 0; padding-top: 0; }
	.container.top, .container.bottom
		{ margin-top: 0; padding-top: 0; }
	.pure-u-sm-1-3, .pure-u-sm-8-24
		{ width: 33.3333%; }
}
@media screen and (min-width: 35.5em) {
.pure-u-sm-1-3, .pure-u-sm-8-24 {
    width: 33.3333%;
}
}
.printline { height:30px; width:100%; border-bottom:1pt dotted; }
.printbottom { height:10px; }
.topbracket { border: 2px #8d2eed solid; padding-top: 8px; border-bottom: none; margin-top: 6px; }
.bottombracket { border: 2px #8d2eed solid; color: #8d2eed; padding-top: 8px; border-top: none; margin-top: 6px; padding-left: 8px; }

.mCM_pagenav a.mCM_SITE_link,
.mCM_pagenav span.mCM_active { padding: 0.25em 0.66em; margin:8px 8px 0px 0px; display: inline-block; font-size: 100%; }
.mCM_pagenav a.mCM_SITE_link { color: #8d2eed; background-color: #f1e5ff; text-decoration: none; }
.mCM_pagenav span.mCM_active { color: #ccc; background-color: #777; }
.mCM_pagenav a.mCM_SITE_link:hover { background-color: #8d2eed; color: #fff;}
.mCM_pagenav { font-family: Karla, sans-serif; padding-bottom: 12px;}

.summaryblock { display: block; padding: 6px 12px; border: 1pt #666 dotted; border-radius: 12px;
margin: 9px 0; }

/* get rid of annoying 2px left margin */
a[role=button].at-icon-wrapper.at-share-btn.at-svc-facebook { margin-left: 0; }

/* add footnote support */

a.mCM_WIK_fn {
	position: relative;
    top: -0.3em;
	 font-size: 85%;
}

a.mCM_WIK_fn:before { content: "["; }
a.mCM_WIK_fn:after { content: "]"; }

table.mCM_WIK_fn { width: 100%; font-size: 85%; clear:both; margin-top: 12px; }
td.mCM_WIK_fnnum { vertical-align: top; padding-right: 1em; }

#toggle { font-size: 90%; border: 1px #333 solid; padding: 6px; font-family: Karla, sans-serif; margin-bottom: 8px;}

/* links */
a.mCM_EXT_link, a.mCM_WIK_link { color: purple; text-decoration-style: dotted; text-underline-offset: 4px;}
a.mCM_EXT_link:hover, a.mCM_WIK_hover { text-decoration-style: solid; }

/* match pure for now */

.mCM_pagenav a.mCM_btn { padding: .25em .66em; margin: 8px 8px 0 0; background: #ecd5fb; display: inline-block; text-decoration: none; font-size: 100%;
color: inherit; }
.mCM_pagenav a.mCM_btn:hover { background: #ececec; }

#layout {
	width: 100vw; /* takes hamburger out of responsive calculation */
	max-width: 100%; /* prevents horizontal scroll bars */
	background-color: rgb(248,249,250);
}

#layout.active #menu.our {
    left: var(--pureleft);
    width: var(--pureleft)
}

#layout.active .menu-link {
    left: var(--pureleft)
}

#menu.our {
    margin-left: calc(0px - var(--pureleft));
    width: var(--pureleft)
}

#menu.ourLink {
    z-index: 1000
}

#topmenu.our .top0, #topmenu.our .top1, #topmenu.our .top2, #topmenu.our .top3, #topmenu.our .top4, #topmenu.our .top5, #topmenu.our .top6 {
    width: calc(100vw - var(--pureleft))
}


@media (min-width:800px /*48em*/) {
    #layout {
      left: 0;
      padding-left: var(--pureleft)
    }

    #layout.active .menu-link,     #menu.our,     .menu-link {
      left: var(--pureleft)
    }
	#aboveall { display: none; }
}

@media (max-width:800px /*48em*/) {
    #layout.active {
      left: var(--pureleft)
    }
}
#fadebar { display: none; }

.mCM_sitetrailer a { color: #ccc; text-decoration: none; }
.mCM_sitetrailer a:hover {     text-decoration-line: underline;
    text-decoration-style: dotted; }
.mCM_sitetrailer { border-top-left-radius: 12px; }

/* added side */
#innermenu .exphome div { padding: 4px 0; }
#innermenu .exphome div { font-style: italic; }
#innermenu .exphome div a { text-decoration: none; display: inline-block; }
/* #innermenu .exphome div a:hover:after { content: "\2197"; font-size: 90%; font-weight:bold;} */
#innermenu .exphome div a:hover {     text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1.5px;   /* optional */
    text-underline-offset: 3px;
}

#innermenu .exphome div { font-size: 110%; }
#innermenu .exphome div span.mCM_active { padding: 3px 12px 3px 24px; display: inline-block; }
#innermenu .exphome div.mCM_active_li { background: #d8cdcc; border-radius: 0 15px 15px 0; }

/* define NEW hamburger that goes to left of #topmenu ul content */

#topmenu { display: flex; }
#ourburger { font-size: 30px; text-align:center; display:inline-block; padding: 0 10px; color: #ffffff; background: #000000; overflow: hidden; max-height: 34px; min-width: 41px; opacity:0.4; }
#ourburger:hover { opacity: 0.9; }
@media ( min-width: 800px /* per above */ ) { #ourburger:not(.mCM_active) { display: none; } }
#menu.mCM_active { left: var(--pureleft); }
#ourburger.mCM_active { display:block; float: left; margin-left: var(--pureleft); }

.mCM_btn { border-radius: 4px; }

