/**
    Website my-trace.ch

	Author: Damian Heini, VIZUAL <dh@vizual.ch>

	The world map.
	The rendered CSS file if this stylus file
	is added by the map app and then via the mapApp.css
	file added to the website by using a v:asset.style tag.$
	(See ShowChain.html)
	So, this file is not directly linked with with the
	chain.styl template.
 */
#viz-map {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
}
.viz-map-chain-item-container {
  position: absolute;
  display: inline-block;
  opacity: 0;
  overflow: hidden;
  transition: all 400ms ease;
}
.viz-map-chain-item-container .viz-map-chain-item-position-marker {
  display: block;
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: -10px;
  margin-bottom: -10px;
  border-radius: 50%;
  background-color: #000;
}
.viz-map-chain-item-container svg.viz-map-chain-item-position-marker-connector {
  overflow: visible;
  filter: drop-shadow(-5px 0px 4px rgba(0,0,0,0.8));
}
.viz-map-chain-item-container svg.viz-map-chain-item-position-marker-connector.to-the-right {
  filter: drop-shadow(5px 0px 4px rgba(0,0,0,0.8));
}
.viz-map-chain-item-container svg.viz-map-chain-item-position-marker-connector polygon {
  fill: #fff;
}
.viz-map-chain-item-container.active {
  opacity: 1;
  overflow: visible;
}
.viz-map-chain-item-container.active .viz-map-chain-item-content {
  max-width: 12rem;
  max-height: 12rem;
}
.viz-map-chain-item-container .viz-map-chain-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 0;
  max-height: 0;
  padding: 0.5rem;
  background-color: #fff;
  box-shadow: 0px 0px 9px 6px rgba(0,0,0,0.4);
  transition: max-height 800ms ease, transform 400ms ease;
  cursor: pointer;
}
.viz-map-chain-item-container .viz-map-chain-item-content:hover {
  transform: scale(1.1);
}
.viz-map-chain-item-container .viz-map-chain-item-content.highlight {
  border: 3px solid #000;
  transform: scale(1.1);
}
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  min-height: 4rem;
  text-align: center;
  overflow: hidden;
}
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon.brand-logo {
  width: auto;
  max-width: 12rem;
  height: auto;
  max-height: 8rem;
}
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon.brand-logo svg {
  width: 6rem;
}
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon.brand-logo img {
  width: auto;
  max-width: 6rem;
  height: auto;
  max-height: 6rem;
}
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon svg,
.viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon img {
  width: 100%;
  max-width: 6rem;
  height: auto;
  max-height: 6rem;
}
.viz-map-chain-item-container .viz-map-chain-item-company,
.viz-map-chain-item-container .viz-map-chain-item-process {
  display: none;
}
@media (max-width: 1400px) {
  .viz-map-chain-item-container.active .viz-map-chain-item-content {
    max-width: 8.25rem;
    max-height: 8.25rem;
  }
  .viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon {
    width: 2.75rem;
    min-height: 2.75rem;
  }
  .viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon.brand-logo {
    max-width: 4rem;
    max-height: 4rem;
  }
  .viz-map-chain-item-container .viz-map-chain-item-content .viz-map-chain-item-icon.brand-logo img {
    width: auto;
    max-width: 4rem;
    height: auto;
    max-height: 4rem;
  }
}
@media (max-width: 760px) {
  .viz-layout-trace-page .viz-chain-map-view {
    flex: 1 0 100%;
    margin-left: 0;
    max-height: 100vh;
  }
}
