#pk_flex_content .flex_layout.content_thuiszorg_map {
  padding: 80px 0px 0px 0px;
  max-width: 100%;
}

#pk_flex_content .flex_layout.content_thuiszorg_map .content_map_wrapper {
  display: flex;
  gap: 80px;
  height: auto;
  align-items: start;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > .content {
  width: 40%;
  min-width: 450px;
  padding-left: max(40px, calc((100vw - 1350px) / 2 + 40px));
  padding-bottom: 100px;
  height: auto;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > .content
  .text {
  font-weight: 600;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > .content
  .map_toggles {
  margin-top: 40px;
  max-width: 230px;
}

#pk_flex_content .flex_layout.content_thuiszorg_map .content_map_wrapper > svg {
  width: 100%;
  height: auto;
  /* max-width: 50%; */
  flex: 1;
  aspect-ratio: 847 / 549;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > svg
  #locationnames,
#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > svg
  #type1group,
#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > svg
  #type2group {
  transition: 0.3s opacity ease-in-out;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  > svg
  .hide_group {
  opacity: 0;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .title {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--zgem-flex-green-default);
  font-weight: bold;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .thuiszorg_toggle
  .title:before {
  background-color: var(--zgem-flex-red);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .locatie_toggle
  .title:before {
  background-color: var(--zgem-flex-green-default);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .title:before {
  content: '';
  width: 14px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button {
  margin-left: auto;
  border-radius: 50px;
  background-color: rgba(123, 123, 123, 0.6);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1) inset;
  border: none;
  height: 24px;
  aspect-ratio: 54 / 24;
  width: auto;
  position: relative;
  outline: none !important;
  flex-shrink: 0;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button.active {
  background-color: rgba(123, 123, 123, 0.3);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button:hover::after {
  transform: translateX(5px);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button::after {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: unset;
  height: auto;
  width: auto;
  aspect-ratio: 1/1;
  background-color: var(--zgem-flex-purple);
  display: inline-block;
  border-radius: 50%;
  transition: all 0.7s cubic-bezier(0.2, 1, 0.22, 1);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button.active::after {
  left: calc(50% + 5px);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .toggle_wrapper
  .toggle_button.active:hover::after {
  transform: translateX(-5px);
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .zgem_button_container {
  margin-top: 120px;
  /* height: 100%; */
  flex-direction: column;
  align-items: start;
  justify-content: end;
  max-width: 300px;
}

#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .zgem_button_container
  a,
#pk_flex_content
  .flex_layout.content_thuiszorg_map
  .content_map_wrapper
  .zgem_button_container
  .button_wrapper {
  width: 100%;
}

@media screen and (min-width: 993px) {
}

@media screen and (max-width: 1200px) {
  #pk_flex_content .flex_layout.content_thuiszorg_map .content_map_wrapper {
    gap: 40px;
  }
}

@media screen and (max-width: 992px) {
  #pk_flex_content .flex_layout.content_thuiszorg_map {
    padding: 60px 0px 0px 0px;
  }

  #pk_flex_content .flex_layout.content_thuiszorg_map .content_map_wrapper {
    display: flex;
    flex-direction: column;
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    .zgem_button_container {
    margin-top: 80px;
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    > .content {
    padding-bottom: 60px;
    width: 100%;
    padding-inline: 20px;
    min-width: unset;
  }
}

@media screen and (max-width: 767px) {
  #pk_flex_content .flex_layout.content_thuiszorg_map {
    padding: 40px 0px 0px 0px;
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    > .content {
    /* width: 100%;
      padding-inline: 20px;
      min-width: unset; */
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    > .content {
    padding-bottom: 20px;
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    .zgem_button_container {
    margin-top: 60px;
  }

  #pk_flex_content
    .flex_layout.content_thuiszorg_map
    .content_map_wrapper
    > svg {
    max-width: unset;
    transform: translateX(0%);
  }
}
