/*--------------------------------------------------------------
### Agency Map
--------------------------------------------------------------*/

.overflow {
  position: relative;
  padding: 0 120px;
  overflow: auto;
}

#agencyMapWrapper {
  position: relative;
  width: 100%;
  font-size: 16px;
  font-size: 1em;
  overflow: hidden;
}

.svgWrapper svg {
  width: 100%;
  height: auto !important;
}

#agencyMapWrapper svg,
#agencyMapWrapper ul {
  max-width: 100%;
  width: 100% !important;
}

#agencyMapWrapper ul {
  position: absolute;
  top: 0;
  height: 100%;
  margin-bottom: 0;
  font-size: 16px;
  font-size: 1em;
}

#agencyMapWrapper li {
  position: absolute;
  padding-right: 30px;
  font-size: 12px;
  font-size: 0.75em;
  list-style: none;
}

#agencyMapWrapper li .circle {
  width: 1.917em;
  height: 1.917em;
  position: absolute;
  color: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

#agencyMapWrapper li .circle span {
  position: absolute;
  top: 50%;
  left: calc(50% + 0px);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#agencyMapWrapper li a.circle {
  background: #000;
  top: 0;
  right: 0;
  z-index: 99;
}

#agencyMapWrapper li a + .mapContent {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
  transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
}

#agencyMapWrapper li a:hover + .mapContent,
#agencyMapWrapper li a:focus + .mapContent,
#agencyMapWrapper li .mapContent:hover,
#agencyMapWrapper li .mapContent.active {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear;
  transition: opacity 0.2s ease-in-out, visibility 0s linear;
  z-index: 100;
}

.mapContent {
  background: #f1f4f6;
  padding: 20px 15px 20px 50px;
  position: absolute;
  right: 100%;
  line-height: 1.3;
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  transform: translate(0, -50%);
  width: 200px;
  -webkit-box-shadow: 5px 5px 11px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 5px 5px 11px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 5px 5px 11px 0px rgba(0, 0, 0, 0.25);
}

.mapContent.lowMapContent {
  -ms-transform: translate(0, -100%);
  -webkit-transform: translate(0, -100%);
  -moz-transform: translate(0, -100%);
  transform: translate(0, -100%);
  margin-top: 40px;
}

.mapContent:after {
  content: "";
  display: block;
  position: absolute;
  left: 100%;
  top: 50%;
  width: 0px;
  height: 0px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #f1f4f6;
}

.mapContent.lowMapContent:after {
  top: auto;
  bottom: 20px;
}

.mapContent .circle {
  left: 15px;
  top: 20px;
}

.mapContent address {
  font-style: normal;
  margin-bottom: 0;
}

.mapContent span {
  display: block;
}

.mapFootnote {
  line-height: 1.6;
  font-size: 18px;
  font-size: 1.125em;
}

.mapFootnote h4 {
  font-weight: 900;
  text-transform: none;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 18px;
  font-size: 1em;
}

address {
  font-style: normal;
}

.mapFootnote address {
  margin: 0;
}

.mapFootnote span {
  display: block;
}

.mapFootnote .small {
  margin-top: 1em;
  font-size: 14px;
  font-size: 0.875em;
}
