html {
  font-family: segoe, sans-serif;
}

form
{
  display: inline;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.5;
  margin: 0rem;
  margin-top: 3.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-style: normal;
  font-weight: normal;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.3125rem;
}

h3 {
  font-size: 1.6875rem;
}

h4 {
  font-size: 1.4375rem;
  font-weight: bold;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

a, a:visited, a:active, a:hover {
  color: #0078a0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: solid #DDDDDD;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 1px 0 0;
  clear: both;
  height: 0;
  margin: 0.45rem 0;  
}

.button {
  cursor: pointer;
  margin: 0 0 1.25rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem 1.0625rem 2rem;
  background-color: #008CBA;
  border: 1px solid #007095;
  color: #FFFFFF;
  transition: background-color 300ms ease-out;
  font-size: 1rem;
  line-height: normal;
}

.button[disabled] {
  background-color: #008CBA;
  border-color: #007095;
  color: #FFFFFF;
  box-shadow: none;
  cursor: default;
  opacity: 0.7;
}

.button:hover, .button:focus, .button:hover, .button:focus {
  background-color: #007095;
}

.button[disabled]:hover, .button[disabled]:focus {
  background-color: #008CBA;
}

.button.radius {
  border-radius: 0.4rem;
}

a.button, a.button:visited, a.button:active, a.button:hover {
  color: #FFFFFF;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}


input[type="text"], input[type="password"], textarea {
  padding: 0.5rem 0.5rem;
  border-radius: 0.2rem;
  background-color: #FFFFFF;
  border-style: solid;
  border-width: 1px;
  border-color: #cccccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.75);
  display: block;
  font-family: inherit;
  font-size: 0.875rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s linear, background 0.15s linear;
}

input[type="text"]:read-only {
  background-color: #ddd;
  border-color: #999;
}

select {
  background-color: #FFFFFF;
  padding: 0.5rem 0.5rem;
  border-style: solid;
  border-width: 1px;
  border-color: #cccccc;
  border-radius: 0.2rem;
  color: #0078a0;
  font-size: 1rem;
}

.faqcat
{
  font-weight: bold;
  margin-top: 2rem;
}

.faqquestion
{
  font-weight: bold;
  margin-top: 1.5rem;
}

.error
{
  color: red;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

div.bottommenu
{
  border-top: 1px solid rgb(168,168,168);
  font-size: 0.7rem;
  color: rgb(168,168,168);
  margin-top: 5rem;
}

div.bottommenu A:link,
div.bottommenu A:visited,
div.bottommenu A:active,
div.bottommenu A:hover
{
  color: rgb(168,168,168);
}

.nhshop_mainerror
{
  color: red;
}

.nhshop_fielderror
{
  color: red;
}

.nhshop_radio_extrainfo
{
  font-size: 0.9em;
  margin-top: -5px;
  margin-left: 1em;
  margin-bottom: 5px;
}

.nhshop_cartdiv
{
  border: 1px solid rgb(0,0,64);
  /*background-color: rgb(239,246,255);*/
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Undo table layout from Foundation: */
.nhshop_cartdiv TD
{
  padding: 0rem;
}

.nhshop_cartdiv table tr:nth-of-type(even)
{
  background: initial;
}

.nhshop_cartdiv table
{
  margin: initial;
  background: auto;
  border: 0px;
}

.nhshop_formtable
{
  border: 0px;
}

.nhshop_formtable tr:nth-of-type(even)
{
  background: initial;
}

.nhshop_formtable td
{
  padding: 0px;
}

.nhshop_formtable td input[type="text"], .nhshop_formtable td input[type="password"]
{
  display: initial;
  width: 20rem;
}

.nhshop_readonlyfield
{
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border: 1px solid rgb(240,240,240);
  color: rgb(100,100,100);
}

div.code
{
  font-family: "Lucida Console", "Courier New", Courier, monospace;
  border: 1px solid rgb(200,200,200);
}

#pagecontent h1.newstitle,
#pagecontent_info h1.newstitle
{
  font-size: 15pt;
  font-weight: bold;
  color: black;
  margin-bottom: 15px;
  margin-top: 1px;
}

.newsprevnext
{
  display:table;
  width:100%;
  border-top: 1px solid rgb(200,200,200);
  margin-top: 20px;
  padding-top: 10px;
}

.newsprev
{
  display:table-cell;
  text-align:left;
}

.newsnext
{
  display:table-cell;
  text-align:right;
}

.newstopbar
{
  display:table;
  width:100%;
  margin-bottom: 15px;
}

.newstopindexlink
{
  display:table-cell;
  text-align:left;
}

.newstopdate
{
  display:table-cell;
  text-align:right;
  font-style: italic;
}

.videotutorialstill
{
  border: 1px solid rgb(128,128,128);
}


h1, h2, h3, h4, h5
{
  margin-top: 6px;
}

.pagehead
{
  color: white; 
  background: linear-gradient(to top, rgb(192, 114, 76) 0%, rgb(149, 85, 37) 54%, rgb(61, 24, 16) 55%, rgb(35, 33, 73) 75%, rgb(27, 23, 50) 100%);
  background-image: image-set(
    url("/images/homepage/headpano.jpg") 1x,
    url("/images/homepage/headpano@2.jpg") 2x
  );
  background-size: 1037px 533px;
  background-repeat: repeat-x;
  margin-bottom: 20px;
  text-shadow: 0px 0px 2px black;
}

.pagehead h1
{
  font-size: 3rem;
  margin-top: 1.5rem;
  color: white;
  text-shadow: 0px 0px 2px black;
}

.pagehead h2
{
  font-size: 2rem;
  margin-top: 0px;
  padding-top: 0px;
  color: white;
  text-shadow: 0px 0px 2px black;
}

.pageheadshadow
{
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: rgba(0,0,0,0.2);
}

.pagehead2
{
  color: white; 
  background-image: image-set(
    url("images/homepage/headpano_btm.jpg") 1x,
    url("images/homepage/headpano_btm@2.jpg") 2x
  );
  background-size: 1037px 224px;
  background-color: rgb(193, 113, 76);
  background-repeat: repeat-x;
  margin-bottom: 20px;
  text-shadow: 0px 0px 2px black;
}

.pagehead2 h1
{
  font-size: 50px;
  margin-top: 0px;
  color: white;
  text-shadow: 0px 0px 2px black;
}

@media only screen and (max-width: 50em) 
{ 
  .pagehead2 h1
  {
    font-size: 30px;
  }
}

.pageheadshadow2
{
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(0,0,0,0.2);
}

A.whitelink:link,
A.whitelink:visited,
A.whitelink:active,
A.whitelink:hover
{
  color: white;
  text-shadow: 0px 0px 2px black;
}

/* lightbox panorama viewer */
.lbpanodiv, .lbpanotable, .lbpanotd, #lbpanoviewer
{
  height: 100%; 
  width: 100%;
}

.lbpanotable
{
  background-color: rgb(20,20,20);
  color: white;

}

.lbpanotd
{
  background-color: rgb(20,20,20);
  padding: 10px;
  text-align: center;
}
.lbpanotable, .lbpanotable h1, .lbpanotable h2, .lbpanotable h3, .lbpanotable h4, .lbpanobottomtd, .lbpanotoptd
{
  color: white;  
  text-align: center;
}

.gallerytable
{
  display: flex;
  flex-direction: row;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

.gallerytable > *
{
  width: 460px;
}

select, input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea
{
  width: auto;
  margin-top: 3px;
  margin-bottom: 3px;
}

a.anchorwithoffset{display: block; position: relative; top: -50px; visibility: hidden;}

input[type="text"].regnamefield
{
  width: 100%;
  font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

.regkeyfield
{
  width: 100%;
  height: 4.5em;
  font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

table.nozebra tr:nth-of-type(even)
{
  background: initial;
}

table.buynowtable
{
  max-width: 800px;
}

.loginbar
{
  display: flex; 
  gap: 0.5em;
  width: 100%;
  background-color: rgb(230,230,230);
  border: 1px solid rgb(100,100,100);
  padding: 0.4em;
  margin-bottom: 0.5em;
}

.grayedout
{
  color: rgb(180,180,180);
}

.licensekeytxt
{
  border: 1px solid rgb(200,200,200);
  background-color: rgb(248,248,248);
  font-family: monospace;
  display: inline-block;
  vertical-align: middle;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.newhouseSelectbarEmul {
  border: 2px solid hsl(222 50% 40%); 
  background-color: hsl(222 50% 95%); 
  border-radius: .3em;
  text-align: center;
}

.ptguiorderdiv {
  display: flex;
  align-items: baseline;
  gap: 2em;
  padding: 1.3em 0.5em 1em 0.5em;
}

.ptguiorderdiv input[type="submit"] {
  white-space: normal;
}

.inlineEditBlock {
  border: 1px solid grey;
  padding: .3em;
}

.orderfaqtitle {
  margin-top: 0.5em;
}

.orderfaqbody {
  margin-left: 1em;
  margin-bottom: 1em;
}

table.nhzebratable {
  border-collapse: collapse;
  border: 1px solid #ccc;
}

table.nhzebratable th, table.nhzebratable td {
  padding: 0.5rem 1rem;
}

table.nhzebratable tr:nth-child(odd) {
  background: #fff;
}

table.nhzebratable tr:nth-child(even) {
  background: #f9f9f9;
}

/* ---------------- */


/* Grid layout system: */

.nhrow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem; /* space between columns */
  max-width: 70rem;  /* about 960px if root font is 16px */
  margin: 0 auto;    /* center horizontally */
  padding: 0.4rem 1rem;     /* breathing room on small screens */
}

.nhcol-1 {
  grid-column: span 1;
  overflow: auto;
}

.nhcol-2 {
  grid-column: span 2;
  overflow: auto;
}

.nhcol-3 {
  grid-column: span 3;
  overflow: auto;
}

.nhcol-4 {
  grid-column: span 4;
  overflow: auto;
}

.nhcol-5 {
  grid-column: span 5;
  overflow: auto;
}

.nhcol-6 {
  grid-column: span 6;
  overflow: auto;
}

.nhcol-7 {
  grid-column: span 7;
  overflow: auto;
}

.nhcol-8 {
  grid-column: span 8;
  overflow: auto;
}

.nhcol-9 {
  grid-column: span 9;
  overflow: auto;
}

.nhcol-10 {
  grid-column: span 10;
  overflow: auto;
}

.nhcol-11 {
  grid-column: span 11;
  overflow: auto;
}

.nhcol-12 {
  grid-column: span 12;
  overflow: auto;
}

/* responsive: collapse to full width on narrow screens */
@media (max-width: 65rem) {
  .nhrow {
    grid-template-columns: 1fr; /* single column */
  }
  .nhrow > div {
    grid-column: span 1 !important; /* force full width */
  }
}


/*  Menu bar:   */

.menubar-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.menubar-outer {
  display: flex; 
  align-items: center;
  background: #000; 
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  height: 3.5rem;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
.menubar-section {
  display: flex;
  padding: 0px;
}
.menubar-spacer {
  flex-grow: 1;
}
.menubar-item {
  display: flex;
  position: relative;
  white-space: nowrap;
  list-style: none;
}
.menubar-item a {
  color: inherit;
  text-decoration: none;
}

.menubar-item-clickable {
  padding: .4rem 0.8rem;
  border-radius: .4rem;
}

.menubar-item-clickable:hover {
  background: #333;
}

.menubar-submenu-left, .menubar-submenu-right, .menubar-submenu-subright, .menubar-submenu-subleft {
  position: absolute;
  display: none;
  gap: 0.4rem;
  flex-direction: column;
  background: #000;
  padding: 1rem 1.5rem;
  border-radius: .5rem;
  z-index: 1001;
  border: 2px solid #444;
}
.menubar-submenu-right {
  top: 100%;
  right: 0rem;
}
.menubar-submenu-left {
  top: 100%;
  left: 0rem;
}
.menubar-submenu-subright {
  top: 100%;
  right: 2rem;
}
.menubar-submenu-subleft {
  left: 2rem;
  bottom: -5rem;
}
.menubar-submenu-item {
  white-space: nowrap;
  list-style: none; 
  margin: 0;
  position: relative;
  
}
.menubar-submenu-item a {
  color: inherit;
  text-decoration: none;
}
.menubar-item-onlyonnarrow {
  display: none;
}

@media only screen and (max-width: 55em) {
  .menubar-item-onlyonnarrow {
    display: flex;
  }
  .menubar-item-onlyonwide {
    display: none;
  }
}