/*
Theme Name: SDP-Nieruchomosci
Theme URI:
Description: Szablon dla SDP-Nieruchomosci.pl
Version: 3.0.0
Author: Paweł Osiński (ontimeproject.pl)
Author URI: https://ontimeproject.pl
License: Rights reserved.
License URI:
Tags:
Text Domain:
*/

/* GLOBAL */
.nieruchomosc-on-map .icon,
.search-box .color-FF7222.color-FF7222-hover.center-side-by-side-element.font-size-16.bold-500
{
    display: none !important;
}

body{
    color: #2A3768;
    position: relative;
    font-family: 'firasans-400';
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: 'poppins-700';
}

.padding-top-content{
    padding-top: 155px;
}

.padding-top-content-contact {
    padding-top: 100px;
}

.white-background{
    background: #fff;
}

.vertical-center{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.top-page-space{
    margin-top: 130px;
}

.top-space{
    margin-top: 170px;
}
.top-page-space.miejsca-single-post{
    margin-top: 100px;
}
.top-page-space.wyceniarka{
    margin-top: 100px;
}

.overlaping{
    position: absolute;
    z-index: 9999;
}

.search-box{
    display: inline-block;
    position: relative;
    height: fit-content;
}

.set-bottom-element{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex-direction: column;
}

.center-side-by-side-element{
    display: flex;
    align-items: center;
}

.line-height-normal{
    line-height: normal;
}

.cursor-pointer{
    cursor: pointer;
}

.title-search-field{
    color: #6C779D;
    margin-left: 11px;
}

.height-10{
    height: 10% !important;
}

.height-20{
    height: 20% !important;
}

.height-30{
    height: 30% !important;
}

.height-40{
    height: 40% !important;
}

.height-50{
    height: 50% !important;
}

.height-60{
    height: 60% !important;
}

.height-70{
    height: 70% !important;
}

.height-77{
    height: 77% !important;
}

.height-80{
    height: 80% !important;
}

.height-90{
    height: 90% !important;
}

.height-100{
    height: 100% !important;
}

.height-fit-content {
    height: fit-content;
}

.w-45 {
    width: 45% !important;
}

.w-60 {
    width: 60% !important;
}

.border-radius-6 {
    border-radius: 8px;
}

.border-radius-8 {
    border-radius: 8px;
}

.border-radius-16 {
    border-radius: 16px;
}

.border-radius-24 {
    border-radius: 24px;
}

.border-top-right-radius-16 {
    border-top-right-radius: 16px;
}
.border-bottom-right-radius-16 {
    border-bottom-right-radius: 16px;
}
.border-top-left-radius-16 {
    border-top-left-radius: 16px;
}
.border-bottom-left-radius-16 {
    border-bottom-left-radius: 16px;
}

.box-shadow {
    box-shadow: 0px 4px 25px rgba(42, 55, 104, 0.1);
}
.box-shadow-radius {
    box-shadow: 0px 4px 25px rgba(42, 55, 104, 0.1);
    border-radius: 16px;
    background: #FFFFFF;
}
.margin-flex-wrap {
    margin-top: -15px;
}
.margin-flex-wrap > div {
    margin-top: 15px;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.z-index-over {
    z-index: 999  !important;
}

.alert-z-index {
    z-index: 999999999999999999  !important;
}

.border {
    border: 1px solid #DDE0E9 !important;
}

.width-fit-content {
    width: -moz-fit-content;
    width: fit-content;
}

.not-allowed {
    cursor: not-allowed !important;
}

/*NASI PARTNERZY*/
.nasi-partnerzy .title{
    font-size: .9rem;
}

.nasi-partnerzy figure{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.nasi-partnerzy figure a{
    margin: auto;
    display: block;
}

.n2-ss-slider picture.n2-ow, .n2-ss-slider .n2-ow-all picture{
    width: 100%;
}

.cover {
    object-fit: cover;
}

/*NIERUCHOMOSCI*/
.na-sprzedaz .Rodzaj{
    display: none;
}

.na-wynajem .Rodzaj{
    display: none;
}

.na-sprzedaz .load-order select, .na-wynajem .load-order select {
    width: fit-content;
    padding-right: 50px !important;
    text-align: left !important;
}

.zobacz-oferty-na-mapie, .znajdziemy-najlepsze-oferty-dla-ciebie{
    box-shadow: 0px 4px 25px rgba(42, 55, 104, 0.1);
    border-radius: 16px;
    background: #FFFFFF;
}

.zobacz-oferty-na-mapie .img span{
    left: 50%;
    width: 80%;
    transform: translate(-50%);
}

.zobacz-oferty-na-mapie .img img{
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.znajdziemy-najlepsze-oferty-dla-ciebie {
    margin-top: 100px;
}

.znajdziemy-najlepsze-oferty-dla-ciebie img {
    top: -40px;
}

.znajdziemy-najlepsze-oferty-dla-ciebie > div > div {
    top: -20px;
}

/*alert*/
.save-user-alert, .not-the-same-password-alert {
    display: none;
}

/* calculator */
.calculator {
    /* padding: 32px; */
    max-width: 580px;
  }
  .calculator .calculator-row {
    display: flex;
    /* outline: 3px solid orange; */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
  }
  .calculator .calculator-row .calculator-bill {
    text-align: right;
    padding-right: 15px;
  }
  .calculator .calculator-row .button {
    width: 157px;
    color: #fff;
    border: none;
  }
  .calculator .calculator-row .input-box {
    flex-basis: 200px;
    margin-right: 25px;
  }
  .calculator .calculator-row .input-box input {
    width: 80%;
  }
  .calculator .calculator-row .range-box {
    flex-basis: 350px;
  }
  .calculator .calculator-row .range-box input {
    width: 100%;
  }

  /* Chrome, Safari, Edge, Opera Hide Arrows From Input Number */
  .calculator .calculator-row .calculator-bill::-webkit-outer-spin-button,
  .calculator .calculator-row .calculator-bill::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox Hide Arrows From Input Number */
  .calculator .calculator-row .calculator-bill[type=number] {
    -moz-appearance: textfield;
  }

  .calculator .p-calculator,
  .calculator .calc-result {
    font-family: poppins-700;
    font-size: 24px;
    line-height: 140%;
  }
  .calculator .calc-result {
    margin-bottom: 0;
  }
  .calculator  input[type=range] {
    width: 100%;
    margin: 18px 0;
    background-color: transparent;
    -webkit-appearance: none;
  }
  .calculator input[type=range]:focus {
    outline: none;
  }
  .calculator input[type=range]::-webkit-slider-runnable-track {
    background: #3d60e6;
    border-radius: 25px;
    width: 100%;
    height: 4px;
    cursor: pointer;
  }
  .calculator input[type=range]::-webkit-slider-thumb {
    margin-top: -19.1px;
    width: 37px;
    height: 37px;
    background: #ffffff;
    border: 6px solid #3d60e6;
    border-radius: 50px;
    cursor: pointer;
    -webkit-appearance: none;
  }
  .calculator input[type=range]:focus::-webkit-slider-runnable-track {
    background: #3d60e6;
  }
  .calculator input[type=range]::-moz-range-track {
    background: #3d60e6;
    border-radius: 25px;
    width: 100%;
    height: 4px;
    cursor: pointer;
  }
  .calculator input[type=range]::-moz-range-thumb {
    width: 27px;
    height: 27px;
    background: #ffffff;
    border: 6px solid #3d60e6;
    border-radius: 50px;
    cursor: pointer;
  }
  .calculator input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 20.6px 0;
    color: transparent;
    width: 100%;
    height: 4px;
    cursor: pointer;
  }
  .calculator input[type=range]::-ms-fill-lower {
    background: #3d60e6;
    border: 1.1px solid #3d60e6;
    border-radius: 25px;
  }
  .calculator input[type=range]::-ms-fill-upper {
    background: #DDE0E9;
    border: 1.1px solid #DDE0E9;;
    border-radius: 25px;
  }
  .calculator input[type=range]::-ms-thumb {
    width: 37px;
    height: 37px;
    background: #ffffff;
    border: 6px solid #3d60e6;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
  }

  .calculator input[type=range]:focus::-ms-fill-lower {
    background: #3d60e6;
  }
  .calculator input[type=range]:focus::-ms-fill-upper {
    background: #DDE0E9;
  }

  /*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
  how to remove the virtical space around the range input in IE*/
  @supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range] {
      margin: 0;
      /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
  }

  .calculator input[type="range"]::-moz-range-progress {
    background-color: #3d60e6;
  }
  .calculator input[type="range"]::-moz-range-track {
    background-color: #DDE0E9;
  }
  /* IE*/
  .calculator input[type="range"]::-ms-fill-lower {
    background-color: #3d60e6;
  }
  .calculator input[type="range"]::-ms-fill-upper {
    background-color: #DDE0E9;
  }

  .top-404 .addtoany_content {
      display: none;
  }
  /* Mobile contact bar*/
  @media screen and (orientation: landscape) {
    #mobile-contact-bar{
      display: none;
    }
  }
  @media screen and (max-width: 782px) {
    #mobile-contact-bar{
      display: block;
      z-index: 9997;
    }
  }
  /*Captcha*/
  .grecaptcha-badge {
      visibility: hidden;
  }

  .blackfriday {
      padding: 6px 10px 6px 24px;
      position: absolute;
      left: 0;
      top: 10%;
  }

  .blackfriday img {
      width: 80px !important;
      height: 84px !important;
  }
  #lightbox {
    z-index: 9999999!important;
  }

  .calendly-inline-widget .simplebar-content-wrapper .hPAsHHd0FN8065UiP705, .VJL48qbQzWENTFAh1Knk.f3c_Dda7HKHqraeedxG1, .G_eycHIIxsnntLHS95Nc._hAtIO8O1_pAj8K6LD93.mYAE8EC9vF9JJeVk837a {
    display: none;
  }

  .mobile {
      display: none;
  }
  .pad {
      padding:1.5rem;
  }
  .marg {
      margin-top:1.5rem;
  }

  .border-oferta {
    background: #FFFFFF;
    box-shadow: 0px 4px 25px rgb(42 55 104 / 10%);
    border-radius: 16px;
    height: 100%;
    margin-top: 1.5rem;
  }
  .border-oferta:hover {
    box-shadow: 0px 4px 25px rgb(42 55 104 / 31%);
  }
  .border-oferta .thumbnail img {
      height: 200px;
      object-fit: cover;
      width: 100%!important;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
  }
  .border-oferta .description .type-on {
    padding: 6px 10px;
    background: #F4F5FB;
    border-radius: 6px;
    width: fit-content;
    height: auto;
    position: absolute;
    bottom: 1rem;
  }
  .border-oferta-sold {
    filter: grayscale(100%);
    cursor: not-allowed;
  }
  .lh-mid {
    line-height: 0.9rem;
    vertical-align: middle;
    font-family: poppins-600;
    color: #6C779D;
    margin-top: 0.5rem!important;
    justify-content: space-between!important;
    flex-wrap: wrap!important;
    display: flex!important;
  }
  .mh {
    min-height: 272px;
  }
.pum-theme-52173 .pum-container, .pum-theme-content-only .pum-container {
  border: none!important;
}


/* pagination and more */
.pagination-row, .pagination-row-map {
  display: none;
}

.pagination-row, .pagination-row-map {
  overflow: hidden;
  margin-top: 25px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media screen and (max-width: 960px) {
  .pagination-row, .pagination-row-map {
    flex-direction: column;
  }
  #button-container {
    order: 1;
    width: 100%; /* kolumna ma pełną szerokość */
    margin-bottom: 10px; /* odstęp, opcjonalnie */
  }
  #pagination {
    order: 2;
    width: 100%;
  }
}

#pagination,
#pagination a,
#pagination span {
  display: inline-block; /* lub inline */
  vertical-align: middle;
  text-align: center;
}

#pagination a {
  text-decoration: none;
  padding: 5px 10px;
  color: #FF7222;
  border: none;
  margin: 0 5px;
  border-radius: 6px;
}

#pagination span.current-page {
  font-weight: bold;
  padding: 7px 10px;
  background-color: #FF7222;
  color: #ffffff;
  border-radius: 6px;
}

@media screen and (max-width: 780px) {
  #pagination a{
    padding: 5px 5px;
  }
  #pagination, #pagination a, #pagination span {
    margin: 10px 5px;
  }
}

#pagination .disabled, #pagination .next, #pagination .last, #pagination .first, #pagination .prev {
  color: rgb(42 55 104 / 41%);
}

#pagination .next, #pagination .prev {
  font-size: medium;
}
#load-more {
  float: right;
  color: #2A3768;
  background-color: #fff;
  border: none;
}

#load-more:hover, #load-more:focus {
  color: #FF7222;
  box-shadow: none;
}
#button-container {
  text-align: right;
}

.hidden {
   display: none !important;
}



.gt_float_switcher {
  background: transparent!important;
  margin-top: -30px!important;
  font-family: poppins-600!important;
  font-size: 15px!important;
  line-height: 15px!important;
  box-shadow: none!important;
  padding: 0px 5px 10px!important;
}

.gt_float_switcher img {
  width: 20px!important;
  margin: 8px 5px 5px 0!important;
}

/*.gt_float_switcher .gt-selected {
  background-color: transparent!important;
}

.gt_float_switcher .gt-selected .gt-current-lang{
  padding: 8px 10px 5px !important;
  color: #ffffff!important;
}

.gt_float_switcher .gt-selected {
  background-color: transparent!important;

}*/

.litebox-overlay {
  z-index: 9999999!important;
}
