:root {
  --moffshore-white: #fffeff;
  --moffshore-forest: #00402a;
  --moffshore-green: #00a443;
  --moffshore-brown: #615d5a;
  --moffshore-brown-dark: #3a3735;
  --moffshore-border: #d8cfc7;
  --moffshore-sand: #fff5ec;
  --moffshore-orange: #ff9c1a;
  --moffshore-blue: #0da9ff;
  --moffshore-gray: #b0a9a3;
  --moffshore-yellow: #ffcd52;
}

#moffshore {
  width: 100%;
  max-width: 980px;
  padding: 21px 0px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border: 1px solid var(--moffshore-border);
  background-color: var(--moffshore-white);
}

#moffshore * {
  font-family: "IberPangea" !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#moffshore h2,
#moffshore h3,
#moffshore h4 {
  margin-top: 0 !important;
}

#moffshore ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#moffshore ul li:before {
  content: none !important;
  display: none !important;
}

#moffshore img {
  display: block;
  width: 100%;
}

#moffshore .moffshore_content {
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  padding-top: 63px;
  padding-bottom: 53px;
  padding-left: 19px;
  padding-right: 19px;
}

#moffshore .moffshore_content::-webkit-scrollbar-track {
  height: 16px;
  border-radius: 10px;
  border: none;
  background-color: #d8cfc7;
  box-shadow: none;
}

#moffshore .moffshore_content::-webkit-scrollbar {
  height: 16px;
  box-shadow: none;
  border: none;
  background-color: transparent;
}

#moffshore .moffshore_content::-webkit-scrollbar-thumb {
  height: 16px;
  border-radius: 10px;
  box-shadow: none;
  border: none;
  background-color: #b0a9a3;
}

#moffshore .moffshore_media {
  width: 503px;
  min-width: 503px;
  max-width: 503px;
  margin: 0 auto;
}

#moffshore .moffshore_media_content {
  width: 503px;
  min-width: 503px;
  max-width: 503px;
  height: 262px;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#moffshore .moffshore_media_image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 503px;
  min-width: 503px;
  max-width: 503px;
  z-index: 0;
  display: none;
}

#moffshore .moffshore_media_image.active {
  display: block;
}

#moffshore .moffshore_media_selected {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 503px;
  min-width: 503px;
  max-width: 503px;
  z-index: 1;
  display: none;
}

#moffshore .moffshore_media_selected.active {
  display: block;
}

#moffshore .moffshore_country {
  position: absolute;
  z-index: 2;
  border-radius: 15px;
  border: 1px solid var(--moffshore-border);
  background: var(--moffshore-white);
}

#moffshore .moffshore_country.active {
  z-index: 3;
  width: 205px;
  min-width: 205px;
}

#moffshore.selected .moffshore_country:not(.active) {
  display: none;
}

#moffshore .moffshore_country_title {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--moffshore-forest) !important;
  font-size: 18px;
  line-height: 1.22;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}

#moffshore .moffshore_country_title:after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/mapa-offshore/images/ico-mas.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#moffshore .moffshore_country.active .moffshore_country_title {
  justify-content: space-between;
}

#moffshore .moffshore_country.active .moffshore_country_title:after {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/mapa-offshore/images/ico-mas-active.svg");
}

#moffshore .moffshore_country_list {
  display: none;
  padding-left: 16px;
  padding-right: 8px;
}

#moffshore .moffshore_country_list_item {
  color: var(--moffshore-brown-dark) !important;
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  margin-bottom: 10px !important;
}

#moffshore.moffshore-en .moffshore_country_list_item {
  margin-bottom: 6px !important;
}

#moffshore.moffshore-pt .moffshore_country_list_item {
  margin-bottom: 5px !important;
}

#moffshore .moffshore_country_list_item:first-child {
  border-top: 1px solid var(--moffshore-border);
  padding-top: 10px;
}

#moffshore .moffshore_country_list_item:last-child {
  margin-bottom: 16px !important;
}

#moffshore .moffshore_country_list_item strong {
  display: block;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 400;
}

#moffshore .moffshore_country.active .moffshore_country_list {
  display: block;
}

#moffshore .moffshore_country-1 {
  top: -30px;
  left: 0;
}

#moffshore .moffshore_country-1.active {
  top: -63px;
  left: -11px;
}

#moffshore .moffshore_country-2 {
  top: -28px;
  left: 186px;
}

#moffshore .moffshore_country-2.active {
  top: -63px;
  left: 50%;
  transform: translateX(-50%);
}

#moffshore .moffshore_country-3 {
  top: -28px;
  right: 17px;
}

#moffshore .moffshore_country-3.active {
  top: -48px;
  right: 0;
}

#moffshore .moffshore_country-4 {
  top: 41px;
  right: 17px;
}

#moffshore .moffshore_country-4.active {
  top: -29px;
  right: 28px;
}

#moffshore .moffshore_country-5 {
  top: 129px;
  right: 18px;
}

#moffshore .moffshore_country-6 {
  bottom: -20px;
  left: 188px;
}

#moffshore .moffshore_country-6.active {
  width: 150px;
  min-width: 150px;
  bottom: -46px;
  left: 198px;
}

#moffshore .moffshore_country-7 {
  bottom: 45px;
}

#moffshore .moffshore_country-7.active {
  bottom: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#moffshore .moffshore_country-8 {
  bottom: -20px;
  left: 2px;
}

#moffshore .moffshore_country-8.active {
  bottom: -52px;
  left: -9px;
}

@media (min-width: 700px) {
  #moffshore .moffshore_country_title {
    cursor: pointer;
  }

  #moffshore .moffshore_country_title:hover:after {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/mapa-offshore/images/ico-mas-hover.svg");
  }
}
