.country-worldmap {
  z-index: 1;
}
h3.country_map-name {
  margin: 20px 0 20px 0;
  text-align: center;
}

@media (min-width: 1025px) {
  .world-map {
    height: 500px;
  }

  #continent_id {
    height: 300px;
  }
  .country-worldmap {
    position: absolute;
    top: 200px;
    max-width: 350px;
    right: 0;
  }
  .country-worldmap.top-box {
    top: 440px;
  }
  .worldmap-wrapper {
    display: grid;
    grid-gap: 5px;
    grid-gap: 20px;
  }

  .map-layer-cover,
  .map-modal-container {
    display: none;
  }
}
@media (min-width: 1366px) {
  .country-worldmap {
    max-width: 680px;
  }
}
@media (min-width: 1660px) {
  .country-worldmap {
    max-width: 790px;
    right: -114px;
  }
}
.map-wrapper {
  position: relative;
}

@media (max-width: 1024px) {
  .country_map-wrapper {
    margin: 0 0 20px 0;
  }
  .world-map {
    height: 300px;
  }

  .map-layer-cover {
    position: absolute;
    z-index: 401;
    width: 100%;
    height: 100%;
    background-color: #00000085;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    bottom: 0;
  }
  h3.country_map-name {
    z-index: 402;
    position: relative;
    background-color: #ffffff;
    padding: 20px 0;
    margin: 0;
  }

  .map-modal-container {
    position: fixed;
    left: -999999px;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #00000080;
    transition: all 0.2s ease-out;
    z-index: 9999;
  }

  .map-modal-container.active {
    left: 0;
  }
  .map-modal-wrapper {
    width: 100%;
    max-width: 420px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
  }
  .map-modal-wrapper .world-map {
    height: 420px;
  }
  .close-modal {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 20px;
    color: #000000;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
  }
}
