/* %%%%%%%%%%%  MAP ANIM  %%%%%%%%%% */
.map-journey-block {
  background-color: #d9d9d9;
  height: 400vh;
}

.map-journey-block svg {
  stroke: #a8a39d;
  fill: transparent;
  stroke-width: 1px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  transition: background-color 0.3s ease-in-out;
}
@media screen and (min-width: 640px) {
  .map-journey-block svg {
    transition: none;
  }
}

.map-journey-block .container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

#map-svg {
  transform-origin: center !important;
  transform: translate(0%, 10%) scale(0.8);
}
#map-svg.is-ios {
  transform-origin: 100.7% 100% !important;
}

#map-svg path {
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

#map-svg g.link {
  cursor: pointer;
}

.map-journey-block.popup-open svg {
  background-color: rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease-in-out;
}

.map-journey-block.popup-open svg .link:not(.active),
.map-journey-block.popup-open svg .link:not(.active) * {
  pointer-events: none !important;
}

/* //TODO cambiare posizione sotto 768px */
.map-journey-block .popup {
  position: fixed;
  top: 40%;
  left: 10%;
  width: 80%;
  height: auto;
  background-color: #d9d9d9;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 2.5rem;
  border: 1px solid #ac8e59;
  border-radius: 2rem;
  transform-origin: top;
  transform: scale(0.9);
  transition: opacity 0.3s ease-in-out, visibility 0s 0.3s, transform 0.4s;
  z-index: 2;
}

@media screen and (min-width: 640px) {
  .map-journey-block .popup {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -16rem;
    margin-top: 1.2rem;
    width: 32rem;
  }
}
.map-journey-block .popup[aria-hidden=false] {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s ease-in-out, visibility 0s, transform 0.6s;
}

.map-journey-block .popup button {
  position: absolute;
  top: 1.6rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background-image: url("assets/cross.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  appearance: none;
  border: none;
  cursor: pointer;
}

@media screen and (min-width: 640px) {
  .map-journey-block .popup button {
    width: 2rem;
    height: 2rem;
  }
}
.map-journey-block .popup p {
  font-size: 1.6rem;
  margin-top: 0.6rem;
  line-height: 1.2;
}

.map-journey-block .popup h4 {
  color: #ac8e59;
  font-size: 2.4rem;
  font-family: Tobias, serif;
  font-weight: 200;
  padding-right: 2rem;
}

#map-svg g.link:hover .gold-out,
#map-svg g.link.active .gold-out {
  fill: #fff;
  transition: fill 0.45s ease-in-out;
}

#valdobbiadene path {
  pointer-events: auto;
}

@keyframes seek-attention {
  0% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  50% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
}
.container-inner-valdo {
  transform: translate(1.2px, 1.1px);
}

#valdobbiadene.is-active g.link:not(:hover):not(.active) {
  animation-name: seek-attention;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale3d(0.9, 0.9, 0.9);
}

#veneto-proxy,
#valdobbiadene-mask {
  fill: #ac8e59;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  stroke: none;
}

#valdobbiadene {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}

#treviso-proxy {
  stroke: #a8a39d;
}

#treviso {
  fill: #ac8e59;
  stroke: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

#veneto {
  fill: #d9d9d9;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.map-journey-block .sticky {
  position: sticky;
  top: 0;
  overflow: hidden;
}

.map-journey-block .container .col {
  position: relative;
}

.map-journey-block .title {
  position: absolute;
  top: 5rem;
  left: calc(var(--bs-gutter-x) * 0.5);
  transition: top 0.6s ease-in-out;
}

body.scroll-up .map-journey-block .title {
  top: 10rem;
}

.map-journey-block .title:not(#map-title-00) {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.2) translate3d(-3rem, -3rem, 0);
}

/* %%%%%%%%%%%  SVG MAP  %%%%%%%%%% */
.green-in {
  fill: #004a1e;
  stroke: none;
}

.green-out {
  stroke: #004a1e;
}

.gold-in {
  fill: #ac8e59;
  stroke: none;
}

.gray-out {
  stroke: #ac8e59;
  fill: #d9d9d9;
  transition: fill 0.35s ease-in-out;
}

.text {
  fill: #0c1017;
  stroke: none;
}

.cele-s {
  stroke: #bad4f1;
}

.stroke-miter {
  stroke-miterlimit: 10;
}

.opac {
  stroke-miterlimit: 10;
  isolation: isolate;
  opacity: 0.5;
}

/*# sourceMappingURL=atk-merotto-map-journey.css.map */
