@charset "UTF-8";
/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.4s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
section.investment-map,
section[class*=investment-map] {
  background-color: #fff;
}

.investment-map {
  font-family: "TT Commons Pro", sans-serif;
  color: #375172;
  overflow: hidden;
}

.investment-map--hide-info-lists .investment-map__legend {
  display: none;
}

.investment-map .investment-map__title {
  padding: 0 0 1rem;
  font-size: 2.375rem;
  font-weight: 200;
  line-height: 1.2;
  color: #293d56;
}

.investment-map .investment-map__text {
  font-size: 1.25rem;
  line-height: 128%;
  font-weight: 200;
  text-wrap: balance;
  max-width: 51.25rem;
}

.investment-map__canvas {
  position: relative;
  width: 110%;
  max-width: 118.75rem;
  margin: 6rem auto 4rem;
}

@media screen and (max-width: 74em) {
  .investment-map__canvas {
    width: 105%;
  }
}
@media screen and (max-width: 38em) {
  .investment-map__canvas {
    width: 114%;
  }
}
.investment-map__canvas svg {
  display: block;
  margin-left: -9rem;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

@media screen and (max-width: 92em) {
  .investment-map__canvas svg {
    margin-left: -7rem;
  }
}
@media screen and (max-width: 74em) {
  .investment-map__canvas svg {
    margin-left: -3.5rem;
  }
}
@media screen and (max-width: 38em) {
  .investment-map__canvas svg {
    margin-left: -3.5rem;
  }
}
@media screen and (max-width: 30em) {
  .investment-map__canvas svg {
    margin-left: -3.2rem;
  }
}
.investment-map__canvas svg path {
  transition: fill 0.2s ease;
}

.investment-map .map-country {
  cursor: default;
}

@media (hover: hover) {
  .investment-map .map-country:hover path {
    opacity: 0.78;
  }
}
.investment-map__tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  padding: 0.375rem 0.75rem;
  background: #293d56;
  color: #fff;
  font-family: "TT Commons Pro", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 0.25rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease;
  transform: translate(calc(var(--tooltip-x, 0px) - 50%), calc(var(--tooltip-y, 0px) - 100% - 0.875rem));
}

.investment-map__tooltip.is-visible {
  opacity: 1;
}

.investment-map__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.investment-map__pin path {
  fill: #ad5156;
  stroke: #fff;
  stroke-width: 0.6;
}

.investment-map__legend {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 100rem;
  margin: -3.75rem auto 0;
}

@media screen and (max-width: 74em) {
  .investment-map__legend {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .investment-map__legend {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }
}
.investment-map__offices {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.investment-map__offices-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  fill: #ad5156;
  stroke: #ad5156;
}

@media screen and (max-width: 768px) {
  .investment-map__offices-icon {
    width: 1.125rem;
    height: 1.125rem;
    order: 2;
    position: absolute;
    left: 172px;
    margin-top: 3px;
  }
}
@media screen and (max-width: 560px) {
  .investment-map__offices-icon {
    left: 144px;
  }
}
.investment-map .offices-title-container {
  position: relative;
}

.investment-map__offices-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #293d56;
}

.investment-map__offices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  -moz-column-gap: 1.75rem;
       column-gap: 1.75rem;
  row-gap: 0.25rem;
  font-size: 1rem;
}

.investment-map__offices-list li {
  font-size: 1rem;
  font-weight: 400;
}

@media screen and (max-width: 849px) {
  .investment-map__offices-list li {
    font-size: 0.875rem;
  }
}
.investment-map__offices-list li::before {
  content: "•";
  margin-right: 0.5rem;
  color: #293d56;
}

.investment-map__mandates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

.investment-map__mandate {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 400;
}

.investment-map__mandate .investment-map__mandate-name {
  font-size: 1rem;
  font-weight: 400;
}

@media screen and (max-width: 849px) {
  .investment-map__mandate .investment-map__mandate-name {
    font-size: 0.875rem;
  }
}
.investment-map__swatch {
  flex-shrink: 0;
  display: inline-block;
  width: 1.375rem;
  height: 1rem;
  border-radius: 0.125rem;
}

@media screen and (max-width: 849px) {
  .investment-map__swatch {
    width: 1.125rem;
    height: 0.75rem;
  }
}
