/* Shared system-page surface, loaded after the generated theme styles.
   A banner may sit behind the panel; pages without one reserve header space. */
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner {
  color: #066168 !important;
  background: #fff !important;
}
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .header-middle {
  color: #066168 !important;
  background: transparent !important;
}
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner :is(.main-menu a,.travlla43-icons a,.travlla43-icons button) {
  color: #066168 !important;
  text-shadow: none !important;
  cursor: pointer;
}
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner :is(.main-menu a,.travlla43-icons a,.travlla43-icons button) :is(strong,i,span) {
  color: inherit !important;
  text-shadow: none !important;
}
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner :is(.main-menu a,.travlla43-icons a,.travlla43-icons button):is(:hover,:focus-visible),
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .main-menu li:is(:hover,.active) > a {
  color: #85d200 !important;
}
html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .navbar-logo .logo img {
  display: block;
  width: 140px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}
@media (min-width: 992px) {
  /* Legacy navbar-compact sets width:100%, which overflows the right inset. */
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner.is-fixed {
    width: auto !important;
    left: 30px !important;
    right: 30px !important;
  }
  html body:is(.layout-43,.header-43):not(.common-home):not(:has(.so-before-main)) #wrapper {
    padding-top: 190px !important;
  }
  /* No protruding white block above the rounded header. */
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .navbar-logo::before {
    top: -20px;
    height: 115px;
  }
}
/* At laptop widths, place the logo first so all five menu labels fit. */
@media (min-width: 992px) and (max-width: 1499px) {
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .header-middle > .container-full {
    padding: 0 24px !important;
  }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .header-middle > .container-full > .row {
    display: grid !important;
    grid-template-columns: 140px minmax(0,1fr) auto !important;
    gap: 18px;
  }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner :is(.navbar-logo,.main-menu,.middle2) {
    position: static !important;
    width: auto !important;
    transform: none !important;
  }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .navbar-logo::before { display: none; }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .main-menu ul.megamenu {
    gap: 0 !important;
    justify-content: space-evenly !important;
  }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .main-menu ul.megamenu > li > a { padding: 12px 8px; }
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner .travlla43-icons { gap: 4px; }
}
@media (max-width: 991px) {
  html body:is(.layout-43,.header-43):not(.common-home) #header.travlla43-header.travlla43-inner:not(.is-fixed) {
    position: relative !important;
    top: 0 !important;
    border-radius: 0 !important;
  }
}
