/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@media screen and (min-width: 1000px) {  
    .section-head {
        width: 100%;
        height: 580px;
        padding-top: 90px;
        background-image: url(../img/top-bar-offers.jpg);
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: cover;
    }

    .page-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 43px;
        font-weight: 300;
        /* color: #4E4E4E; */
        color: #000;
    }

    .section-content {
        margin-top: 15px;
    }

    .offerbox {
        width: 420px;
        height: 540px;
        overflow: hidden;
        border: 1px solid #CCCCCC;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 50%);
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .offerbox:hover {
        box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 50%);
        transition: all 0.2s ease;
    }

    .offerimg {
        width: 420px;
        height: 300px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .offerbody {
        width: 380px;
        height: 170px;
        margin-top: 28px;
        padding-left: 20px; 
        padding-right: 20px; 
        background-color: #FFF;
    }

    .offerbottom {
        width: 420px;
        height: 42px;
        border-top: 1px solid #CCCCCC;
        text-align: center;
        vertical-align: middle; 
        background-color: #FFF;
    }

    .offer-body-title {
        font-size: 19px;
        font-weight: 500;
    }

    .offer-body-subtitle {
        font-size: 16px;
        font-weight: 300;
        color: #525252;
    }

    .offer-body-price {
        margin-top: 25px;
        font-size: 22px;
        font-weight: 400;
    }

    .offer-body-price-per-m {
        margin-left: 25px;
        font-size: 14px;
        font-weight: 300;
        color: #525252;
      }

    .offer-body-more {
        margin-top: 25px;
        text-align: right;
    }

    .offer-body-button {
        border: 1px solid #D7B756;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 13px;
        font-weight: 400;
        color: #000;
        border-radius: 8px;
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
    }

    .offer-body-button-arrow {
        position: relative;
        margin-bottom: -2px;
        width: 12px;
        height: auto;
      }

    .offerbottom-table {
        width: 90%;
        margin-top: 4px;
        margin-left: auto;
        margin-right: auto;
    }

    .offerbottom-table td {
        font-size: 16px;
        font-weight: 400;
        color: #414141;
    }

    .offericon {
        position: relative;
        top: 2px;
        height: 24px;
        width: auto;
    }

    .order-container {
        width: 100%;
        text-align: right;
        padding-right: 12px;
        padding-bottom: 12px;
        font-size: 16px;
        font-weight: 300;
    }

    .order-select {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 300;
        border: 0;
        background-color: transparent;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 420px 420px 420px;
        grid-template-rows: auto;
        column-gap: 35px;
        row-gap: 35px;
    }


    .pagination-container {
        width: 100%; 
        text-align: center;
        font-size: 18px;
        font-weight: 300;
        margin-top: 30px;
        color: #000;
    }

    .pagination-container a {
        transition: all 0.2s ease;
        color: #000;
        margin-left: 5px;
        margin-right: 5px;
    }

    .pagination-container a:hover {
        transition: all 0.2s ease;
        color: #D7B756;
    }



    .search-container {
        width: 100%; 
        height: 260px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: flex-start;

    }

    .section-search {
        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
        background-color: rgba(255,255,255,0.80);
        border-radius: 25px;
        padding: 50px 30px 10px 30px;
    }


    .search-flex-item-nieruchomosc {
        flex-grow: 1;
        order: 1; 
    }

    .search-flex-item-rodzaj {
        flex-grow: 1;
        order: 2; 
    }

    .search-flex-item-pow {
        flex-grow: 1;
        order: 3; 
    }

    .search-flex-item-cena {
        flex-grow: 1;
        order: 4; 
    }

    .search-flex-item-lok {
        flex-grow: 1;
        order: 5; 
    }

    .search-flex-item-search {
        flex-grow: 1;
        order: 7; 
    }

    .flex-break-middle {
        flex-basis: 100%;
        height: 0;
        order: 6; 
    }

    .flex-break-bottom {
        flex-basis: 100%;
        height: 0;
        order: 6; 
    }

    .spacer {
        height: 25px;
        width: 100%;
    }

    .spacer10 {
        height: 10px;
        width: 100%;
    }


    .input-box-min-l {
        display: inline-block;
        height: 40px;
        width: 50px;
        border: 1px solid #555;
        border-right: 0;
        border-radius: 8px 0 0 8px;
    }

    .input-box-min-l:focus{
        outline: none;
    }

    .input-box-min {
        display: inline-block;
        height: 40px;
        width: 100px;
        border: 1px solid #555;
        text-align: right;
        border-left: 0;
        padding-right: 5px;
    }

    .input-box-max-l {
        display: inline-block;
        height: 40px;
        width: 60px;
        border: 1px solid #555;
        border-right: 0;
    }

    .input-box-max-l:focus{
        outline: none;
    }

    .input-box-max {
        display: inline-block;
        height: 40px;
        width: 100px;
        border: 1px solid #555;
        text-align: right;
        border-left: 0;
        padding-right: 5px;
        border-radius: 0 8px 8px 0;
    }


    .search-title {
        margin: 0;
        font-size: 36px;
        font-weight: 300;
    }

    .search-localization {
        height: 40px;
        width: 240px;
        font-size: 16px;
        font-weight: 400;
        padding: 8px;
        border-radius: 8px 8px 8px 8px;
    }

    .search-button {
        color: #FFF;
        background-color: #361C32;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 3px;
        font-size: 16px;
        font-weight: 500;
        padding-left: 55px;
        padding-right: 55px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-top: 0;
        cursor: pointer;
        border: 0;
        border-radius: 15px;
        transition: all 0.2s ease;
    }

    .search-button:hover {
        transition: all 0.2s ease;
        color: #D7B756;
    }


    .multi-range {
        position: relative;
        left: 0;
        height: 40px;
    }
    
    .multi-range input[type=range] {
        position: absolute;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        pointer-events: none;
        height: 26px;
        width: 300px;
        margin: 0;
        padding: 0 2px;
        overflow: hidden;
        border: 0;
        border-radius: 1px;
        outline: none;
        background: linear-gradient(grey, grey) no-repeat center;
        background-size: 100% 2px;  
    }
    
    .multi-range input[type=range]:active,
    .multi-range input[type=range]:focus {
        outline: none;
    }
    
    .multi-range input[type=range]::-moz-focus-outer {
        border: 0;
    }
    
    .multi-range input[type=range]::-webkit-slider-thumb {
        height: 22px;
        width: 22px;
        border-radius: 22px;
        background-color: #361C32;
        position: relative;
        margin: 5px 0;
        cursor: pointer;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        pointer-events: all;
        box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
        border: 0;
    }
    
    .multi-range input[type=range]::-webkit-slider-thumb::before,
    .multi-range input[type=range]::-webkit-slider-thumb::after {
        content: ' ';
        display: block;
        position: absolute;
        top: 13px;
        left: 100%;
        width: 2000px;
        height: 2px;
    }
    
    input[type=range]::-moz-range-thumb {
        height: 22px;
        width: 22px;
        border-radius: 22px;
        background-color: #361C32;
        position: relative;
        margin: 5px 0;
        cursor: pointer;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        pointer-events: all;
        box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
        border: 0;
    }
    
    
    .multi-range input[type=range]:nth-child(2) {
        background: none;
    }
    

    /* The dots/bullets/indicators */
    .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }
    
    .active, .dot:hover {
        background-color: #717171;
    }

    input[type='radio'] {
        -moz-appearance: none;
        margin-bottom: 10px;
    }

    input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

    input[type='radio']:checked:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #361C32;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

}



@media screen and (max-width: 999px) {  
    .section-head {
        width: 100%;
        height: 1320px;
        padding-top: 90px;
        background: rgb(154,154,154);
        background: -moz-linear-gradient(180deg, rgba(154,154,154,1) 0%, rgba(191,191,191,1) 35%, rgba(250,250,250,1) 100%);
        background: -webkit-linear-gradient(180deg, rgba(154,154,154,1) 0%, rgba(191,191,191,1) 35%, rgba(250,250,250,1) 100%);
        background: linear-gradient(180deg, rgba(154,154,154,1) 0%, rgba(191,191,191,1) 35%, rgba(250,250,250,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9a9a9a",endColorstr="#fafafa",GradientType=1);
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: cover;
    }

    .page-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        margin-top: 0;
        font-size: 48px;
        font-weight: 300;
        /* color: #4E4E4E; */
        color: #000;
    }

    .section-content {
        margin-top: 15px;
    }

    .offerbox {
        width: 100%;
        overflow: hidden;
        border: 1px solid #CCCCCC;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 50%);
        transition: all 0.2s ease;
    }

    .offerbox:hover {
        box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 50%);
        transition: all 0.2s ease;
    }

    .offerimg {
        width: 100%;
        aspect-ratio: 16/10;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
      }
    
      .offerbody {
        width: 100%;
        height: auto;
        margin-top: 28px;
        margin-bottom: 28px;
        padding-left: 20px; 
        padding-right: 20px; 
        background-color: #FFF;
      }
    
      .offerbottom {
        width: 100%;
        margin-top: 40px;
        height: 75px;
        border-top: 1px solid #CCCCCC;
        text-align: center;
        bottom: 0;
        background-color: #FFF;
      }
    
      .offer-body-title {
        font-size: 3.5vw;
        font-weight: 500;
      }
    
      .offer-body-subtitle {
        font-size: 2.75vw;
        font-weight: 300;
        color: #525252;
      }
    
      .offer-body-price {
        margin-top: 25px;
        font-size: 3.5vw;
        font-weight: 400;
      }
    
      .offer-body-price-per-m {
        margin-left: 25px;
        font-size: 2.75vw;
        font-weight: 300;
        color: #525252;
      }
    
      .offer-body-more {
        margin-top: 3.5vw;
        margin-bottom: 3vw;
        text-align: right;
      }
    
      .offer-body-button {
        transition: all 0.2s ease;
        border: 1px solid #D7B756;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 25px;
        padding-right: 25px;
        font-size: 2.75vw;
        font-weight: 400;
        color: #000;
        border-radius: 8px;
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
      }
    
      .offer-body-button-arrow {
        position: relative;
        margin-bottom: -2px;
        width: 2vw;
        height: auto;
      }
    
      .offer-body-button:hover {
        transition: all 0.2s ease;
        color: #D7B756;
      }

    .offerbottom-table {
        width: 90%;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .offerbottom-table td {
        font-size: 28px;
        font-weight: 400;
        color: #414141;
    }

    .offericon {
        position: relative;
        top: 2px;
        height: 42px;
        width: auto;
    }

    .order-container {
        width: 100%;
        text-align: right;
        padding-right: 26px;
        padding-bottom: 16px;
        font-size: 16px;
        font-weight: 300;
    }

    .order-select {
        font-family: 'Montserrat', sans-serif;
        font-size: 2.4vw;
        font-weight: 300;
        border: 0;
        background-color: transparent;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 85%;
        grid-template-rows: auto;
        column-gap: 35px;
        row-gap: 50px;
        justify-content: center;
      }


    .pagination-container {
        width: 100%; 
        text-align: center;
        font-size: 32px;
        font-weight: 300;
        letter-spacing: 0.1em;
        margin-top: 30px;
        color: #000;
    }

    .pagination-container a {
        transition: all 0.2s ease;
        color: #000;
        margin-left: 5px;
        margin-right: 5px;
    }

    .pagination-container a:hover {
        transition: all 0.2s ease;
        color: #D7B756;
    }

    
    .section-search {
        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
        background-color: rgba(255,255,255,0.80);
        border-radius: 25px;
        padding: 30px;
        margin-top: 60px;
    }


    .search-container {
        width: 96%; 
        height: 1080px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items:start;
        margin-left: auto;
        margin-right: auto;
        padding: 30px;
    }
    
    .search-title {
        margin: 0;
        font-size: 36px;
        font-weight: 300;
    }
    
    .search-localization {
        height: 60px;
        width: 720px;
        font-size: 36px;
        font-weight: 400;
        padding: 8px;
        border-radius: 6px 6px 6px 6px;
        color: #000;
    }
    
    .search-flex-item-title {
      flex-grow: 1;
      order: 1; 
    }
    
    .flex-break-top {
      flex-basis: 100%;
      height: 20px;
      order: 2; 
    }
    
    .search-flex-item-nieruchomosc {
      flex-grow: 1;
      order: 3; 
      padding-left: 10%;
      font-size: 36px;
      text-align: left;
      vertical-align: top;
    }
    
    .search-flex-item-rodzaj {
      flex-grow: 1;
      order: 4; 
      padding-left: 15px;
      font-size: 36px;
      text-align: left;
      vertical-align: top;
    }
    
    .flex-break-separator1 {
      flex-basis: 100%;
      height: 28px;
      order: 5; 
    }
    
    .search-flex-item-lok {
      flex-grow: 1;
      order: 6; 
      font-size: 38px;
    }
    
    .flex-break-separator2 {
      flex-basis: 100%;
      height: 60px;
      order: 7; 
    }
    
    .search-flex-item-pow {
      flex-grow: 1;
      order: 8; 
      font-size: 38px;
    }
    
    
    .flex-break-separator3 {
      flex-basis: 100%;
      height: 40px;
      order: 9; 
    }
    
    .search-flex-item-cena {
      flex-grow: 1;
      order: 10; 
      font-size: 38px;
    }
    
    
    .flex-break-bottom {
      flex-basis: 100%;
      height: 30px;
      order: 11; 
    }
    
    .search-flex-item-search {
      flex-grow: 1;
      order: 12; 
    }
    
    .spacer {
        height: 25px;
        width: 100%;
    }
    
    .spacer10 {
        height: 15px;
        width: 100%;
    }
    
    
    .input-box-min-l {
        display: inline-block;
        height: 50px;
        width: 80px;
        border: 1px solid #555;
        border-right: 0;
        font-size: 24px;
        border-radius: 6px 0 0 6px;
    }
    
    .input-box-min-l:focus{
        outline: none;
    }
    
    .input-box-min {
        display: inline-block;
        height: 50px;
        width: 230px;
        border: 1px solid #555;
        text-align: right;
        border-left: 0;
        padding-right: 10px;
        font-size: 24px;
    }
    
    .input-box-max-l {
        display: inline-block;
        height: 50px;
        width: 80px;
        border: 1px solid #555;
        border-right: 0;
        font-size: 24px;
    }
    
    .input-box-max-l:focus{
        outline: none;
    }
    
    .input-box-max {
        display: inline-block;
        height: 50px;
        width: 240px;
        border: 1px solid #555;
        text-align: right;
        border-left: 0;
        padding-right: 10px;
        font-size: 24px;
        border-radius: 0 6px 6px 0;
    }
    
    .search-button {
        color: #FFF;
        background-color: #361C32;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 3px;
        font-size: 27px;
        font-weight: 500;
        padding-left: 65px;
        padding-right: 65px;
        padding-top: 12px;
        padding-bottom: 12px;
        margin-top: 0px;
        cursor: pointer;
        border: 0;
        border-radius: 15px;
        transition: all 0.2s ease;
    }
    
    .search-button:hover {
        transition: all 0.2s ease;
        color: #D7B756;
    }
    
    
    .multi-range {
      position: relative;
      height: 40px;
    }
    
    .multi-range input[type=range] {
      position: absolute;
      box-sizing: border-box;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      pointer-events: none;
      height: 28px;
      width: 640px;
      margin: 0;
      padding: 0 8px;
      overflow: hidden;
      border: 0;
      border-radius: 1px;
      outline: none;
      background: linear-gradient(grey, grey) no-repeat center;
      background-size: 100% 2px;  
    }
    
    .multi-range input[type=range]:active,
    .multi-range input[type=range]:focus {
      outline: none;
    }
    
    .multi-range input[type=range]::-moz-focus-outer {
      border: 0;
    }
    
    .multi-range input[type=range]::-webkit-slider-thumb {
      height: 28px;
      width: 28px;
      border-radius: 28px;
      background-color: #361C32;
      position: relative;
      margin: 8px 0;
      cursor: pointer;
      -moz-appearance: none;
      -webkit-appearance: none;
      appearance: none;
      pointer-events: all;
      box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
      border: 0;
    }
    
    .multi-range input[type=range]::-webkit-slider-thumb::before,
    .multi-range input[type=range]::-webkit-slider-thumb::after {
      content: ' ';
      display: block;
      position: absolute;
      top: 13px;
      left: 100%;
      width: 2000px;
      height: 2px;
    }
    
    input[type=range]::-moz-range-thumb {
      height: 28px;
      width: 28px;
      border-radius: 28px;
      background-color: #361C32;
      position: relative;
      margin: 5px 0;
      cursor: pointer;
      -moz-appearance: none;
      -webkit-appearance: none;
      appearance: none;
      pointer-events: all;
      box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
      border: 0;
    }
    
    
    .multi-range input[type=range]:nth-child(2) {
      background: none;
    }
    
    
      /* The dots/bullets/indicators */
      .dot {
        cursor: pointer;
        height: 18px;
        width: 18px;
        margin: 2px 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
      }
    
      .active, .dot:hover {
        background-color: #717171;
      }
    
      input[type='radio'] {
        -moz-appearance: none;
        margin-bottom: 20px;
      }
    
      input[type='radio']:after {
        width: 22px;
        height: 22px;
        border-radius: 22px;
        top: -16px;
        left: -2px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
      }
    
      input[type='radio']:checked:after {
        width: 22px;
        height: 22px;
        border-radius: 22fpx;
        top: -16px;
        left: -2px;
        position: relative;
        background-color: #361C32;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
      }


}

@media screen and (min-width: 1000px) and (max-width: 1400px)  {
    .section-search {
      width: 850px;
      margin: auto;
    }
    .search-container-main{
      top: 50px;
    }
    .search-container {
      height: 350px;
    }
    .offerbox,
    .offerimg,
    .offerbottom{
      width: 315px;
    }
    .offerbox{
      height: 575px;
    }
    .offer-body-price-per-m{
      margin-left: 0;
    }
    .offerbody{
      width: 260px;
      height: 200px;
    }
    .grid-container{
      grid-template-columns: 300px 300px 300px;
    }
    .offer-body-price{
      display: flex;
      flex-direction: column;
    }
    .vertical-center{
      top: 25%;
    }
    .prevOpinie, .nextOpinie{
      top: 50%;
    }
    .myOpinieSlides-bottom{
      padding: 15px 30px;
    }
    .nextOpinie {
      right: 5px;
    }
    .prevOpinie{
      left: 5px;
    }
    .swiper-button-next-zespol {
      right: -8px;
    }
    .carousel-container{
      padding-left: 45px;
    }
    .myPolecaneSlidesOverlayText1 {
      width: 90%;
      display: flex;
    }
    .order-container{
        padding-right: 0;
    }
} 