/** Color Variables **/
:root {
    --hmdb-white:hsl(0, 0%, 94%);
    --hmdb-white-text:hsl(0, 0%, 94%);
    --hmdb-black:hsl(240, 12%, 10%);
    --hmdb-black-text:hsl(232, 66%, 9%);
    --hmdb-gray-text:hsl(240, 12%, 40%);
    --hmdb-gray-tint:hsl(240, 12%, 80%);
    --hmdb-orange:hsl(31, 100%, 44%);
    --hmdb-orange-light:hsl(35, 100%, 61%);
    --hmdb-orange-dark:hsl(35, 100%, 40%);
    --hmdb-orange-hover:hsl(31, 100%, 60%);
    --hmdb-purple-light:hsl(242, 100%, 95%);
    --hmdb-purple:hsl(242, 100%, 85%);
    --hmdb-purple-dark:hsl(242, 100%, 75%);
    --hmdb-purple-darkest:hsl(242, 100%, 55%);
}

@font-face {
    font-family: 'Lora'; 
    src: url( fonts/Lora-VariableFont_wght.woff2 );} 
    
@font-face {
    font-family: 'Source Sans'; 
    src: url( fonts/SourceSans3VF-Upright.woff2 );}


html {scroll-behavior: smooth; 
}

body {
		word-wrap: break-word;
		font-family:Source Sans, Arial, sans-serif; 
		color: var(--hmdb-black-text);
		background-color:var(--hmdb-gray-tint);
    }


hr { height:1px;
     border:0}

b {font-weight:600;}
i {font-synthesis: style;}
h1 {font-synthesis: none;}
h2 {font-synthesis: none;}
h3 {font-synthesis: none;}

details {outline:none;}
details[open] {background-color:white;}

summary {
    outline:none;
    color:var(--hmdb-gray-text);
    cursor:pointer; 
}
summary::marker {color:var(--hmdb-orange)}

.X  {
	font-family: Source Sans, sans-serif; 
	color: var(--hmdb-black-text);
}  
.X A:link {color : var(--hmdb-black-text); text-decoration : none;}
.X A:visited {color : var(--hmdb-black-text); text-decoration : none;}
.X A:hover {color :var(--hmdb-black-text); text-decoration : none;}



.entirebody {
    position: relative;
    padding-left:10px; padding-right:10px;
    background-color:var(--hmdb-white);
    border-radius: 20px;
}

.masthead {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 4px 10px;
    margin-left: 20px;
    margin-top: 4px;
    margin-bottom: 2px;
    overflow: hidden;
}

.logo1 { flex: 0 0 auto; padding-top: 4px; }

.logo2 {
    flex: 0 0 auto;
    font-family: Lora, Georgia, Palatino, Times, 'Times New Roman', serif;
    font-size: 200%;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--hmdb-orange);
}
.logo2 A:link   { color: var(--hmdb-orange); text-decoration: none; }
.logo2 A:visited{ color: var(--hmdb-orange); text-decoration: none; }
.logo2 A:hover  { color: var(--hmdb-orange); text-decoration: none; }

.logo3 {
    flex: 0 0 auto;
    font-family: sans-serif;
    font-size: 80%;
    color: var(--hmdb-black-text);
    line-height: 1.2;
}

/* logo4: tagline - clips gracefully, hidden below 820px */
.logo4 {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: Source Sans, sans-serif;
    font-style: italic;
    font-size: 80%;
    color: var(--hmdb-gray-text);
}

/* ============================================================
   STICKY NAV WRAPPER
   ============================================================ */
.nav-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.25s ease;
}
.nav-sticky-wrap.nav-hidden {
    transform: translateY(-110%);
}

/* ============================================================
   MENU BAR SHELL
   ============================================================ */
.menu {
    border-radius: 16px;
    margin: 2px 2px 4px 2px;
    background-color: var(--hmdb-black);
    padding: 4px 12px 5px 12px;
    font-family: Verdana, sans-serif;
    font-size: 82%;
    color: var(--hmdb-white-text);
    line-height: normal;
}
.menu A:link    { color: white; text-decoration: none; }
.menu A:visited { color: white; text-decoration: none; }
.menu A:hover   { color: white; text-decoration: underline; }

/* ============================================================
   BUTTON STYLE - .button (legacy spans) and a.navbtn (new anchors)
   ============================================================ */
.button,
a.navbtn {
    display: inline-block;
    border: 2px solid var(--hmdb-orange-dark);
    border-radius: 5px;
    padding: 2px 5px 3px 5px;
    cursor: pointer;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 32%) 0%,
        hsl(240, 8%, 18%) 50%,
        hsl(240, 8%, 10%) 100%
    );
    box-shadow:
        0  2px 0 hsl(240,12%,42%) inset,
        0 -1px 0 hsl(240,12%,4%)  inset,
        0  3px 5px rgba(0,0,0,0.6),
        0  1px 0 rgba(255,255,255,0.07);
    transition: background 0.12s, box-shadow 0.12s, border-color 0.12s;
}
.button:hover,
a.navbtn:hover {
    border-color: var(--hmdb-orange-hover);
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 40%) 0%,
        hsl(240, 8%, 24%) 50%,
        hsl(240, 8%, 14%) 100%
    );
    box-shadow:
        0  2px 0 hsl(240,12%,50%) inset,
        0 -1px 0 hsl(240,12%,4%)  inset,
        0  4px 7px rgba(0,0,0,0.65),
        0  1px 0 rgba(255,255,255,0.09);
}
.button:active,
a.navbtn:active {
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 10%) 0%,
        hsl(240, 8%, 20%) 100%
    );
    box-shadow:
        0 2px 4px rgba(0,0,0,0.8) inset,
        0 1px 2px rgba(0,0,0,0.5);
    transform: translateY(1px);
}

/* Near Me button - purple tint */
a.navbtn.nearme {
    background: linear-gradient(
        to bottom,
        hsl(242, 70%, 48%) 0%,
        hsl(242, 70%, 34%) 50%,
        hsl(242, 70%, 22%) 100%
    );
}
a.navbtn.nearme:hover {
    background: linear-gradient(
        to bottom,
        hsl(242, 70%, 56%) 0%,
        hsl(242, 70%, 40%) 50%,
        hsl(242, 70%, 27%) 100%
    );
}
a.navbtn.nearme:active {
    background: linear-gradient(
        to bottom,
        hsl(242, 70%, 22%) 0%,
        hsl(242, 70%, 36%) 100%
    );
}

/* ============================================================
   WIDE NAV LAYOUT
   Search floats right (first in HTML source). Upper buttons are
   inline-block direct children of nav-upper-row with spaces
   between them - allows wrapping around and under the float.
   ============================================================ */
.nav-wide {
    display: block;
    padding: 4px 0 3px 0;
}

.nav-upper-row {
    display: flow-root;
    line-height: normal;
    margin-bottom: 3px;
}

.nav-search-group {
    float: right;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-left: 8px;
    padding-top: 2px;
    margin-top: -1px;
}

.nav-upper-row a.navbtn {
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px 4px 0;
}

.nav-lower-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 5px;
    clear: both;
}

/* ============================================================
   SEARCH INPUT & SVG ICON BUTTONS
   ============================================================ */
.nav-search-group input[type=search],
.nav-narrow-right input[type=search] {
    vertical-align: middle;
    width: 125px;
    border: 2px solid buttonface;
	  font-family: Source Sans, sans-serif;
	  border-radius: 5px;
}

.nav-search-group button,
.nav-narrow-right button {
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 30%) 0%,
        hsl(240, 8%, 16%) 50%,
        hsl(240, 8%, 8%)  100%
    );
    border: 1px solid hsl(240, 8%, 22%);
    border-radius: 4px;
    padding: 2px 3px 1px 3px;
    margin: 0;
    margin-left: 3px;
    vertical-align: middle;
    cursor: pointer;
    box-shadow:
        0  2px 0 hsl(240,10%,38%) inset,
        0 -1px 0 hsl(240,10%,4%)  inset,
        0  2px 4px rgba(0,0,0,0.55);
    transition: background 0.12s, box-shadow 0.12s;
}
.nav-search-group button:hover,
.nav-narrow-right button:hover {
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 38%) 0%,
        hsl(240, 8%, 22%) 50%,
        hsl(240, 8%, 12%) 100%
    );
    box-shadow:
        0  2px 0 hsl(240,10%,46%) inset,
        0 -1px 0 hsl(240,10%,4%)  inset,
        0  3px 6px rgba(0,0,0,0.6);
}
.nav-search-group button:active,
.nav-narrow-right button:active {
    background: linear-gradient(
        to bottom,
        hsl(240, 8%, 8%)  0%,
        hsl(240, 8%, 18%) 100%
    );
    box-shadow: 0 2px 3px rgba(0,0,0,0.7) inset;
    transform: translateY(1px);
}
.nav-search-group button svg,
.nav-narrow-right button svg { display: block; }

/* ============================================================
   NARROW NAV - hamburger bar
   ============================================================ */
#nav-toggle { display: none; }

.nav-narrow {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    min-height: 34px;
}

.nav-hamburger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-narrow-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
 	  font-family: Source Sans, sans-serif;
}

/* Hamburger checkbox: override media query to show nav-wide */
#nav-toggle:checked ~ .nav-wide { display: block !important; }
/* Star hidden by default on narrow bar */
#narrowStar { display: none; }

/* Nav buttons used outside the nav bar (e.g. sidebar) */
.framedblock a.navbtn {
  line-height: 1;
  vertical-align: middle;
}

button.navicon {
  background: linear-gradient(
    to bottom,
    hsl(240, 8%, 30%) 0%,
    hsl(240, 8%, 16%) 50%,
    hsl(240, 8%, 8%)  100%
  );
  border: 1px solid hsl(240, 8%, 22%);
  border-radius: 4px;
  padding: 2px 3px 1px 3px;
  margin-left: 3px;
  vertical-align: middle;
  cursor: pointer;
  box-shadow:
    0  2px 0 hsl(240,10%,38%) inset,
    0 -1px 0 hsl(240,10%,4%)  inset,
    0  2px 4px rgba(0,0,0,0.55);
}
button.navicon svg { display: block; }

/* General classes */
div.mainblock {
    border-radius: 20px;
    border: 2px solid var(--hmdb-black);
    padding: 20px; 
  	overflow: hidden;}
  	
.formgray {
    background-color:var(--hmdb-gray-tint)}
    
.menublack {
    background-color: var(--hmdb-black)}    
.blackoutmenubutton {
    color: var(--hmdb-black); border-color:var(--hmdb-black);}    

.bottomlinks {
    border-top: 2px solid black;
    margin:-20px -20px -20px -20px; 
    overflow:hidden;
    text-align:center;
}

.toplinks {
    border-bottom: 2px solid black;
    margin:-20px -20px 0px -20px; 
    overflow:hidden;
    text-align:center;
}

.articletoplinks {
  display:inline-block;
	color : var(--hmdb-black-text);
	text-align: center;
	line-height:140%;
	font-family: Source Sans, sans-serif;
	font-size: 80%;
	padding-top: 2px;
  margin:0 0 2px 0 ;
  height:auto;}

.arrows {
		margin-top: -21px;
		margin-right: -21px;
}

.arrowsbelow {
		margin-top: 0px;
}

.arrowprevious {
    float:left;
    color: var(--hmdb-white-text)
    text-align: left;
		overflow: hidden;
    font-family: Source Sans, sans-serif;
		padding-left: 1px; 
    height: 28px;
		width: 80px;
		background-color:var(--hmdb-black);
}
	div.arrowprevious A:link {color : var(--hmdb-white-text); text-decoration : none;}
	div.arrowprevious A:visited {color : var(--hmdb-white-text); text-decoration : none;}
	div.arrowprevious A:hover {color : var(--hmdb-white-text);; text-decoration : underline;}

.arrowtext {font-size:75%;}

.arrownext {
    float:right;
    color: var(--hmdb-white-text);
    text-align: right;
		margin-left: auto ;  
		overflow: hidden;
		font-family: Source Sans, sans-serif;
		padding-right: 11px; 
    height: 28px;
		width: 80px;
		background-color:var(--hmdb-black);
}
	div.arrownext A:link {color : var(--hmdb-white-text); text-decoration : none;}
	div.arrownext A:visited {color : var(--hmdb-white-text); text-decoration : none;}
	div.arrownext A:hover {color : var(--hmdb-white-text); text-decoration : underline;}
	
.circledtags {
    float:right;
    margin:-6px 5px 5px 5px;    
    font-size:130%;
    height:20px;
}
.hiddenmessage {
    position:absolute; width:150px;border-radius: 20px; background-color:#ff9999;padding:5px;visibility:hidden;
}
.toplinksrule {
    margin-top: 3px;
    margin-left: -20px;
    margin-right: -20px;
    color: var(--hmdb-black);
    background-color: var(--hmdb-black);
}	
	
.bottomlinksrule {
    margin-top: 5px;
    margin-bottom: 3px;
    margin-left: -20px;
    margin-right: -20px;
    color: var(--hmdb-black);
    background-color: var(--hmdb-black);
}	

.topbotlinkshim {display:none;}
/* ARTICLE */

    
article {
}

div.inputlegend {text-align:left; Float:right;}

h1 {  /* PAGE TITLE*/
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.67em;
    margin-bottom: 8px;
    margin-inline-start: 0;
    margin-inline-end: 0;
	font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig', 'onum'; 
	font-size: 175%;
	line-height:103%;
	text-align: center;
	font-weight: 600; 
	color: var(--hmdb-orange);
}
h2 {  /* MARKER PAGE OPTIONAL TITLE*/
    margin-block-start:0;
    margin-block-end: 0;
    margin-top:  -17px;
    margin-bottom: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;	
  font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig', 'onum'; 
	font-size: 140%;
	line-height:103%;
	text-align: center;
	font-weight: 600;
	color:  var(--hmdb-orange);
}
h3 {  /* MARKER PAGE OPTIONAL THIRD TITLE*/
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top:  -17px;
    margin-bottom: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;	
  font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig', 'onum'; 
	font-size: 140%;
	line-height:103%;
	text-align: center;
	font-weight: 600;
	color:var(--hmdb-gray-text);
}

h4 {  /* SIDEBAR BLACK TITLE */
    margin: 5px 0 10px 0;
	font-size: 125%;
	font-style: italic;
	font-weight: 700;
	text-align: left; 
	color: var(--hmdb-gray-text);
	font-family:Source Sans, Arial, sans-serif; 
	font-feature-settings: 'kern', 'liga';
}

h5 {  /* SIDEBAR ORANGE TITLE */
    margin: 5px 0 10px 0;
	font-style: italic;
	font-size: 130%;
	font-weight: 700;
	text-align: left; 
	color:  var(--hmdb-orange);
	font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga'; 
}

blockquote {
  font-size:93%; 
  line-height:125%;
  margin-block-end: 0.5em;
  margin-block-start: 0.5em;
}

input {
  font-family: monospace;
}

textarea {
  font-family: monospace;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: var(--hmdb-purple-darkest);
    color: var(--hmdb-white);
    text-align: left;
    padding: 5px 0;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

#grid[data-columns]::before {content: '3 .column.size-1of3';}
.column { float: left; }
.size-1of3 { width: 33.333%; }
.size-1of2 { width: 50%; }
.size-1of1 { width: 100%; }

.fourcol {
    margin-left: auto;
    margin-right: auto;
    clear: both; 

       -webkit-column-count: 4;
       -moz-column-count: 4;
       column-count: 4;
	   }
.twocol {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    clear: both; 

       -webkit-column-count: 2;
       -moz-column-count: 2;
       column-count: 2;
	   }
.twocolsm {
    margin-left: auto;
    margin-right: auto; 
    text-align: center;

       -webkit-column-count: 2;
       -moz-column-count: 2;
       column-count: 2;
}
div#leftcol {
    max-width: 490px;
    padding: 5px; 
    margin-left: auto;
    margin-right: auto; 
	
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	page-break-inside: avoid;
}
div#rightcol {
    max-width: 490px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto; 
	
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	page-break-inside: avoid;
}
div.sidebar {
    border-radius: 10px;
    border: 2px solid var(--hmdb-black);
    padding: 10px; 
    margin: 10px 0px 10px 0px;
	font-size: 85%;
	text-align: left;
	line-height:140%;
	font-family: Source Sans, Arial, sans-serif; 
	color: var(--hmdb-black-text);
	background-color:var(--hmdb-white);
}

div.framedblock {
    border-radius: 10px;
    border: 2px solid var(--hmdb-black);
    padding: 10px; 
    margin: 4px;
    min-width: 0;
    min-height: 0;
	font-size: 95%;
	text-align: left;
	line-height:140%;
	font-family: Source Sans, Verdana, sans-serif; 
	color: var(--hmdb-black-text);
}

div.towncountryregion {margin-left:-10px;margin-right:10px;}

span.sectionhead {
	font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig'; 
	font-size: 145%;
	font-weight: 600; 
	color: var(--hmdb-orange);
}
span.sectionheadg {
	font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig'; 
	font-size: 120%;
	font-weight: 600; 
	color: var(--hmdb-gray-text);
}
.linkAsAbutton {
  background: none;
  border: none;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.linkAsAspan {
  background: #EEEEEE;
  border: none;
  color: #666666;
  font-style: italic;
  font-weight: bold;
	font-size: 85%; 
  cursor: pointer;
}

.bodyserif {
	font-family:Lora, Georgia, Palatino, Times, Times New Roman, serif;
	font-feature-settings: 'kern', 'liga', 'dlig'; 
	font-style: normal; 
	line-height:150%;
	color:var(--hmdb-black-text);
	}
	.bodyserif A:link {color : Blue;text-decoration : underline;}
	.bodyserif A:visited {color : #800080;text-decoration : underline;}
	.bodyserif A:hover { text-decoration : underline;}


.bodysansserif {
	font-family:Source Sans, Arial, sans-serif;
	font-feature-settings: 'kern', 'liga';
	font-style: normal; 
	line-height:140%;
	color: var(--hmdb-black-text);
	}

.bodysansserifsmaller {
font-feature-settings: 'kern', 'liga';
	font-family:Source Sans, Arial, sans-serif; 
	font-size: 85%; 
	line-height:120%;
	color: var(--hmdb-black-text);
	fill: var(--hmdb-black-text);
	stroke:none;
	}

  .narrowtable {max-width:60%}


/* ADVERTISEMENTS, LEFT AND RIGHT */

.adgeneral {
    border-radius: 20px;
    border: 2px solid silver;
    background-color:#FFFFFF;
	width: auto;
	margin: auto;
	text-align:right;
    overflow:hidden;
}
fieldset#sidead300x600 {
	position: absolute; top: 46px; right: 10px; 
	width: 310px; 
	height: 920px;
    overflow:hidden;
	text-align:center;
}
fieldset#sidead300x250 {
	position: absolute; top: 46px; right: 10px; 
	width: 310px; 
	height: 260px;
    overflow:hidden;
	text-align:center;
}
fieldset#sidead160 {
	position: fixed; top: 46px; right: 10px; 
	width: 170px; 
	height: 610px;
    overflow:hidden;
	text-align: center;
}
fieldset#sideadResponsive {
	position: absolute; top: 46px; right: 10px; 
	text-align: center;
    overflow:hidden;
}

.adleft {
    border: 2px solid silver; 
    background-color:#EEEEEE;
	padding-right: 10px; 
	padding-left: 10px; 
	padding-top: 10px; 
	padding-bottom:15px;
	max-width:400px; 
	float: left; 
	margin-top: 10px;
	margin-bottom: 15px;
	margin-right: 30px;
    overflow:hidden;
}


.adright {
    border: 2px solid silver; 
    background-color:#EEEEEE;
	padding-right: 10px; 
	padding-left: 10px; 
	padding-top: 10px; 
	padding-bottom:15px;
	max-width:400px; 
	float: right; 
	margin-top: 10px;
	margin-bottom: 15px;
	margin-left: 30px;
    overflow:hidden;
}
.adhidden {display:none;}

.adcaption {
	font-family:Source Sans, sans-serif; 
	font-size: 70%; 
	line-height:100%;
	color: #AAAAAA;	
	text-align: center; 
	padding-top: 2px;}

.adtitle {
	font-family:Source Sans, sans-serif; 
	font-size: 85%; 
	line-height:100%;
	text-align: center;
	font-weight: 600;
	color: silver;
}

/* ARTICLE: PHOTOGRAPHS, LEFT AND RIGHT AND FULL WIDTH */


.photoright {
		max-width:67%;  
		min-width: 280px; 
		float: right;  
		margin-left: 30px; 
		margin-right: 0; 
		margin-top: 10px;
		margin-bottom: 15px;
		padding: 0;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	page-break-inside: avoid;
}
.miniphotoright {
		float: right;  
		margin-left: 5px; 
		margin-right: 5px; 
		margin-top: 5px;
		margin-bottom: 10px;
		padding: 0;
	font-size: 85%;
	line-height: 110%;
	text-align: center; 
	color:var(--hmdb-black-text);
	font-weight: 600;
	font-family:Source Sans, Verdana, sans-serif; 
}


.photoleft {
		max-width:67%;  
		min-width: 280px; 
		float: left;  
		margin-left: 0; 
		margin-right: 40px; 
		margin-top: 10px;
		margin-bottom: 15px;
		padding: 0;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	page-break-inside: avoid;
}
.miniphotoleft {
		float: left;  
		margin-left: 0; 
		margin-right: 5px; 
		margin-top: 5px;
		margin-bottom: 10px;
		padding: 0;
	font-size: 85%;
	line-height: 110%;
	text-align: center; 
	color: var(--hmdb-black-text);
	font-weight: 600;
	font-family:Source Sans, Verdana, sans-serif; 
}

.photofull {
		float:left;
		width:100%;  
		padding: 0;
		margin-left: auto ;  
		margin-right: auto ;
		margin-top: 10px;
		margin-bottom: 15px;
}

.photoafter {
		display: inline-block;
		vertical-align:top;
		max-width:100%;  
		min-width: 280px; 
		padding: 0;
		margin-left: auto ;  
		margin-right: auto ;
		margin-top: 10px;
		margin-bottom: 15px;
}

.imagecredit {
		font-family:Source Sans, Arial,  sans-serif; 
	font-feature-settings: 'kern', 'liga';
		font-size: 77%; 
		line-height:100%;
		font-weight: normal;
		font-style: normal;
		text-align: right;
		color:var(--hmdb-black-text);
		max-width: 100%;
		margin-top: -5px;
}

.imagecaption {
		font-family:Source Sans, Arial, sans-serif; 
	font-feature-settings: 'kern', 'liga';
		font-size: 100%; 
		line-height:100%;
		text-align: center;
		font-style: normal;
		font-weight: 600;
		color: var(--hmdb-black-text);
		max-width: 100%;
		padding-top: 8px;
}

.imagesubcaption {
		font-family:Source Sans, Arial, sans-serif; 
	font-feature-settings: 'kern', 'liga';
		font-size: 100%; 
		line-height:115%;
		font-weight: normal;
		font-style: normal;
		text-align: left;
		color: var(--hmdb-black-text);
		max-width: 100%;
		padding-top: 4px;
}

/* FOOTER AND OTHER INFORMATION AT THE BOTTOM OF THE PAGE */

.outlinetext {
   -webkit-text-stroke: 1px black;
   color: white;
   text-shadow:
      3px 3px 0 #000,
     -1px -1px 0 #000,  
      1px -1px 0 #000,
     -1px 1px 0 #000,
      1px 1px 0 #000;
      }
.orange {color: var(--hmdb-orange)}
.darkorange {color: var(--hmdb-orange-dark)}
.gray {color: var(--hmdb-gray-text)}
.silver {color: silver}
.center { text-align: center; margin-left: auto ;margin-right: auto ; /*the two autos centers */ }
.right { text-align: right;}

.list {display:block;}
.kml {display:none;}
.gpx {display:none;}

.rederror {
	font-family:Source Sans, sans-serif; 
	font-size: 90%; 
	font-weight: 700; 
	padding-left: 10;
	color: Red;}

.reversered {
	color : #FFFFFF;
	background-color: #FF0000;
	font-family:Source Sans, sans-serif;
	margin-top: 0.5em; 
	margin-bottom: 0em;
	}

.reverseorange {
	color : #FFFFFF;
	background-color: var(--hmdb-orange);
	font-family:Source Sans, sans-serif;
	margin-top: 0.5em; 
	margin-bottom: 0em;
	}
.captiontiny {
	font-family:Source Sans, sans-serif; 
	font-size: 80%; 
	color:var(--hmdb-black-text);}

.instructions {
	font-family:Source Sans, sans-serif; 
	font-size: 95%; 
	line-height:95%;
	padding:0;
	color: var(--hmdb-orange-light);
}
.blueinstructions {
	font-family:Source Sans, sans-serif; 
	font-size: 95%; 
	line-height:100%;
	padding:0;
	color: blue;
}

.noprint {padding:0;}
.onlyprint {display:none;}

.shim12pt {line-height:10pt;height=12pt;max-height:12pt;min-height:12pt;overflow:clipped; border:0; margin:0; padding:0;clear: both;}
.shim6pt {line-height:5pt;height=6pt;max-height:6pt;min-height:6pt;overflow:clipped; border:0; margin:0; padding:0;clear: both;}


div.bottombar {
    color: white;
	text-align: center;
    line-height: 200%;
    margin: 2px ;
    border-radius: 20px;
	padding: 5px;
	font: helvetica, arial sans-serif;
	font-size: 85%;
	background-color: var(--hmdb-black-text);
}
	.bottombar A:link {color : white; text-decoration : none;}
	.bottombar A:visited {color : white; text-decoration : none;}
	.bottombar A:hover {color : white; text-decoration : underline;}



.copyright {
	font-family:Source Sans, sans-serif; 
	font-size: 80%; 
	color: gray;
	text-align:right;
	padding-left: 15px;
	padding-right: 15px;}

.copyright A:link {color : gray;text-decoration : underline;}
.copyright A:visited {color : gray; text-decoration : underline;}
.copyright A:hover { text-decoration : underline;}

.maxinputfield {
  width: 100%;
}

.checkTag {display:none;}
.checkLab1:before {color:red; font-size:135%; content:"\2780"}
.checkTag:checked + .checkLab1:before {color:red; font-size:135%; content:"\2776";}
.checkLab2:before {color:green; font-size:135%; content:"\2781"}
.checkTag:checked + .checkLab2:before {color:green; font-size:135%; content:"\2777";}
.checkLab3:before {color:blue; font-size:135%; content:"\2782"}
.checkTag:checked + .checkLab3:before {color:blue; font-size:135%; content:"\2778";}
.checkLab4:before {color:var(--hmdb-orange-dark); font-size:135%; content:"\2783"}
.checkTag:checked + .checkLab4:before {color:var(--hmdb-orange-dark); font-size:135%; content:"\2779";}
.checkLab5:before {color:purple; font-size:135%; content:"\2784"}
.checkTag:checked + .checkLab5:before {color:purple; font-size:135%; content:"\277A";}

.autocomplete {
  position:relative; 
  display:inline-block;
  
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 5px;
  cursor: pointer;
  background-color: #ffe9bf;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.fade-out {
  animation: fadeOut ease 5s;
  animation-fill-mode: forwards;
}
.fade-in {
  animation: fadeIn ease 2s;
  animation-fill-mode: forwards;
}
@keyframes fadeOut {0%{opacity:1;} 100%{opacity:0;}}
@keyframes fadeIN {0%{opacity:0;} 100%{opacity:1;}}

/* ADJUSTMENTS FOR SCREEN SIZE AND OTHER MEDIA */

/* -- Nav breakpoints -- */
@media screen and (max-width: 680px) {
    .nav-wide   { display: none; }
    .nav-narrow { display: flex; align-items: center; min-height: 34px; }
    #nav-toggle:checked ~ .nav-wide   { display: block !important; }
    #nav-toggle:checked ~ .nav-narrow { display: none; }
    .nav-wide a.navbtn { font-size: 14px; }
}
@media screen and (min-width: 681px) {
    .nav-wide   { display: block; }
    .nav-narrow { display: none; }
}

/* Hide tagline below 820px */
@media screen and (max-width: 820px) {
    .logo4 { display: none; }
}
@media screen and (max-width: 480px) {
    .masthead { margin-left: 4px; }
}

@media screen and (max-width:480px) {
#grid[data-columns]::before {content: '1 .column.size-1of1';}
.size-1of3 {width:100%;}
	.arrows {margin-bottom: 26px;}
	.arrowsbelow {margin-top: 26px;}
    .articlebottomlinks {height: 26px;}
	.toplinksrule {margin-top: 20px;}
	.bottomlinksrule {margin-bottom: 26px;}
    .menu {margin-left: -3px; margin-right: -3px;}
  div#towncountryregion {text-align: center;}
  div#additionalphotos {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  .photoright {width:100%;	margin-left: auto; margin-right: auto; max-width: none;}
  .photofull {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .photoleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adright {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .twocol {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  div.framedblock {margin-left:-15px; margin-right:-15px;}
  h1 {margin:0; font-size: 165%;}
  h2 {margin:0;}
  h3 {margin:0;}
  fieldset#sidead160 {position: static;}
  fieldset#sidead300x600 {position: static;}
  fieldset#sidead300x250 {position: static;}
  fieldset#sideadResponsive {position: static;}
  .fourcol {-webkit-column-count: 1; -moz-column-count: 1; column-count: 1}
  div.mainblock {padding:10px;}
  div.toplinks {margin: -10px -10px 6px -10px;}
  div.bottomlinks {margin: -10px -10px -10px -10px;}
  div.arrows {margin:-11px -11px 0 0;}
  article {clear:both;}
  .narrowtable {max-width:100%}
  img {object-fit:contain; object-position:bottom; max-width:100%;}
}
@media screen and (min-width: 481px) and (max-width:590px) {
#grid[data-columns]::before {content: '1 .column.size-1of1';}
.size-1of3 {width:100%;}
	.arrows {margin-bottom: 26px;}
	.arrowsbelow {margin-top: 26px;}
	.articlebottomlinks {margin-top: -26px;}
	.toplinksrule {margin-top: 20px;}
	.bottomlinksrule {margin-bottom: 26px;}
  div#towncountryregion {text-align: center;}
  div#additionalphotos {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  .photoright {width:100%;	margin-left: auto; margin-right: auto; max-width: none;}
  .photofull {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .photoleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adright {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .twocol {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  div.framedblock {margin-left:-15px; margin-right:-15px;}
  h1 {margin:0; font-size: 165%;}
  h2 {margin:0;}
  h3 {margin:0;}
  fieldset#sidead160 {position: static;}
  fieldset#sidead300x600 {position: static;}
  fieldset#sidead300x250 {position: static;}
  fieldset#sideadResponsive {position: static;}
.fourcol {-webkit-column-count: 2; -moz-column-count: 2; column-count: 2}
  div.mainblock {padding:10px;}
  div.toplinks {margin: -10px -10px 6px -10px;}
  div.bottomlinks {margin: -10px -10px -10px -10px;}
  div.arrows {margin:-11px -11px 0 0;}
  article {clear:both;}
  .narrowtable {max-width:100%}
  img {object-fit:contain; object-position:bottom;  max-width:100%;}
}
@media screen and (min-width: 591px) and (max-width:680px) {
#grid[data-columns]::before {content: '1 .column.size-1of1';}
.size-1of3 {width:100%;}
  div#towncountryregion {text-align: center;}
  div#additionalphotos {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  .photoright {width:100%;	margin-left: auto; margin-right: auto; max-width: none;}
  .photofull {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .photoleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adright {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .adleft {width:100%;	margin-left: auto; margin-right: auto;  max-width: none;}
  .twocol {column-count: 1; -webkit-column-count: 1; -moz-column-count: 1;}
  div#MOWleft {display: block;}
  div#MOWright {display: none;}
  h1 {margin:0; font-size: 165%;}
  h2 {margin:0;}
  h3 {margin:0;}
  fieldset#sidead160 {position: static;}
  fieldset#sidead300x600 {position: static;}
  fieldset#sidead300x250 {position: static;}
  fieldset#sideadResponsive {position: static;}
  div.mainblock {padding:10px;}
  div.toplinks {margin: -10px -10px 6px -10px;}
  div.bottomlinks {margin: -10px -10px -10px -10px;}
  div.arrows {margin:-11px -11px 0 0;}
  article {clear:both;}
  .narrowtable {max-width:100%}
  img {object-fit:contain; object-position:bottom;  max-width:100%;}
}
@media screen and (min-width: 591px) and (max-width:730px) {
  #inlineAd300x600 {display: none;}   
  #inlineAd250 {display: inline-block;}   
  div.mainblock {padding:10px;}
  div.toplinks {margin: -10px -10px 6px -10px;}
  div.bottomlinks {margin: -10px -10px -10px -10px;}
  div.arrows {margin:-11px -11px 0 0;}
  article {clear:both;}
  .narrowtable {max-width:100%}
}
@media screen and (min-width: 591px) and (max-width:730px) {
  .fourcol {-webkit-column-count: 2; -moz-column-count: 2; column-count: 2}
  div.mainblock {padding:10px;}
  div.toplinks {margin: -10px -10px 6px -10px;}
  div.bottomlinks {margin: -10px -10px -10px -10px;}
  div.arrows {margin:-11px -11px 0 0;}
  .narrowtable {max-width:100%}
}
@media screen and (min-width: 731px) and (max-width:950px) {
  .fourcol {-webkit-column-count: 3; -moz-column-count: 3; column-count: 3}
  article {clear:both;}
  }
@media screen and (min-width: 640px) and (max-width:970px) {
#grid[data-columns]::before {content: '2 .column.size-1of2';}
.size-1of3 {width:50%;}
}

@media screen and (min-width: 971px){
#grid[data-columns]::before {content: '3 .column.size-1of3';}
.size-1of3 {width:33.333%;}
}
  
@media screen and (min-width: 0px) and (max-width:1000px) {
  body {max-width:1070px; margin:0;}
  .entirebody {font-size:110%; padding:1px;}
  header { font-size: calc(100% / 1.1); }  /* prevent masthead inheriting 110% */
  .menu  { font-size: 82%; }               /* lock nav font size */
  img {object-fit:contain; object-position:bottom; max-width:100%;}
}  

@media screen and (min-width: 1001px) and (max-width:1290px) {
  body {max-width:1070px; margin:0;}
  .entirebody {padding:1px;}
}  

@media screen and (min-width: 1291px) and (max-width:1600px) {
  body {max-width:1150px; margin:5px;}
}  

@media screen and (min-width: 1601px) and (max-width:1900px) {
  body {max-width:1150px;margin:5px 5px 5px 260px} 
}  

@media screen and (min-width: 1901px) {
  body {max-width:1150px; margin:5px auto 5px auto;}    

}  




@media print {
body {margin:0;font-size:85%;}
#grid[data-columns]::before {content: '2 .column.size-1of2';}
.size-1of3 {width:50%;}
  .menu {display: none ;}
  .noprint {display: none ;}
  .onlyprint {display: inline-block ;}
  .photoafter {max-width:50%}
  .photoimage {max-width:100% !important; width:auto !important; height:auto !important;}
  #map {max-width:none;}
  div.mainblock {padding:10px;} 
  div.towncountryregion {margin-top:-5px; margin-left:0; margin-right:0;}
  div#toplinks {display: none ;}
  div#bottomlinks {display: none ;}
  div#categories {display: none ;}
  div#states {display: none ;}
  div#countries {display: none ;}
  div#categoriesL {display: none ;}
  div#statesL {display: none ;}
  div#countriesL {display: none ;}
  div#wantlist {display: none ;}
  div#logininfo {visibility: hidden ;}
  .adright {display: none;}
  .adleft {display: none;}
  .adgeneral {display: none;}
  div.bsa_fixed-leaderboard {display: none;}
  fieldset#bottomAd {display: none;}
  fieldset#sidead300x600 {display: none ;}
  fieldset#sidead300x250 {position: none;}
  fieldset#sidead160 {display: none ;}
  .fourcol {-webkit-column-count: 3; -moz-column-count: 3; column-count: 3}
/* following two lines are workaround for a Google Maps API bug: "tiles are missing when printing" */
	#map_canvas div > img {		position: absolute;	}
	.gm-style div > img {		position: absolute;	}
}


/* ============================================================
   AD RAILS (styles33) - side ads beside the 1150px body
   Shown only where they fit, centered in the free space, kept
   at least 20px from the body and from the window edge.
   Pure CSS, so it is right for every visitor regardless of the
   browserwidth cookie or any page caching.
   Body right edge by window width (see body rules above):
     1001-1290: 1070   1291-1600: 1155   1601-1900: 1410
     1901+:     centered, so 50% + 575px
   ============================================================ */
.adrail {
    display: none;
    position: fixed;
    top: 0;                    /* full window height, ad centered top-to-bottom (styles36) */
    bottom: 0;
    z-index: 1;
    overflow: hidden;          /* an oversized ad is clipped, never laid over the body */
    justify-content: center;
    align-items: center;
}
.adrail div[id^="bsa-zone"] {min-width:120px; min-height:600px;}

@media screen and (min-width: 1250px) and (max-width: 1290px) {
    .adrail-right {display:flex; left:1090px; right:20px;}
}
@media screen and (min-width: 1340px) and (max-width: 1600px) {
    .adrail-right {display:flex; left:1175px; right:20px;}
}
@media screen and (min-width: 1601px) and (max-width: 1900px) {
    .adrail-left  {display:flex; left:20px; width:220px;}
    .adrail-right {display:flex; left:1430px; right:20px;}
}
@media screen and (min-width: 1901px) {
    .adrail-left  {display:flex; left:20px; right:calc(50% + 595px);}
    .adrail-right {display:flex; left:calc(50% + 595px); right:20px;}
}

/* For in-body ads that should appear only when there is no right rail
   (to replace m.asp's BrowserWidth<1401 cookie test in step 2) */
@media screen and (min-width: 1250px) and (max-width: 1290px), screen and (min-width: 1340px) {
    .ad-when-no-rails {display:none !important;}
}

@media print {
    .adrail {display:none !important;}
}


/* ============================================================
   REFINERY89 SPACE RESERVATION (styles36)
   Only the units HMdb uses, all-lowercase as Refinery89 asked.
   Desktop units serve at 992px and up, mobile units below 992px.
   ============================================================ */
@media (min-width: 992px) {
    .r89-desktop-billboard-btf {min-height:250px; margin-top:20px; margin-bottom:20px;}
    .r89-desktop-incontent     {min-height:250px; margin-top:20px; margin-bottom:20px;}
    .r89-desktop-rectangle-atf {min-height:250px; margin-top:20px; margin-bottom:20px;}
}
@media (max-width: 991px) {
    .r89-mobile-billboard-top         {min-height:250px; margin-top:20px; margin-bottom:20px;}
    .r89-mobile-rectangle-mid         {min-height:250px; margin-top:20px; margin-bottom:20px;}
    .r89-mobile-rectangle-mid-300x600 {min-height:600px; margin-top:20px; margin-bottom:20px;}
    .r89-mobile-rectangle-infinite    {min-height:250px; margin-top:20px; margin-bottom:20px;}
    .r89-mobile-rectangle-low         {min-height:250px; margin-top:20px; margin-bottom:20px;}
}
/* Page-type units: same space reservation as the generic units above */
@media (min-width: 992px) {
    .r89-marker-desktop-incontent, .r89-results-desktop-incontent,
    .r89-nearlist-desktop-incontent, .r89-nearme-desktop-rectangle-atf {min-height:250px; margin-top:20px; margin-bottom:20px;}
}
@media (max-width: 991px) {
    .r89-marker-mobile-rectangle-mid-300x600 {min-height:600px; margin-top:20px; margin-bottom:20px;}
    .r89-marker-mobile-rectangle-infinite, .r89-results-mobile-rectangle-mid, .r89-results-mobile-rectangle-infinite,
    .r89-nearlist-mobile-rectangle-mid, .r89-nearlist-mobile-rectangle-infinite,
    .r89-nearme-mobile-billboard-top {min-height:250px; margin-top:20px; margin-bottom:20px;}
}
/* Side units live in the fixed side rails (.adrail), which already sit 50px from the top */
.adrail .r89-desktop-hpa-atf-left-big,  .adrail .r89-desktop-hpa-atf-right-big,
.adrail .r89-desktop-hpa-atf-left-small, .adrail .r89-desktop-hpa-atf-right-small {min-height:600px; margin:0;}


/* ============================================================
   IN-TEXT AD BOXES ON NARROW SCREENS (styles38)
   Below 681px the ad boxes (.adleft / .adright) take the full
   column width, like the photos, so text never squeezes beside
   them. !important overrides the width:300px the scripts write
   inline on each box. border-box keeps the border inside 100%;
   no side padding, and the ad is centered, so a 300px ad fits
   a 360px phone.
   ============================================================ */
@media screen and (max-width: 680px) {
    .adright, .adleft {
        width: 100% !important;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
}


/* ============================================================
   NO STICKY AD ON PAPER (styles39)
   Refinery89 adds its mobile sticky footer straight onto <body>,
   so these rules hide anything of theirs (or Google's) that sits
   directly under <body>. HMdb's own r89-* slots are nested inside
   fieldsets, so they are not touched. The last rule catches a
   bottom-pinned wrapper whatever its name.
   ============================================================ */
@media print {
    body > [id*="r89" i], body > [class*="r89" i],
    body > [id*="refinery" i], body > [class*="refinery" i],
    body > ins.adsbygoogle, body > div[id^="google_ads"],
    body > [style*="position: fixed"][style*="bottom"],
    body > [style*="position:fixed"][style*="bottom"] {
        display: none !important;
    }
}
