/* general section */

* {
    scroll-behavior: smooth;
    margin: 0;
}

/* header section ---------------------------------------------------------------------- */

header {    
    margin: 0;
    padding: 0;
    display: flex !important;
    justify-content: space-between;
}

header h1{
    font-family: "Poppins-ExtraBold";
    font-size: 30px;
    margin: 50px auto;
    text-align: left;
}

header p{
    font-family: "Poppins-Light";
    font-size: 14px;
    line-height: 1.7em;
    color: rgb(150,150,153);
    margin-bottom: 50px;
}

.header-up {
    display: block;
    margin: 0;
    padding: 50px 0 50px 50px;
    width: 40%;
}

.logo-img {
    display: block;
    width: 225px;
    margin-bottom: 50px;
}

.header-down {
    display: block;
    width: 60%;
    max-height: 100vh;
    margin: 0;
    position: relative;
}

.header-img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    right: 0;
    z-index: -2;
}

header button{
    color: white;
    background-color: #b4114b;
    font-size: 11px;
    font-family: "Poppins-SemiBold";
    padding: 15px 20px;
    border: none;
    outline: none;

        -webkit-box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);
        -moz-box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);
    box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);
    
    transition: all 0.6s;
}

header button:hover {
    transition: all 0.6s;
    transform: scale(1.025);
        -webkit-box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
        -moz-box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
    box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
}

.header-mobile-img {
    display: none;
}

@media screen and (max-width: 900px){
    header {display:block !important;height: auto;text-align: center;}
    header h1{margin: 50px auto;text-align: center;}
    .logo-img {margin: auto;width: 100%;max-width: 225px;}
    .header-up {padding: 10px;width: 100%;text-align: justify;}
    .header-down {width: 100%;max-height: 100%;}
    .header-img {display: none;}
    .header-mobile-img {display:block;position: initial;max-width: 100%;max-height: 100%;}
    header button{text-align: center;margin:0 auto 50px;max-width: 200px;display:block;}
}

/* pre-wyszukiwarka section ---------------------------------------------------------------------- */

.pre-wyszukiwarka {
    width:calc(100% - 40px);
    max-width: 1200px;
    display: block;
    margin: 75px auto 0;
    padding: 20px;

    background-color: #f0f0f3;
}

@media only screen and (max-width: 900px) {
    .pre-wyszukiwarka{margin: 25px auto 0;}
}

.pre-wyszukiwarka h1 {
    font-family: "Poppins-ExtraBold";
    font-size: 30px;
    text-align: center;
    color: black;
}

.pre-wyszukiwarka-liczba {
    color: #bababa;
    font-size: 20px;
    font-family: "Poppins-Bold";
}

/* wyszukiwarka section ---------------------------------------------------------------------- */

.pola-wyszukiwania {
    display: block;
    background: none;

    height: auto;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}

.pierwsza-linia {
    display: flex;
    justify-content: space-between;
}

.opcja {
    display: inline-block;
    font-family: "Poppins-ExtraBold";
    font-size: 14px;
    width: 25%;
    max-width: 225px;
    color: black;
    padding: 8px 16px;
    outline: none;

    border: none;
    background-color: white;
    
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.opcja::placeholder {
    color: black;
}

.display-none {
    display: none;
}

.schowaj-wrapper {
    display: flex;
    justify-content: space-between;
}

.suwak-box1 {
    display: inline-block;
    width: 230px;
}

.suwak-box {
    display: inline-block;
    width: 230px;
}

.ukryte-opcje {
    display: block;
    border: none;
    border-radius: 8px;
}

.button-wiecej-opcji {
    display: block;
    margin: 25px 5px 25px auto;

    font-family: "Poppins-ExtraBold";

    border: none;
    background: none;
    color: #000026;
}

.button-wiecej-opcji:focus {
    outline: none;
}

.wyszukiwarka-box {
    margin: 20px auto;
    width:100%;
    max-width: 1200px;
    display: block;
}

@media only screen and (max-width: 1100px) {
    .wyszukiwarka {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 900px) {
    .wyszukiwarka {
        width: 100%;
        display: block;
        margin: 0 auto;
        padding: 0 15px;
    }

    .pierwsza-linia {
        display: block;
        justify-content: none;
    }  
    
    .opcja {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 40px;
        margin: 0 0 15px 0;
    }
    
    .schowaj-wrapper {
        display: block;
        justify-content: none;
    }
}

/* mapa section ---------------------------------------------------------------------- */

#map {
    min-height: 500px;
    width: 100%;
    resize: vertical;
}

.gm-style .gm-style-iw-c {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    top: 0;
    left: 0;
    transform: translate(-50%,-100%);
    background-color: rgba(255,255,255,0.86);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 0px;
    min-height: 75px;
    min-width: 150px !important;
    padding:0;
    box-shadow: none !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
    display:flex;
    justify-content: center;
    align-items: center;
}

.gm-style .gm-style-iw-c button{
    top: 0 !important;
    right: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gm-style .gm-style-iw-c button img{
    height: 20px !important;
    width: 20px !important;
    margin: 0 !important;
}

#content {
    font-family: "Poppins-Bold";
    font-size: 10px;
}

.legenda {
    position: absolute;
    left:15px;
    bottom:15px;

    background-color: rgba(255,255,255,0.86);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);

    display:flex;
    align-items: center;
    justify-content: space-between;
}

.legenda div{
    display:flex;
    align-items: center;
}

.legenda img{
    height: 50px;
    display: inline-block;
}

.legenda p{
    font-size: 10px;
    display: inline-block;
    margin: 0 15px 0 0;
    font-family: "Poppins-Bold";
}

@media screen and (max-width: 600px){
    .legenda {display:block;}
    #map {min-height: 650px}
}

/* lista wyników section ---------------------------------------------------------------------- */

.lista-wynikow {
    max-width: 1200px;
    height: auto;
    display: block;
    margin: auto;
}

/* tabela z wynikami wyszukiwania */

.tabela-wyniki {
    width: 100%;
}

.wartosc-tabela {
    height: auto;
    border-bottom: 2px solid #f5f5f5;
}

.table-tdth {
    padding: 18px 0 18px 15px;
}

.pr-tdth {
    padding-right: 20px;
}

table th{
    background: #b4114b;
    color: white;
    
    height: 60px;
}

.title-text-table {
    font-size: 12px;
    font-family: "Poppins-Bold";
    letter-spacing: 0.12em;
}

.position-text-table {
    font-size: 13px;
    font-family: "Poppins-ExtraBold";
    color: #3b3c42;
}

.button-table {
    font-size: 11px;
    font-family: "Poppins-Bold";
    color: #b4114b;
    transition: all 0.4s;
}

.wartosc-tabela:hover .button-table {
    color: #b4114b;
    border-bottom: 1.5px solid #b4114b;
    transition: all 0.4s;
}

.button-table2 {
    font-size: 13px;
    font-family: "Poppins-ExtraBold";
    color: #b4114b;
    transition: all 0.4s;
}

.wartosc-tabela:hover .button-table2 {
    color: #b4114b;
    border-bottom: 3px solid #b4114b;
    transition: all 0.4s;
}

.wartosc-tabela {
    cursor: pointer;
    transition: all 0.4s;
}

.wartosc-tabela:hover {
    background: #f0f0f3;
    transition: all 0.4s;
}

@media only screen and (max-width: 1100px) {
    .lista-wynikow {
        width: 100%;
        padding: 0 15px;
    }
}

@media only screen and (max-width: 800px) {
    .table-tdth {
        padding-left: 15px;
        min-width: 180px;
    }
}

.showmorebutton {
    color: white;
    background-color: #b4114b;
    font-size: 11px;
    font-family: "Poppins-SemiBold";
    padding: 15px 20px;

    margin: 25px auto 50px;
    display: block;
    cursor: pointer;
    width: 125px;
    text-align: center;
    font-family: "Poppins-SemiBold";

    outline: none;

        -webkit-box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);
        -moz-box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);
    box-shadow: 0px 4px 15px 0px rgba(180, 17, 75, 0.9);

    transition: all 0.4s;
}

.showmorebutton:hover {
    transition: all 0.6s;
    transform: scale(1.025);
        -webkit-box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
        -moz-box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
    box-shadow: 0px 6px 20px 0px rgba(180, 17, 75, 1);
}

.showmorebutton:focus {
    outline: none;
}

@media only screen and (max-width: 900px) {
    .showmorebutton {
        margin: 15px auto 15px;
    }   
}

/* custom select */

/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    font-family: "Poppins-ExtraBold";
    width: 25%;
    max-width: 225px;
  }
  
  @media screen and (max-width: 900px) {
    .custom-select {
      position: relative;
      font-family: "Poppins-ExtraBold";
      width: 100%;
      max-width: 100%;
      margin: 5px auto;
      text-align: center;
    }
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element:*/
  }
  
  .select-selected {
    background-color: white;
  }
  
  /*style the arrow inside the select element:*/
  .select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: black transparent transparent transparent;
  }
  
  /*point the arrow upwards when the select box is open (active):*/
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent black transparent;
    top: 7px;
  }
  
  /*style the items (options), including the selected item:*/
  .select-items div,.select-selected {
    color: black;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.05) transparent;
    cursor: pointer;
    user-select: none;
  }
  
  /*style items (options):*/
  .select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }
  
  /*hide the items when the select box is closed:*/
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }
  