/* GENERAL / LAYOUT */
.cb-location-map__inner {
  max-width: 95%;
  margin: 0 auto;
}

@media only screen and (min-width: 1441px) {
  .cb-location-map__inner {
    max-width: var(--width-content);
  }
}

/* WRAPPER-BACKGROUND */
.cb-location-map__wrapper {
  position: relative;
  padding: 1.75rem 0;
}
.cb-location-map__wrapper:after {
  position: absolute;
  content: "";
  background: var(--light-light-grey);
  width: 100vw;
  height: 100%;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}
.cb-location-map__inner h2 {
  margin-bottom: 5rem;
}

/* TEXT BOX */
.cb-location-map__textcontainer {
  position: absolute;
  top: -3.5rem;
  min-height: calc(100% + 5rem);
  width: 25%;
  padding: 1.25rem 3rem;
  box-shadow: 2px 2px 5px 0 rgba(180, 180, 180, 0.5);
  background-color: #fff;
}
.cb-location-map__infobox {
  position: absolute;
  word-break: break-all;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.25rem 3rem;
  background-color: var(--white);
  z-index: 0;
}
.cb-location-map__intro {
  z-index: 1;
}
.cb-location-map__infobox.active {
  z-index: 99;
}
.cb-location-map__content {
  /* word-break: auto-phrase; */
  word-break: keep-all;
}
.cb-location-map__textcontainer h3 {
  position: relative;
  padding-bottom: 0.375rem;
  margin-bottom: 2rem;
}
.cb-location-map__textcontainer h3:after {
  position: absolute;
  content: "";
  bottom: -0.375rem;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--yellow);
}

.cb-location-map__textcontainer h4 {
  margin: 1rem 0;
}

.cb-location-map__textcontainer th {
  text-align: left;
  padding: 0 8px 0 0;
}

.cb-location-map__textcontainer td {
  padding: 0;
}
/* MAP */
.cb-location-map__map {
  margin-left: 20%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* SVG */
.cb-location-map__map svg #Landesgrenze path {
  fill: var(--white);
}
.cb-location-map__map svg .cb-location-map__state {
  pointer-events: all;
  cursor: pointer;
}
.cb-location-map__state > path {
  transition: fill ease 0.2s;
  fill: transparent;
}

.cb-location-map__map svg .cb-location-map__state:focus {
  outline: none;
}

.cb-location-map__state:hover .cb-location-map__area,
.cb-location-map__state.active .cb-location-map__area {
  fill: var(--yellow);
}
.cb-location-map__pin {
  pointer-events: none;
}
.cb-location-map__map svg #states .cb-location-map__pin path {
  fill: var(--black);
}

/* Exception: Vienna & Lower Austria */
.cb-location-map__state#vie_noe-state:hover .cb-location-map__area#vie {
  fill: var(--yellow);
}
.cb-location-map__state#vie_noe-state:hover .cb-location-map__area#noe {
  fill: var(--light-yellow);
}

/* MOBILE */
@media only screen and (max-width: 768px) {
  .cb-location-map__wrapper {
    display: flex;
    flex-flow: column-reverse;
  }
  .cb-location-map__map {
    height: 200px;
    margin-left: 0;
  }
  .cb-location-map__textcontainer {
    position: static;
    width: 100%;
    height: 725px;
    padding: 2rem;
  }
  .cb-location-map__infobox {
    height: auto;
    min-height: 690px;
  }
}
