@keyframes animatemapdot {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  30% {
    opacity: 0.5;
  }
  40% {
    opacity: 0;
  }
}

.emap {
  background: #000;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.emap .type-map {
  background: #000 url(../emap/emap-blue.png) no-repeat 50% 50%;
  background-size: cover;
  position: relative;
  text-align: center;
  width: 100%;
}

.emap .type-map:before {
  background: #000;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
}

.emap h1, .emap p {
  color: #fff;
  text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 20px #000;
}

.emap strong {
  color: #fff;
}

.emap .type-title {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  left: 50%;
  max-width: 420px;
  padding: 20px;
  position: absolute;
  top: 50%;
  -ms-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: calc(100% - 20px);
  z-index: 1;
}

.emap .type-title:before {
  background: #000;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
}

.emap .type-title h1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.25em;
  margin: 0;
  position: relative;
  text-transform: uppercase;
}

.emap .type-title p {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  margin: 20px 0 0 0;
  position: relative;
}

@media screen and (max-width: 719px) {
  .emap .type-title p {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .emap .type-title {
    padding: 10px;
  }

  .emap .type-title h1 {
    font-size: 18px;
  }
}

.emap .type-canvas {
  margin: 0 auto;
  max-width: 960px;
  padding: 0 0 62.5% 0;
  position: relative;
  width: 100%;
}

.emap .type-marker {
  display: block;
  display: none;
  height: 20px;
  margin: -10px 0 0 -10px;
  position: absolute;
  text-align: center;
  width: 20px;
}

.emap .type-marker p.type-label {
  float: left;
  font-size: 11px;
  line-height: 14px;
  margin: 0;
  position: absolute;
  top: 3px;
  white-space: nowrap;
}

.emap .type-marker p.type-label strong {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}

.emap .type-marker.type-right p.type-label {
  padding-right: 5px;
  right: 20px;
  text-align: right;
}

.emap .type-marker.type-left p.type-label {
  left: 20px;
  padding-left: 5px;
  text-align: left;
}

.emap .type-marker:before {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px #000, 0 0 10px #000;
  content: '';
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.emap .type-marker span.type-pin {
  background: #fff;
  border-radius: 50%;
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.emap .type-canvas > p.type-label {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 20px;
  color: #fff;
  display: block;
  display: none;
  font-size: 11px;
  left: 0;
  line-height: 14px;
  margin: 0;
  position: absolute;
  text-align: ceter;
  white-space: nowrap;
  width: 100%;
}

.emap .type-dot {
  animation: animatemapdot 10s infinite linear;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
}

.emap .type-dot:nth-child(2) {
  animation-delay: 2s;
}

.emap .type-dot:nth-child(3) {
  animation-delay: 4s;
}

.emap .type-dot:nth-child(4) {
  animation-delay: 6s;
}

.emap .type-dot:nth-child(5) {
  animation-delay: 8s;
}

.emap .type-dot > span {
  background: #fff;
  border-radius: 5px;
  display: block;
  height: 10px;
  margin: -5px 0 0 -5px;
  opacity: 0.5;
  position: absolute;
  text-align: center;
  width: 10px;
}

@media screen and (min-width: 960px) {
  .emap .type-map {
    background-size: 1200px 600px;
  }

  .emap .type-canvas {
    height: 600px;
    padding: 0;
  }

  .emap .type-canvas > p.type-label {
    display: none !important;
  }
}

@media screen and (max-width: 959px) {
  .emap .type-marker p.type-label {
    display: none;
  }
}

/* Responsive mobile view of map for HERO */
.emap, .emap .type-map, .emap .type-map:before {
  background-color: #000;
}

.emap .type-title:before {
  background: #000;
  box-shadow: 0 0 20px #fff;
}

.emap h1, .emap p {
  color: #fff !important;
  text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 20px #000;
}

.emap strong {
  color: #fff;
}

.emap .type-marker:before {
  background: #fff;
  box-shadow: 0 0 5px #000, 0 0 10px #000;
}

.emap .type-marker span.type-pin, .emap .type-dot > span {
  background: #fff;
}

.emap .type-agent {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.emap .type-agent p {
  color: #fff;
  display: block !important;
  font-size: 11px;
  line-height: 20px;
  margin: 0 !important;
}

.emap .type-agent h1 {
  color: #fff;
  font-size: 14px !important;
  line-height: 20px;
  margin: 0;
}

.emap .imageagent {
  height: 60px;
  width: 60px;
}

.emap .type-title .type-agent {
  display: inline-block;
  margin: 20px 0 0 0;
  max-width: 280px;
  min-height: 60px;
  padding: 0 0 0 70px;
  position: relative;
  text-align: left;
  width: auto;
}

.emap > .type-agent {
  background: #1a1a1a;
  display: block;
  display: none;
  font-size: 0;
  margin: 0;
  padding: 10px;
  position: relative;
  text-align: center;
  width: 100%;
}

.emap > .type-agent .type-inner {
  display: inline-block;
  margin: 0;
  min-height: 60px;
  padding: 0 0 0 70px;
  position: relative;
  text-align: left;
  width: auto;
}

@media screen and (max-width: 959px) {
  .emap > .type-titleagent {
    margin-top: -40px;
  }

  .emap > .type-agent {
    display: block;
  }

  .emap .type-title .type-agent {
    display: none;
  }
}

/* Extra CSS for the map */
body, .backgroundagent, .ui-tooltip, .sectionagent-three ul.menu li:after {
  background-color: #036 !important;
}

.coloragent, article.normal-box normal-text p a {
  color: #036 !important;
}

.emap, .emap .type-map, .emap .type-map:before {
  background-color: #036;
}

.emap .type-title:before {
  background: #036;
  box-shadow: 0 0 20px #fff;
}

.emap h1, .emap p {
  color: #fff !important;
  text-shadow: 0 0 5px #552448, 0 0 10px #036;
}

.emap strong {
  color: #fff;
}

.emap .type-marker:before {
  background: #fff;
  box-shadow: 0 0 5px #552448, 0 0 10px #036;
}

.emap .type-marker span.type-pin, .emap .type-dot > span {
  background: #fff;
}

.emap .cell-error p {
  margin: 0px !important;
}