#ep-map {
  width: 100%;
  height: 100%;
}

#ep-map-logo {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 4.5rem;
  height: 1.12rem;
  pointer-events: none;
}

#ep-map-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

#ep-map-compass {
  position: absolute;
  right: 1rem;
  top: 2rem;
  width: 1rem;
  height: 1.62rem;
  pointer-events: none;
}

#ep-map-compass img {
  width: 100%;
  height: 100%;
  display: block;
}

#ep-map-hint-box {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#ep-map-hint-country {
  display: none;
  background-color: white;
  opacity: 0.7;
  font-size: 1rem;
  border-radius: 0.5rem;
  font-family: "Gotham Bold", Helvetica, sans-serif;
  font-weight: bold;
  color: #000f41;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  min-width: 10rem;
  text-align: center;
}

.map-wrapper-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #b1c8dd;
}

.map-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  z-index: 2;
}

.map-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
}

.map-pic {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.map-pin {
  position: absolute;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  top: 50%;
  left: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  margin: 0;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
}

.map-pin#CA-pin {
  top: 6.5em;
  left: 9em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#US-pin {
  top: 9.3em;
  left: 9.51em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#MX-pin {
  top: 10.9em;
  left: 9.2em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#GT-pin {
  top: 11.68em;
  left: 10.42em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#SV-pin {
  top: 11.9em;
  left: 10.62em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#BZ-pin {
  top: 11.45em;
  left: 10.66em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#HN-pin {
  top: 11.7em;
  left: 10.86em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#NI-pin {
  top: 12em;
  left: 11.01em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#CR-pin {
  top: 12.3em;
  left: 11.11em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#PA-pin {
  top: 12.45em;
  left: 11.56em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#CO-pin {
  top: 12.85em;
  left: 12.32em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#VE-pin {
  top: 12.6em;
  left: 13.08em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#GY-pin {
  top: 13em;
  left: 13.95em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#SR-pin {
  top: 13em;
  left: 14.3em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#GF-pin {
  top: 13.05em;
  left: 14.6em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#EC-pin {
  top: 13.5em;
  left: 11.72em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#PE-pin {
  top: 14.2em;
  left: 11.99em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#BR-pin {
  top: 14.24em;
  left: 14.48em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#BO-pin {
  top: 15.1em;
  left: 13.25em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#CL-pin {
  top: 15.83em;
  left: 12.75em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#PY-pin {
  top: 15.9em;
  left: 13.95em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#AR-pin {
  top: 17.12em;
  left: 13.28em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#FK-pin {
  top: 19.8em;
  left: 13.9em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#GS-pin {
  top: 20.15em;
  left: 16.4em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#UY-pin {
  top: 17em;
  left: 14.22em;
  width: 0.3em;
  height: 0.3em;
}

.map-pin#CU-pin {
  top: 11em;
  left: 11.8em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#JM-pin {
  top: 11.35em;
  left: 11.91em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#HT-pin {
  top: 11.22em;
  left: 12.4em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#DO-pin {
  top: 11.24em;
  left: 12.7em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#PR-pin {
  top: 11.35em;
  left: 13.1em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#TC-pin {
  top: 11em;
  left: 12.53em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#BS-pin {
  top: 10.65em;
  left: 12.1em;
  width: 0.2em;
  height: 0.2em;
}

.map-pin#BM-pin {
  top: 9.74em;
  left: 13.35em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#VI-pin {
  top: 11.45em;
  left: 13.32em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#VG-pin {
  top: 11.35em;
  left: 13.4em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#AG-pin {
  top: 11.5em;
  left: 13.67em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#GP-pin {
  top: 11.65em;
  left: 13.73em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#TT-pin {
  top: 12.3em;
  left: 13.72em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#CW-pin {
  top: 12.14em;
  left: 12.85em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#BQ-pin {
  top: 12.11em;
  left: 12.95em;
  width: 0.15em;
  height: 0.15em;
}

.map-pin#BB-pin {
  top: 12.09em;
  left: 13.97em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#MS-pin {
  top: 11.7em;
  left: 13.65em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#LC-pin {
  top: 12.03em;
  left: 13.8em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#KY-pin {
  top: 11.4em;
  left: 11.56em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#AW-pin {
  top: 12.16em;
  left: 12.8em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#GD-pin {
  top: 12.2em;
  left: 13.72em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#VC-pin {
  top: 12.12em;
  left: 13.78em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#MQ-pin {
  top: 11.93em;
  left: 13.8em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#DM-pin {
  top: 11.85em;
  left: 13.76em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#KN-pin {
  top: 11.62em;
  left: 13.59em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#SX-pin {
  top: 11.56em;
  left: 13.57em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin#AI-pin {
  top: 11.5em;
  left: 13.6em;
  width: 0.05em;
  height: 0.05em;
}

.map-pin button {
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
}

.map-popup-container {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.map-popup-container #map-popup-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.map-popup-content {
  max-height: 70vh;
  overflow-y: scroll;
}

.map-popup-box {
  width: 90%;
  min-height: 50%;
  background-color: white;
  z-index: 1;
  border-radius: 1rem;
  position: relative;
  padding-bottom: 2rem;
}

.map-popup-box-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.map-popup-box-btn a {
  background: -webkit-gradient(linear, left top, right top, from(#9dc7e6), to(#c8ebfa));
  background: linear-gradient(90deg, #9dc7e6 0%, #c8ebfa 100%);
  font-size: 1.5rem;
  border-radius: 1rem;
  padding: 0.5rem 1.5rem;
  font-family: "Gotham Bold", Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  margin: 1.5rem 0 0;
}

.map-popup-box-logo {
  width: 5rem;
  height: 1.25rem;
  position: absolute;
  top: 1.75rem;
  left: 1rem;
  padding: 0;
}

.map-popup-box-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.map-popup-box-img {
  width: 8rem;
  height: 8rem;
  position: absolute;
  top: 1rem;
  right: 2rem;
  padding: 0;
}

.map-popup-box-img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.map-popup-box-exit {
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  padding: 0.75rem;
  margin: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.map-popup-box-exit img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
}

.map-popup-box h1 {
  font-family: "Gotham Bold", Helvetica, sans-serif;
  font-weight: bold;
  color: #9dc7e8;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 3.5rem 0 1rem;
  padding: 0 1rem;
}

.map-popup-box h3 {
  font-family: "Gotham Bold", Helvetica, sans-serif;
  font-weight: bold;
  color: #e6aa82;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 1rem 0 0;
  padding: 0 1rem;
}

.map-popup-box-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 1rem;
}

.map-popup-box-row-clarification {
  padding: 0 1rem;
}

.map-popup-box-row-clarification p {
  color: #0c264d;
  font-size: 0.75rem;
  margin: 0.25rem 0;
  padding: 0;
  line-height: 1.5;
  font-family: "Gotham Book", Helvetica, sans-serif;
}

.map-popup-box-row-column p {
  color: #0c264d;
  font-size: 0.75rem;
  margin: 0.25rem 0;
  padding: 0;
  line-height: 1.5;
}

.map-popup-box-row-column:first-of-type {
  -ms-flex-preferred-size: 38%;
      flex-basis: 38%;
}

.map-popup-box-row-column:first-of-type p {
  font-family: "Gotham Medium", Helvetica, sans-serif;
}

.map-popup-box-row-column:last-of-type {
  -ms-flex-preferred-size: 60%;
      flex-basis: 60%;
}

.map-popup-box-row-column:last-of-type p {
  font-family: "Gotham Book", Helvetica, sans-serif;
}

.grow-up {
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

.grow-down {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.btn-zoom {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20%;
  padding: 0.25rem;
}

.btn-zoom-in {
  top: 9rem;
  right: 1rem;
}

.btn-zoom-out {
  top: 12.5rem;
  right: 1rem;
}

.btn-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

@media only screen and (min-width: 768px) {
  #ep-map-logo {
    right: 1rem;
    top: 1rem;
    width: 7rem;
    height: 2.5rem;
  }
  #ep-map-compass {
    right: 1.5rem;
    top: 4rem;
    width: 2rem;
    height: 3.68rem;
  }
  .map-popup-box {
    width: 60%;
  }
  .map-popup-box-logo {
    left: 2rem;
  }
  .map-popup-box h1 {
    padding: 0 2rem;
    font-size: 2rem;
  }
  .map-popup-box h3 {
    padding: 0 2rem;
    font-size: 1.5rem;
  }
  .map-popup-box-row {
    padding: 0 2rem;
  }
  .map-popup-box-row-clarification {
    padding: 0 2rem;
  }
  .map-popup-box-row-clarification p {
    font-size: 1rem;
  }
  .map-popup-box-row p {
    font-size: 1rem;
  }
}

@media only screen and (max-height: 800px) and (min-width: 1280px) {
  .map-popup-container {
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .map-popup-box {
    margin-bottom: 10vh;
  }
  .map-popup-content {
    max-height: 50vh;
  }
}

@media only screen and (min-width: 1280px) {
  .map-popup-box {
    width: 50%;
  }
  .map-popup-box-img {
    width: 11rem;
    height: 11rem;
  }
}
