@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap");

@font-face {
  font-family: "networksans-regular";
  src: url("/assets/fonts/networksans/NetworkSans-2019-Regular.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "networksans-bold";
  src: url("/assets/fonts/networksans/NetworkSans-2019-Bold.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "networksans-regular", sans-serif;
  font-size: 16px;
}

strong, b {
    font-family: "networksans-bold";
}

.btn {
  border-radius: 0;
}
.btn-dark {
  background-color: #000;
}

.bbbp-wrapper {
  display: flex;
  flex-direction: column;
}

.bbbp-svg-column {
  height: 100vw;
  max-height: calc(60vh);
  position: relative;
  overflow: hidden;
}

.bbbp-buttons {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 5;
}


#outerGSAPWrapper {
    width: 100vw;
    height: 100vw;
    position: absolute;
    z-index: 1 !important;
}




#outerGSAPWrapper > svg,
#carSprites,
.car-sprites-group {
  position: absolute;
}


#carSprites,
.car-sprites-group {
  pointer-events: none;
  width: 100vw; 
  height: 100vw; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%);
  z-index: 3;
}

#markersSVG {
  z-index: 4;
}

.hover-overlay {
  opacity: 0;
  cursor: pointer;
  fill: #fdefa4;
  /* animation: lootbox 5s infinite; */
}

.hover-overlay:hover {
  opacity: 0.5 !important;
  cursor: pointer;
}

.hover-overlay-project {
  fill: none;
  stroke: #fdefa4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-opacity: 0.7;
  stroke-width: 40px;
  opacity: 0;
}

#project_wgtp:hover {
  stroke: #ed7469;
}

#project_airportline:hover {
  opacity: 0.8 !important;
  stroke: #ed7469;
}

.location-tooltip h5 {
  font-size: 14px;
  margin-bottom: 0;
}

@keyframes lootbox {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 0.8;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

#carSprites {
  clip-path: url(#roadOcclusion);
}

.project-overlay {
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.project-overlay:hover {
  opacity: 0.9;
}

#landmarkOverlays {
  opacity: 1;
  /* animation: overlay-dashes 20s linear infinite; */
}

@keyframes overlay-dashes {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0.25;
  }
  15% {
    opacity: 0.25;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.landmark-overlay {
  stroke-dasharray: 50vw 50vw;
  animation: overlay-dashes-move 10s linear infinite;
  fill: #f9cf1c;
  fill-opacity: 0.03;
  stroke: #f9cf1c;
  stroke-opacity: 0.2;
  stroke-linejoin: round;
  stroke-width: 4px;
  cursor: pointer;
  mix-blend-mode: screen;
  filter: blur(10px);
}
.landmark-overlay:hover,
.landmark-overlay.active:not(.svg-transparent) {
  fill-opacity: 0.8;
  stroke-opacity: 1;
  stroke: #ffeea4;
  animation: none;
  stroke-dasharray: none;
  filter: blur(20px);
}

@keyframes overlay-dashes-move {
  0% {
    stroke-dashoffset: 0;
    stroke-opacity: 0;
  }
  17% {
    fill-opacity: 0;
  }
  20% {
    stroke-opacity: 1;
    fill-opacity: 0.4;
  }
  28% {
    fill-opacity: 0;
  }

  40% {
    stroke-opacity: 0;
    stroke-dashoffset: 100vw;
  }
  100% {
    stroke-opacity: 0;
    stroke-dashoffset: 100vw;
  }
}

.info-overlay {
  cursor: pointer;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.info-overlay:hover {
  transform: scale(1.02);
}

.info-overlay:hover > circle {
  stroke-dasharray: 25% 75%;
  /* animation: circle-ring 2s linear infinite; */
}

@keyframes circle-ring {
  0% {
    stroke-dashoffset: 0%;
  }

  100% {
    stroke-dashoffset: 100%;
  }
}

.car-sprite {
  width: 0.9vw;
  height: 0.9vw;
  background-size: cover;
  position: absolute;
  z-index: 1;
}
[data-direction="180"] {
  background-position-x: 0;
  z-index: 2;
}
[data-direction="150"] {
  background-position-x: 14.2857%;
  z-index: 2;
}
[data-direction="90"] {
  background-position-x: 28.5714%;
}
[data-direction="30"] {
  background-position-x: 42.8571%;
}
[data-direction="0"] {
  background-position-x: 57.1428%;
}
[data-direction="-30"] {
  background-position-x: 71.4285%;
}
[data-direction="-90"] {
  background-position-x: 85.7142%;
}
[data-direction="-150"] {
  background-position-x: 100%;
  z-index: 2;
}
[data-direction="-180"] {
  background-position-x: 0;
  z-index: 2;
}

.base_jpg {
  width: 100vw;
  height: 100vh;
  autoround: false;
  transformorigin: 50% 50%;
}

.btn-close-aside {
  display: none;
}

.bbbp-tour {
  background: #fff;
}
.bbbp-panel {
  padding: 2rem;
  padding-bottom: 6rem;
  background: #fff;
  position: relative;
}

.bbbp-panel-home {
  background: #000;
  color: #fff;
}
.bbbp-tour-headline {
  font-size: 2rem;
  font-family: "networksans-bold";
}
.bbbp-tour-headline-baseline {
  width: 80px;
  border-top: 8px solid #000;
  margin-left: 0;
}
.bbbp-panel-home .bbbp-tour-headline-baseline {
  border-top-color: #FFF;
}
.bbbp-panel-home p {
  font-size: 1.1428rem;
}
.bbbp-tour-tagline {
  /*
  font-size: 0.9rem;
  text-transform: uppercase;
  */
  font-family: "networksans-bold";
}
.bbbp-tour-item {
  margin-top: 1rem;
}
.bbbp-tour-item-title {
  font-size: 1.3rem;
  font-family: "networksans-bold";
}
.bbbp-tour-item-content {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}
.bbbp-tour-item-content-icon {
  min-width: 128px;
  padding-right: 2rem;
}

.bbbp-panel-nav {
  position: fixed;
  bottom: 0;
  background: #FFF;
  width: 100%;
  box-shadow: 0 0 2rem #00000030;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.bbbp-panel-nav-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
.bbbp-panel-nav-btn {
  font-size: 0.8em;
  text-transform: uppercase;
  font-family: "networksans-bold";
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  margin: 0.25em 0;
}
.bbbp-panel-home .bbbp-panel-nav-btn {
  font-size: 1em;
  margin-right: 0.25rem;
}


@media (min-width: 464px) {
  .bbbp-panel,
  .bbbp-panel-nav-inner {
    padding-left: 12vw;
    padding-right: 12vw;
  }
}
@media (min-width: 650px) {
  .bbbp-panel,
  .bbbp-panel-nav-inner {
    padding-left: 19vw;
    padding-right: 19vw;
  }
}
@media (min-width: 1280px) {
  .bbbp-wrapper {
    flex-direction: row-reverse;
  }
  .bbbp-svg-column {
    max-height: none;
    height: 100vh;
    flex-grow: 1;
  }
  #mainSVG, #carSprites, #markersSVG, .car-sprites-group {
    width: 100%;
    height: 100%;
  }
  .bbbp-aside {
    width: 400px;
    height: 100vh;
    overflow: hidden auto;
    box-shadow: 1rem 0 2rem #00000026;
    z-index: 2;
  }
  .btn-close-aside {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
    z-index: 2;
  }
  .bbbp-panel {
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 100vh;
  }
  .bbbp-panel.carousel-item-left,
  .bbbp-panel.carousel-item-right,
  .bbbp-panel.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .bbbp-panel-nav {
    width: 400px;
    padding: 0.5rem 2rem;
  }
  .bbbp-panel-nav-inner {
    padding: 0;
  }
}
@media (min-width: 1440px) {
  .bbbp-aside {
    width: 500px;
  }
  
  .bbbp-panel-nav {
    width: 500px;
  }
}


.bbbp-tour-item-content-text a {
  text-decoration-color: #000;
  font-family: 'networksans-bold';
}
.project-text--melbourne-airport-rail {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #f95602 !important;
}
.project-text--sunbury-line-upgrade {
  /*color: #f99d1c !important;*/
  color: #000;
  text-decoration: underline;
  text-decoration-color: #f99d1c !important;
}
.project-text--level-crossing-removal-project {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #00a5b8 !important;
}
.project-text--suburban-rail-loop {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #008746 !important;
}
.project-text--major-roads-projects-victoria {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #ffc709 !important;
}
.project-text--west-gate-tunnel-project {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #4f778a !important;
}
.project-text--metro-tunnel-project {
  /*color: #00bce9 !important;*/
  color: #000;
  text-decoration: underline;
  text-decoration-color: #00bce9 !important;
}

.project-text--melbourne-airport-rail:hover {
  color: #FFF;
  background-color: #f95602;
}
.project-text--sunbury-line-upgrade:hover {
  color: #000;
  background-color: #f99d1c;
}
.project-text--level-crossing-removal-project:hover {
  color: #FFF;
  background-color: #00a5b8;
}
.project-text--suburban-rail-loop:hover {
  color: #FFF;
  background-color: #008746;
}
.project-text--major-roads-projects-victoria:hover {
  color: #000;
  background-color: #ffc709;
}
.project-text--west-gate-tunnel-project:hover {
  color: #FFF;
  background-color: #4f778a;
}
.project-text--metro-tunnel-project:hover {
  color: #000;
  background-color: #00bce9;
}

/*
		.project-text--srl {
			color: green !important;
		}
		*/
#markersSVG,
#markers {
  pointer-events: none;
}
#markers .bbbp-marker {
  pointer-events: all;
  cursor: pointer;
}


#btnAnimations::before {
  content: '\f0c8';
  font-family: 'Font Awesome 6 Pro';
  padding-right: 0.5em;
}
#btnAnimations.active::before {
  content: '\f14a';
  font-weight: 900;
}