/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.filter-item {
  text-align: left;
  margin-right: 40px;
}

.filter-item:first-child {
  margin-left: 0;
}

.filter-item label {
  display: block;
  font-size: 16px;
}

.filter-item .dropdown-trigger button {
  color: #fff;
  border-radius: 20px !important;
}

.filter-item .noUi-horizontal .noUi-tooltip {
  bottom: auto;
  top: 120%;
  color: #000 !important;
  border: none;
  font-size: 16px;
  line-height: 1;
  padding: 6px 7px 3px 7px;
  font-size: 12px;
}

.filter-item .noUi-horizontal .noUi-handle::before,
.filter-item .noUi-horizontal .noUi-handle::after {
  display: none !important;
}

.filter-item .noUi-horizontal {
  height: 5px !important;
  margin-top: 20px !important;
}

.filter-item .noUi-horizontal .noUi-handle {
  top: -9px !important;
}

.filter-item-range {
  min-width: 200px;
  margin-right: 70px;
}

.apartment-finder-filters .button {
  padding-top: calc(0.7em - 1px);
}

.jongo-apartment-finder .pagination-link {
  color: #000 !important;
}

.jongo-apartment-finder .pagination-link.is-current {
  color: #fff !important;
}

.jongo-apartment-finder table.dataTable {
  margin-bottom: 50px !important;
}

.jongo-apartment-finder div.dataTables_wrapper div.dataTables_filter {
  display: none;
}

.apartment-finder-filters {
  margin-bottom: 50px !important;
}

.jongo-apartment-finder table thead th {
  background-color: #000;
  color: #fff !important;
  text-align: center !important;
}

.jongo-apartment-finder.has-bewerben table thead th:first-child {
  display: none;
}

.jongo-apartment-finder.is-selecting table thead th:first-child {
  display: table-cell;
}

.jongo-apartment-finder.has-bewerben table thead th:first-child::after {
  display: none !important;
}

.apartment-finder__checkbox {
  display: none;
}

.jongo-apartment-finder.is-selecting .apartment-finder__checkbox {
  display: flex;
}

.selected-order {
  color: #999999;
  font-weight: 700;
  display: inline-block;
  width: 20px;
  text-align: center;
}

.jongo-apartment-finder table tbody tr td.sorting-checkbox {
  display: none;
}

.jongo-apartment-finder.is-selecting table tbody tr td.sorting-checkbox {
  display: table-cell;
}


/* .jongo-apartment-finder table thead th::before,
.jongo-apartment-finder table thead th::after {
  display: none !important;
} */

.apf-checkbox-filter label {
  font-size: 14px;
}

.apf-checkbox-filter [type='checkbox']:checked,
.apf-checkbox-filter [type='checkbox']:not(:checked) {
  position: absolute;
  left: -9999px;
}

.apf-checkbox-filter [type='checkbox']:checked + label,
.apf-checkbox-filter [type='checkbox']:not(:checked) + label {
  position: relative;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #000;
}

.apf-checkbox-filter [type='checkbox']:checked + label:before,
.apf-checkbox-filter [type='checkbox']:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -23px;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 100%;
  background: #fff;
}

.apf-checkbox-filter [type='checkbox']:checked + label:after,
.apf-checkbox-filter [type='checkbox']:not(:checked) + label:after {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.apf-checkbox-filter [type='checkbox']:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.apf-checkbox-filter [type='checkbox']:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.jongo-apartment-finder tbody tr {
  /* display: none; */
}

div.dataTables_wrapper div.dataTables_info {
  display: none !important;
}

.jongo-apartment-finder table th.sorting::before {
  display: none !important;
}

.jongo-apartment-finder table th.sorting::after {
  content: '\f078' !important;
  font-family: 'Font Awesome 5 Free';
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  display: inline-block !important;
  margin-left: 5px !important;
  position: static !important;
  opacity: 1 !important;
  vertical-align: middle !important;
  font-size: 14px;
}

.jongo-apartment-finder table th.sorting_asc::after {
  content: '\f077' !important;
}

.apartment-finder-checboxes {
  margin-bottom: 30px;
}

.clear-table-filters {
  text-align: left;
  margin-bottom: 15px;
  display: none;
}

.table-container {
  overflow: visible !important;
  padding-bottom: 30px;
}

.apartment-finder-filter {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 30px 25px 30px;
}

.apartment-finder-filter h3 {
  color: #fff;
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.apartment-finder__row {
  display: flex;
  width: 100%;
  justify-content: center;
}

.apartment-finder-filter .button {
  padding: 11px 17px 7px 17px;
  color: #fff;
  box-shadow: none;
  margin-top: 27px;
  border: none;
  margin-left: 10px;
}

.apartment-finder__field {
  margin: 0 10px;
}

.apartment-finder__field h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.apartment-finder__field select {
  -webkit-appearance: none;
  border: 1px solid #e1e1e1;
  padding: 10px 6px 6px 6px;
  outline: none;
  color: #777;
  margin: 0;
  width: 100%;
  display: block;
  margin-bottom: 20px;
  background: #fff;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 2px;
}

.apartment-finder__fields {
  display: flex;
}

.apartment-finder__field {
  min-width: 200px;
}

@media screen and (max-width: 1000px) {
  .footer .apartment-finder__field {
    min-width: auto;
  }
}

@media screen and (max-width: 768px) {
  .apartment-finder-filters > .is-mobile {
    flex-wrap: wrap;
  }

  .filter-item {
    margin-right: 0;
  }

  .filter-item-range {
    margin-bottom: 25px;
  }

  .table-container {
    overflow: auto !important;
    overflow-y: hidden !important;
  }

  .apartment-finder__field {
    min-width: 100px;
  }

  .footer .apartment-finder__field {
    min-width: auto;
  }
}

.footer .apartment-finder-filter {
  padding: 10px 0 0 0;
  background: transparent;
}

.footer .apartment-finder-filter h3 {
  display: none;
}

.footer .apartment-finder__row {
  display: block;
}

.footer .apartment-finder__field {
  max-width: calc(50% - 20px);
  flex: 0 0 calc(50% - 20px);
}

.footer .apartment-finder-filter .button {
  margin-top: 0;
  margin-left: 10px;
  margin-right: 10px;
  width: calc(100% - 20px);
  border-radius: 0.25rem;
}

.jongo-apartment-finder table.dataTable td {
  text-align: center !important;
  position: relative;
}

.jongo-apartment-finder table.dataTable td.align-right {
  text-align: right !important;
}
/* 
.currency-symbol {
  position: absolute;
  right: 0;
} */

@media screen and (max-width: 600px) {
  .apartment-finder__row {
    display: block;
  }

  .apartment-finder__field {
    max-width: calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
  }

  .apartment-finder-filter .button {
    margin-top: 0;
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
  }

  .footer .apartment-finder__fields,
  .footer .apartment-finder__submit {
    margin: 0 -10px;
  }
}

.footer strong {
  color: inherit;
}

table.dataTable > thead > tr > th:not(.sorting_disabled),
table.dataTable > thead > tr > td:not(.sorting_disabled) {
  padding-right: 5px !important;
}

.dataTables_length {
  display: none !important;
}

/* Style unchecked checkbox */
.jongo-apartment-finder input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  margin-top:2px;
  height: 20px;
  border: 2px solid #000; /* Black border */
  border-radius: 50%; /* Make it circular */
  background-color: #fff; /* White background */
  position: relative;
  cursor: pointer;
}

.jongo-apartment-finder input[type="checkbox"]:focus {
  outline: none;
}

/* Style checked checkbox */
.jongo-apartment-finder input[type="checkbox"]:checked {
  border: 2px solid #000; /* Black border */
  background-color: #fff;
}

.jongo-apartment-finder input[type="checkbox"]:checked::after {
  content: ''; /* Pseudo-Element für den Punkt */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; /* Größe des schwarzen Punkts */
  height: 8px; /* Größe des schwarzen Punkts */
  background-color: #000; /* Schwarzer Punkt */
  border-radius: 50%; /* Runde Form für den Punkt */
}

.apartment-finder__order-info {
  display: none;
}

.is-selecting .apartment-finder__order-info {
  display: block;
}

.order-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  margin: 30px 0;
  padding: 20px 30px;
}

@media screen and (max-width: 768px) {
  .order-info-container {
    flex-wrap: wrap;
  }
  
}

.order-info-text {
  font-size: 16px;
}

.order-info-highlight {
  font-weight: bold;
}

.order-info-button {
  padding: 14px 50px;
  background-color: #000;
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .apartment-finder__order-info .order-info-button {
    margin-top: 20px;
  }
}

.order-info-button--disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.apartment-finder__upper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .apartment-finder__upper {
    flex-wrap: wrap;
    justify-content: start;
  }
}

.jongo-apartment-finder.is-selecting .apartment-finder__select-trigger {
  display: none;
}

/* .apartment-finder__select-trigger {
  display: none;
} */

.apartment-finder__viewing-info {
  margin: 30px 0;
  display: none; /* Hide by default */
}

.viewing-info-text a {
  color: inherit;
  text-decoration: underline;
}

.viewing-info-container {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background-color: #f0f0f0;
  border-radius: 5px;
  gap: 30px;
}

.viewing-info-text {
  font-size: 16px;
}

.viewing-info-text a {
  color: #ce35ba !important;
  text-decoration: underline;
  font-weight: bold;
}

.viewing-info-buttons {
  display: flex;
  gap: 10px;
}



.viewing-info-button {
  padding: 9px 37px;
  background-color: #000;
  border: none;
  border-radius: 20px;
  color: white !important;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
  min-width: 95px;
}

@media screen and (max-width: 768px) {
  .viewing-info-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .viewing-info-buttons {
    width: 100%;
    justify-content: center;
  }
}