/**
 * Shared header / sidemenu / footer chrome for ALL pages.
 * Per-page HTTrack CSS is not required for chrome layout.
 */

/* ===== Header shell ===== */
nav#global-navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 102;
  color: #fff;
  transition: 0.2s all;
}
nav#global-navbar .header {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 30px;
  box-sizing: border-box;
}
nav#global-navbar .header__left,
nav#global-navbar .header__right {
  flex: 1 1 50%;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  min-width: 0;
}
nav#global-navbar .header__right {
  justify-content: flex-end;
}
nav#global-navbar .header__logo {
  display: block;
  flex: 0 0 auto;
  cursor: pointer;
  margin: 0 12px;
}
nav#global-navbar .header__logo img {
  display: block;
  max-height: 72px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
}
nav#global-navbar .navigation {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav#global-navbar .navigation__item {
  margin: 0;
  padding: 0;
  position: relative;
}
nav#global-navbar .navigation__link {
  display: block;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 19px 13px;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
}
nav#global-navbar .navigation__link span {
  display: inline-block;
  position: relative;
}
nav#global-navbar .hamburger {
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  color: inherit;
  width: 37px;
  height: 58px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 8px;
}
nav#global-navbar .hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  position: relative;
}
nav#global-navbar .hamburger span:before,
nav#global-navbar .hamburger span:after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 0;
}
nav#global-navbar .hamburger span:before { top: -9px; }
nav#global-navbar .hamburger span:after { bottom: -9px; }

/* Dropdowns hidden until hover/toggle */
nav#global-navbar .sub-nav {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, calc(100% + 12px));
  z-index: 5;
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  min-width: 178px;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s all;
}
nav#global-navbar .sub-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav#global-navbar .sub-nav ul li a {
  display: block;
  color: #000;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
}
nav#global-navbar .sub-nav ul li a:hover {
  background: #7cc1ed;
  color: #fff;
}
nav#global-navbar .sub-nav.visible,
nav#global-navbar .sub-nav-container:hover > .sub-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 100%);
}

@media (max-width: 1200px) {
  nav#global-navbar .navigation {
    display: none !important;
  }
}

/* Solid pages (no hero): always blue bar */
body.has-solid-nav {
  padding-top: 100px;
}
body.has-solid-nav nav#global-navbar,
body.has-solid-nav nav#global-navbar.scroll {
  background-color: #52789c !important;
  color: #fff !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
body.has-solid-nav nav#global-navbar .header {
  background-color: #52789c !important;
}
body.has-solid-nav nav#global-navbar .header__logo img.dark {
  display: none !important;
}
body.has-solid-nav nav#global-navbar .header__logo img.light {
  display: block !important;
}

/* ===== Sidemenu: hidden off-canvas until .visible ===== */
#global-sidemenu.sidemenu,
body > div.sidemenu {
  position: fixed !important;
  top: 0;
  right: -100% !important;
  left: auto !important;
  width: auto !important;
  height: 100vh;
  z-index: 10060 !important;
  background: transparent !important;
  transition: right 0.3s;
  pointer-events: none;
  visibility: hidden;
  display: block;
}
#global-sidemenu.sidemenu.visible,
body > div.sidemenu.visible {
  right: 0 !important;
  pointer-events: auto;
  visibility: visible;
}
#global-sidemenu .sidebar {
  position: relative;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 0 100px;
  background: #52789c;
  color: #fff;
  font-family: Quattrocento, serif;
  font-size: 21px;
  box-sizing: border-box;
  overflow: hidden;
}
#global-sidemenu .sidebar__content {
  height: 100%;
  width: 100%;
  padding: 0 40px;
  text-align: center;
  overflow-y: auto;
  box-sizing: border-box;
}
#global-sidemenu .sidebar__close {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  z-index: 1;
}
#global-sidemenu .sidebar__close:before,
#global-sidemenu .sidebar__close:after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 50%;
  top: 50%;
}
#global-sidemenu .sidebar__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#global-sidemenu .sidebar__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#global-sidemenu .sidebar__nav {
  list-style: none;
  margin: auto 0;
  padding: 0;
}
#global-sidemenu .sidebar__nav-item {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#global-sidemenu .sidebar__nav-link,
#global-sidemenu .sidebar__subnav-link {
  display: inline-block;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
#global-sidemenu .sidebar__subnav {
  list-style: none;
  margin: 0;
  padding: 4px 0 10px;
  font-size: 17px;
}
#global-sidemenu .sidebar__subnav-link {
  opacity: 0.75;
  padding: 0;
}
#global-sidemenu .sub-nav {
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s all;
}
#global-sidemenu .sub-nav.visible {
  visibility: visible;
  opacity: 1;
  max-height: 100vh;
}
@media (max-width: 767px) {
  #global-sidemenu .sidebar {
    width: 270px;
    font-size: 18px;
  }
  #global-sidemenu .sidebar__content {
    padding: 0 20px;
  }
}

/* ===== Mobile contact FAB ===== */
#global-mobile-contact .mobile-contact {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 25px;
  z-index: 91;
}
#global-mobile-contact .mobile-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
  border-radius: 90px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(127, 127, 127, 0.3);
}
@media (max-width: 560px) {
  #global-mobile-contact .mobile-contact {
    display: block;
  }
}

/* ===== Footer chrome — exact Spikes / LP redesign rules ===== */
footer#global-footer {
  background: #fff;
  color: #000;
}
footer#global-footer .footer {
  position: relative;
  padding-top: 60px;
  padding-bottom: 30px;
}
footer#global-footer .footer .container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}
footer#global-footer .footer h3 {
  margin: 0 0 15px 0;
  font-family: Quattrocento, Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #000;
}
footer#global-footer .footer h4.serif {
  font-family: Quattrocento, Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: #000;
}
footer#global-footer .info-wrap {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
}
footer#global-footer .info-wrap .agent_box,
footer#global-footer .info-wrap-contact.agent_box {
  width: 100%;
  position: relative;
}
/* no_newsletter: "Let's Connect" left column + contact cells start at 230px */
footer#global-footer .footer.no_newsletter .info-wrap-contact {
  width: 100%;
  padding-left: 230px;
  box-sizing: border-box;
  position: relative;
}
footer#global-footer .footer.no_newsletter .info-wrap-contact h4 {
  position: absolute;
  margin: -8px 0 0 0;
  left: 0;
  top: auto;
  max-width: 200px;
  width: auto;
}
footer#global-footer .info-wrap-contact_zone {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 39px;
  gap: 0;
}
footer#global-footer .footer.no_newsletter .info-wrap-contact_zone:first-of-type,
footer#global-footer .footer.no_newsletter .info-wrap-contact_zone.type_user {
  margin-bottom: 21px;
}
footer#global-footer .footer.no_newsletter .info-wrap-contact_zone:last-child {
  margin-bottom: 0;
}
footer#global-footer .info-wrap-contact_cell {
  position: relative;
  padding-left: 50px;
  width: 400px;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
}
footer#global-footer .info-wrap-contact_zone i,
footer#global-footer .info-wrap-contact_cell i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 31px;
  line-height: 0;
}
footer#global-footer .info-wrap-contact_cell i svg {
  display: block;
}
footer#global-footer .info-wrap-contact_cell i svg path {
  fill: currentColor;
}
footer#global-footer .contact_title,
footer#global-footer .info-wrap-contact_title {
  line-height: 1;
  margin: 0 0 5px;
}
footer#global-footer .info-wrap-contact_link {
  color: #555;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}
footer#global-footer .text_footer {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 39px;
  align-items: flex-start;
}
footer#global-footer .text_footer .images_box {
  max-width: 186px;
  width: 100%;
  margin-right: 43px;
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
}
footer#global-footer .first_text_footer .img_size {
  width: 100%;
  height: 88px;
}
footer#global-footer .first_text_footer .img_size img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}
footer#global-footer .first_text_footer .luxury-text {
  flex: 1 1 auto;
  min-width: 0;
}
footer#global-footer .first_text_footer .luxury-text p {
  margin: 0;
  line-height: 1.55;
  color: #555;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 12px;
  white-space: normal;
}
footer#global-footer .info-privacy {
  padding-top: 45px;
  padding-bottom: 30px;
  border-top: 1px solid #e6e6e6;
}
footer#global-footer .form-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin-left: -15px;
  margin-right: -15px;
}
footer#global-footer .form-col {
  flex: 1 1 0;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
footer#global-footer .powered-box {
  display: none;
}
footer#global-footer .copy_zone {
  font-size: 18px;
  color: #000;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  padding-top: 8px;
  padding-bottom: 8px;
}
footer#global-footer .lp-socials {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 1280px) {
  footer#global-footer .text_footer {
    flex-wrap: wrap;
  }
  footer#global-footer .form-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 1200px) {
  footer#global-footer .footer.no_newsletter .info-wrap-contact {
    padding-left: 0;
  }
  footer#global-footer .footer.no_newsletter .info-wrap-contact h4 {
    position: relative;
    left: auto;
    max-width: 100%;
    width: 100%;
    margin: 0 0 20px 0;
  }
  footer#global-footer .footer.no_newsletter .info-wrap-contact_cell {
    width: 50%;
  }
  footer#global-footer .footer.no_newsletter .info-wrap-contact_zone:first-of-type,
  footer#global-footer .footer.no_newsletter .info-wrap-contact_zone.type_user {
    margin-bottom: 39px;
  }
}
@media (max-width: 768px) {
  footer#global-footer .footer {
    padding-top: 30px;
  }
  footer#global-footer .footer .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  footer#global-footer .footer.no_newsletter .info-wrap-contact_cell,
  footer#global-footer .info-wrap-contact_cell {
    width: 100%;
  }
  footer#global-footer .text_footer {
    flex-direction: column;
  }
  footer#global-footer .text_footer .images_box {
    margin: 0 auto 20px auto;
  }
  footer#global-footer .first_text_footer {
    margin-bottom: 51px;
  }
}
@media (max-width: 560px) {
  footer#global-footer .footer {
    padding-top: 10px;
  }
  footer#global-footer .footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  footer#global-footer .text_footer {
    text-align: center;
  }
}
