.section-portofolio-map.no-sidebar #projectsDataWrapper,
.section-portofolio-map.no-sidebar #mapwrapper .pan-buttons-container {
  display: none;
}

.section-portofolio-map.no-sidebar #mapwrapper {
  padding: 0 !important;
}

#mapwrapper {
  max-width: initial !important;
  flex: 1;
  padding: 0 0 24px 24px !important;
}
#mapbase svg {
  height: auto !important;
  max-height: 720px !important;
}

.section-portfolio-map.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1540px;
}

.projects-data {
  width: 100%;
}

.projects-data-container {
  display: flex;
  flex-wrap: wrap;
}

#projectsDataWrapper {
  max-width: 400px;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 24px;

  width: 400px;
  height: 743px;

  background: #1c2534;
  border-radius: 16px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 1;
  overflow-y: scroll;

  position: relative;
}

.light-map #projectsDataWrapper {
  background: #eff3f8;
}

.projects-data h3 {
  font-size: 20px;
  color: #fff;
}

.light-map .projects-data h3 {
  font-size: 20px;
  color: #111725;
}

.projects-data .county-summary-data {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  gap: 10px;

  width: 54%;
  height: 56px;

  background: #0b5bcc;
  border-radius: 9999px;
  transition: all 0.15s;
}

.projects-data .county-summary-name {
  width: 100%;
  height: 16px;

  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;

  display: flex;
  align-items: center;
  text-align: center;

  color: #ffffff;
}

.projects-data .county-summary-count {
  width: 21px;
  height: 16px;

  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;

  display: flex;
  align-items: center;
  text-align: center;

  color: #ffffff;
}
.county-data-categories .category h4 {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;

  display: flex;
  align-items: center;

  color: #ffffff;
  margin-top: 22px !important;
}

.light-map .county-data-categories .category h4 {
  color: #111725;
}
.county-data-categories .category h4 .category-projects-count {
  color: #0d84f2;
  padding-left: 5px;
}
.project-data {
  padding: 16px;
  background-color: #2d394b;
  border-radius: 16px;
  margin-bottom: 16px;
}

.light-map .project-data {
  background-color: #ffffff;
}
.project-data img {
  border-radius: 16px;
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.project-data h5 {
  margin-top: 14px;
  margin-bottom: 10px;
  margin-left: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.light-map .project-data h5 {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #111725;
  font-size: 16px;
  font-weight: 500;
}

.project-data .company-link {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: auto;
  height: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 12px 10px;
  margin-right: 4px;

  background: #3e4b5e;
  border-radius: 9999px;
  flex: none;
  order: 1;
  flex-grow: 0;
  transition: all 0.15s;
}
.project-data .company-link:not(.no-link):hover {
  background-color: #def0a8;
  color: #000;
}

.light-map .project-data .company-link:not(.no-link):hover {
  background-color: #07468d;
  color: #ffffff;
}

.project-data .company-link:not(.no-link):hover .link-icon {
  filter: brightness(0);
}
.project-data .company-link .link-icon {
  height: 16px;
  width: 16px;
}

.projects-data .county-summary-data:hover {
  cursor: pointer;
  filter: brightness(1.15);
}

#mapbase svg path {
  /*fill: #1C2534 !important;*/
  /*stroke: #111725 !important;*/
  cursor: pointer;
}

.light-map #mapbase svg path {
  fill: #dee5ee !important;
  stroke: #ffffff !important;
}

.grey-map #mapbase svg path {
  fill: #2d394b !important;
  stroke: #1c2534 !important;
}

#tipro {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  cursor: pointer !important;
}
#tipro .county-no-info {
  display: none !important;
}
#tipro .county-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  gap: 0;

  background: #111725;
  box-shadow: 0px 8px 15px rgba(17, 23, 37, 0.3);
  border-radius: 16px;

  cursor: pointer;
}

#tipro .county-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

#tipro .county-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

#tipro .county-info h4 {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0;
}
#tipro .county-info h3 .county-projects-count,
#tipro .county-info h4 .category-projects-count {
  font-weight: 700;
  color: #0d84f2;
}

#tipro .county-info:hover h3 {
  text-decoration: underline;
}

#tipro.tooltip-ro_10 {
  transform: translateX(68%) translateY(-90%) !important;
}

#visnames text {
  fill: #596980 !important;
  font-family: "Host Grotesk", sans-serif !important;
}

.grey-map #visnames text {
  fill: #ffffff !important;
}

.grey-map #visnames text.hovered {
  fill: #151515 !important;
}

.light-map #visnames text.hovered {
  fill: #ffffff !important;
}

.county-summary-data[data-idx="0"] {
  background: #3fc7f5;
  width: 100%;
}
.county-summary-data[data-idx="1"] {
  background: #13a6f3;
  width: 88%;
}
.county-summary-data[data-idx="2"] {
  background: #0d84f2;
  width: 78%;
}
.county-summary-data[data-idx="3"] {
  background: #0d84f2;
  width: 70%;
}
.county-summary-data[data-idx="4"] {
  background: #0d84f2;
  width: 64%;
}
.county-summary-data[data-idx="5"] {
  background: #0d6df2;
  width: 60%;
}
.county-summary-data[data-idx="6"] {
  background: #0d6df2;
  width: 57%;
}
.county-summary-data[data-idx="7"] {
  background: #0d6df2;
  width: 55%;
}
.county-summary-data[data-idx="8"] {
  background: #0b5bcc;
  width: 54%;
}

#mapbase {
  overflow: hidden;
  border-radius: 18px;
  padding-top: 24px;
}

#mapbase svg text[data-idx] {
  fill: #ffffff !important;
}

#mapbase svg path[data-idx] {
  fill: #0b5bcc !important;
}
#mapbase svg path[data-idx="0"] {
  fill: #3fc7f5 !important;
}
#mapbase svg path[data-idx="1"] {
  fill: #13a6f3 !important;
}
#mapbase svg path[data-idx="2"] {
  fill: #0d84f2 !important;
}
#mapbase svg path[data-idx="3"] {
  fill: #0d84f2 !important;
}
#mapbase svg path[data-idx="4"] {
  fill: #0d84f2 !important;
}
#mapbase svg path[data-idx="5"] {
  fill: #0d6df2 !important;
}
#mapbase svg path[data-idx="6"] {
  fill: #0d6df2 !important;
}
#mapbase svg path[data-idx="7"] {
  fill: #0d6df2 !important;
}
#mapbase svg path[data-idx="8"] {
  fill: #0b5bcc !important;
}

.light-map .projects-back-btn {
  background: #07468d;
  color: #ffffff;
}

.projects-back-btn {
  background: #def0a9;
  border-radius: 18px;
  padding: 7px 10px 9px;
  position: absolute;
  top: 17px;
  right: 18px;
  transition: all 0.14s;
}

.projects-back-btn img {
  height: 12px;
  transform: rotate(180deg);
  opacity: 0.9;
}
.projects-back-btn:hover {
  filter: brightness(1.2);
}

#mapbase svg text[data-idx].path-hover {
  fill: #596980 !important;
}
#mapbase svg path.path-hover {
  fill: #fff !important;
}

.light-map #mapbase svg text[data-idx].path-hover {
  fill: #596980 !important;
}

.light-map #mapbase svg path.path-hover {
  fill: #eff3f8 !important;
}

#mapbase svg text[data-idx].selected-path {
  fill: #151515 !important;
}

#mapbase svg path.selected-path {
  fill: #dee5ee !important;
}

#mapbase svg path:hover {
  fill: #dee5ee !important;
}

.light-map #mapbase svg path.selected-path {
  fill: #07468d !important;
}

.light-map #mapbase svg path:hover {
  fill: #07468d !important;
}

.pan-buttons-container a {
  background-color: #def0a9;
  color: #161710;
  min-width: 24px;
  min-height: 24px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-left: 2px;
}
.pan-buttons-container a:active,
.pan-buttons-container a:hover {
  color: #161710;
  filter: brightness(1.2);
}

.light-map .pan-buttons-container a {
  background-color: #07468d !important;
  color: #ffffff !important;
}

.light-map .pan-buttons-container a:active,
.pan-buttons-container a:hover {
  color: #ffffff !important;
  filter: brightness(1.2) !important;
}

.pan-buttons-container {
  position: absolute;
  top: 16px;
  right: 18px;
}

.projectsTotalCount {
  fill: transparent !important;
}

@media screen and (max-width: 1024px) {
  .section-portfolio-map {
    margin-top: 42px !important;
  }
}

@media screen and (max-width: 1200px) {
  .projects-data-container {
    flex-direction: column-reverse;
  }
  #mapbase {
    margin-top: 60px;
  }
  #mapwrapper {
    width: 100%;
    margin-top: -60px !important;
    margin-bottom: 60px !important;
    padding: 0 !important;
  }
  #projectsDataWrapper {
    width: 100%;
    max-width: 100%;
  }
  .projects-data {
    width: 100%;
  }
  .projects-data .county-summary-data {
    width: 100%;
  }
  .pan-buttons-container {
    top: 8px;
    right: 10px;
  }

  .section-portofolio-map.no-sidebar .elementor-container {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  #mapwrapper {
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  #mapbase {
    margin-top: 0 !important;
  }
}

.project-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #07468d;
  border: 1px solid #07468d;
  border-radius: 25px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  background-color: #fff;
  margin-top: 12px;
}

.project-link-btn:hover {
  background-color: #07468d;
  color: #fff;
}

.project-link-btn .link-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.project-link-btn:hover .link-icon {
  transform: translateX(5px);
}
.project-link-btn .link-icon line,
.project-link-btn .link-icon polyline {
  stroke: #07468d;
}

.project-link-btn:hover .link-icon line,
.project-link-btn:hover .link-icon polyline {
  stroke: #ffffff;
}

.project-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #111725;
}

.projects-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  gap: 10px;
  width: 40px;
  height: 32px;
  background: #def0a9;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
}

.light-map .projects-back-btn {
  background: #07468d;
}

.back-icon {
  width: 24px;
  height: 24px;
}
.back-icon path {
  stroke: #000;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.light-map .back-icon path {
  stroke: #ffffff;
}

.county-info-card {
  position: absolute;
  background: #111725;
  color: white;
  padding: 16px 10px 16px 10px;
  border-radius: 16px;
  z-index: 9999;
  max-width: 210px;
  width: 210px;
  display: none;
  pointer-events: none;
}

.county-distributor {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 24px;
  text-align: left;
}

.county-info-btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.county-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111725;
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  width: 188px;
  height: 32px;
}

.county-info-btn:hover {
  background: #ffffff;
  color: #111725;
}

.county-info-icon {
  width: 18px !important;
  height: 18px !important;
  stroke: #111725 !important;
  stroke-width: 3 !important;
  margin-left: 15px !important;
}

.county-info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.county-info p {
  margin-bottom: 0;
}

.county-info-label {
  font-size: 15px;
  line-height: 21px;
}

.county-info-value {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #0d6df2;
}

@media screen and (max-width: 768px) {
  .county-info-card {
    max-width: 125px !important;
    width: 125px !important;
    padding: 8px 8px !important;
    border-radius: 12px !important;
  }

  .county-distributor {
    font-size: 10px !important;
    line-height: 20px !important;
    margin-bottom: 8px !important;
  }

  .county-info-btn {
    font-size: 10px !important;
    width: 140px !important;
    height: 20px !important;
  }

  .county-info-icon {
    width: 16px !important;
    height: 16px !important;
    margin-left: 10px !important;
  }
}

@media screen and (max-width: 425px) {
  .county-info-card {
    max-width: 100px !important;
    width: 105px !important;
    padding: 8px 8px !important;
    border-radius: 12px !important;
  }

  .county-distributor {
    font-size: 8px !important;
    line-height: 20px !important;
    margin-bottom: 3px !important;
  }

  .county-info-btn {
    font-size: 7px !important;
    width: 100px !important;
    height: 18px !important;
  }

  .county-info-icon {
    width: 16px !important;
    height: 16px !important;
    margin-left: 10px !important;
  }
}
