/* styles.css
* Escape The Ordinary Online 2022 redesign for One Stop Travel Center of Orlando LLC
* Febrary 2022
*/

*,
::before,
::after {
  box-sizing: border-box;
}

:root {
  --codebar-red: #c80129;
  --codebar-bg: #D9C5C4;
  --nav-red: #b92e3d;
  --nav-color: white;
  --nav-color-hover: gray;
  --body-blue: #1e55ad;
  --body-gray: #f4f4f4;
  --body-green: #1ba507;
  --btn-green: #2ace11;
  --yellow-header: #eded9a;
  --calc-body: #05B0D8;
  --calc-blue-light: #3b5be2;
  --calc-blue-dark: #0718ad;
  --calc-step-blue: #48D7FC;
  --calc-step-inactive-blue: #64ECFA;
  --button-hover-blue: #48D7FC;

  --red-tone: #B92E3D;
  --blue-tone: #04AFDA;
  --brown-tone: #443532;

  --blue-tone-03: rgb(4, 175, 218, 0.3);
  --blue-tone-00: rgb(4, 175, 218, 0);

  --header-height: calc(100vw * 1964 / 3928 + (700px - 100vw) * 0.3);
}
body {
  margin: 0px;
  padding: 0px;
  background-color: white;
  color: black;
  /* font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; */
  font-family: "Noto Sans", sans-serif;
}
body.old {
  font-family: "Londrina Solid", sans-serif; /* 'Playfair Display',serif; */
}

/*
 * page content fonts - gathered here for ease of maintenance
 */
div.welcome_text > p {
  font-family: sans-serif;
  /* font-size: 1.1em; */
  font-size: max(1.54vw,1rem);
  line-height: 1.5;
}
div.welcome_text > h2 {
  font-size: max(2.3vw,24px);
}
.not section.calculator,
.destinations_map .headline {
  font-family: Arial, Helvetica, sans-serif;
}
/* END page content fonts */

body .hide {
  display: none !important;
}
.inline-block {
  display:inline-block;
  position: relative;
  max-width: 100%;
}
.bold {
  font-weight: bold;
}
.underline {
  text-decoration: underline;
}
.cursor-pointer,
.link {
  cursor: pointer;
}
span.br {
  display:block;
}
ol.mb-li > li {
  margin-bottom:1em;
}
.good_value {
  outline:2px solid green;
}
.bad_value,
.error {
  outline:2px solid red;
}

#debug_div {
  min-width: 200px;
  min-height: 50px;
  background-color: rgba(255, 192, 0, 0.3);
  color: black;
  font-weight: bold;
  position: fixed;
  top: 90px;
  right: 20px;
  padding: 5px;
  z-index: 2;
}

header,
.header_placeholder.old {
  height: 85px;
}
section.homepage_sec.old {
  margin-top: -85px;
}

footer {
  min-height: 5em;
  padding: 1em 5%;
  background-color: black;
  text-align: center;
  /* display:grid; */
  grid-template-columns: 170px auto;
  align-items: center;
}

.footer_links {
  /* display:grid; */
  grid-template-columns: repeat(5,auto);
  justify-self: end;
  align-self: center;
}
.footer_links a {
  display:block;
  text-decoration: none;
  text-align: center;
  padding:0px 1em;
}
footer a:link,
footer a:visited,
footer a:hover,
footer a:active,
.footer_links a:link,
.footer_links a:visited,
.footer_links a:hover,
.footer_links a:active {
  color:var(--nav-color);
}
.footer_links a:not(:last-child) {
  border-right: 1px solid var(--nav-color);
}
.copyright {
  color:white;
  font-size:75%;
}
.copyright a {
  text-decoration: none;
}
.copyright br {
  display:none;
}

body.scroll-block {
  overflow:hidden;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.25);
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.terms_prompt {
  border:1px solid gray;
  box-shadow: 2px 2px 4px gray;
  border-radius: 20px;
  background-color: white;
  padding:1em;
  width:75%;
  min-width: 375px;
  max-height: 75%;
  display:flex;
  flex-direction: column;
  position: relative;
}

.terms_scroll_box {
  overflow-y:scroll;
  margin:15px 0px;
  border:1px solid lightgray;
  padding-right:10px;
  font-size:12px;
}

.terms_prompt .confirm-close {
  display:none;
  position: absolute;
  bottom:5px;
  left:50%;
  transform: translateX(-50%);
  width:375px;
  border:1px solid red;
  padding:0.5em;
  background-color: white;
}
.terms_prompt .confirm-close.show {
  display:block;
}

.terms_prompt a:link,
.terms_prompt a:visited,
.terms_prompt a:hover,
.terms_prompt a:active {
  color:black;
}
.terms_prompt a {
  font-size:12px;
}

.terms_prompt button {
  padding:0px 15px;
  font-size:18px;
  border-radius: 10px;
  border:1px solid black;
  color:white;
}
.terms_prompt button:disabled {
  background-color:lightgray;
  color:#EEEEEE;
}
.terms_prompt button.accept:not(:disabled),
.terms_prompt button.return {
  background-color:var(--btn-green);
}
.terms_prompt button.close {
  background-color:var(--red-tone);
}

header {
  display: grid;
  grid-template-areas: "brand-nav" "header-text";
  grid-template-rows: 3em auto;
  padding: 2em 5%;
  position: relative;
  z-index: 1;
  top: 0px;
  height: var(--header-height);
  background-image: url("/assets/images/header_bg_1920px.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.chairs {
  height:var(--header-height);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url("/assets/images/loungechairs-3928px.jpg");
  /* padding-top:1em; */
  padding:0px 5%;
}
.narrow-mode {
  display:none;
}
.wide-mode {
  display:inline;
}

.beach {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url("/assets/images/beachsandwave-shorter-3928px.jpg");
}
/* spacing container just to push the text out of the waves part of the beach image */
.waves-area {
  height:14.5vw;
}
.footer_body_text {
  color: white;
  font-size: 2em;
  text-shadow: 2px 2px gray;
}
.header_body_text {
  grid-area: header-text;
  align-self: end;
  font-size: 3vw;
  color: white;
  text-shadow: 2px 2px black;
}
.logo_nav_container {
  /* display: grid;
  grid-template-areas: "brand nav";
  align-items:center; */
  /* position: fixed; */
  position:-webkit-sticky;
  position:sticky;
  top: 0;
  z-index: 101;
  width: 100%;
  padding: 1em max(5%,min(100px,calc((100vw - 520px)/2)));
  background-color: var(--brown-tone);
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.5);
}

footer,
body:not(.home_page) .logo_nav_container,
.logo_nav_container.full_bg {
  background-color: var(--brown-tone);
}
.white-logo {
  width:min(101px,50vw); /* white plane is 101px */
  margin:10px auto;
  display:block;
}

/*
 * -- NAVIGATION SECTION
 */
.nav_wrapper {
  position: relative;
}
.nav-voucher-code-box {
  flex-grow:1;
  display: none;
  color:white;
  margin-left:5%;
}
nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  /* justify-self: center; */
}
nav .nav_btn,
.nav_burger,
button {
  cursor: pointer;
}
/* hamburger placeholder */
.nav_burger {
  display: none;
  padding: 5px; /* provide space to click/tap on */
  color:white;
  margin-left:20px;
}
nav .nav_btn {
  /* padding: 0px 7px; */
  position: relative;
  text-align: center;
  font-size: 1.5em;
  line-height: 1;
  color: var(--nav-color);
}
.nav-primary-caption {
  font-size:2rem;
  /* font-family: 'Open Sans Condensed'; */
}
@media (max-width:1200px) {
  nav .nav_btn {
    font-size:1.25em;
  }
  .nav-primary-caption {
    font-size:min(4.2vw,1.5rem);
  }
}
nav .nav_btn:not(:last-child) {
  border-right: 1px solid var(--nav-color);
}
/* force nav anchor tags to take on props of container */
.nav_btn a {
  /* font-family: 'Open Sans Condensed',sans-serif;
  font-weight: 300; */
  text-decoration: none;
  display:block;
  width:100%;
  height:100%;
}
.nav_btn a:link,
.nav_btn a:visited,
.nav_btn a:hover,
.nav_btn a:active {
  color:var(--nav-color);
}
.nav_btn small {
  font-size: 0.75em;
}
@media (max-width:960px) {
  .nav_btn small {
    display: none;
  }
}
nav .nav_btn:hover a,
nav .nav_btn.active a {
  /* opacity: 0.5; /* opacity also affects border, use color instead */
  color:var(--codebar-bg);
}

nav.old .nav_btn {
  border-radius: 5px;
}
.nav_btn.old .sub_nav {
  border-radius: 10px;
}

.nav_btn .sub_nav {
  display: none;
  position: absolute;
  top: 35px;
  left: -50%;
  background-color: white;
  font-size: 2em;
  width: 200%;
  height: 3em;
  line-height: 3em;
  font-weight: bold;
}

.nav_btn:hover .sub_nav {
  display: block;
}

.mini_nav {
  display:grid;
  grid-template-columns: auto auto;
  align-items:center;
}
.mini_nav .mini_nav_items {
  display:grid;
  grid-template-columns: repeat(3, auto);
  justify-self:end;
  background-color: var(--blue-tone);
}
.mini_nav_items a {
  display:block;
  padding:0 1em;
  text-decoration: none;
}
.mini_nav_items a:link,
.mini_nav_items a:visited,
.mini_nav_items a:hover,
.mini_nav_items a:active {
  color:var(--nav-color);
}
.mini_nav_items a:not(:last-child) {
  border-right: 1px solid var(--nav-color);
}
/*
 * -- UTILITY CLASSES
 */
.outline_all,
.outline_all * {
  outline: 1px solid rgba(255, 192, 0, 0.95);
}

.outline_children,
.outline_children * {
  outline: 1px solid #c9f29d;
}

body.outline_section .section_content * {
  outline: 1px solid pink;
}

.old header.black_out {
  background-color: black;
}

/* material-icons interval font sizes */
i.md-12 { font-size:12px; }
i.md-18 { font-size:18px; }
i.md-24 { font-size:24px; }
i.md-36 { font-size:36px; }
i.md-48 { font-size:48px; }

.old .products_services,
.old .motiva_advantage,
.old .about_nav {
  justify-self: center;
}

.demo_btn_nav {
  justify-self: right;
}

.site_logo .mega_cap.old {
  font-size: 3em;
  display: inline-block;
  vertical-align: middle;
  line-height: 1em;
}

.site_logo img {
  max-height: 50px;
  align-self: center; /* will this work inside a grid member child? */
}

.big_red {
  padding: 0.5em 1em;
  border-radius: 5px;
  border: 0px;
  background-color: red;
  color: white;
  font-weight: bold;
}

/* interior */
.voucher-code-bar {
  padding:15px 0px;
  display: flex;
  gap:10px;
  justify-content: center;
  align-items: center;
  color:black;
  background-color:var(--codebar-bg);
  top:88px;
  position: sticky;
  z-index: 100;
}
@media (max-width:1200px) {
  /* follows shape of logo_nav_container when "nav .nav_btn" font-size changes */
  .voucher-code-bar {
    top:76px;
  }
}
@media (max-width:960px) {
  /* follows shape of logo_nav_container when ".nav_btn a small" gets hidden */
  .voucher-code-bar {
    top:56px;
  }
}
.logged-in-as {
  font-size:125%;
}
.voucher-code-bar .logout {
  font-size:75%;
  text-decoration: underline;
}
.voucher-code-bar a:link,
.voucher-code-bar a:visited,
.voucher-code-bar a:hover,
.voucher-code-bar a:active {
  color:black;
}

a.blue-link:link,
a.blue-link:visited,
a.blue-link:hover,
a.blue-link:active {
  color:var(--blue-tone);
}

/* home page */
.voucher-code-wrapper {
  /* width:350px;
  margin:auto; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:1em;
}
.voucher-code-caption {
  color:white;
}
.voucher-code-box.no-bg {
  background-color:transparent;
}
.voucher-code-box {
  /* background-color:white;
  border-radius: 8px;
  border:1px solid var(--blue-tone); */
  font-size:1.25em;
  display:flex;
  gap:0.5em;
}
.voucher-code-box input {
  border:none;
  flex-grow:1;
  min-width:0px; /* prevent input from pushing btn to the right */
  /* background:transparent; */
  padding:0px 10px;
}
.voucher-code-box button {
  background-color: var(--blue-tone);
  color:white;
  font-weight: bold;
  border:none;
  border-radius: 4px;
  padding:10px;
}
.voucher-code-box button:hover {
  background: var(--button-hover-blue);
}
.voucher-code-box button,
.voucher-code-box input {
  font-size:inherit;
}

.bad_code_entered {
  background-color:white;
  border:1px solid red;
  color:red;
  padding:4px;
  position: absolute;
  display: none;
  left:50%;
  transform:translate(-50%);
  top:70px;
  width:350px;
  font-size:0.9rem;
}
.bad_code_entered.show {
  display: block;
}
.bad_code_entered::before,
.bad_code_entered::after {
    content: '';
    border: 20px solid transparent;
    border-bottom: 20px solid white;
    height: 20px;
    width: 20px;
    position: absolute;
    top: -40px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}
.bad_code_entered::before {
    border-width:22px;
    border-bottom:22px solid red;
    top:-44px;
}

.sticky-code-bar {
  position:sticky;
  top:0;/* 88px; */
  z-index: 1;
  /* display: none; */
  text-align:center;
  background-color: var(--brown-tone);
  padding:0.5em 0px;
}
.old .sticky-code-bar.show {
  display:block;
}

.code-description-toggle {
  color:white;
}
.gray-overlay {
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background-color:rgba(0, 0, 0, 0.5);
  display:none;
  z-index: 120;
}
.gray-overlay.show {
  display:block;
}
.whats-this-wrapper {
  text-align: center;
  position: relative;
}
.voucher-code-description {
  display:none;
  z-index:120;
  position: absolute;
  top:-15px;
  /* left:50%; */
  right:0px;
  /* transform:translateX(-50%); */
  width: 350px;
  padding:1.5em 1em 1em;
  background-color: white;
  /* border:1px solid black; */
  border-radius: 10px;
  box-shadow: 2px 2px 4px gray;
  font-size:0.9rem;
  text-align: start;
}
.voucher-code-description.show {
  display: block;
}
i.close-popup {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
  border:1px solid black;
  border-radius: 50%;
}
.small-red {
  color:var(--red-tone);
}
.small-text {
  font-size:10px;
}
.medium-text {
  font-size:12px;
}
.smaller-text {
  font-size:75%;
  line-height: 1;
}
.centered {
  text-align: center;
}

/* margin classes from BootStrap */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25em !important; }
.mt-2 { margin-top: 0.5em !important; }
.mt-3 { margin-top: 1em !important; }
.mt-4 { margin-top: 2em !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25em !important; }
.mb-2 { margin-bottom: 0.5em !important; }
.mb-3 { margin-bottom: 1em !important; }
.mb-4 { margin-bottom: 2em !important; }
.my-4 { margin-top: 2em !important; margin-bottom: 2em !important; }
.my-3 { margin-top: 1em !important; margin-bottom: 1em !important; }
.my-2 { margin-top: 0.5em !important; margin-bottom: 0.5em !important; }
.my-1 { margin-top: 0.25em !important; margin-bottom: 0.25em !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.ml-1 { margin-left: 0.25em !important; }
.mr-1 { margin-right: 0.25em !important; }
.ml-2 { margin-left: 0.5em !important; }
.mr-2 { margin-right: 0.5em !important; }
.ml-3 { margin-left: 1em !important; }
.mr-3 { margin-right: 1em !important; }
.ml-4 { margin-left: 2em !important; }
.mr-4 { margin-right: 2em !important; }

div.demo_btn_sec {
  text-align: right;
}

button.clear_btn {
  background: transparent;
  border: 1px solid green;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  padding: 0.5em;
}

div.tall_div {
  /* cause page to always have to scroll */
  min-height: 100vh;
}

/*
 * -- BODY CONTENT CLASSES
 */

.activation_bar_content,
.welcome_text,
.calculator_content,
.general_content {
  width: 90%;
  margin: 0px auto;
  padding: 1em 0px;
}

.old .general_content {
  font-family:sans-serif;
}

.old .welcome_text {
  overflow: hidden; /* prevent floating children from collapsing container height */
}
.welcome_text {
  padding-top:0px;
}

.welcome_text_collage {
  height: 30vw;
  width: auto;
  float: right;
  margin-left: 1.5em;
}

.booking-button {
  font-size: 16px;
  padding:0.5em 1em;
  border-radius: 10px;
  border:1px solid var(--blue-tone);
  background-color: var(--blue-tone);
  color:white;
}
.booking-button:hover {
  background-color: var(--button-hover-blue);
}

.activation_bar,
.activation_bar_placeholder {
  /* height: 3vw; */
  background-color: var(--codebar-red);
  color: white;
  width: 100%;
}

.old .activation_bar.fixed,
.activation_bar {
  position: fixed;
  top: 88px;
  z-index: 2;
  display:none;
}
.activation_bar.show {
  display: block;
}
@media (max-width:1200px) {
  .activation_bar {
    top:76px;
  }
}
.activation_bar_content {
  padding: 0.75em 0px;
  display: grid;
  grid-template-areas: "caption input go-btn";
  grid-template-columns: auto 18em 3em;
  justify-items: stretch;
  font-size: 1.75vw;
  position: relative;
}

#scroll_debug {
  position: absolute;
  font-size: 0.5em;
  font-family: sans-serif;
  bottom: 0;
  left: 0;
  width: 200px;
}

.activation_bar_content .caption {
  grid-area: caption;
  justify-self: right;
  margin-right: 0.5em;
}
#pointer_airplane {
  width: auto;
  height: 1.25em;
  vertical-align: middle;
  margin-left: 0.5em;
}
/* .activation_bar_content */
#activation_code {
  grid-area: input;
  font-size: 1em;
  color: var(--codebar-red);
}
.activation_bar_content .go_button {
  grid-area: go-btn;
  background-color: transparent;
  border-radius: 10px;
  font-size: 1em;
  color: white;
  width: 2.5em;
  margin-left: 0.5em;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold"; /* force named fonts for this button */
}

/*
  * -- WELCOME TEXT SECTION
  */
.brand_name {
  font-size: 3vw;
}
.brand_name,
.blue_header,
.blue-text {
  color: var(--blue-tone);
}
.brown-text {
  color: var(--brown-tone);
}
.red-text {
  color: var(--red-tone);
}
.blue_header {
  font-size: 5vw;
  margin: 0px;
  font-weight: normal;
  line-height: 1;
}
.language-toggle {
  position: fixed;
  top:0px;
  right:5px;
  z-index: 110;
  width: 100px;
  line-height: 2;
  margin-left:auto;
  font-size: 13px;
  text-align: center;
  cursor:pointer;
  background-color: #AB4D0F;
  color:white;
}
.waves-area .language-toggle {
  display:none;
  position: fixed;
  z-index: 1;
  right:0px;
  top:60px;
}
.waves-area .language-toggle.show {
  display:block;
}
/*
 * -- ANIMATED ARROW WITH RIPPLE CIRCLES
 */
.ripple-arrow {
  --arrow-size:26px;
  --arrow-bottom:33px;
  --arrow-right:25px;
  --ripple-size:80px;
  position: relative;
  background-color: var(--blue-tone);
  border:2px solid white;
  border-radius: 50%;
  width: var(--ripple-size);
  height: var(--ripple-size);
  margin:2em auto 0em;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ripple-blue 1s linear infinite;
}
.arrow {
  position: absolute;
  bottom:var(--arrow-bottom);
  right:var(--arrow-right);
  width:var(--arrow-size);
  height:var(--arrow-size);
  border-top:3px solid white;
  border-right:3px solid white;
  animation:fade-arrow 2s linear infinite;
}
@keyframes fade-arrow {
  0% {
    transform: translateY(-50%) rotate(135deg);
    opacity: 0.0;
  }
  20%,80% {
    opacity: 1.0;
  }
  100% {
    transform: translateY(50%) rotate(135deg);
    opacity:0.0;
  }
}
@keyframes ripple-blue {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--blue-tone-03), 0 0 0 10px var(--blue-tone-03), 0 0 0 20px var(--blue-tone-03);
    box-shadow: 0 0 0 0 var(--blue-tone-03), 0 0 0 10px var(--blue-tone-03), 0 0 0 20px var(--blue-tone-03);
  }
  100% {
      -webkit-box-shadow: 0 0 0 10px var(--blue-tone-03), 0 0 0 20px var(--blue-tone-03), 0 0 0 30px var(--blue-tone-00);
      box-shadow: 0 0 0 10px var(--blue-tone-03), 0 0 0 20px var(--blue-tone-03), 0 0 0 30px var(--blue-tone-00);
  }
}
.book-now {
  margin-top:30px;
}
.book-now button {
  padding:0.5em 1em;
  background-color: var(--blue-tone);
  border:1px solid white;
  color:white;
  animation: ripple-blue 1s linear infinite;
  border-radius: 10px;
  font-size: 16px;
}
.book-now button:hover {
  background-color: var(--button-hover-blue);
}
/*
 * -- MAP FEATURE
 * -- map image with city pins in left column,
 * and 3 brown boxes with animated counters in right column,
 * and blue link below these
*/
.map-feature {
  position: relative;
  display:grid;
  grid-template-areas: "map . map2" "map . counters";
  grid-template-columns: auto 20px 200px;
  /* grid-template-rows: auto 15px auto; */
  /* background-color: #DDD; */
}
@media (max-width:775px) {
  .old .map-feature {
      grid-template-areas: "counters counters" ". ." "map map2";
      grid-template-columns: 3fr 1fr;
  }
  .old .map-counter-box .box-caption {
    line-height: 1.2;
    padding:1em;
  }
}
.map-trigger-line {
  position: absolute;
  z-index: 10;
  left: 0;
  width: 100%;
  top:15%;
  border-top:1px solid pink;
}
.map-with-pins,
.map2-with-pins {
  pointer-events:none;
  grid-area: map;
  position: relative;
  margin-bottom:auto; /* this is the key to unsticking the container height */
}
.map2-with-pins {
  grid-area: map2;
  margin-top:auto;
  margin-bottom:0px;
}
.plain-map {
  width:100%;
  height:auto;
  display: block;
}
.map-with-pins i,
.map2-with-pins i {
  position:absolute;
  color:red;
  pointer-events: none;
  transform-origin: center bottom;
  transform:translate(-50%,-100%) scale(0);
  text-shadow: 0px 0px 4px white;
}

@keyframes mapPointReveal {
  0% { transform:translate(-50%,-100%) scale(0); }
  75% { transform:translate(-50%,-100%) scale(2); }
  100% { transform:translate(-50%,-100%) scale(1); }
}
.map-with-pins i.show,
.map2-with-pins i.show {
  animation: mapPointReveal 0.5s linear 0s 1 forwards;
}

.counters-column {
  grid-area: counters;
  display: flex;
  flex-direction: column;
  /* gap:1em; */
  /* padding:1em 0px; */
  /* justify-content: center; */
}
.destinations-link {
  grid-area: link;
}

.map-counter-box {
  /* color:white; */
  color:var(--brown-tone);
  /* padding:0px 10px; */
  text-align: center;
  padding:1em 0em;
}
.old .box-caption {
  line-height: 2.5;
  border-bottom:1px solid lightgray;
}
.counter-digits {
  font-size:6em;
  line-height: 1;
}
.map-counter-box:first-of-type {
  border-bottom: 1px solid lightgray;
}
/*
 * -- COST CALCULATOR SECTION
 */
section.calculator {
  background-color: var(--calc-body);
  min-height: 10em;
}

.calculator_headline,
.sample_savings {
  color:white;
}
.calc_ico {
  vertical-align: baseline;
  height: auto;
  width: 5.4vw;
}
.calculator_headline {
  font-size: 34px; /* width +/- 300px */
  /* font-size: 4vw;
  letter-spacing: -3px; */
}
a.reset_link {
  color: #df0000;
}
.sample_savings {
  padding: 0.5em 0px;
}

.calculator_steps {
  padding: 0.5em 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(280px,1fr);
  /* column-gap: 2em; */
}

@media (max-width:968px) {
  .calculator_steps {
    grid-template-columns: 1fr 1fr;
  }
  .calculator_step_cell {
    margin-top:10px;
  }
}

@media (max-width:650px) {
  .calculator_steps {
    grid-template-columns: 1fr;
  }
}

/* this was to hide checkbox elements in the root of calc steps container */
.old .calculator_steps > input {
  display: none;
}
/*
 * VISUAL SWITCH RULE SET (CANCELLED)
 */
.not_used .calculator_steps input:checked + label .badge_block {
  background-color: var(--body-green);
}

.calculator_step_cell {
  /* display: grid; */
  grid-template-areas: "badge" "."; /* the icon_caption area name is giving Firefox browser grief */
  grid-template-rows: 3em auto;
  justify-items: center;
  row-gap: 1em;
}
.calculator_step_cell.old {
  cursor: pointer;
}

.step_detail_wrapper {
  /* display: grid; */
  grid-template-areas: "icon" "caption";
  grid-template-rows: minmax(12vw, 1fr) 1em;
  align-items: center;
  justify-items: center;
  row-gap: 1em;
}
.old .calculator_steps button {
  color: white;
  background-color: var(--codebar-red);
  border-color: var(--codebar-red);
  width: 50%;
  display: block;
  margin: 0.5em auto;
  font-weight: bold;
}
.cost-calc-btn {
  color:black;
  background-color: white;
  margin-left:1em;
  padding:0.25em 0.5em;
}
.cost-calc-btn:first-of-type {
  margin-left:0px;
}
.cost-calc-btn,
.old .calculator_steps button {
  border-width: 1px;
  font-size: 1.25rem;
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.step_detail_wrapper.show_result {
  position: relative; /* non-empty CSS rule */
}
.done .step_detail_wrapper {
  grid-template-areas: "databox";
  grid-template-rows: auto;
  row-gap: none;
}
.show_result > .icon_caption {
  position: relative; /* non-empty CSS rule */
}
.done .step_detail_wrapper > :not(.data_box) {
  display: none;
}
.show_result > .data_box {
  position: relative; /* non-empty CSS rule */
}
.not .done .step_detail_wrapper > .data_box {
  display: block;
}
.data_box {
  grid-area: databox;
  display: none;
  text-align: center;
}
.badge_block {
  display:none;
  grid-area: badge;
  margin: auto;
  text-align: center;
  height: 1.5em;
  width: 1.5em;
  border-radius: 50%;
  background-color: var(--codebar-red);
  color: white;
  font-size: 2em;
}
.badge_block span {
  display: block;
  line-height: 1.5;
}
.icon_block {
  grid-area: icon;
  position: relative;
}
.icon_caption {
  display:none;
}
.icon_block img.old {
  display: block;
  height: auto;
  width: 50%;
  margin: auto;
}

.icon_block img {
  display: block;
  height: 11vw;
  width: auto;
  margin: auto;
}

.caption_block_pocket {
  padding:0px 15px;
  position: relative;
}

/* hide/reveal shorter alternate headings for step captions, and headline, in narrow view */
.calculator_headline span.short-text,
.caption_block span.short-text {
  display:none;
}
@media (max-width:1040px) {
  .calculator_headline span.long-text,
  .caption_block span.long-text {
    display:none;
  }
  .calculator_headline span.short-text,
  .caption_block span.short-text {
    display:inline;
  }
}

.caption_block {
  position: relative;
  grid-area: caption;
  font-size: 0.8em;
  /* color:white; */
  /* margin-top:10px; */
  padding:0.5em;
  height:31px;
  background-color: var(--calc-step-blue);
  z-index: 1;
}
.calculator_step_cell:not(.done) .caption_block {
  padding-left: 1em;
}

.done .caption_block {
  background-color: limegreen;
  color:#444444;
}
.calculator_step_cell:not(:last-of-type) .caption_block_pocket::before,
.calculator_step_cell:not(:last-of-type) .caption_block_pocket::after {
  content:'';
  position: absolute;
  top:0;
  bottom:0;
  right:-10px;
  border:15px solid transparent;
  border-left:10px solid var(--calc-step-blue);
}
.calculator_step_cell:not(:first-of-type,:last-of-type) .caption_block_pocket::before {
  right:auto;
  left:5px;
  border:15px solid var(--calc-step-blue);
  border-left:10px solid transparent;
}
.not-done:not(:last-of-type) .caption_block_pocket::before {
  border:15px solid var(--calc-step-inactive-blue);
  border-left:10px solid transparent;
}
.not-done:not(:last-of-type) .caption_block_pocket::after {
  border-left:10px solid var(--calc-step-inactive-blue);
}
.done .caption_block_pocket::before,
.done:not(:last-of-type) .caption_block_pocket::after {
  border-left:10px solid limegreen;
}
.done:not(:first-of-type,:last-of-type) .caption_block_pocket::before {
  border:15px solid limegreen;
  border-left:10px solid transparent;
}
/* checkmark next to step caption text */
.done:not(:last-of-type) .caption_block::before {
  content:'done';
  font-family: 'Material Icons';
  font-size:18px;
  line-height: 0.5;
  font-weight: bold;
  position: relative;
  top:4px;
  margin-right: 5px;
}
/* small white down-pointing triangle indicator of current step */
.not .calculator_step_cell:not(.done, .not-done) .caption_block::after {
	content: '';
	border: 10px solid transparent;
	border-top: 10px solid white;
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
}

/* replacement elements in the cost calculator steps */
.step_entry {
  /* margin-top:10px; */
  position:relative;
  height:120px;
  background-color: var(--calc-step-blue);
  padding:10px;
  display: flex;
  align-items: center;
}
.old .entry-value {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 2px 4px gray;
}
.entry-value {
  display:flex;
  width: 100%;
  color:black;
  padding:8px 0px 2px;
  border-bottom: 1px solid white;
}
.not-done .entry-value {
  display:none;
}
.calculator_step_cell:not(.done) .step_entry_result,
.calculator_step_cell.done .entry-value {
  display:none;
}
.calculator_step_cell.done .step_entry_result {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-align: center;
  justify-content: center;
  gap:10px;
}
.result_text {
  font-weight: bold;
  color:white;
  text-shadow: 1px 1px gray;
  font-size:18px;
}
.result_text.larger {
  font-size:20px;
}
.change_link {
  font-size: 10px;
  cursor: pointer;
}
.chosen-value {
  flex-grow:1;
}
.old .step-entry-icon {
  margin:0px 2px;
}
.form-typing-area,
.step-typing-area {
  position:absolute;
  background-color:white;
  color:black;
  left:0px;
  top:50%;
  transform: translateY(-10px);
  border-radius:10px;
  box-shadow: 2px 2px 4px gray;
  display:none;
  width:350px;
  z-index: 2;
}
.form-typing-area {
  top:0px;
}
.form-typing-area.show,
.step-typing-area.show {
  display:block;
}
.form-typing-area.datepicker,
.step-typing-area.datepicker {
  width:375px;
}
@media (max-width:375px) {
  .form-typing-area.datepicker,
  .step-typing-area.datepicker {
    width:350px;
  }
}

input.calc_travel_date {
  opacity:0;
}
.step-typing-area.datepicker {
  background:transparent;
  border:none;
  box-shadow: none;
}


.form-search-wrapper,
.step-search-wrapper {
  padding:10px;
  display: flex;
  align-items: center;
}
form .form-row .form-typing-input,
.step-typing-input {
  border:none;
  padding:2px;
  font-size:1.5rem;
  display:block;
  flex-grow: 1;
}
.clear-search.show {
  display:block;
}
.clear-search {
  display: none;
  cursor: pointer;
  border-radius: 50%;
  color:white;
  background-color: black;
  transform:scale(0.6);
}
.search-results {
  border-top:1px solid lightgray;
  padding-bottom:10px; /* because selected result background squares off border radius of ancestor container */
  display:flex;
  flex-direction: column;
  min-height: 330px;
}
.not .search-results.show {
  display:block;
}
.search-result-empty {
  padding:8px 10px;
  pointer-events: none;
  display: flex;
  gap: 0.5em;
}
.search-result-item {
  padding:8px 10px;
  cursor:pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.search-result-item:hover,
.search-result-item.selected {
  background-color:#C0DFF0;
}
.search-result-empty i,
.search-result-item i {
  color: gray;
}
.search-result-empty span,
.search-result-item span {
  flex-grow: 1;
}
input[type="text"] {
  border-bottom:1px solid transparent;
}
input[type="text"]:not(.show-focus-outline):focus {
  outline:none;
  /* border-bottom:1px solid lightgray; */
}
.empty-result i {
  margin-top:1em;
}

.datepicker_result {
  font-size:1.5rem;
  padding:10px;
  border-bottom:1px solid lightgray;
}
.done-btn {
  text-align: right;
  border-top:1px solid lightgray;
  padding:10px;
}
.done-btn button {
  font-size: 1.25rem;
  cursor: pointer;
  user-select: none;
  background-color: var(--blue-tone);
  color:white;
  /* font-weight: bold; */
  border:none;
  border-radius: 4px;
  padding:10px;
}

/* .datepicker CSS overrides */
.datepicker-picker {
  border-radius: 10px;
}
.datepicker-header .datepicker-controls .button {
  font-weight: normal;
}
.datepicker-view .dow {
  /* line-height: inherit; */
  font-weight: normal;
}
.datepicker-grid {
  width: inherit; /* don't constrain width */
}
.datepicker-grid,
.days-of-week {
  padding:5px 0px;
}
.datepicker-controls .view-switch {
  margin:0px 5px; /* don't crowd arrow shadows */
}
.datepicker-controls .prev-btn:not([disabled]),
.datepicker-controls .next-btn:not([disabled]) {
  border-radius: 50%;
  box-shadow: 2px 2px 4px lightgray;
}
.datepicker-controls .prev-btn,
.datepicker-controls .next-btn {
  border-radius: 50%;
  box-shadow: 2px 2px 4px lightgray;
}

.old .datepicker-cell,
.old .datepicker-view .week {
  height:1.5rem;
  line-height:1.5rem;
}

/*
 * -- COST CALCULATOR STATE COLORS METHOD/TECHNIQUE
 * .not-done = image + caption = gray, step number bg = gray
 * (no class) = image + caption = dark gray, step number bg = red
 * .done = hidden image because results replace it, step number bg = green
 * (these are classes to apply to the div.calculator_step_cell element)
 */

/* .calculator_step_cell */
.done .badge_block {
  background-color: var(--body-green);
}
/* .calculator_step_cell */
.not-done .badge_block {
  background-color: lightgray;
}
/* .calculator_step_cell */
.not-done .caption_block {
  /* color: gray; */
  /* color: white; */
  background-color: var(--calc-step-inactive-blue);
}
.not-done .icon_block .gray_img,
.icon_block .dark_gray_img {
  display: block;
}
.icon_block .gray_img,
.not-done .icon_block .dark_gray_img {
  display: none;
}

.green_caption {
  color: var(--body-green);
}
.med_blue_text,
.big_blue_text,
.huge_blue_text {
  font-weight: bold;
  line-height: 1;
  letter-spacing: -2pt;
}
.med_blue_text {
  color: var(--calc-blue-light);
  font-size: 2em;
}
.big_blue_text,
.huge_blue_text {
  color: var(--calc-blue-dark);
  font-size: 3em;
}
.huge_blue_text {
  font-size: 4em;
}
.not-done #orig_city,
.not-done #dest_city,
.done #orig_city,
.done #dest_city {
  display: none;
}
/* select tags for user selection */
#orig_city,
#dest_city {
  /* position: absolute; */
  top: 50%;
  width: 100%;
  transform: translate(0, -50%);
}
/* text output element */
.data_box #depart_city,
.data_box #destination_city,
.data_box #est_cost {
  padding-top: 0.5em;
}

/*
 * -- ABOUT TEXT
*/
.about_text {
  background-color: var(--blue-tone);
  color: white;
  display:flex;
  flex-direction: row;
  gap:1em;
  padding:1em 5%;
}
.about_text_body {
  max-width: 50%;
  padding-left:1em;
  border-left:1px solid white;
}
.about_text_fancy {
  font-family: 'Tangerine',cursive;
  font-size:4em;
  letter-spacing: -2px;
  margin:auto;
}
.old .about_text_img {
  margin:auto;
}
.old .about_text_img img {
  display:block;
}
@media (max-width:968px) {
  .about_text {
    flex-direction: column;
    gap:normal;
  }
  .about_text_fancy {
    text-align: center;
    font-size: 3em;
  }
  .about_text_body {
    max-width: none;
    border-left:none;
  }
  .about_text_img img {
    max-width: 100%;
  }
}

/*
 * -- DESTINATIONS MAP
 */
section.destinations_map {
  position: relative;
  background-color: var(--blue-tone);
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1em 5%;
  min-height: 10em;
}

.destinations_map .yellow_header {
  color: var(--yellow-header);
  font-size: 120%;
}

.destinations_map .headline {
  font-size: 5vw;
  margin: 0px;
  text-align: center;
  line-height: 1;
  color: var(--yellow-header);
  /* letter-spacing: -3px; */
}

div.map_destinations_list {
  font-size: 1.1em;
  line-height: 1.5;
  margin-top: 1em;
}
div.six_columns {
  columns: 6;
}

.destinations_map .parallax {
  background-image: url("/assets/images/newmap2560x1419.jpg"); /* was: hiresworldmap2560x1600.jpg */
  background-size: inherit;
}
@media (min-width: 2560px) {
  .destinations_map .parallax {
    background-size: cover;
  }
}

/* left over from cloned source site */
section.large_bg {
  background-image: url("/assets/images/large_bg.jpg");
  background-size: cover;
  min-height: 46vw; /* based on proportion of image */
  padding-top: 1.5em;
  color: white;
  padding: 0px 1.5em 1.5em;
}

.section_content.two_column {
  display: grid;
  grid-template-columns: 51% auto;
}

.old .homepage_sec h1 {
  font-size: 4vw; /* adjust header font size based on browser width */
  margin: 1em 0px 0.5em;
}

span.green_letters {
  color: #c9f29d;
}

.must-agree {
  display:none;
  border:1px solid red;
  background-color:pink;
  padding:1em;
  position: relative;
  margin:1em auto;
}
.must-agree.show {
  display:block;
}

/*
 * -- COOL STUFF FROM THE BOOTSTRAP CSS
 */
.custom-select {
  display: inline-block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
    no-repeat right 0.75rem center/8px 10px;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*
 * -- INTERIOR PAGE RULES
 *
*/
.fine-print {
  font-size:75%;
}

.faq-list p {
  margin-bottom:2em;
}

.lower-nav {
  padding:0px 5%;
  display:flex;
  justify-content: space-around;
  margin-bottom: 25px;
}
.lower-nav a,
.nav-book-now {
  font-size:20px;
}
.nav-book-now {
  background-color:var(--blue-tone);
  color:white;
}
.lower-nav a {
  display: block;
  text-decoration: none;
  color:var(--blue-tone);
  padding:10px;
}
.nav-book-now a {
  color:white;
}

/*
 * -- RESERVATION FORM
 *
*/
.resform-headline { /* the H1 tag within the resform-heading */
  margin-top:0px;
  margin-bottom:7px;
  font-size:28px;
}
.resform-heading,
section.calculator {
  position:relative;
  padding-bottom: 30px;
}
.resform-heading {
  background-color:var(--blue-tone);
  color:white;
  padding:30px calc(5% + 20px) 70px;
}
.heading-red-text {
  font-size:0.9rem;
  margin-left:1em;
  font-weight: normal;
}
.resform_wrapper {
  margin:-50px auto 20px;
  background-color:white;
  border-radius: 10px;
  border:1px solid lightgray;
  padding:10px 20px 20px;
  width:90%;
  position: relative;
  box-shadow: 0px 0px 5px gray;
}
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form textarea,
form select {
  border:1px solid gray;
  border-radius:10px;
  font-size:18px;
  padding:0.5em;
  background-color: white;
}
.old .form-row {
  margin-bottom:18px;
}
.form-row > input,
.form-row > select,
.form-row > div,
.form-row > label {
	margin-right: 1em;
	margin-bottom: 1em;
}
.form-row.flex {
  display:flex;
  align-items: center;
  gap:18px;
}
#min_nights_form {
  display: inline-block;
  /* min-width: 15px; */
}
.itinerary-inputs {
  vertical-align: top;
}
.form-calc-results {
  display:none;
}
.form-calc-results.show {
  display:block;
}
.travel-input-wrapper {
  position: relative;
}
.hotel-inputs > select {
  display:block;
}
form textarea {
  width:100%;
  font-family: sans-serif;
}
form input:focus::placeholder {
  color:transparent;
}
.intro-text {
  /* margin:4px; */
  font-weight: bold;
  font-size: 80%;
}
.field-group {
  margin-right:auto;
}

.small-field,
.field-3em { width:3em; max-width: 100%; }
.medium-field,
.field-5em { width:5em; max-width: 100%; }
.field-7em { width:7em; max-width: 100%; }
.long-field,
.field-10em { width:10em; max-width: 100%; }
.field-15em { width:15em; max-width: 100%; }
.field-20em { width: 20em; max-width: 100%; }
.field-25em { width: 25em; max-width: 100%; }
.field-30em { width: 30em; max-width: 100%; }
.field-full { width: 100%; }

label.radio-btn {
  position: relative;
  padding-left:25px;
  display:inline-block;
}
label.radio-btn::before {
	content: '';
	position: absolute;
	border: 1px solid black;
	top: 0;
	bottom: 0;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: block;
}
input[type="radio"]:checked + label.radio-btn::after {
  content:'';
  position: absolute;
  border-radius: 50%;
  display: block;
  top:4px;
  bottom:4px;
  left:4px;
  width: 14px;
  height: 14px;
  background-color:#444444;
}

/* hover text revealed when user points at hot-zone */
.second_destination_required_notice {
  position:relative;
}
.second_destination_info {
  display:none;
  position:absolute;
  width:360px;
  padding:10px;
  border:1px solid black;
  background-color:white;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  z-index: 1;
}
.second_destination_required_notice:hover .second_destination_info {
  display:block;
}

/* conditional reveal form inputs */
.preferred-destination-wrapper,
.alternate-destination-wrapper,
.preferred-hotel-to-input,
.preferred-hotel-entry,
.alt-dest-cost-notice {
  display:none;
}
.preferred-destination-wrapper.show,
.alternate-destination-wrapper.show,
.preferred-hotel-to-input.show,
.preferred-hotel-entry.show,
.alt-dest-cost-notice.show {
  display:block;
}

.comments-length-notice {
  font-size:10px;
  text-align: center;
}
.comments-length-notice.warning {
  color:var(--codebar-red);
}

.hide-btn {
  display: none;
}
.button_row {
  margin-top:10px;
  position: relative;
}

.missing-required-values {
  display:none;
  padding:8px;
  text-align: center;
  border:1px solid red;
  background-color: pink;
  margin-bottom: 1em;
}
.missing-required-values.show {
  display: block;
}

.start-booking-code-entry {
  display: none;
  position: absolute;
  width: 300px;
  background-color: white;
  border:1px solid lightgray;
  padding:0.5em;
  left:50%;
  transform: translateX(-50%);
  top:-50%;
  border-radius: 10px;
  box-shadow: 2px 2px 4px gray;
}
.start-booking-code-entry.show {
  display:block;
}

.continue_btn,
.return_btn,
.submit_btn {
  display: block;
  margin:auto;
  width: 150px;
  padding:0.5em 1em;
  background-color: var(--blue-tone);
  border:1px solid white;
  border-radius: 10px;
  color:white;
  font-size: 20px;
}
.continue_btn:not(.submit_btn),
.return_btn,
.return_btn + .submit_btn {
  display:inline-block;
}
#submission_review {
  display: none;
}
#submission_review.show {
  display:block;
}
.review_div {
  margin-top:10px;
}
.review_div > span {
  vertical-align: top;
}
.submit-error {
  display:none;
  padding:0.5em;
  text-align: center;
  border:2px solid red;
  background-color:pink;
  margin:15px auto;
}
.submit-error.show {
  display:block;
}

/*
 * == RESPONSIVE RULES ==
 */

/* speculative media queries to help resolve specific render issues */
@media (max-width: 900px) {
  header,
  .header_placeholder {
    height: 95px;
  }
  .old section:first-of-type {
    margin-top: -95px;
  }
  #debug_div {
    top: 100px;
  }
  .nav_wrapper {
    justify-self: center;
  }
  .dont_use nav {
    max-width: 280px;
  }
  .dont_use nav .nav_btn {
    height: 60px;
  }
  .nav_btn .sub_nav {
    top: 60px;
  }
  .nav_btn.about_nav {
    padding-top: 1em;
  }
  .demo_btn_nav {
    max-width: 115px;
  }
  div.six_columns {
    columns: 4;
  }
  
}

@media (max-width: 750px) {
  .section_content.two_column {
    grid-template-columns: auto;
  }
  .left_col,
  .right_col {
    max-width: 360px;
    margin: 0px auto 10px;
  }
  .old .homepage_sec h1 {
    text-align: center;
    font-size: 1.75em;
  }
  div.six_columns {
    columns: 3;
  }

  /* .voucher-code-wrapper {
    display:block;
  }
  .voucher-code-box {
    justify-content: center;
  }
  .voucher-code-box input {
    flex-grow: 0;
  } */
  .map-feature {
    grid-template-areas: "map . map2" "counters counters counters";
    grid-template-columns: 2fr 20px 1fr;
  }
  .counters-column {
    flex-direction: row;
    justify-content: center;
  }
  .map-counter-box {
    padding:0em 1em;
  }
  .map-counter-box:first-of-type {
    border-bottom:none;
    border-right:1px solid lightgray;
  }  
}

@media (max-width: 650px) {
  div.six_columns {
    columns: 2;
  }
  header,
  .header_placeholder {
    height: 85px;
    max-height: 85px;
  }
  header {
    align-content: center;
    grid-template-columns: repeat(3, auto);
  }
}
/* these were in the 650px group above but moved to 480px to coincide with the new 650px group following */
@media (max-width: 480px) {
  nav {
    display:none;
  }
  nav.responsive-show { /* separate class to allow child transition animation to complete before hiding parent element */
    display:block;
  }
  .nav_burger {
    display: block;
    width:34px;
    margin-left:auto;
    /* margin-right:20px; */
  }

  /* more fancy!  -- swap reveal of menu and close icons when toggling responsive state of nav items */
  .nav_burger :first-child,
  .responsive .nav_burger :last-child {
    display:inline;
  }
  .nav_burger :last-child,
  .responsive .nav_burger :first-child {
    display:none;
  }
  
  nav .nav_btn:hover,
  nav .nav_btn .sub_nav:hover {
    opacity:1;
  }
  nav.outline_orange {
    outline: 1px solid orange;
  }
  .nav_wrapper {
    position: relative;
    /* justify-self: right;
    grid-area: nav; */
    /* margin-left:auto; */
    padding-right:20px;
  }
  nav {
    position: absolute;
    top: 59px;
    right:0px;
    width:100vw;
  }
  .demo_btn_nav {
    grid-area: b;
    justify-self: center;
  }
  .old .nav_wrapper.responsive nav,
  .old .nav_wrapper.responsive nav .nav_btn,
  .old .nav_wrapper.responsive nav .nav_btn .sub_nav,
  .old .nav_wrapper.responsive .nav_btn.about_nav {
    display: block;
  }
  nav .nav_btn,
  .nav_btn.about_nav {
    background-color:var(--brown-tone);
    border-radius: 0px;
    /* height: 2em; */
    /* padding: 5px; */
    line-height: 2;
    border-top: 1px solid lightgray;
    overflow:hidden;
    /* properties to be animated */
    max-height: 0px;
    padding:0px;
    /* opacity:0; */
    transition:all 0.25s ease-in-out; /* do NOT set display:none on elements with transition! */
    /* display: none; */
  }
  .nav_wrapper.responsive nav .nav_btn {
    max-height:60px;
    padding:5px;
    opacity:1;
  }

  nav .nav_btn:not(:last-child) {
    border-right:none;
  }
  .nav_btn,
  .nav_btn .sub_nav {
    background-color: white;
    color: black;
  }
  .nav_btn .sub_nav {
    border-radius: 0px;
    padding: 9px 0px 5px;
    width: inherit;
    font-size: inherit;
    position: relative;
    height: 2em;
    top: inherit;
    left: inherit;
    line-height: inherit;
  }
  .nav_btn.products_services {
    height: 4em;
  }
  nav .nav_btn:hover,
  nav .nav_btn .sub_nav:hover {
    background-color: var(--nav-color-hover); /* lightgray; */
  }
}
/* responsive breakpoint chosen by M.S. to arrange content respective */
@media (max-width: 480px) {
  /* single word in homepage chairs section referring to voucher code entry box */
  .narrow-mode {
    display:inline;
  }
  .wide-mode {
    display:none;
  }
  .ripple-arrow{
    display:none;
  }
  /* allowance for fixed position voucher entry/nav bar */
  body {
    padding-top:112px;
  }
  .language-toggle {
    width:100%;
    right:0px;
    margin-left:none;
    height:26px;
  }
  .sticky-code-bar {
    height:94px;
    top:26px;
    position:fixed;
    width:100%;
    padding-top:1em;
  }
  .voucher-code-wrapper {
    display:block;
    width:auto;
    margin:0px 5%;
  }
  .voucher-code-box {
    padding:2px;
    background-color: white; 
  }
  .voucher-code-description {
    left:50%;
    transform:translate(-50%);
  }
  /* "the" navigation bar */
  .logo_nav_container {
    position:fixed;
    top:26px;
    height:86px;
    padding:25px 0px;
    z-index: 105;
    display:flex;
    align-items: center;
  }
  .nav-voucher-code-box {
    display:block;
  }
  .voucher-code-bar {
    display: none;
    top:85px;
  }
  .nav-primary-caption {
    font-size:1.5rem;
  }
  /* chairs panel content */
  .blue_header {
    padding-top:15px;
    line-height: 1.2;
    font-size:max(5vw,1.25rem);
  }
  .smaller-text {
    font-size:inherit;
    line-height: inherit;
  }
  div.welcome_text > p {
    line-height: 1.2;
  }
  div.welcome_text > h2 {
    font-size:18px;
  }
  .waves-area {
    height:21vw;
  }
  .map-feature {
    grid-template-areas: "map . map2" "counters counters counters";
    grid-template-columns: 2fr 20px 1fr;
  }
  .counters-column {
    flex-direction: row;
    justify-content: center;
  }
  .map-counter-box {
    padding:0em 1em;
  }
  .map-counter-box:first-of-type {
    border-bottom:none;
    border-right:1px solid lightgray;
  }
  .copyright br {
    display:block;
  }
  .copyright span {
    display:none;
  }
}

@media (max-width: 470px) {
  .demo_btn_nav {
    display: none;
  }
  div.six_columns {
    columns: 1;
  }  
}
