:root {
  --header-color: rgb(255, 255, 250);
  --header-bckgrnd: rgb(50, 50, 50);
  --header-bckgrnd:white;
  --header-bckgrnd: silver;
  --header-bckgrnd-linear: linear-gradient(45deg,aquamarine,blue,navy);
  --header-bg-color-from:#006699;
  --header-bg-color-to:#00CCFF;
  --header-font-family:Arial, Helvetica, sans-serif;
  /* If you choose a Serif pairing for headings */
  --header-font-family: "Constantia", "Georgia", serif;
  --header-tagline-font-family:"Roboto", sans-serif;
  --header-height:0px;
  --nav-direction: 0;
  --nav-item-highlight-color: navy;
  --nav-item-highlight-bg-image: linear-gradient(white, white);
  --nav-item-highlight-x-bg-image: linear-gradient(navy, navy);
  --nav-item-highlight-transition-speed: 0.3s;
  --nav-item-highlight-transition-speed: 0.3s;
  --nav-item-transit-speed-in: 0.3s;
  --nav-item-transit-speed-out: 0.7s;
  --nav-item-a-transit-speed-in: 0.3s;
  --nav-item-a-transit-speed-out: 0.7s;
  --body-color:navy;
  --body-color:darkslategrey;
  --body-color:grey;
  --body-bckgrnd: white;
  --body-bckgrnd: silver;
  /* Candara first, then Optima (Mac's flared sans), then general sans-serif */
  --body-font-family: "Trebuchet MS", "Candara";
  --body-font-family: "Candara", "Segoe UI", "Optima", "Arial", sans-serif;
  --std-btn-color:navy;
  --std-btn-bckgrnd:royalblue;
  --std-btn-hover-color:royalblue;
  --std-btn-hover-bckgrnd:navy;
  --std-btn-active-color:deepskyblue;
  --std-btn-active-bckgrnd:navy;
  --flip-tile-bckgrnd-color: #3498db;
  --section-color: white;
  --section-bckgrnd: #006699;
  --section-border: white;
  --std-input-color:darkblue;
  --std-input-bckgrnd:palegoldenrod;
  --modal-color: white;
  --modal-bckgrnd: #006699;
  --modal-input-color: blue;
  --modal-input-bckgrnd: palegoldenrod;
  --modal-border-color: white;
  --footer-bg-color-from:#00CCFF;
  --footer-bg-color-to:#006699;
  --footer-font-color:white;
  --footer-color:lightskyblue;
  --footer-color:rgb(230,240,255);
  --footer-bckgrnd-color: navy;
  --footer-bckgrnd-color: darkslategrey;
  --footer-bckgrnd-color: steelblue;
  --busy-animation-overlay-bckgrnd: rgba(200, 200, 200, 0.8);
  --spacer-height: 20px;
  x: rgba(0, 0, 0, 0.5);
  x: rgba(255, 255, 255, 0.5);
  x: rgba(255, 0, 0, 0.5);
  x: rgba(0, 255, 0, 0.5);
  x: rgba(0, 0, 255, 0.5);
  x: rgba(0, 255, 255, 0.5);
  x: rgba(255, 0, 255, 0.5);
  x: rgba(255, 255, 0, 0.5);
}

.display-none {
  display: none;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
  display: none;
}

.gen-pop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1060;
  opacity: 0;
  transition: all 0.3s ease;
}
.gen-pop-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.gen-pop-overlay.show .gen-pop-modal {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.gen-pop-overlay .gen-pop-modal {
  padding: 20px;
  border-radius: 8px;
  min-width: 300px;
  background-color: var(--section-bckgrnd);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.9);
  transform: translateY(-20px);
  transition: all 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.gen-pop-overlay .gen-pop-prompt {
  color: white;
  margin-bottom: 10px;
}
.gen-pop-overlay .gen-pop-input {
  position: relative;
  margin-bottom: 10px;
}
.gen-pop-overlay .gen-pop-input input {
  width: 100%;
  padding: 8px 40px 8px 8px;
  box-sizing: border-box;
}
.gen-pop-overlay .gen-pop-toggle-reveal {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}
.gen-pop-overlay .gen-pop-buttons {
  text-align: right;
}
.gen-pop-overlay .gen-pop-buttons button {
  margin-left: 5px;
}

.tick {
  display: none;
  color: white;
  font-weight: bolder;
}

.spacer {
  width: 100%;
  flex-grow: 1; /* This tells the spacer: "Take up every pixel of leftover room" */
  font-size: 0; /* Kills the height of the dots */
  line-height: 0; /* Kills the vertical space of the text */
  overflow: hidden; /* Ensures nothing spills into the footer */
}

.material-icons {
  font-size: var(--font-size-body) !important;
}

.container {
  /* This accounts for the 'notch' or home bar on newer iPads/iPhones */
  padding-bottom: env(safe-area-inset-bottom);
  /* This accounts for the 'notch' or home bar on newer iPads/iPhones */
}

.std-btn {
  color: var(--std-btn-color);
  background-color: var(--std-btn-bckgrnd);
  padding: 2px 5px 2px 5px;
  border: 1px solid white;
  border-radius: 5px;
  cursor: pointer;
}
.std-btn:hover {
  color: var(--std-btn-hover-color);
  background-color: var(--std-btn-hover-bckgrnd);
}
.std-btn.active {
  color: var(--std-btn-active-color);
  background-color: var(--std-btn-active-bckgrnd);
}

.noscript-recommended {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  color: white;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
}
.noscript-recommended .noscript-content {
  font-size: 10px;
  padding: 0.5rem;
  border: 1px solid #02fefe;
  border-radius: 5px;
}
.noscript-recommended .noscript-content h2 {
  font-size: 14px;
  color: #02fefe;
}
.noscript-recommended .noscript-content a {
  display: inline-block;
  color: white;
  text-decoration: underline;
}
.noscript-recommended .noscript-content a:hover, .noscript-recommended .noscript-content a:focus {
  color: #02fefe;
}
.noscript-recommended .js-logo {
  display: inline-block;
  width: 20px;
}

#close-noscript {
  display: none;
}

.noscript-message-close {
  position: absolute;
  display: inline-block;
  color: white;
  background-color: red;
  top: 0;
  right: 0;
  margin-top: 10px;
  margin-right: 20px;
  padding: 3px;
  border: 1px solid white;
  border-radius: 5px;
  cursor: pointer;
}

body:has(#close-noscript:checked) .noscript-recommended {
  display: none;
}

br {
  content: "";
  display: block;
  margin-bottom: 0 !important;
}

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

html {
  min-height: 100vh; /* Ensures the body/html is at least as tall as the screen */
  min-height: 100dvh; /* Ensures the body/html is at least as tall as the screen */
  overflow-y: scroll; /* Forces the vertical scrollbar track to always stay visible */
  scroll-behavior: smooth; /* Makes clicking #section links slide instead of jump */
  scrollbar-gutter: stable; /* Reserves space for the scrollbar, preventing layout shift */
  -webkit-font-smoothing: antialiased; /* Makes text look crisper on Macs/iOS */
  -moz-osx-font-smoothing: grayscale;
  /* Target the scrollbar itself */
}
html ::-webkit-scrollbar {
  width: 12px;
}
html {
  /* The track (the background part) */
}
html ::-webkit-scrollbar-track {
  background: #f1f1f1;
}
html {
  /* The thumb (the part you grab) */
}
html ::-webkit-scrollbar-thumb {
  background: darkslategrey;
  border-radius: 6px;
  border: 3px solid #f1f1f1; /* Creates a nice padding effect around the thumb */
}
html ::-webkit-scrollbar-thumb:hover, html ::-webkit-scrollbar-thumb:focus {
  background: #2c3e50; /* Slightly darker on hover */
}

#scrollPercent,
#viewportPercent,
#visibleRange,
#viewportHeight,
#documentElementScrollHeight,
#headerHeight,
#footerHeight,
#scrollSpeed {
  position: fixed;
  bottom: 0px;
  right: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0px 7px;
  font-size: 14px;
  font-family: monospace;
  border-radius: 20px;
  z-index: 9999;
  pointer-events: none; /* doesn't block clicks */
  transition: opacity 0.2s ease;
}

#scrollSpeed {
  bottom: 0px;
}

#scrollPercent {
  bottom: 20px;
}

#visibleRange {
  bottom: 40px;
}

#viewportPercent {
  bottom: 60px;
}

#viewportHeight {
  bottom: 80px;
}

#documentElementScrollHeight {
  bottom: 100px;
}

#footerHeight {
  bottom: 120px;
}

#headerHeight {
  bottom: 140px;
}

/* BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY - BODY -  */
body {
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontal centre for flex column layout */
  min-height: 100vh; /* Ensures the body is at least as tall as the screen */
  min-height: 100dvh; /* Ensures the body is at least as tall as the screen */
  margin: 0;
  font-family: var(--body-font-family);
  color: var(--body-color);
  background-color: var(--body-bckgrnd);
  background-color: var(--section-bckgrnd);
  box-sizing: border-box;
}

a {
  text-decoration: underline;
  color: inherit;
  border-bottom: 1px solid inherit;
}

h2 {
  padding-top: 5px;
  padding-bottom: 5px;
}

h3 {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

h4 {
  padding-top: 5px;
  padding-bottom: 5px;
}

p {
  padding-top: 5px;
  padding-bottom: 5px;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--header-color);
  background-image: linear-gradient(to bottom, var(--header-bg-color-from), var(--header-bg-color-to));
  border-bottom: 1px solid white;
  box-sizing: border-box;
  z-index: 1020;
}
header .header-row-1,
header .header-row-2,
header .header-row-3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 15px;
  overflow: hidden;
}
header .header-row-4 > nav > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
header .header-logo-container {
  font-family: var(--header-font-family);
  font-weight: bold;
  color: var(--header-color);
}
header .header-tag-line {
  display: block;
  text-align: center;
  font-family: var(--header-tagline-font-family);
  color: var(--header-color);
}

.header-row-1, .header-row-1 > h2 {
  padding: 0;
  margin: 2px 0px;
}

.header-row-2, .header-row-2 > p {
  padding: 0;
  margin: 2px 0px;
}

.header-row-3, .header-row-4 {
  padding: 0;
  margin: 2px 0px;
}

.sign-in-out-icon-container {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  outline: none;
  /* Padlock icon styling */
}
.sign-in-out-icon-container .icon {
  height: 30px;
  border-radius: 5px;
  display: block;
}

.sign-in-out-icon-container:hover {
  outline: 2px solid white;
  outline-offset: 2px;
  border-radius: 5px;
}

.sign-in-out-icon-container:focus {
  outline: none; /* remove default outline */
  animation: pulse 0.4s ease;
}

.activeNavBtn {
  color: var(--nav-item-color) !important;
  background-image: var(--nav-item-highlight-x-bg-image) !important;
  background-image: linear-gradient(rgb(55, 155, 255), rgb(55, 155, 255)) !important;
  border: 1px solid white;
}

li > a {
  background-image: linear-gradient(to bottom, var(--header-bg-color-from), var(--header-bg-color-to));
  border: 1px solid var(--header-bg-color-from);
  border-radius: 5px;
}

ul[class^=ul-]:not(.ul-0) {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: max-content;
}

.ul-0 {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.li-0 {
  position: relative;
  color: var(--header-color);
  max-width: fit-content;
}

.li-0 > a {
  display: block;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all var(--nav-item-a-transit-speed-in) ease;
}
.li-0 > a:hover, .li-0 > a:focus {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}

.ul-0 > .li-0:hover .ul-1 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ul-1 {
  position: absolute;
  z-index: 1035;
  list-style: none;
  display: flex;
  flex-direction: column;
  min-width: max-content; /* Shrinks to fit content, preventing excessive width */
  white-space: nowrap; /* Prevents items from wrapping to multiple lines */
  /* Smooth UX: Hide via opacity/transform for animations */
  opacity: 0;
  visibility: hidden;
  transition: all var(--nav-item-transit-speed-out) ease;
  pointer-events: none;
}

.li-1 {
  position: relative;
  color: var(--header-color);
}

.li-1 > a {
  display: block;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all var(--nav-item-a-transit-speed-in) ease;
}
.li-1 > a:hover, .li-1 > a:focus {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}

.ul-1 > .li-1:hover .ul-2 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ul-2 {
  position: absolute;
  z-index: 1040;
  list-style: none;
  display: flex;
  flex-direction: column;
  min-width: max-content; /* Shrinks to fit content, preventing excessive width */
  /* Smooth UX: Hide via opacity/transform for animations */
  opacity: 0;
  visibility: hidden;
  transition: all var(--nav-item-transit-speed-out) ease;
  pointer-events: none;
}

.li-2 {
  color: var(--header-color);
  position: relative;
}

.li-2 > a {
  display: block;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all var(--nav-item-a-transit-speed-in) ease;
}
.li-2 > a:hover, .li-2 > a:focus {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}

.ul-2 > .li-2:hover .ul-3 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ul-3 {
  position: absolute;
  z-index: 1045;
  list-style: none;
  display: flex;
  flex-direction: column;
  min-width: max-content; /* Shrinks to fit content, preventing excessive width */
  /* Smooth UX: Hide via opacity/transform for animations */
  opacity: 0;
  visibility: hidden;
  transition: all var(--nav-item-transit-speed-out) ease;
  pointer-events: none;
}

.li-3 {
  color: var(--header-color);
  position: relative;
}

.li-3 > a {
  display: block;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all var(--nav-item-a-transit-speed-in) ease;
}
.li-3 > a:hover, .li-3 > a:focus {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}

.ul-3 > .li-3:hover .ul-4 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pos-below-to-right {
  top: 100%; /* Sits exactly below the nav bar and extends to the right */
  left: 0;
}

.pos-below-to-left {
  top: 100%; /* Sits exactly below the nav bar and extends to the left */
  right: 0;
}

.pos-flush-to-right {
  top: 0;
  left: 100%;
}

.pos-flush-to-left {
  top: 0;
  right: 100%;
}

.nav-toggle-input,
.nav-toggle-button,
.nav-toggle-closer {
  display: none;
}

@media screen and (orientation: portrait) {
  main {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontal centre for flex column layout */
  }
  footer {
    width: 100%;
  }
  /* 1. THE NAV CONTAINER */
  header > div > nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 85% !important;
    width: 100% !important;
    height: 100dvh !important;
    background: var(--flip-tile-bckgrnd-color, #ffffff) !important;
    transform: translateX(-105%);
    transition: transform 0.4s ease-in-out !important;
    z-index: 1030 !important;
    /* Ensure the container itself is display: block */
    display: block !important;
    padding: 2rem 1rem !important;
    overflow-y: auto !important;
  }
  /* 2. THE UL-0 RESET (Fixes Alignment) */
  .ul-0 {
    display: flex !important;
    flex-direction: column !important;
    /* Forces items to the left */
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
  }
  /* 3. SUB-MENU VISIBILITY (Fixes Hidden Items) */
  /* This targets ALL nested lists and forces them to show */
  ul[class^=ul-] {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    /* Removes absolute positioning from desktop */
    position: static !important;
    transform: none !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    gap: 10px !important;
  }
  ul[class^=ul-] > li:first-child {
    margin-top: 10px;
  }
  li[class^=li-]:has(ul[class^=ul-]) > a {
    color: gold;
    font-weight: 550;
    background-image: linear-gradient(var(--section-bckgrnd), var(--section-bckgrnd));
    transition: all 0.3s ease;
  }
  li[class^=li-]:has(ul[class^=ul-]) > a:hover {
    color: navy;
    background-image: linear-gradient(palegoldenrod, palegoldenrod);
  }
  /* 4. INDENTATION */
  .ul-1, .ul-2, .ul-3 {
    /* Indents the sub-menus */
    margin-left: 1.5rem !important;
    border-left: 2px solid rgb(0, 0, 0) !important;
    padding-left: 10px !important;
  }
  /* 5. LINK STYLING */
  li[class^=li-] {
    width: 100% !important;
    display: block !important;
    text-align: left !important;
  }
  li > a {
    display: block !important;
    /* Ensures text is left-aligned inside the button */
    text-align: left !important;
    width: 100% !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px !important;
  }
  /* 6. TRIGGER OPEN STATE */
  .nav-toggle-input:checked ~ header > div > nav {
    transform: translateX(0) !important;
  }
  /* Style the label when the checkbox inside the body is checked */
  /* 1. Hide the middle line */
  body:has(.nav-toggle-input:checked) .nav-toggle-button .middle {
    opacity: 0;
  }
  /* 2. Rotate the top line 45 degrees */
  body:has(.nav-toggle-input:checked) .nav-toggle-button .top {
    transform: translate(0px, 6px) rotate(45deg) scale(1.2);
    transform-box: fill-box;
    transform-origin: center;
    color: red;
  }
  /* 3. Rotate the bottom line -45 degrees */
  body:has(.nav-toggle-input:checked) .nav-toggle-button .bottom {
    transform: translate(0px, -6px) rotate(-45deg) scale(1.2);
    transform-box: fill-box;
    transform-origin: center;
    color: red;
  }
  /* 4. Add a smooth transition */
  body:has(.nav-toggle-input:checked) .nav-toggle-button line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  html:has(.nav-toggle-input:checked)::-webkit-scrollbar {
    display: none;
  }
  html:has(.nav-toggle-input:checked) {
    color: chartreuse !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  /* 7. HIDE DESKTOP OVERLAYS */
  .nav-toggle-closer {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    display: none;
    z-index: 1000 !important;
  }
  .nav-toggle-input:checked ~ .nav-toggle-closer {
    display: block !important;
  }
  .nav-toggle-input:checked ~ header > div > nav {
    transform: translateX(0);
  }
  .nav-toggle-button {
    display: flex;
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    color: navy;
    background: white;
    border: 1px solid navy;
    border-radius: 5px;
    padding: 0.25rem;
    cursor: pointer;
    z-index: 1040;
  }
}
main {
  flex: 1; /* This tells the main area to "grow" and take up all empty space */
  width: 100%;
  box-sizing: border-box;
}

/* 1. Hide the checkbox visually but keep it functional */
.flip-tile-checkbox {
  display: none;
}

/* 2. When checkbox is checked, flip the inner container */
.flip-tile-checkbox:checked + .flip-tile-inner {
  transform: rotateY(180deg);
}

/* 3. Ensure the label (the tile) acts as the click trigger */
.flip-tile {
  display: block; /* Labels are inline by default */
  cursor: pointer;
}

.flip-tiles-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 16%));
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: auto;
}

.flip-tile {
  position: relative;
  aspect-ratio: 1/1;
  perspective: 1000px;
  padding: 3px;
  cursor: pointer;
}

.flip-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-tile.is-flipped .flip-tile-inner {
  transform: rotateY(180deg);
  transition: all 2.5s ease forwards;
}

.flip-tile-front,
.flip-tile-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  color: white;
  padding: 5px;
  border: 1px solid white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--flip-tile-bckgrnd-color);
}

.flip-tile-front img {
  width: 100%;
  border-radius: 5px;
}

.flip-tile-back {
  font-size: 0.95em;
  transform: rotateY(180deg);
  justify-content: flex-start;
}

section,
.section-flip-tiles,
.section-privacy-policy,
.section-terms-of-service,
.section-contact,
.section-products,
.section-services {
  color: white;
  background-color: var(--section-bckgrnd);
  max-width: 800px;
  margin: 20px auto;
  margin: 5px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
}
section li,
.section-flip-tiles li,
.section-privacy-policy li,
.section-terms-of-service li,
.section-contact li,
.section-products li,
.section-services li {
  margin-left: 20px;
}

.section-portfolio {
  display: grid;
  grid-template-columns: 1fr;
  margin-left: 20px;
  margin-right: 20px;
}
.section-portfolio .project-card {
  border: 1px solid white;
  border-radius: 5px;
  padding: 10px;
}

.section-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading {
  color: white;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}

.table-contact {
  border-collapse: collapse;
  margin: 10px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.table-contact thead tr {
  background-color: var(--bckgrnd-color); /* A professional teal/green */
  text-align: left;
}
.table-contact th,
.table-contact td {
  padding: 5px 10px;
}
.table-contact tr {
  border-bottom: 1px solid #dddddd;
}
.table-contact tbody tr:last-of-type {
  border-bottom: none;
}
.table-contact tbody tr:hover {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(2, 254, 254, 0.3);
  border: 3px solid red;
  border-radius: 50%;
  border-top-color: blue;
  animation: spin 1s ease-in-out infinite;
  margin: 20px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: black;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-popup-overlay .login-popup-container {
  background: var(--body-bckgrnd);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 4;
}
.login-popup-overlay .login-popup-container input {
  color: darkblue;
  color: var(--std-input-color);
  background: var(--std-input-bckgrnd);
  padding: 5px;
  width: 100%;
}
.login-popup-overlay .login-popup-container button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: rgb(0, 123, 255);
  color: white;
  cursor: pointer;
  margin-left: 15px;
  margin-right: 15px;
}
.login-popup-overlay .login-popup-container .normal-prompt {
  max-width: 100%;
}
.login-popup-overlay .login-popup-container .error-prompt {
  max-width: 100%;
  color: red;
}

.passcodeForm {
  position: fixed;
  left: -10000px;
}
.passcodeForm .code-input-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.passcodeForm .code-input-input {
  display: flex;
  flex-direction: row;
  width: 30px !important;
  height: 30px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  background: var(--body-bckgrnd);
  transition: border-color 0.2s;
}
.passcodeForm .code-input-input:focus {
  color: darkblue;
  border-color: #007BFF;
}
.passcodeForm button {
  padding: 10px 20px;
  background: var(--body-bckgrnd);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.passcodeForm button:disabled {
  background: var(--body-bckgrnd);
  cursor: not-allowed;
}
@media (max-width: 700px) {
  .passcodeForm .code-input input {
    width: 40px;
    height: 40px;
  }
}

.busy-animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--busy-animation-overlay-bckgrnd);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}
.busy-animation-overlay .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  z-index: 5;
}
.busy-animation-overlay .dot {
  width: 12px;
  height: 12px;
  background-color: #3498db;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
  z-index: 5;
}
.busy-animation-overlay .dot:nth-child(1) {
  animation-delay: 0s;
}
.busy-animation-overlay .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.busy-animation-overlay .dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  } /* Slight slide up */
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 1s ease-out forwards;
  will-change: opacity; /* Tells the browser to optimize for this animation */
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0.8;
    transform: translateY(-10px);
  } /* Slight slide away */
}
.fade-out {
  animation: fadeOut 1s ease-out forwards;
  will-change: opacity; /* Tells the browser to optimize for this animation */
}

sup {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}

sub {
  vertical-align: baseline;
  position: relative;
  bottom: 0.4em;
}

.href {
  color: inherit;
  text-decoration: underline;
  margin-left: 1ch;
}

.meta-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}
.meta-popup.active {
  display: flex;
}

.meta-content {
  background: #1a1a1a;
  color: #00ff41; /* "Matrix" green for a technical feel */
  color: skyblue; /* "Matrix" green for a technical feel */
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #333;
  max-width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.meta-item {
  margin: 10px 0;
  font-family: monospace;
  font-size: 0.9rem;
}

.meta-key {
  color: #aaa;
}

.meta-key {
  color: aqua;
  font-weight: bold;
}

.meta-pre {
  background: #000;
  padding: 10px;
  color: #fff;
  overflow-x: auto;
  border-left: 2px solid skyblue;
  font-size: 0.8rem;
}

.meta-val {
  color: #fff;
  margin-left: 10px;
  word-break: break-all;
}

.meta-description {
  color: #aaa;
  font-size: 0.75rem;
  font-style: italic;
  margin-bottom: 5px;
  padding-left: 10px;
}

.meta-mismatch {
  text-align: center;
  color: #ff0000;
  background-color: white;
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
}

.meta-match {
  text-align: center;
  color: #00ff00;
  font-weight: normal;
}

.close-meta-popup-btn {
  margin-top: 20px;
  background: #444;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}

@media print {
  /* 1. Hide EVERYTHING except the popup */
  body > *:not(#meta-popup) {
    display: none !important;
  }
  /* 2. Strip the 'Fixed' and 'Blurred' container styles */
  #meta-popup {
    position: static !important;
    display: block !important;
    background: white !important;
    height: auto !important;
    width: 100% !important;
  }
  /* Force all titles inside the popup to be black for printing */
  .meta-content h2,
  .meta-content h3,
  .meta-content h6,
  .meta-content p,
  .meta-content div {
    color: #000 !important;
    -webkit-print-color-adjust: exact; /* Forces Chrome to respect the color change */
    print-color-adjust: exact;
  }
  /* Ensure the JSON header specifically is black */
  #meta-list h3 {
    color: #000 !important;
    margin-top: 20px !important;
    border-bottom: 1px solid #000 !important;
  }
  .meta-content {
    position: static !important;
    background: white !important;
    color: black !important; /* Save the client's ink! */
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    padding-left: 5px;
  }
  /* 3. Style the Meta Items for the page */
  .meta-item {
    display: block !important;
    width: 100% !important;
    break-inside: avoid !important; /* Prevents one item splitting mid-text */
    border-bottom: 1px solid #eee;
    padding-left: 5px !important;
  }
  .meta-item div {
    color: #333 !important; /* Dark grey for descriptions */
    font-size: 9pt !important;
    padding-left: 0 !important;
    margin-top: 2px !important;
    border-bottom: 1px dotted #ccc; /* Adds a nice separator between items */
  }
  .meta-key {
    color: #555 !important;
    font-weight: bold;
  }
  .meta-val {
    color: #000 !important;
  }
  /* 4. Force JSON blocks to wrap correctly */
  pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    border: 1px solid #ccc !important;
    background: #f9f9f9 !important;
    color: #333 !important;
    font-size: 10pt !important;
  }
  .no-print {
    display: none !important;
  }
  @page {
    size: A4 portrait; /* Usually better for lists, change to landscape if preferred */
    margin: 2cm;
  }
}
.hover-box {
  position: relative;
  cursor: pointer;
}

.message {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.hover-box:hover .message {
  display: block;
}

.tooltip {
  position: relative;
}

.tooltip::after {
  content: "This is a message";
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tooltip:hover::after {
  opacity: 1;
}

.cookies-consent-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: calc(100% - 40px);
  max-width: 600px;
  background: var(--modal-bckgrnd);
  color: var(--modal-color);
  border: 1px solid var(--modal-border-color);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.cookies-consent-banner a {
  color: #93c5fd;
  text-decoration: underline;
}
.cookies-consent-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookies-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookies-consent-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}
.cookies-consent-btn:hover {
  opacity: 0.9;
}

.cookies-consent-btn-accept {
  background: #22c55e;
  color: #fff;
}

.cookies-consent-btn-reject {
  background: #374151;
  color: #fff;
}

.cookies-consent-btn-settings {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #4b5563;
}

.manage-cookies-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}
.manage-cookies-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.manage-cookies-modal-content {
  background: var(--modal-bckgrnd);
  color: var(--modal-color);
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.manage-cookies-modal-content h3 {
  margin: 0;
  font-size: 18px;
}

.manage-cookies-modal-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.manage-cookies-modal-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.manage-cookies-modal-option p {
  margin: 0;
  font-size: 13px;
  color: #555;
  color: white;
}

.manage-cookies-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--footer-font-color);
  background-image: linear-gradient(to bottom, var(--footer-bg-color-from), var(--footer-bg-color-to));
  border-top: 1px solid white;
  padding: 0;
  margin: 0;
}
footer > h2 {
  padding: 0;
  margin: 0;
  display: block;
  text-align: center;
}
footer > p {
  padding: 0;
  margin: 0;
  display: block;
  text-align: center;
}
footer > div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
footer > div > div {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}
footer > div > div h3 {
  font-style: italic;
}
footer > div > div > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
footer > div > div nav ul {
  list-style: none;
  min-width: max-content;
}
footer > div > div nav ul li {
  color: var(--header-color);
}
footer > div > div nav ul li a {
  display: block;
  width: 100%;
  text-decoration: none;
  background-image: linear-gradient(to bottom, var(--header-bg-color-from), var(--header-bg-color-to));
  border: 1px solid var(--header-bg-color-from);
  padding: 5px 15px;
  border-radius: 5px;
  transition: all var(--nav-item-a-transit-speed-in) ease;
}
footer > div > div nav ul li a:hover, footer > div > div nav ul li a:focus {
  color: var(--nav-item-highlight-color);
  background-image: var(--nav-item-highlight-bg-image);
}
@media screen and (orientation: portrait) {
  footer .wide-screen-only {
    display: none;
  }
}

/*# sourceMappingURL=netit-com-au.css.map */
