html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,  em, font, img, small, strike, sub, sup,  var, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 16px;
	font-family: inherit;
	vertical-align: baseline;
}
*, *::before, *::after { box-sizing: border-box; }
/* Modern theme variables */
:root {
  --bg: #f7f7f8;
  --card: #ffffff;
  --card-muted: #fafafa;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
}
img { max-width:100%; height:auto; }
div.nocontent {
	color: grey;
	margin: 15px;
	font-weight: bold;
	font-size:15px;
}

div.equalheight{clear:both;height:auto;padding-top:1px;padding-bottom:1px;}
div.equalheight + div.equalheight{margin-top:14px;}

.fleft, {float: left; }
.fright { float: right; }

#infobox{
background-color: #e8ffe7;
color: darkgreen;
font-size:150%;
text-align:center;
padding-top:5px;
padding-bottom:5px;
}

.flash{
text-decoration: blink;
color:red;
font-size:10px;
}

p {margin-top: 5px; padding-top:5px;}

body {
  background: var(--bg);
  width: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  text-align: left;
  line-height: 1.6;
}
td.thsmall {
	color: lightgrey;
	font-weight: bold;
	width: 50px;
	font-size: 10px;
}
div#ajaxsearch { position: static; width: auto; background-color: #fff; border: 1px solid #ddd; padding: 3px; color: grey; z-index: 1; box-shadow: none; }

div#search {margin:8px 0; float:none;}
div#search form { display:flex; gap:8px; }
div#search input[type="text"] { flex:1; min-width:0; height:40px; padding:8px; font-size:16px; }
div#search .search_button { flex:0 0 40px; height:40px; width:40px; background-size:contain; }
div#result a {
	display: block;
	border-top: 1px solid lightgrey;
	color: black;
	text-decoration: none;
	font-size: 11px;
}
div#result a:hover {
	background-color: yellow;
}
ul.small a {
	color: black;
	text-decoration: none;
}
div.list {
	font-size: 90%;
	font-weight:bold;
	border-bottom: 1px dashed lightgrey;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 4px 6px;
	vertical-align: middle;
	width: 100%;
}
div.yellow {
	background-color: #fff7dd;
}
div.list:hover {
	background-color: white;
}
.list strong { order: 1; flex: 1 1 auto; min-width: 0; }

.map-section { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.map-section img { max-width: 420px; width: 100%; flex: 1 1 320px; }
.map-section .map-links { flex: 1 1 240px; }

.detail-grid { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.col-left { flex: 0 0 320px; max-width: 360px; width: 100%; }
.col-right { flex: 1 1 0; min-width: 320px; }
ul, ol, li {
	margin: 5px 20px 0 10px;
	padding: 0 0 0 0;
	line-height: 1.1em;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}

h1 { color: var(--text); font-size: 2rem; font-weight: 700; }
.green {color:green;}
h2 { color: var(--text); font-size: 1.375rem; font-weight: 700; }
h3 { color: var(--text); font-style: normal; font-size: 1.125rem; font-weight: 600; }
.small {
	font-size: 10px;
}

ul.small {
	list-style-type: circle;
}
a.big {color:red; font-weight:bold;font-size:15px;}

a.small_link { font-size: 12px; text-decoration: none; }
a:hover { color: var(--accent); }

.clear {
	clear: both;
}
strong {
	font-weight: bold;
}
.hidden {
	display: none;
	visibility: hidden;
}
.page-shell { display: flex; align-items: flex-start; justify-content: center; gap: 16px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 16px 16px 24px; }
.main { flex: 1 1 1040px; width: 100%; max-width: 1040px; margin: 0; padding: 0; position: relative; top: 0; }
.ad-rail { display: none; flex: 0 0 160px; position: sticky; top: 12px; align-self: flex-start; }
.ad-rail-left { order: -1; }
.ad-rail .adsbygoogle { display: block; width: 160px; min-height: 600px; margin: 0 auto; }

@media (min-width: 1400px) {
  .page-shell { padding-left: 32px; padding-right: 32px; }
  .ad-rail { display: block; }
}


ul.floatlist li { float: none; margin: 2px 0; }
ul.floatlist li:hover {
	color: red;
	text-decoration: underline;
}



.box { background-color: var(--card); text-align: left; margin: 16px 0; border-radius: 10px; z-index:2; border: 1px solid var(--border); width: 100% !important; max-width: 100% !important; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.box-wrapper { position: relative; top: 0; left: 0; padding: 16px 18px; overflow: visible; }
.box[style] { width: 100% !important; }
.header-box { background-color: #f3f3f3 !important; border-color: #e5e7eb; }
.header-box .box-wrapper { background-color: #f3f3f3 !important; }
hr {
	height: 0px;
	width: auto;
	margin: 5px 0;
	border-top: 1px solid #cdcccb;
	border-bottom: 1px solid #fff;
	float: none;
	}
#footer { margin: 16px 0 8px; clear: both; color: var(--muted); text-align: center; }
#footer a { text-decoration: none; font-weight: 500; color: inherit; }
.box { float:none; box-shadow: none; border-radius: 8px; }
a.breadcrumb { font-size: 14px; line-height: 32px; height: auto; display: inline-block; float: none; text-decoration: none; font-weight: 600; color: var(--text); background-color: #fff; padding: 0 12px; margin: 0 6px 6px 0; cursor: pointer; border: 1px solid var(--border); border-radius: 9999px; }
a.breadcrumb:hover { background-color: var(--card-muted); }
a.breadcrumb:hover { background-color: var(--card-muted); }

.bg1,.bg2,.bg4,.bg5 { background-image: none; }
.bg1 { background-color: #ffffff; }
.bg2 { background-color: #ffffff; }
.bg4 { background-color: #ffffff; }
.bg5 { background-color: #ffffff; }




input {
    height: 20px;
    outline:none;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

input:focus {
    box-shadow: 0 0 5px rgba(200, 0, 0, 1);
    -webkit-box-shadow: 0 0 5px rgba(200, 0, 0, 1); 
    -moz-box-shadow: 0 0 5px rgba(200, 0, 0, 1); 
}

input.search_button {height:26px; width:26px;background-color:transparent;background-image: url(lupe.png);border:0px;}



div.corner {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 73px;
	background-image: url('/speechcorner.png');
	z-index: 2;
}
div.speech { float: none; width: auto; min-height: 0; background-color: var(--card); border: 1px solid var(--border); padding: 10px; font-size: 14px; margin-left: 0; border-radius: 10px; box-shadow: none; margin-bottom: 16px; }
h4 { font-size: 1.0em; line-height: 1.4; font-weight: 700; }
.grey { color: var(--muted); }
div.corner { display: none; }
h4 {
	font-size: 1.0em;
	line-height: 1.3;
	font-weight: bold;
}
.grey {
	color: lightgrey;
}
div.outerspeech {
    clear: both;
    position: relative;
}
div.people0, div.people1, div.people2, div.people3, div.people4 {
	float: left;
	background-image: url('/peoplemap.png');
	background-repeat: no-repeat;
	width: 75px;
	height: 95px;
	margin: 2px;
}
td {
	display: table-cell;
	vertical-align: top;
}
/* Desktop-only placeholders can be shown; hidden on mobile below */

/* Simple ad wrappers */
.ad { margin: 16px 0; text-align: center; clear: both; }
.ad ins { margin: 0 auto; }
/* Limit Google auto-placed side rails/anchors on mobile */
@media (max-width: 768px) {
  ins.adsbygoogle[data-anchor-status],
  .google-auto-placed,
  [id^="google_ads_iframe_"][style*="fixed"],
  [id^="google_ads_iframe_"][style*="side"],
  [id^="googleads"] {
    display: none !important;
  }
  /* legacy ad ids not used anymore */
}
div.peoplename {
	position: absolute;
	line-height: 0.9;
	margin-top: 82px;
	width: 92px;
	left: 1px;
	font-size: 8px;
	text-align: center;
	font-weight: bold;
	text-shadow: #c0c0c0 3px 3px 3px;
}
div.people0 {
	background-position: 0px -187px;
}
div.people1 {
	background-position: -75px -187px;
}
div.people2 {
	background-position: -150px -187px;
}
div.people3 {
	background-position: -225px -187px;
}
div.people4 {
	background-position: -300px -187px;
}
.rating {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 375px;
	height: 90px;
	position: relative;
}
.rating li {
	width: 75px;
	padding: 0px;
	margin: 0px;
	float: left;
}
.rating a {
	display: block;
	width: 75px;
	height: 90px;
	line-height: 90px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20;
	position: absolute;
	padding: 0px;
	overflow: hidden;
	background-image: url('/peoplemap.png');
	background-repeat: no-repeat;
	background-position: 0 0;
}
.rating a#rate1 {
	left: 0px;
	background-position: 0 0;
}


.rating a#rate1:hover {
	background-position: 0 -90px;
}
.rating a#rate1.selected {
	background-position: 0 -180px;
}
.rating a#rate2 {
	left: 75px;
	background-position: -75px 0;
}
.rating a#rate2:hover {
	background-position: -75px -90px;
}
.rating a#rate2.selected {
	background-position: -75px -180px;
}
.rating a#rate3 {
	left: 150px;
	background-position: -150px 0;
}
.rating a#rate3:hover {
	background-position: -150px -90px;
}
.rating a#rate3.selected {
	background-position: -150px -180px;
}
.rating a#rate4 {
	left: 225px;
	background-position: -225px 0;
}
.rating a#rate4:hover {
	background-position: -225px -90px;
}
.rating a#rate4.selected {
	background-position: -225px -180px;
}
.rating a#rate5 {
	left: 300px;
	background-position: -300px 0;
}
.rating a#rate5:hover {
	background-position: -300px -90px;
}
.rating a#rate5.selected {
	background-position: -300px -180px;
}

/* Mobile-first enhancements */
@media (max-width: 768px) {
  body {
    background-image: none;
    text-align: left;
    padding-bottom: 64px; /* space for bottom nav */
  }
  .page-shell { flex-direction: column; gap: 12px; padding: 0 10px 16px; }
  .main { width: 100%; max-width: 100%; padding: 0; top: 0; margin: 0; }
  .ad-rail { display: none !important; }
  .box { width: 100% !important; float: none; margin: 8px 0; }
  .detail-grid { flex-direction: column; }
  .col-left, .col-right { max-width: 100%; min-width: 0; }
  div#ajaxsearch {
    position: static;
    width: auto;
    right: auto;
    top: auto;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  #search { float: none; margin: 8px 0; }
  #search form { display: flex; gap: 8px; }
  #search input[type="text"] { flex: 1; min-width: 0; height: 40px; padding: 8px; font-size: 16px; }
  #search .search_button { flex: 0 0 40px; height: 40px; width: 40px; background-size: contain; }
  .breadcrumb-scroll { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  a.breadcrumb {
    float: none;
    display: inline-block;
    line-height: 36px;
    height: auto;
    margin: 4px 4px 0 0;
  }
  ul.floatlist li { float: none; margin-left: 0; }
  div.speech { width: auto; float: none; }
  h1 { font-size: 1.6em; }
  h2 { font-size: 1.2em; }
  h3 { font-size: 1.0em; }
  .small { font-size: 12px; }
  input { height: 40px; }
  .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: #fff; border-top: 1px solid #e5e5e5; display: flex; justify-content: space-around; gap: 4px; z-index: 999; }
  .bottom-nav a { flex: 1; text-align: center; text-decoration: none; color: #333; font-weight: 600; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:2px; }
  .bottom-nav a svg { width: 22px; height: 22px; display:block; }
  .bottom-nav a span { font-size: 12px; line-height: 1.1; margin-top: 2px; }
  .bottom-nav a:active, .bottom-nav a:hover { color: #000; }
}

/* Desktop defaults */
.bottom-nav { display: none; }
