.mieszkanie-table .price__regular {
  text-decoration: line-through;
}
.mieszkanie-table .price__promo,
.price.price__titles .price__promo {
  color: #CE0F3F;
  font-weight: 700;
}
.price.price__titles .price__regular {
  color: #444;
  text-decoration: line-through;
}

@media only screen and (max-width: 479px) {
  .row.logo-i-dane {
    flex-direction: column-reverse;;
    align-items: center;
  }

  img.logo-inwestycji {
    object-position: center;
  }
}


.row.dane {
  justify-content: center !important;
}

.row.align-left {
  justify-content: center;
}



.separator-slider {
  width: 100%;
  border-bottom: solid 1px white;
  margin-top: 24px;
}

#wyszukaj p {

  margin: 0px;
}

.row.dane {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.row.dane .wyszukiwarka-text {
  width: auto;
  color: black;
}

/* Wyszukiwarka */

.wyszukiwarka {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.wyszukiwarka-item {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 7px;
  text-decoration: none;
  background: white;
}


.nazwa-mieszkania {
  margin-bottom: 5px;
}

.separator {
  border-left: 1px solid grey; /* Ustawia szarą pionową linię */
  height: auto; /* Wysokość separatora */
  margin-left: 10px; /* Lewy margines */
  margin-right: 10px; /* Prawy margines */
}

.wyszukiwarka-item {
  transition: transform 0.3s ease; /* Animacja trwa 0.3 sekundy */
}

.wyszukiwarka-item:hover {
  transform: translateY(-5px); /* Podnosi element o 5px do góry */
}

.wyszukiwarka-item:active {
  transform: translateY(2px); /* Opuszcza element o 2px w dół */
}



.wyszukiwarka-text {
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: black;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}
.row.row-column {
  flex-direction: column;
}

.align-left {
  justify-content: left;
}

.logo-inwestycji {
  width: 100px;
  height: 60px !important;
  object-fit: contain;
  object-position: right;
}

.nazwa-mieszkania {
  text-align: left;
  color: var(--bde-brand-primary-color);
  font-size: var(--preset-id-c64f6384-3ba4-417a-a0a6-570fe4c2095d-font-size);
  font-weight: var(
    --preset-id-c64f6384-3ba4-417a-a0a6-570fe4c2095d-font-weight
  );
}

.plan-mieszkania {
  width: 80%;
  max-width: 300px !important;
  aspect-ratio: 4/3;
  object-fit: contain;
}

button.zapytaj {
  border-radius: 7px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  color: #fff;
  background: var(--bde-brand-primary-color);
  border: none;
  padding: 0.5rem 0.75rem;
}

.zobacz-pdf {
  background: transparent;
  border: none;
  text-decoration: underline;
  color: var(--bde-brand-primary-color);
  padding: 0.5rem 0rem;
  width: 100%;
  margin: 0px;
}

button {
  cursor: pointer;
}

.mieszkanie-checkbox {
  accent-color: var(--bde-brand-primary-color);
}

.przyciski-container {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}


/* Filtracja slider*/

.filtracja .range-slider input::-moz-range-track {
  background-color: transparent;
}


.filtracja .fields.slider {
  display: flex;
  flex-direction: column;
  gap: 4.81px;
}


.filtracja .range-slider {
  position: relative;
  width: 200px;
  height: 18px;
  text-align: center;
}

.filtracja .range-slider input {
  pointer-events: none;
  position: absolute;
  overflow: hidden;
  left: 0;
  width: 200px;
  outline: none;
  height: 18px;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.filtracja .range-slider input::-webkit-slider-thumb {
  pointer-events: all;
  position: relative;
  z-index: 1;
  outline: 0;
}

.filtracja .range-slider input::-moz-range-thumb {
  pointer-events: all;
  position: relative;
  z-index: 10;
  -moz-appearance: none;
  width: 9px;
}

.filtracja .range-slider input::-moz-range-track {
  position: relative;
  z-index: -1;
  border: 0;
}

.filtracja .range-slider input:last-of-type::-moz-range-track {
  -moz-appearance: none;
  background: none transparent;
  border: 0;
}

.filtracja .range-slider input[type=range]::-moz-focus-outer {
  border: 0;
}

.filtracja .rangeValue {
  width: 30px;
}


.filtracja input[type=range] {
  background: none;
  border: none;
}

.filtracja input[type=range]::-webkit-slider-runnable-track {
  height: 5px;
  border: none;
  border-radius: 3px;
  background: transparent;
}

.filtracja input[type=range]::-ms-track {
  height: 5px;
  background: transparent;
  border: none;
  border-radius: 3px;
}

.filtracja input[type=range]::-moz-range-track {
  height: 5px;
  background: transparent;
  border: none;
  border-radius: 3px;
}

.filtracja input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  margin-top: -5px;
  position: relative;
  z-index: 10000;
}

.filtracja input[type=range]::-ms-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #555;
  margin-top: -5px;
  position: relative;
  z-index: 10000;
}

.filtracja input[type=range]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  margin-top: -5px;
  position: relative;
  z-index: 10000;
}

.filtracja input[type=range]:focus {
  outline: none;
}

.filtracja .full-range,
.filtracja .incl-range {
  width: 100%;
  height: 5px;
  left: 0;
  top: 6px;
  position: absolute;
  border-radius: 5px;
  background-color: lightgray;
}


.filtracja input[type=range]::-webkit-slider-thumb {

  background: var(--bde-brand-primary-color);

}

.filtracja input[type=range]::-moz-range-thumb {

  background: var(--bde-brand-primary-color);

}

.filtracja .incl-range {

  background: var(--bde-brand-primary-color);

}

@media only screen and (max-width: 1023px) {

  .filtracja .zapytaj {
    padding: 0.5rem 1rem !important;
}

}


@media only screen and (max-width: 767px) {

  .filtracja #tooltip {
      display: none;
  }

  .separator {
margin-left: 5px;
margin-right: 5px;
}

  .filtracja .custom-select {
      top: -51.93px;
      left: 0px;
      width: 100%;
  }

  .filtracja .container {
      margin-top: 51.93px;
  }

  .filtracja .range-slider {
      width: 100%;
  }

  .filtracja .col {
      width: 100%;
  }

  .filtracja input.max-range  {
      width: 100%;
  }


}


/*Chrome*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  input[type='range'] {
    overflow: hidden;
    width: 80px;
    -webkit-appearance: none;
    background-color: red;
  }
  
  input[type='range']::-webkit-slider-runnable-track {
    -webkit-appearance: none;
  }
  
  input[type='range']::-webkit-slider-thumb {
    width: 10px;
    -webkit-appearance: none;
    height: 10px;
    cursor: ew-resize;
    background: #434343;
  }

}
/** FF*/
input[type="range"]::-moz-range-progress {
background-color: #43e5f7; 
}
input[type="range"]::-moz-range-track {  
background-color: #9a905d;
}
/* IE*/
input[type="range"]::-ms-fill-lower {
background-color: #43e5f7; 
}
input[type="range"]::-ms-fill-upper {  
background-color: #9a905d;
}

.filtracja .zapytaj {
  border-radius: 7px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  color: #fff;
  background: var(--bde-brand-primary-color);
  border: none;
  padding: 0.5rem 0.75rem;
}

.filtracja {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-direction: column;
}

.filtracja .row {
  gap: 2rem;
}

.filtracja select {
  width: 200px;
  padding: 0.5rem;
}

.pietro, .powierzchnia, .pokoje, .cena {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}


select option {
  background-color: #D90054;
  color: white;
  
  }


  div#view-switcher {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}



#view-switcher button {
  padding: 0.5rem 1rem;
  background-color: lightgray;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
}

#view-switcher button.active {
  background-color: #D90054;
  color: white;
}

.mieszkanie-table td, .mieszkanie-table th {

  text-align: left;
}

/* Styl dla tabeli */
.mieszkanie-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0; /* Usuwa domyślne odstępy między komórkami */
  min-width: 800px;
}

/* Styl dla komórek tabeli */
.mieszkanie-table td {
  padding: 10px; /* Zwiększa odstęp wewnątrz komórek */
  border-bottom: 1px solid #ccc; /* Dodaje linię rozdzielającą między wierszami */
}

/* Ostatni wiersz bez dolnej linii */
.mieszkanie-table tr:last-child td {
  border-bottom: none;
}

.mieszkanie-table th {
  padding: 10px; /* Zwiększa odstęp wewnątrz komórek */
  border-bottom: 1px solid #ccc; /* Dodaje linię rozdzielającą między wierszami */
}

.mieszkanie-table tr:hover {
  background-color: 	#d5d5d5; /* Szary kolor tła */
}

