/* Controls Navigation and other elements common in size and appearance across all pages
Large & Double CSS files do not necessarily over-ride all these settings
Where element size multiplication occurs, this has been compensated for 

First selector respects user choice of zero animations*/
/*
Grid Attributes
.dygrd -- grid-template-columns: 23% 76%;
.grid2, .hbox2 - grid-template-columns:  49%;
.grid3 -- grid-template-columns: 35% 65%;
.grid4 - - grid-template-columns: 24% auto 24%;
.grid5 -- grid-template-columns: 67% 32%; 
.grid6 -- grid-template-columns: 45% 54%; */
@media (prefers-reduced-motion: reduce){
*,
*::before
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@property --cols {
  syntax: "<number>";
  inherits: false;
  initial-value: 3;
}
@property --rows {
  syntax: "<number>";
  inherits: false;
  initial-value: 3;
}
@property --fbdt {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 49%;
}
@property --minwd {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 59%;
}
@property --mn15 {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 41%;
}
/* Set initial values for background color and focus ring color variables */
:focus {
  outline-color: transparent;
  outline-style: solid;
  box-shadow: 0 0 0 2px #008, 0 0 0 6px #fff;
}
a:link {
  cursor: pointer;
  padding: 3px 2px;
  position: relative;
  text-decoration: none;
  color: #00d;
}
:is(a,a.mnu2,.plnav a,.prnav a,.aniv a,.mnu1 a,.mnu2 a,.mnu2 li a,.mnu3 a,.mnu3 li a,.thlt a):visited {
  background: transparent;
  color: #603;
}
a:hover, a:focus, a img:hover, a span.cptn:hover {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  cursor: pointer;
  color: #00d;
  transition: background-color 300ms ease;
  text-decoration-color: #19f;
  text-underline-offset: 5px;
}
a::after {
  background: #19f;
  bottom: 0;
  content: "";
  display: block;
  height: 0.19em;
  left: 50%;
  position: absolute;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
a:hover::after {
  content: '';
  width: 100%;
  left: 0;
}
a img {
  border: none;
  pointer-events: auto;
}
a.arr {
  background: #f1f1f1;
  border-right: 1px solid #666;
  border-top: 2px solid #666;
  border-left: 1px solid #ffd;
  border-radius: 0 6px 0 0;
  color: #00d;
  height: auto;
  line-height: 1.52;
  margin: 4px 0 0 0 !important;
  padding: 2px 5px 2px 3px;
  text-decoration: none;
}
:is(.autocol li a,a.arr,a.help):hover,
:is(.autocol li a,a.arr,a.help):focus {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  border-top: 1px solid #f80;
  color: #00d;
  transform: scale(1.1);
  outline-offset: 0.16rem;
}
a.capt {
  background: url(../img/cptn.jpg) repeat-y 0 -1px;
  height: 2.5em;
  line-height: 2;
  margin: 4px 0 2px 6px;
  padding: 1px 0 1px 57px;
}
a.capt:hover, a.capt:focus {
  background: #ffd url(../img/cptn.jpg) repeat-y 0 0;
  color: #00d;
}
a:is(.ccn,.mnu2,.fot,.pti,.sta,.sbmt),
:is(.aniv, .mnu1, .mnu3,.plnav, .prnav) a,
:is(.mnu2, .mnu3, .autocol) li a,
button.sbmt, span.sbmt {
  background-image: linear-gradient(to bottom, #b4e6ca 0%, #eafdf3 30%, #eafdf3 68%, #87bf98 100%);
}
a:is(.ccn,.fot, .pti, .sta) {
  display: inline-block;
  font: 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
  margin: 2px 0;
  padding: 4px 8px;
  text-decoration: none;
}
a.skipper {
  position: absolute;
  inset: .2rem 0 0 5rem;
  background-color: #ff3;
  color: #333;
  height: 2rem;
  font-weight: bold;
  padding: 6px 15px 2px 15px;
  width: fit-content;
  border-radius: 0 0 5px 5px;
  translate: 0 -120%;
  transition: translate 250ms ease-in-out;
}
a.skipper:focus {
  translate: 0;
}
a.sta {
  margin: 2px 0;
  padding: 4px 8px;
}
a.ccn::before, a.fot::before, a.pti::before, a.sta::before {
  content: "Cruise News Vignette : ";
  font-size: 0.9em;
  text-align: left;
  text-decoration: none;
}
a.fot::before{
  content: "Photo Strip : ";
}
a.pti::before {
  content: "Port Information : ";
}
a.sta::before {
  content: "Shore Programme : ";
}
a.ccn, a.fot, a.sta, a.pti {
  border: 1px solid #00b702;
  border-top-width: 1px;
  border-left: 1.3rem ridge #59ff5b;
  border-radius: 7px;
  color: #00d;
}
a.fot {
  border-left: 1.3rem ridge #a588ff;
}
a.sta {
  border-left: 1.3rem ridge #ff8a8a;
}
a.pti {
  border-left: 1.3rem ridge #88e3ff;
}
a:is(.ccn,.fot,.pti,.sta):hover,
a:is(.ccn,.fot,.pti,.sta):focus {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  border-top: 1px solid #f80;
  border-left: 1.3rem ridge #ff1;
  color: #00d;
}
a:is(.ccn,.fot,.pti,.sta,.thlt a):active{
  background-color: #003;
  color: #f1f1f1;
}
a.help {
  cursor: help;
  text-decoration: none;
}
.mnubgd,
.mnubgd.txbox {
  background: linear-gradient(#f8eebd 10%, #f7f8cc 55%, #ffe292 90%);
  padding: 5px 0 0 5px !important;
}
a.mnu2, 
:is(.aniv, .mnu1, .mnu3) a,
:is(.mnu2, .mnu3, .autocol) li a {
  color: #00d;
  display: block;
}
a.mnu2, 
:is(.mnu1, .mnu3) a,
:is(.mnu2, .mnu3, .autocol) li a {
  font: 1em/1.5 Arial,Helvetica,sans-serif;
  margin: .3rem 2px 0 2px;
  padding: 4px 5px 5px 5px;
  text-align: center;
}
.mnu3 a, .mnu3 li a {
  display: inline-block;
  text-align: left;
}
a.mov {
  background: transparent url(../img/movie.gif) no-repeat 0 0;
  line-height: 2;
  padding: 6px 0 7px 35px;
  text-align: left;
}
a.mov:hover, a.mov:focus {
  background: #040 url(../img/movie.gif) no-repeat 0 0;
  color: #ff0;
}
a.navdn,
a.navup,
#sdnavdn a {
  float: left;
  font: 0.9em/1.2 Arial,Helvetica,sans-serif;
}
a.navlt,
a.navdn, #sdnavdn a,
.pcnav2 a.ndn {
  background-image: url(../image/navdn.gif), linear-gradient(to bottom, #b4e6ca 0%, #eafdf3 30%, #eafdf3 68%, #87bf98 100%);
  background-position: 3px 0, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
a.navlt,
a.navdn, #sdnavdn a {
  display: inline-block;
  float: left;
}
a.navdn, #sdnavdn a {
  margin: 10px 0 -10px 20px;
  padding: 6px 7px 5px 24px;
  width: fit-content;
}
a.navlt {
  font: 1em/1.2 Arial,Helvetica,sans-serif;
  padding: 5px 6px 5px 22px;
  margin: 9px 12px 3px 0;
}
a:is(.mnu2,.navdn,.navlt,.navup,.voy), 
:is(.aniv, .mnu1, .mnu3,#sdnavdn,.pcnav2,.plnav,.prnav) a,
:is(.mnu2, .mnu3, .autocol) li a,
a.sbmt, button.sbmt {
  border-bottom: 1px solid #a0c5a2;
  border-right: 2px solid #8b8;
  border-top: 1px solid #8b8;
  border-radius: 7px;
}
:is(.ffc, .ffcb) a.navlt {
  margin: 9px 5px 7px 5px;
  padding: 5px 4px 5px 25px;
}
a.navlt:visited {
  background: #bfead2;
  color: #00d;
}
a.navup {
  margin: 4px 0 0 20px;
  padding: 3px 5px 3px 21px;
  width: auto;
}
p.pcnav2 a.nlt {
  font-size: 0.85em;
  line-height: 1.4;
}
a.tip {
  cursor: auto;
  position: relative;
  margin: 8px 0;
}
a.tip span {
  display: none;
}
a.tip:hover, a.tip:focus {
  background: #FED url(../img/film.jpg) repeat;
  color: #00d;
}
a.tip:hover span, a.tip:focus span {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  border: 2px ridge #3acf3c;
  border-radius: 7px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 30px 90px;
  color: #00d;
  display: block;
  left: -3rem;
  padding: 8px 3px 6px 3px;
  cursor: auto;
  position: absolute;
  top: -2.5rem;
  width: 25rem;
  text-align: center;
  overflow: auto;
  z-index: 3;
}
a.txt {
  background: transparent url(../img/txtbtn.jpg) no-repeat 0 0;
  color: #00d;
  float: right;
  height: 18px;
  margin: 6px;
  overflow: hidden;
  padding: 0 15px 0 35px;
}
a.txt:hover, a.txt:focus {
  background: url(../img/txtbtn.jpg) no-repeat 0 -18px;
  color: #040;
  cursor: help;
}
.vig {
  display: block;
  border-top: .25rem groove #ff9b9b;
  border-bottom: .25rem groove #ff9b9b;
  border-image: url(../image/airmail.jpg) 20 round;
  font: 0.875rem/1.4 Georgia, Palatino, "Palatino LT STD", "Palatino Linotype", "Book Antiqua", serif;
  padding: 5px 5px 3px 5px;
}
.vig p,
.vig {
  background: #eaffea;
  margin: 0 0 5px 0;
}
a.voy {
  background: transparent url(../img/voybg.jpg) no-repeat;
  color: #fff;
  display: block;
  line-height: 2.1;
  margin: 0 0 3px 0;
  padding: 2px 20px 0 100px;
  text-decoration: none;
  width: fit-content;
}
a.voy:hover, a.voy:focus {
  background: transparent url(../img/voybg.jpg) no-repeat;
  color: #040;
}
a.xm {
  position: absolute;
  background: transparent;
  color: #bcf2c9;
  left: -350px;
  top: 0;
  pointer-events: none;
}
:is(a.xtl,span.xtl)::before,
:is(a.xtl,span.xtl):hover::before {
  content: url(../img/extlnk.gif);
  vertical-align: middle;
  padding: 4px 5px 0 0;
  text-align: left;
 }
:is(a.xtr,span.xtr)::after,
:is(a.xtr,span.xtr):hover::after {
  content: url(../img/extlnk.gif);
  vertical-align: middle;
  padding: 4px 0 0 5px;
  text-align: right;
}
.dtd a {
  display: block;
}
aside {
  border-top: 1px solid #ccc;
  border-right: 3px ridge #f80;
  border-bottom: 3px ridge #f80;
  border-left: 1px solid #f80;
  border-radius: 10px;
  color: #008;
  display: block;
  float: left;
  font-size: 90%;
  line-height: 1.5;
  margin: 5px 10px;
  padding: 6px;
  text-align: left;
  width: 37.5%;
}
button:hover, button:focus {
  background: #003;
  color: #ff0;
}
button {
  background:#f0f8ff;
  border-radius: 1em;
  color:  #006601;
  font-size: 0.9em;
  font-weight: bold;
}
caption {
  caption-side: top;
  font-weight: bold;
  font-size: .9em;
  line-height: 1.7;
  padding: 8px 0 8px 10px;
  text-align: left;
  color: #333;
  width: 100%
}
fieldset, section,
figure.bg {
  background-image: linear-gradient(to right, #bcf2c9 0%, #d0ffd1 100%);
  color: #008;
  margin: 0;
  padding: 2px 4px;
}
figcaption,
.cptn,
span.cptn {
  display: block;
  background: #efe;
  border-top: none;
  border-right: 4px ridge #fd7;
  border-bottom: groove 2px #fd7;
  border-left: 1px solid #fd7;
  border-radius: 7px;
  color: #008;
  font: 1em/1.5 "Trebuchet MS", Helvetica, sans-serif;
  width: auto;
  max-width: 80%;
  text-align: left;
  padding: 4px 8px;
}
span.cptn,
span.cptn div.prt {
  display: inline-block;
  max-width: 100%;
}
figcaption:not(div.prt),
div.prt figure figcaption {
  max-width: 85%;
}
form {
  font-size: 0.9em;
  margin: 1px;
  padding: 2px;
}
form input, form textarea {
  background: #daf9da;
  color: #00d;
  font: 1.2em/1.4 Arial,Helvetica,sans-serif;
  padding: 3px 3px 3px 6px;
}
form input#query {
  background: #daf9da url(../image/magnify.gif) 2px 3px no-repeat;
  color: #00d;
  margin: 5px;
  padding: 3px 0 1px 19px;
}
form input#query:focus {
  background: #fff url(../image/magnify.gif) 2px 3px no-repeat;
  color: #00d;
}
form input:focus, form textarea:focus {
  background: #fff;
  color: #00d;
  outline: #f80 ridge 1px;
}
form input:not(placeholder-shown):valid {
	outline-color: #fff;
}
form input:not(placeholder-shown):invalid {
	outline-color: #b00;
}
form input:focus:invalid {
  background-color: #fff6c1;
}
mark {
  background: #ffd;
  color: #800;
  font-style: oblique;
}
:is(.ltprg, .rtprg, .inits) a {
  display: inline-block;
  line-height: 1.4;
  margin-top: 8px;
}
.ffcb a.navup {
  margin: 4px;
}
.ffct,
#pindex {
  background: linear-gradient(to top, #edcf89 10%,#f7f8cc 55%,#f8eebd 90%);
  border: 3px double;
  border-bottom: 7px double #c60;
  border-left: 5px double #f80;
  border-right: 5px double #c60;
  border-top-color: #fb6;
  color: #008;
}
.fobl,
.fobr {
  background: #dfd;
  border: 2px ridge #f80;
  border-radius: .5rem;
  color: #008;
 }
.fobl {
  border-left: none;
}
.fobr {
  border-right: none;
}
:is(#sdnavdn a,.pcnav2 a.ndn,a.navdn,a.navlt):hover,
:is(#sdnavdn a,.pcnav2 a.ndn,a.navdn,a.navlt):focus {
  background-image: url(../image/navdn.gif), linear-gradient( #e30 2%, #ff3 2%, #fff 49%, #ffd 100%);
  background-position: 3px 8px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
:is(a.navlt,a.navdn):active,
.copy {
  background: #00d;
  color: #f1f1f1;
}
.pcnav2 a.nlt {
  background-image: url(../image/navlt.gif), linear-gradient(to bottom, #b4e6ca 0%, #eafdf3 30%, #eafdf3 68%, #87bf98 100%);
  background-position: 5px 2px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
.pcnav2 a.nrt {
  background-image: url(../image/navrt.gif), linear-gradient(to bottom, #b4e6ca 0%, #eafdf3 30%, #eafdf3 68%, #87bf98 100%);
  background-position: 2px 2px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
.pcnav2 a.nlt:visited, .pcnav2 a.nrt:visited {
  background: transparent;
  color: #603;
}
.pcnav2 a.nlt:hover, .pcnav2 a.nlt:focus {
  background-image: url(../image/navlt.gif), linear-gradient( #e30 2%, #ff3 2%, #fff 49%, #ffd 100%);
  background-position: 1px 2px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
.pcnav2 a.nrt:hover, .pcnav2 a.nrt:focus {
  background-image: url(../image/navrt.gif), linear-gradient( #e30 2%, #ff3 2%, #fff 49%, #ffd 100%);
  background-position: 6px 2px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
a.navup,
.pcnav2 a.nup {
  background-image: url(../image/navup.gif), linear-gradient(to bottom, #b4e6ca 0%, #eafdf3 30%, #eafdf3 68%, #87bf98 100%);
  background-position: 2px 6px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
:is(a.navup,.pcnav2 a.nup):hover,
:is(a.navup,.pcnav2 a.nup):focus {
  background-image: url(../image/navup.gif), linear-gradient( #e30 4%, #ff3 2%, #fff 49%, #ffd 100%);
  background-position: 2px 0px, left top;
  background-repeat: no-repeat, repeat;
  color: #00d;
}
a:is(.ndn, .nlt, .nrt, .nup) {
  display: block;
  margin: 0;
  padding: 3px 3px 2px 22px;
}
.plnav a, .prnav a, a.sbmt, button.sbmt {
  border-radius: 7px;
  color: #00d;
  font: 1em Arial,Helvetica,sans-serif;
  height: auto;
  line-height: 2.2rem;
  text-align: left;
  margin: 0 0 5px 0;
  padding: 5px 6px;
}
.npl {
  background: transparent;
  border: none;
  border-radius: 0 0 7px 7px;
  margin: 2px 5px 2px 0px;
  padding: 0;
  width: fit-content;
 }
.npl a {
  margin: 0;
  padding: 5px 8px 5px 0;
}
.npl a img {
  margin: 0 8px 0 0!important;
  padding: 0 0 3px 0 !important;
  vertical-align: middle;
  width: auto;
}
.npl a:not(:has(img)) {
  margin: 0;
  padding: 7px 8px 5px 8px;
}
a.sbmt {
  display: inline;
  font: 0.9em/1.1 Arial,Helvetica,sans-serif;
  text-align: center;
  text-decoration: none;
  width: auto;
  margin: 5px 0;
  padding: 5px 12px;
}
span.sbmt {
  border-top: 1px solid #8b8;
  border-right: 2px solid #8b8;
  border-radius: 7px;
  color: #00d;
  font: 1em/1.2 Arial,Helvetica,sans-serif;
  height: auto;
  text-align: left;
  margin: 0;
  padding: 2px 7px;
}
:is(.aniv a,.mnu1 a,.plnav a,.prnav a,.mnu2 a,.mnu3 a,.mnu3 li a,a.mnu2):hover,
:is(.aniv a,.mnu1 a,.plnav a,.prnav a,.mnu2 a,.mnu3 a,.mnu3 li a,a.mnu2):focus {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  color: #00d;
}
dt.bord,
dd.bord {
  border-top: 2px inset #b4e6ca;
  border-bottom: 2px ridge #b4e6ca;
}
a:is(.navdn,.mnu2,.mnu2,.navlt,.navlt,.navup,.ndn,.nlt,.nlt,.nrt,.nup,.voy):hover,
a:is(.navdn,.mnu2,.mnu2,.navlt,.navlt,.navup,.ndn,.nlt,.nlt,.nrt,.nup,.voy):focus,
:is(#sdnavdn a,.mnu2 li a,.mnu3 li a,.plnav a,.prnav a):hover,
:is(#sdnavdn a,.mnu2 li a,.mnu3 li a,.plnav a,.prnav a):focus {
  border-top: 1px solid #f80;
  border-bottom: 1px solid #d3d3d3;
  border-right: 2px outset #f80;
  color: #00d;
}
a.sbmt:hover:not(.mcp:hover),
a.sbmt:focus,
button.sbmt:hover,
button.sbmt:focus {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  border-right: 2px outset #003;
  border-left-color: #ffa702;
  border-bottom-color: #003;
  border-top-color: #f80;
  color: #00d;
}
a.mnu2:active,
:is(.plnav,.prnav,.mnu1,.mnu2,.mnu3,.mnu3 li)a:active {
  background-image: linear-gradient(to bottom, #007 0%, #01f 30%, #01f 68%, #007 100%);
  color: #f1f1f1;
}
a.sbmt:active,
button.sbmt:active {
  background-image: linear-gradient(to bottom, #007 0%, #01f 30%, #01f 68%, #007 100%);
  border: 2px inset #4681b5;
  color: #f1f1f1;
}
.ltftr a {
  border-radius: 7px;
}
.prg {
  background: #ffd;
  border-top: 1px solid #e36f10;
  border-left: 1px solid #e36f10;
  border-right: 4px ridge #b3580c;
  border-bottom: 1px solid #e36f10;
  color: #008;
  padding: 4px;
}
.prg:has(+ .navdn) {
 border-bottom-right-radius: 0px;
 border-bottom-left-radius: 0px;
 border-bottom: none;
 margin-bottom: -5px;
 padding-bottom: 0;
}
.navdn + .prg{
 border-top-right-radius: 0px;
 border-top-left-radius: 0px;
 border-top: none;
 padding-top: 0;
 margin-top: -5px;
}
.prg.mlz {
 margin-left: 0;
}
 .prg dt {
  flex-basis: clamp(10ch, 11ch, 12ch);
  font-style: oblique;
  font-weight: bold;
  line-height: 1.8;
  padding: 5px 10px 5px 0;
  text-align: right;
}
.prg dd {
  flex-basis:75%;
  line-height: 1.8;
  margin: 0;
  padding: 5px 0;
}
.prg dt::after {
  content: ' :';
}
.prt a:focus {
  outline: 1px solid #080;
  outline-offset: 2px;
}
h6.day,
h6.pge,
.today > .day > h6,
.thlt {
  border-top: 1px solid #b60;
  border-bottom: 1px solid #efe;
  border-left: 1px solid #b60;
  border-radius: 9px 0 0 0;
  color: #008;
  display: inline-block;
  overflow: hidden;
  text-align: center;
}
h6.day,
h6.pge,
.today > .day > h6,
.thlt {
  font: normal 1em/1.51 Verdana, Arial, Helvetica, sans-serif;
  margin: 2px 0 0 0;
  margin-right: auto;
  padding: 0;
}
h6.day,
.today > .day > h6 {
 margin: 0;
 width: 17ch;
}
:is(.today > .day > h6,h6.day,.dprg,.thlt,.mnu1) a,
.hbox2 > * > a {
  display: block;
  height: auto;
  text-align: center;
}
:is(h6.day,.today > .day > h6,.thlt) a {
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  margin-inline: auto;
  padding: 0;
}
:is(h6.day,.today > .day > h6,.thlt) a:hover,
:is(h6.day,.today > .day > h6,.thlt) a:focus {
  background-image: linear-gradient( #e30 2%, #ff3 5%, #fff 49%, #ffd 100%);
  border-left: 1px solid #f80;
  border-radius: 9px 0 0 0;
  text-decoration: none;
  color: #003;
  width: 100%;
}
:is(h6.day,.today > .day > h6,.thlt) a:not(:nth-child(1)):hover {
  border-top: 1px solid #f80;
}
#sdnavdn a {
  font: 0.9em/1.1 Arial,Helvetica,sans-serif;
  margin: 0;
  position: fixed;
  bottom: 57px;
  left: 5px;
  z-index: 1;
}
 #sdnavup a {
  font: 0.85em/1.1 Arial,Helvetica,sans-serif;
  margin: 0;
  position: fixed;
  top: 20px;
  left: 5px;
  z-index: 2;
}
#srchbx button#search {
  font: normal 1em/1.3 Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 3px 4px 2px 4px;
}
#topright {
  position: fixed;
  top: 2rem;
  right: 0.2rem;
  z-index: 0;
}
/* Below are the common to all pages controls */
/* HTML5 tags */
header,
main,
footer,
nav {
  display: block;
  margin: 0;
  padding: 3px;
}
header {
  background-image: linear-gradient( #d9f8e1 0%,#89b889 100%);
  border-radius: 1.3em 1.3em 0 0;
}
#nava,
article:not(:first-of-type),
section:not(:first-of-type) {
  border-top: 1px solid #c4dbc4;
  padding: 5px;
}
section:nth-of-type(even),
:is(article,dl.dtd dt):nth-of-type(odd) {
  background: #bcf2c9;
  color: #008;
}
aside,
dl.advt dt:nth-of-type(odd),
.mnu dd,
#nava,
:is(article,dl.dtd dd):nth-of-type(even) {
 background-image: linear-gradient(to right, #efe 0%, #bcf2c9 100%);
 color: #008;
}
.player-container {
 background: #a8feff;
 text-align: center;
 height: auto;
 margin: 5px 0;
}
.mnu dt,
:is(h6.day,.today > .day > h6,h6.pge,.pti,.thlt),
:is(section,dl.dtd dd):nth-of-type(odd),
:is(.cnws p,dl.advt dd,dl.dtd dt):nth-of-type(even) {
 background-image: linear-gradient(to left, #efe 0%, #bcf2c9 100%);
 color: #008;
}
article, section:not(#pindex) {
  border-bottom: 1px solid  #fd7;
  border-radius: 10px;
  margin: 0;
  overflow: hidden;
  padding: 5px;
}
dl {
  display: flex;
  flex-flow: row wrap;
}
dt {
  padding: 2px 4px;
  text-align: right;
}
dd {
  flex-basis: 75%;
  flex-grow: 1;
  padding: 2px 4px;
}
dl.advt {
 display: flex;
 flex-flow: row wrap;
 border-right: 3px solid #8b8;
}
dl.advt dt {
 flex-basis: 49%;
 flex-grow: 1;
 font-weight: bold;
 text-align: center;
 border-top: 2px solid #efe;
 border-bottom: 1px solid #080;
 color: #008;
 padding: 5px 2px;
}
dl.advt dd {
 flex-basis: 49%;
 margin: 0;
 line-height: 1.5;
 border-top: 2px solid #efe;
 border-bottom: 1px solid #080;
 padding: 5px 2px;
}
dl.aniv {
  background: transparent url(../image/bbordbot.gif) no-repeat bottom left;
  background-size: contain; 
  color: #040;
  margin: 0 4px;
  overflow: hidden;
  width: 99%;
}
dl.aniv dt {
  background: transparent url(../image/bbordtop.gif) no-repeat top left;
  background-size: cover;
  color: #040;
  font-weight: bold;
  margin: 0;
  text-align: center;
  width: 100%;
}
dl.aniv dd {
  border-top: 1px solid  #8b8;
  border-bottom: 1px solid #ffd;;
  border-left: 0.16em solid #f80;
  border-right: 0.16em solid #f80;
  color: #008;
  text-align: center;
  padding: 0.22em 0.13em;
}
dl.dtd {
  flex-flow: row wrap;
  align-items: center;
}
dl.dtd dt,
dl.dtd dd,
tr {
  border-top: 1px solid #ffd;
  border-bottom: 1px solid #a0c5a2;
}
dl.dtd dt {
  flex-basis: 63%;
  margin: 0;
  padding: 3px 0;
  text-align: right;
}
dl.dtd dd {
  flex-basis: 36%;
  background: #bcf2c9;
  border-right: 2px solid #8b8;
  border-radius: 0 8px 8px 0;
  margin: 0;
  padding: 0;
  text-align: left;
}
 dl.inln {
  border: 3px ridge transparent;
  border-top: 1px solid #8b8;
  border-right-color: #fd7;
  border-bottom-color: #fd7;
  border-radius: 0 0 8px 0;
  display: flex;
  flex-flow: row wrap;
  line-height: 1.8;
  overflow: hidden;
  margin: 0 0 0.5em 0;
}
dl.inln dt {
  font-weight: bold;
  flex-basis: 44%;
  padding: 2px 3px 2px 0;
  margin: 0;
  text-align: right;
}
dl.inln dd {
  margin: 0;
  padding: 2px 0 4px 2px;
  flex-basis: 55%;
  overflow: auto;
}
dl.inln.dd35 dt {
 flex-basis: 60%;
}
dl.inln.dd35 dd {
  flex-basis: 35%;
}
:is(dl.inln dt,dl.slis dt):nth-of-type(odd),
dl.tbld:not(dl.crw) dt:nth-of-type(odd) {
  background-image: linear-gradient(to left, #dfd 0%, #bcf2c9 100%);
  color: #008;
  padding: 4px;
}
:is(dl.inln dd,dl.slis dd):nth-of-type(odd),
dl.tbld:not(dl.crw) dd:nth-of-type(odd) {
  background-image: linear-gradient(to right, #dfd 0%, #bcf2c9 100%);
  color: #008;
  padding: 4px;
}
dl.inln dt:not(:first-of-type), 
dl.inln dd:not(:first-of-type),
dl.tbld dt:not(:first-of-type), 
dl.tbld dd:not(:first-of-type) {
  border-top: 1px solid #efe;
}
dl.tbld.crw dt,
dl.tbld.crw dd {
  border-top: none;
}
dl.inln br {
  display: block;
  content: "";
  margin-top: 0;
  padding: 0;
}
:is(dl.dtd dt,dl.inln dt,dl.slis dt,dl.stats dt,dl.tbld dt)::after {
  content: " :";
  clear: both;
  overflow: hidden;
}
dl.mnu2,
dl.pax {
  align-content: flex-start;
}
dl.mnu2 dt {
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.5;
}
dl.mnu2 dt::after {
  content: "\2026";
}
dl.plis {
  flex-flow: row wrap;
  border: solid #8b8;
  border-width: 2px 1px 1px 0;
  border-top: 2px solid #c8ffc8;
}
dl.plis dt {
  background: transparent;
  border-top: 1px solid #efe;
  text-align: left;
  color: #009;
}
dl.plis dd {
  border-top: 1px solid #efe;
  flex-grow: 1;
  font-style: oblique;
}
:is(dl.plis dt,dl.plis dd):first-of-type {
  border-top: none;
}
:is(dl.plis,dl.pax ul):hover,
:is(dl.plis,dl.pax ul):focus {
  background: radial-gradient( farthest-corner at 25% 35%, #ffd 0%, #ffe 25%, #fff 45%, #ffd 100%);
  color: #008;
}
dl.slis dd {
  display: flex;
  flex-basis: 62%;
  flex-flow: column wrap;
  margin-right: 8px;
  padding: 4px 2px 5px 2px;
  text-align: inherit;
}
dl.slis dt {
  flex-basis: 36%;
  font-weight: bold;
  margin: 0;
  padding: 4px;
  text-align: right;
}
dl.tbld {
  border-left: medium solid #8b8;
  border-right: 3px ridge #ffd;
  border-radius: 0 0 0.9rem 0.9rem;
  border-bottom: 3px ridge #ffd;
  width: 100%;
}
dl.tbld dd {
  display: flex;
  flex-basis: 44%; 
  flex-flow: row wrap;
  margin: 0 1px;
  padding: 0.16em 0.16em 0.27em 0.16em;
  overflow: auto;
}
dl.tbld dt {
  padding: 0.16em 0.16em 0.27em 0.16em;
  min-width: 55%;
  text-align: right;
}
dl.tbld.mn11 dt {
  padding: 0.16em 0.16em 0.27em 0.16em;
  min-width: 10em;
  text-align: right;
}
dl.tbld.mn11 dd {
  flex-basis: 70%;
  padding: 0.16em 0.16em 0.27em 0.16em;
}
dl.tbld.mn11 dt:after {
 content: "";
}
dl.tbld.mn15 dt {
  min-width: 41%;
}
dl.tbld.mn15 dd {
  display: flex;
  flex-basis: 56%;
  padding: 0.16em 0.16em 0.27em 0.16em;
}
figure.ltimg {
  float: left;
  margin-right: 4px;
  text-align: left;
}
figure.rtimg {
  float: right;
  margin-left: 4px;
  text-align: right;
}
figure.logfm {
  font-size: 1em;
}
.logfm > h6 {
  padding: 4px 0;
}
table {
  border: 0;
  border-collapse: collapse;
  margin: 4px 0;
  overflow: scroll;
  padding: 4px 0;
}
table:not(#bell):not(#crossword) tbody tr:nth-child(even) {
  background: #b1e5c5;
  color: #008;
}
table:not(#bell):not(#crossword) tbody tr:nth-child(odd) {
  background: #cfc;
  color: #008;
}
th,td {
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}
th.th {
 width: calc(100vw/6);
}
tr:not(#xwdframe):hover td, tr:not(#xwdframe):hover th, tr:not(#xwdframe):focus td, tr:not(#xwdframe):focus th {
  color: #008;
}
table.clis {
  width: 100%;
}
.bxlnk {
  display: inline-block;
  background: repeat url(../img2/bxtxt.jpg);
  border: medium double #b60;
  float: left;
  font-weight: bold;
  text-align: center;
}
.clis th,
.clis td {
  text-align: left;
}
ol {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
  margin: 0 5px 0 15px;
  padding: 0 0 4px 0;
}
ol.lcl {
  list-style-type: lower-alpha;
}
ol li {
  margin-left: 5px;
  padding: 2px 0 2px 15px;
  text-align: left;
}
ol.mnu2,
ul:is(.mnu2, .mnu3, .glay, .rows, .autocol, .trsp, .pcnav2) {
  list-style: none none;
  letter-spacing: normal;
  margin: 0 0 5px 0;
  padding: 2px 1px;
}
ol li::marker {
 font-size: 1.2em; color: #800;
}
.glay {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  grid-auto-flow: column;
  margin: 0 5px;
  padding: 3px 0 0 0;
}
ul.autocol {
  list-style: none none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-auto-flow: column;
  grid-gap: 2px;
  margin-inline: auto;
}
ul.autocol li {
  border-right: 1px dashed #B56400;
}
ul.trsp {
  border-radius: 7px 7px 0 0;
  display: block;
  list-style-type: none;
  margin: 0;
}
ul.trsp li {
  background-image: linear-gradient(to left, #f0ffff 0%, #bcf2c9 100%);
  display: block;
  height: auto;
  margin: 0 0 3px 3px;
  padding: 2px 0;
  width: fit-content;
}
ul.trsp li a.tcp, a.tcp {
  background: transparent url(../img/txtbul.jpg) no-repeat 8px;
  display: inline-block;
  border-top: 1px solid #bb8;
  border-right: 1px solid #8b8;
  border-bottom: 1px solid #eaffea;
  border-left: 1px solid #8b8;
  border-radius: 7px 7px 0 0;
  padding: 4px 6px 1px 30px;
}
ul.trsp li:nth-of-type(odd) {
  background-image: linear-gradient(to right, #ffd 0%, #cfc 100%);
  color: #008;
}
.trsp li a.tcp:hover, a.tcp:hover, .trsp li a.tcp:focus, a.tcp:focus {
  background: #ffd url(../img/txtbul.jpg) no-repeat 8px;
  border-top-color: #f80;
  border-right-color: #f80;
  color: #008;
  cursor: help;
  padding: 4px 6px 1px 30px;
}
a.tcp:active {
  background: #483d8b;
  color: #ffc;
}
.crw {
  background: transparent url(../image/compbgd.jpg) left no-repeat;
  color: #77003c;
  height: auto;
  background-size: cover;
}
.mcp:hover {
  cursor: text;
}
.help em {
  background: #ff0;
  border: 1px solid #f80;
  border-radius: 7px;
  padding: 0 7px;
}
.fixed {
  position: relative;
}
.line {
  border-top: 2px groove #eaffea;
  margin-bottom: 8px;
  text-align: center;
}
.line49 {
  border-top: 2px groove #eaffea;
  display: block;
  margin-inline: auto;
  text-align: center;
  max-width: 49%;
  padding: 3px 0;
}
:is(.cnpic,.ltprg,.rtprg,.dprg)>.sml::before {
  content: "[ ";
}
:is(.cnpic,.ltprg,.rtprg,.dprg)>.sml::after {
  content: " ]";
}
.dprg {
  text-align: center;
}
.prg p.film {
  margin-left: 4.5em;
  min-width: 12em;
}
.prg p.clk {
  margin-left: 7em;
}
.lthalf {
  border: 0 none;
  display: block;
  float: left;
  margin: 0 3px 0 0;
  overflow: visible;
  padding: 0 4px 6px 0;
  text-align: left;
  width: calc(98%/2);
}
.ltw75 {
  border: 0 none;
  display: block;
  float: left;
  margin: 0 3px 1px 0;
  padding: 0 4px 2px 0;
  text-align: left;
  width: 75%;
}
.new {
  display: inline-block;
  float: left;
  height: 1.8em;
  width: 40px;
}
.note,
p.note {
  background-image: linear-gradient(to right, #bcf2c9 0%, #efe 100%)!important;
  border-bottom: 1px solid #666;
  border-right: 1px solid #666;
  border-radius: 0 0 0.6rem 0;
  display: block;
  box-shadow: 4px 5px 2px 0 rgba(151, 171, 126, 1);
  color: #008;
  font: 1.1em/1.4 "Trebuchet MS", Arial, Helvetica, sans-serif !important;
  margin-bottom: .8rem!important;
  overflow: hidden;
  padding: 5px;
}
.ovvs {
  overflow: auto;
}
.redtxt {
  background: transparent;
  color: #f30;
}
.rtw75 {
  border: 0 none;
  display: block;
  float: right;
  margin: 0 0 1px 3px;
  padding: 0 0 2px 4px;
  width: 75%;
}
.shrbgd {
  background-image: url(../img/shoreprg.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: lighten;
  top: 0;
  left: 0;
  }
.btrr15 {
 border-radius: 0 1.5em 0 0;
}
.btlr15 {
 display: grid;
 border-radius: 1.5em 0 0 0;
 justify-content: stretch;
 margin-bottom: 1rem !important;
}
.easel {
  background: #eaffea;
  border-bottom: 2px solid #b60;
  border-left: 1px solid #fd7;
  border-right: 2px solid #b60;
  border-top: 1px solid #ccc;
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat( var(--cols), 1fr);
  gap: 5px 8px;
  justify-content: space-evenly;
  align-items: end;
  margin: 0 3px 10px 2px;
  padding: 0.5em;
  width: auto;
}
.easel p a {
  display: block;
}
.easel > * {
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
  font: 0.9em/1.4 Arial,Helvetica,sans-serif;
  margin: 0 0 5px 0;
  padding: 3px 5px 3px 3px;
  text-align: center;
}
.easel > p.wide {
  grid-column: 2/4;
}
.easel:has(:nth-child(2):is(p:last-child)),
.easel:has(:nth-child(3):is(p:last-child)),
.easel:has(:nth-child(6):is(p:last-child)),
.easel:has(:nth-child(9):is(p:last-child)) {
  --cols: 3;
  padding: 6px;
}
.easel:has(:nth-child(4n):is(p:last-child)) {
  --cols: 4;
}
.easel:has(:nth-child(5n):is(p:last-child)) {
  --cols: 5;
}
.spacer {
  background: #080;
  display: block;
  text-align: center;
}
.dygrd,
.today {
  display: grid;
  grid-template-columns: 17ch 1fr;
  grid-template-areas: "day mem";
  gap: 0 .4rem;
  align-items: start;
  margin: 0;
  padding: 0;
}
.day.logfm {
  display: grid;
  grid-area: day;
  justify-items: center;
  text-align: center;
  width: 100%;
}
.today > .day {
  display: grid;
  grid-area: day;
  padding-top: 2px;
}
.mem {
  grid-area: mem;
}
.grid2,
.hbox2,
.hbox3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "ltbox rtbox";
  align-items: center;
  padding: 0 2px 0 5px;
}
.hbox2,
.hbox3 {
  gap: 0 1px;
  align-items: stretch;
  justify-items: stretch;
}
.hbox3 {
  grid-template-columns: repeat(3, 1fr);
}
.hbox3x3 {
  display: grid;
  grid-template-columns: 35% 1fr auto;
  grid-template-rows: 48% 1fr auto;
}
.boxh2 {
  display: grid;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
.boxv3 {
  display: grid;
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 1;
  grid-row-end: 3;
}
.box2x2 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  
}
.gtc131 {
  grid-template-columns: 16ch 1fr 16ch;
  align-items: center;
}
.manifest {
  display: grid;
  grid-template-columns: 6.8rem 1fr;
  grid-template-areas: "pge pghd";
  gap: 0 .4rem;
  align-items: start;
  margin: 0;
  padding: 0;
}
div.kwopln {
  box-shadow: -.4367em 0 .625em 0 rgba(57, 128, 114, 0.54);
  border-left: 1px solid #666;
  margin: 0;
  padding: 5px 0 0 5px;
}
div.kwoshw {
  border: inherit;
  border-bottom: 1px ridge rgba(251, 171, 126, 0.4);
  box-shadow: -.4367em .4375em .625em 0 rgba(57, 128, 114, 0.54);
  margin-top: 0;
  margin-right: 0;
  margin-bottom: .8em!important;
  margin-left: 0;
  padding: 5px 0 .4em 5px;
}
.kwopln p:last-child {
  margin: 0;
  padding: 2px 5px 7px 5px !important;
}
*.kwoshw + *.hdtab {
  margin-top: .81em!important;
}
.kwoshw p.rtimg {
  text-align: right;
}
ul.kwo {
  list-style: none inside url(../img/libtn.gif);
}
.kwopln .stats dt,
.kwoshw .stats dt {
  margin-left: .9em;
}
.film a {
  background: #ffd url(../img/film.jpg) repeat;
  border-left: 1rem groove #b00;
  border-right: 1rem ridge #b00;
  border-top: 2px dotted #b00;
  color: #d00;
  font: bold .8rem/1.8 Arial, sans-serif;
  letter-spacing: 0.05em;
  margin: 5px 5px 1px 0;
  padding: 2px 15px;
  text-align: center;
  width: fit-content;
}
:is(.framed > p.kwo,div.kwopln > p.kwo,div.kwoshw > p.kwo,.hdtab + p.kwo,.kwo em  span.sml)::before {
  background: transparent;
  color: #fd7;
  quotes: '\201C' '\201C';
  content: open-quote;
  display: inline;
  font: 4em/0.1 "Arial Black", Helvetica, sans-serif;
  padding: 0.3em 8px 0 8px;
  position: absolute;
  margin-left: 0;
  text-shadow: 1px 2px #800;
}
:is(.framed > p.kwo,div.kwopln > p.kwo,div.kwoshw > p.kwo):first-of-type::first-letter,
.hdtab + p.kwo::first-letter{
  font-size: 1.8rem;
  font-style: oblique;
  font-weight: bolder;
  letter-spacing: .04rem;
  color: #800;
  line-height: 1.2;
  margin-left: 3rem;
}
:is(.kwo em  span.sml,.kwo span.em)::before {
  margin-left: 0;
  padding: 0.24em 0;
 }
:is(.kwo em span,.kwo span.em).sml {
  margin-left: 2.3em;
}
.ini {
  border: 1px solid #008;
  background: #fd6;
  padding: 1px 3px;
}
span.inits {
  background: #fd6;
  border: 1px solid #800;
  line-height: 1.8;
  margin: 0.27em 0 0 3.3em;
  padding: 0.16em 0.27em 0.24em 0.27em;
}
 p.kwo::after {
    content: no-close-quote;
    quotes: revert;
}
.dnscroll {
  margin: 0;
  width: 0; 
  height: 0;
  left: 0;
  top: 0;
  border-left: 7.5ch groove transparent;
  border-right: 8ch solid transparent;
  border-top: 1rem solid #8b8;
}
.tik, .tik75 {
  border-top: solid 9px #040;
  border-bottom: 7px groove #bcf2c9;
  margin: 5px;
}
.tik75 {
 width: 75%;
}
.vig span.em {
  background: #fff;
  color: #800;
  font-weight: normal;
}
#appeal {
  display: none;
}
#dcline {
  background: url(../image/decoline.jpg) repeat-x;
  height: 22px;
}
#dull > article:nth-of-type(odd) {
  background: #EBEBEB;
  color: #008;
}
#dull > article:nth-of-type(even) {
  background: #D8D8D8;
  color: #008;
}
#foot {
  background-image: linear-gradient( #f3fcf3 0%, #bcf2c9 100%);
  border-top: ridge 8px #9cbc63;
  border-radius: 7px;
  line-height: 1.9;
  margin: 0px;
}
#frame {
  width: 100%;
  height: 450px;
}
.kwo:hover {cursor: auto}
.cnws:hover {cursor: auto}
/* Header 5 Flex Grid for 1951 Gt World Cruise heading */
#hedr, #hedrc, #hdr8.c1 {
  position: relative;
  background: transparent;
  color: #008;
  border-top:  5px double #d8a427;
  border-right: 5px double #a87f1e;
  border-bottom: none;
  border-left: 5px double #e4c068;
  bordert-radius: 1.5em 1.5em 0 0;
}
#hdr2 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}
#hdr4 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  align-items: center;
  grid-template-areas: "topbox" "btmbox";
  gap: 0;
  border-right: double 5px #b60;
}
#hdr5 {
  display: grid;
  grid-template-columns: 17% auto 21%;
  grid-template-rows: auto;
  grid-template-areas: "ltbox ctrbox rtbox";
  align-items: center;
  justify-content: center;
  padding: 1rem 0 0.5rem 0;
}
.topbox {
 grid-area: topbox;
}
.btmbox {
 grid-area: btmbox;
}
.ltbox {
 grid-area: ltbox;
 justify-self: center;
}
.ctrbox {
 grid-area: ctrbox;
}
.rtbox {
 grid-area: rtbox;
}
.grid4,
#hdr6 {
  display: grid;
  grid-template-columns: 27% auto 27%;
  grid-template-rows: auto;
  gap: 0;
  grid-template-areas: "ltbox ctrbox rtbox";
  align-items: start;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.ctrbox {
  align-self: center;
}
.grid4 > .ltbox,
.grid4 > .rtbox {
 padding: 0;
}
.grid4 > .ctrbox {
  padding: 5px;
}
.grid3,
#hdr6.c1 {
  display: grid;
  grid-template-columns: 35% 65%;
  grid-template-rows: auto;
  grid-template-areas: "ltbox rtbox";
  gap: .4rem;
  justify-content: center;
  align-items: center;
}
.grid3 > .ltbox {
 padding: 4px;
}
.aistart {
 align-items: start;
}
#hdr6.c1 {
  border-right: double 5px #ffad13;
  padding: 0 1px;
}
#hdr6.c1 > .rtbox {
 border-radius: 0 1.5em 0 0;
}
#hdr7 {
  display: flex;
  grid-template-columns: 47% 52%;
  grid-template-rows: auto;
  grid-template-areas: "ltbox rtbox";
  justify-content: space-between;
  align-items: center;
  border-right: double 5px #b60;
  border-left: double 5px #ffb833;
  border-radius: 1.5em 1.5em 0 0;
}
#hdr9 {
  border-right: double 5px #b60;
  border-left: double 5px #ffb833;
  text-align: center;
}
:is(.ltbox,.ctrbox,.rtbox) > * {
 margin: inherit;
 padding: inherit;
}
/* #hdr8.c1 for AMS 1961 World Cruise  */
.grid5,
.grid6,
#hdr8.c1 {
  display: grid;
  grid-template-columns: 67% 32%;
  grid-template-areas: "ltbox rtbox";
  justify-content: center;
  align-items: center;
}
.grid6 {
  grid-template-columns: 45% 54%;
}
#hdr8.c1 h1 {
  padding: .5rem 0;
}
#hedrc {
  background: url(../img/theend.jpg) no-repeat top right;
  height: 271px;
  margin: 0;
  padding: 0;
  z-index: 3;
}
#hp {
  display: grid;
  grid-template-columns: 71% 1fr;
  gap: 2em;
  padding: 0 1em 1em 0.16em;
}
#hp > ul {
  padding-left: 0.2em;
}
#hp a > img {
  max-width: 70%;
  padding: 5px;
}
#nava {
  display: grid;
  grid-template-columns: 54% 1fr;
  align-items: center;
  gap: 0 3px;
}
#stahd {
  background: linear-gradient(to right, #d9f8e1 0%, #65a365 100%);
  border-radius: 12px;
}
#stahd :is( h1, h2, h3, h4) {
  text-align: center;
}
/* Below are the image modal controls */
@media (min-width:992px){
    .modal-lg,.modal-xl{
  max-width:97vw;
}
}
#modalContent {
  overflow-y: auto;
  pointer-events: none;
}
.modal {
  background-color: rgba(86,125,118,0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100svh;
  z-index: 98;
  margin-inline: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
}
.modal-body {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: calc(100svh - 8rem);
  padding: 10px 5px;
  overflow: auto;
}
.modal-content {
  background-image: url(../image/hband7.jpg);
  border: 3px groove #060;
  border-radius: 10px;
  top: 0;
  left: 0;
  text-align: center;
  margin: 0;
  padding: 4px;
}
.modal-dialog {
  max-height: 95%;
  max-width: 90%;
  position: relative;
  animation-name: slideUp;
  animation-duration: 1s;
}
.modal-lg {
  padding: 0;
}
.modal-header, .modal-footer, .txtModal-header {
  background-image: linear-gradient( to right, #89c39b 0%, #ffd 49%, #89c39b 100%);
  color: #060;
  line-height:  2.2;
  border-radius: 10px;
  margin-inline: auto;
  padding: 8px 4px;
  width: auto;
}
.txbox.modal-footer {
  display: inline-block;
  margin-inline: auto;
  text-align: center;
  padding: 5px 10px;
  width: fit-content;
}
.modal-title {
  background-image: linear-gradient( #89c39b 0%, #ffc 49%, #89c39b 100%);
  display: inline;
  font: bold 1.2em/1.9 "Trebuchet MS", Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
  margin: 1em 1rem 0 0;
  padding: 7px 2rem 8px 2rem;
  text-align: center;
}
.hidden {
  transition: transform 0.6s ease-out;
  transform: translateY(-100%);
  display: none!important;
  opacity: 0;
}
#clsBtn, #clsTBtn {
  position: absolute;
  background: #ff000d;
  float: right;
  top: 10px;
  right: 5px;
  color: #fff300;
  font-size: 1.3em;
  font-weight: bold;
  margin: 10px 12px 0px 5px;
  padding: 1px 7px 0 6px;
}
:is(#clsBtn,#clsTBtn):hover,
:is(#clsBtn,#clsTBtn):focus-visible {
  background:#28fcff;
  color: #2c28ff;
  margin: 10px 13px 0 0;
  padding: 1px 5px 0 5px;
  transform: scale(1.2);
}
:is(#clsBtn,#clsTBtn):active {
  background: #19f;
  color: #008;
}
/* The Text Modal */
#txtModal {
  background-color: rgba(86,125,118,0.2);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 98;
  height: auto;
  overflow: auto;
}
.txtModal-body {
  background-image: linear-gradient(to right, #ffd 0%, #bcf2c9 100%);
  text-align: left;
  margin: 0;
  padding: 3px;
  max-height: 65svh !important;
  overflow: auto;
  overflow-x: hidden;
}

#tmb {
  width: 28vw;
}
.txtModal-content {
  background-image: linear-gradient(to right, #cfc 0%, #ffd 100%);
  position: fixed;
  left: 30px;
  bottom: 0;
  border-radius: 12px;
  padding: 7px;
  width: 38rem;
  animation-name: slideUp;
  animation-duration: 1s;
}
.txtModal-content:has(#canvas) {
  background-color: rgba(86,125,118,0.5);
  position: relative;
  margin: 0 auto;
  margin-top: 10rem;
  text-align: center;
  height: auto;
  width: 49rem;
  z-index: 5;
}
.txtModal-topic {
  padding: 6px 16px;
  color: #040;
  font: bold 1.3em/1.4 "Trebuchet MS", Arial, Helvetica, sans-serif;
  margin: auto;
  text-align: left;
}
dialog#ModalTxt div#waxwin {
  width: 90vw;
}
dialog#ModalTxt div#waxwin  div#stahd,
dialog#ModalTxt div#waxwin  p.clowin {
  display: none;
}
div#waxwin h6.thlt {
  margin-right: 8px
}
#waxwin h6.thlt {
 line-height: 1.2;
 margin-top: 3px;
 padding: 0;
}
/* Add txtModal Animation */
@keyframes slideUp {
  from {
  bottom: -300px;
  opacity: 0;
  }
  to {
  bottom: 0;
  opacity: 1;
}
}
/* Card Flipping Routine */
.scene1,
.scene2,
.scene3,
.scene4,
.scene5,
.scene6 {
  display: block;
  margin: 0 auto;
  border: 1px solid #CCC;
  aspect-ratio: 12.5/10;
  object-fit: contain;
  perspective: 900px;
  text-align: center;
  z-index: 2;
}
.scene1 {
  border-radius: 1.8rem;
}
.scene2 {
  aspect-ratio: 7/11;
}
.scene3 {
  aspect-ratio: 4/3;
}
.scene4 {
  aspect-ratio: 7/10;
}
.scene5 {
  aspect-ratio: 11/13;
}
.card {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center right;
  transition: transform 1.5s;
}
.card.is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
}
.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 20em;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  backface-visibility: hidden;
}
.card__face--front {
  background: transparent;
}
.card__face--back {
 background: transparent;
 transform: rotateY(180deg);
}
.card__face > img {
  display: block;
  margin: 0;
  padding: 0;
  height: 100%;
  width: auto;
  object-position: bottom;
}
/* Columns and rows + Inline Styles*/
.cols {
 list-style-type:upper-alpha;
 --cols:1;
}
.cl1 {
  --cols:1
}
.cl2 {
  --cols:2
}
.cl3 {
  --cols:3
}
.cl4 {
  --cols:4
}
.cl5 {
  --cols:5
}
.cl6 {
  --cols:6
}
.cl7 {
  --cols:7
}
.rw1 {
  --rows:1
}
.rw2 {
  --rows:2
}
.rw3 {
  --rows:3
}
.rw4 {
  --rows:4
}
.rw5 {
  --rows:5
}
.rw6 {
  --rows:6
}
.rw7 {
  --rows:7
}
.rw8 {
  --rows:8
}
.rw9 {
  --rows:9
}
.rw10 {
  --rows:10;
}
.span2 {
  display: flex;
  grid-column: span 2;
  grid-row: 1;
}