body { max-width: 10in }
h1, h2, h3, h4, h5, h6 { 
  font-family: "Lucida Sans", Verdana, sans-serif; 
  }
h1, h2 { font-size: 120%; }
h3, h4 { font-size: 100%; }
h5, h6 { font-size: 80%; }
h1, h3, h5 { font-weight: bold; font-style: normal; }
h2, h4, h6 { font-weight: normal; font-style: italic;  }
p, th, td, li { font-family: "Lucida", "Lucida Sans", "Lucida Bright", "Lucida Grande", Times, serif }
p, p.p1, p.p2 { margin-top: 3pt; margin-bottom: 3pt }
p.p1, p.p2 { text-align: justify;}
p.p1 { text-indent: 24pt; }
p.copyright { font-size: 80%; }
p.figure {
  margin-top: 6pt;
  margin-bottom: 6pt;
  font-size: 80%; /* for captions */
  text-align: center;
  }

table.schedule td.date, table.schedule td.event 
  { vertical-align: top; }
table.schedule td.date { text-align: right; white-space: nowrap; }
table.schedule td.time { text-align: center; }
table.schedule td.event { text-align: justify; }

/* registration */

body.register div.logo {
  text-align: center;
  }
body.register div.logo img {
  border: none;
  }
body.register tr.head th {
  padding: 0.5em;
  }
body.register td.label {
  text-align: right;
  vertical-align: top;
  padding-right: 0.5em;
  font-style: italic;
  }
body.register p.note {
  font-size: 80%;
  font-style: italic;
  }
body.register p.error {
  color: red;
  }
body.register tr.cart td {
  border-top: 1px solid #808080;
  padding: 0.25em;
  }
body.register tr.cart td.amount {
  border-left: 1px solid #808080;
  border-right: 1px solid #808080;
  text-align: right;
  }
body.register tr.cart td.description {
  border-right: 1px solid #808080
  }
body.register tr.cart.total td {
  border-top: 3px double black;
  border-bottom: 1px solid #808080
  }

table.registration.admin td.buttonOnly {
  width: 100%;
  text-align: center;
  padding: 0.5em;
  }
table.registration.admin.open table.data th { 
  text-align: left; 
  padding-left: 0;
  }
table.registration.admin.open table.data th { 
  background-color: #e0e0e0;
  }
table.registration.admin.open table.data tr:nth-child(even) { 
  background-color: #e0ffe0;
  }

/* NSC 2025 */
.nasc2025 .pidx td {
  vertical-align: top;
  }
.nasc2025 h1, .nasc2025 h2, .nasc2025 h3, .nasc2025 h4, 
.nasc2025 p, .nasc2025 td, .nasc2025 th, .nasc2025 li {
  font-family: Verdana, "Avant Garde", "Technical", "Tekton", "Helvetica",
    "Arial", sans-serif;
  }

table.schedule td.date, table.schedule td.event 
  { vertical-align: top; }
table.schedule td.date { text-align: right; white-space: nowrap; }
table.schedule td.time { text-align: center; }
table.schedule td.event { text-align: justify; }

.nasc2025 h1, .nasc2025 h2, .nasc2025 h3, .nasc2025 h4, 
.nasc2025 table.schedule td.date,
.nasc2025 table.schedule td.event {
  color: #ec1c2d;
  }
.nasc2025 table.schedule td.time { white-space: nowrap; }
.nasc2025 td.navbar td,
.nasc2025 td.navbar p { 
  text-align: center;
  font-family: Verdana, "Avant Garde", "Gill Sans", "Gill Sans Ultra Bold", "Arial", Helvetica, sans-serif;
  font-weight: bold;
  line-height: 12pt;
  font-size: 12pt;
  }
.nasc2025 td.navbar td { 
  background-color: #ec1c2d;
  }
.nasc2025 td.navbar table.links {
  margin-left: auto;
  margin-right: auto;
  }
.nasc2025 td.vrule {
  background-color: #ec1c2d;
  }
.nasc2025 td.navbar table.links { 
  color: white; 
  padding-left: 3pt;
  padding-top: 6pt;
  padding-right: 3pt;
  padding-bottom: 6pt;
  }
.nasc2025 td.navbar table.links td { 
  padding-bottom: 3pt;
  padding-top: 3pt;
  }
.nasc2025 td.navbar a:link,
.nasc2025 td.navbar a:visited
  { text-decoration: none }
.nasc2025 td.navbar a:link:hover,
.nasc2025 td.navbar a:visited:hover
  { text-decoration: underline }
.nasc2025 td.navbar p.date a:link { color: black; }
.nasc2025 td.navbar p.date a:visited { color: #404040; }
.nasc2025 td.navbar p.date a:hover { color: yellow; }
.nasc2025 td.navbar table.links td a:link { color: white; }
.nasc2025 td.navbar table.links td a:visited { color: #c0c0c0; }
.nasc2025 td.navbar table.links td a:link:hover,
.nasc2025 td.navbar table.links td a:visited:hover 
  { color: yellow; }
.nasc2025 td.navbar p.date a:link { 
  color: black; 
  white-space: nowrap;
  }
.nasc2025 td.navbar p.nsalogo { background-color: white; }

.nasc2025 p.photo {
  text-align: center;
  font-style: italic;
  font-size: 80%;
  }
.nasc2025 p.photo img {
  padding-bottom: 3pt;
  }
.nasc2025 p.topten4to10 {
  text-indent: -1em;
  margin-left: 1em;
  }
body.nasc2025 p.menu span.label { font-weight: bold; }
body.nasc2025 p.menu span.selected { font-weight: bold; }
body.nasc2025 table.roster tr.player td { 
  border-top: 1px dotted #ec1c2d;
  padding: 0.25em 0.25em;
  vertical-align: top;
  } 
body.nasc2025 table.roster tr.player td p { 
  text-indent: -1em;
  margin: 0.25em 0em 0.25em 1em;
  } 
body.nasc2025 table.roster tr.player td span.label { 
  font-weight: bold;
  } 
body.nasc2025 table.roster tr.player td.ratingrecord,
body.nasc2025 table.roster tr.player td.homeawardshobbies { 
  font-size: 90%;
  } 

/* NSC 2025: Prize List */

.nasc2025 .prizes tr.prize th, 
.nasc2025 .prizes tr.prize td
  {
  font-size: 80%;
  }

.nasc2025 .prizes tr.prize td {
  text-align: center;
  }

/* NSC 2025: Alphabetic Registration List */
.nasc2025 table.georoster td.rating,
.nasc2025 table.alpharoster td.rating {
  text-align: right;
  }
.nasc2025 table.georoster td.hp,
.nasc2025 table.georoster td.division,
.nasc2025 table.alpharoster td.hp,
.nasc2025 table.alpharoster td.division {
  text-align: center;
  }
.nasc2025 table.roster p.record span.value { white-space: nowrap; }

.naspaid_status span {
  background-color: white;
  border: 1px dotted gray;
  padding: 0px 3px;
  margin-left: 3px;
  }
.naspaid_status .error {
  color: red;
  }
.naspaid_status .info {
  color: green;
  }

textarea[name="log"] { font-family: "Courier", monospace }

/* in case Patty posts oversize photos */

body.poslfit.photo > p > img { width: 100%; }

/* annotated games */
body.pgm img.logo {
  max-width: calc(min(25vw, 25vh));
  }
body.pgm.board img.logo {
  max-width: calc(min(10vw, 10vh));
  }
