/**
* All of the CSS for your public-facing functionality should be
* included in this file.
*/
/** @import url("bv-public-generated.css"); **/

/** BOLIGVELGER **/

.boligvelger .infoFields {
  display: none;
}

.boligvelger .bv_tooltip {
  display: none;
  position: absolute;
  text-align: left;
  z-index: 100;
  /* mouse-events: none; */
  pointer-events: none;
  opacity: 0;
}

.boligvelger .bv_tooltip:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translate(-50%, 50%);
  border-width: 15px;
  border-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  z-index: 1;
}

.boligvelger .hovered > * {
  transition: all 0.2s ease;
}

.boligvelger .selectable.hovered {
  transition: all 0.2s ease;
}

.boligvelger {
  margin: 0px;
  padding: 0px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.boligvelger > * {
  transition: all 0.2s ease;
}

.boligvelger .bv_selectable:hover,
.boligvelger .bv_selectable.hovered {
  transition: all 0.2s ease;
}

.boligvelger .bv_selectable[href] {
  cursor: pointer;
}

.boligvelger .viewSelector {
  display: flex;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: -12px;
}
.viewButton {
	background: #fff;
}
.boligvelger .viewSelector ul {
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0px;
  padding: 0px;
  justify-content: space-between;
  width: 100%;
}
.viewButton.active {
  background: var(--view-active);
  color: var(--view-active-color);
}

.viewButton.active:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translate(-50%, -100%);
  /* border: solid 15px transparent; */
  border-style: solid;
  border-width: 15px;
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  z-index: 10;
}
.boligvelger .bv_tooltip .title {
  z-index: 2;
  position: relative;
}

.boligvelger .viewSelector ul li {
  list-style-type: none;
  display: flexbox;
  text-align: center;
  flex: 1;
  padding: 25px 0px;
  position: relative;
}

.boligvelger .view {
  display: none;
}

.boligvelger .view > g,
.boligvelger .view > polygon,
.boligvelger .view > rect {
  display: none;
}

.boligvelger .view.active > g,
.boligvelger .view.active > polygon,
.boligvelger .view.active > rect {
  display: block;
}

.boligvelger .view.active {
  display: block;
}
.svgContainer {
  position: relative;
}
.svgContainer > .disclaimer {
  position: absolute;
  bottom: 25px;
  right: 10px;
  z-index: 100;
  color: #fff;
font-size: 0.6rem;
}

.boligvelger .customViewSelector {
  cursor: pointer;
}

/* LIST */

.boligListe {
  width: 100%;
  margin-top: 10px;
}

.boligListe > table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  color: #111111;
}

.boligListe table thead,
.boligListe table thead tr {
  text-align: left;
  background: var(--title-bg) !important;
  color: white;
}

.boligListe table thead th {
  padding: 10px;
  font-size: 14px;
}

.boligListe table td {
  padding: 10px;
}

.boligListe table tbody tr {
  background: transparent;
}

.boligListe table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.1);
}

.boligListe table tbody tr:hover {
  cursor: pointer;
}

.boligListe table tbody tr.solgt {
  background: var(--solgt-bg) !important;
}

.boligListe table tbody tr.reservert {
  background: var(--orange-bg) !important;
}

.boligListe table tbody tr.reservert:hover {
  background: var(--svg-orange-hover) !important;
}

.boligListe table tbody tr.ledig:hover {
  background: var(--view-active) !important;
}

.tLeil {
  width: 5%;
}

.boligListe table tbody tr.solgt:hover {
  background: var(--svg-solgt-hover) !important;
}
