body.kontrast {
    background-color: #000;
    background: #000;
    color: #fff ;
    background-image: none
}

body.kontrast * {
    color: #fff;
}

body.kontrast .naglowek__bip span,
body.kontrast #tresc a,
body.kontrast #tresc a span,
body.kontrast .footer__nav li a {
    color: yellow;
    text-decoration: none;
}

body.kontrast  .naglowek__bip--logo {
    background: #fff;
}

body.kontrast .button {
    background: yellow !important;
    color: #000 !important;
}

body.kontrast form select,
body.kontrast form input[type="text"],
body.kontrast .wcag a {
   background-color: transparent;
   color: yellow;
   border: 1px solid yellow;
}

body.kontrast .wyszukiwarka .wyszukiwarka__button {
    background: #000;
       color: yellow;
   border: 1px solid yellow;
}

body.kontrast .wynik-szukania li {
    list-style: none !important;
    list-style-image:  none !important;
}
body.kontrast form select option {
    background: #000 !important;
}

body.kontrast form select optgroup {
    background: #333;
}

body.kontrast  .formularz-wyszukaj dl dd strong {
    color: #fff;
}

body.kontrast form select:focus,
body.kontrast form input[type="text"]:focus {
    border-color: #fff;
    background: #000;
}

body.kontrast input[type="submit"]:hover + span,
body.kontrast input[type="submit"]:focus + span,
body.kontrast .wcag a:hover,
body.kontrast .wcag a:focus {
   background-color: yellow;
   color: #000;
}

/* POLITYKA */
body.kontrast #polityka-cookie {
    border-top: 3px solid yellow;
    color: #fff;
    background: #333;
}

#polityka-cookie-zamknij {
    background: yellow;
    color: #000;
}

body.kontrast .banery .banner {
    background-color: yellow;
}
#map {
    clear: both;
    height: 500px;
    height: 50vh;
}


.planer-szukaj label {
    display: block;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #1356A7;
    margin-bottom: 0;
}

.planer-szukaj input {
    height: 44px;
    line-height: 44px;
    padding: 0 10px;
    font-size: 1rem;
    width: 100%;
}


.planer-szukaj button {
    margin: 5px auto;
    color: #FFF;
    background-color: #1356A7;
    white-space: nowrap;
    text-align: center;
    padding: 0 15px;
    height: 50px;
    line-height: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    width: 100%;
    cursor: pointer;
}


.kalkulator__kategoria {

    list-style: none;
    list-style-image: none;
    margin: 0 !important;
    padding: 0 !important; 
    position: relative;    
}
  
  .tresc .kalkulator__kategoria li {

        position: static;
        min-width: 140px;
    }

  .kategoria-container {
      position: relative;
  }

  @media screen and (max-width: 991px) {
    .kalkulator__kategoria {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
      
    .tresc .kalkulator__kategoria li {
        flex: 0 0 auto;
        width: 180px;
        padding-bottom: 15px;
    }
  }


  .kalkulator__kategoria li label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 98%;
    min-height: 160px;
    background-color: #EEE;
    color: #1356A7;
    padding: 10px 40px 20px 10px;
    margin: 0 auto;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    line-height: 1.1;
    z-index: 2;
    border: 2px solid #EEE; }
  
  .kalkulator__kategoria li label::after {
    content: " ";
    width: 100%;
    height: 70px;
    opacity: 0.25;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    }
  
    .tresc .kalkulator__kategoria li::before {
        content: none;
        display: none;
    }
  
  .kalkulator__kategoria li input[type="radio"] {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1; }

  .kalkulator__kategoria li label:hover {
    border: 2px solid #009BDE; }
  
  .kalkulator__kategoria li label:hover::after {
    opacity: 0.75; }
  
  .kalkulator__kategoria li button {
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 6%;
    right: 2%;
    text-align: center;
    z-index: 4;
    cursor: pointer;
    border-radius: 0;
    -webkit-border-radius: 0; }
  
  .kalkulator__kategoria li button::before {
    font-family: 'icomoon';
    content: "\e91d";
    font-size: 44px;
    color: #FFF;
    display: block;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 44px;
    text-align: center; }
  
  .kalkulator__kategoria li button:hover, .kalkulator__kategoria li button:focus {
    background-color: transparent !important;
    color: #1356A7 !important; }
  
  .kalkulator__kategoria li button.open::before {
    content: "\f00d";
    color: red;
    font-size: 24px; }
  
  .kalkulator__kategoria li button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    margin: -1px;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    color: #000; }
  

      .kalkulator__kategoria-opis {
        position: absolute;
        width: 6%;
        height: 8%;
        top: 6%;
        right: 2%;
        z-index: 1;
        background-color: #FFF;
        color: #767676;
        padding: 15px 15px 20px 15px;
        opacity: 0;
        font-size: 13px;
        line-height: 1.1;
        overflow: hidden; }
      
      .kalkulator__kategoria-opis strong {
        display: block;
        font-size: 14px;
        margin-bottom: 5px; }
      
      .kalkulator__kategoria li.open .kalkulator__kategoria-opis {
        width: 96%;
        height: 50%;
        height: calc(100% - 65px);
        bottom: 5px;
        top: auto;
        opacity: 1;
        z-index: 3;}
      
      .kalkulator__kategoria li .checked + label,
      .kalkulator__kategoria li input[type="radio"]:checked + label {
        color: #FFF;
        background-color: #009BDE; }
      
      .kalkulator__kategoria li .checked + label::after,
      .kalkulator__kategoria li input[type="radio"]:checked + label::after {
        opacity: 1; }
      
      .kalkulator__kategoria li .checked + label::before,
      .kalkulator__kategoria li input[type="radio"]:checked + label::before {
        font-family: 'icomoon';
        content: "\e925";
        font-size: 24px;
        color: #FFF;
        display: block;
        width: 44px;
        height: 44px;
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        line-height: 44px;
        text-align: center;
        z-index: 6; }
      
      .kalkulator__kategoria li .focus + label,
      .kalkulator__kategoria li input[type="radio"]:focus + label {
        border: 2px dashed #009BDE; }

.kalkulator__kategoria-opis,
.kalkulator__kategoria li label,
.kalkulator__kategoria li label::after {
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  transition: all 0.2s linear; }

.kalkulator__kategoria li label[for="kategoria_1"]::after {
  background-image: url("/assets//img_css/kat1m.svg"); }

.kalkulator__kategoria li label[for="kategoria_2"]::after {
  background-image: url("/assets//img_css/kat1.svg"); }

.kalkulator__kategoria li label[for="kategoria_3"]::after {
  background-image: url("/assets//img_css/kat2.svg"); }

.kalkulator__kategoria li label[for="kategoria_4"]::after {
  background-image: url("/assets//img_css/kat3.svg"); }

.kalkulator__kategoria li label[for="kategoria_5"]::after {
  background-image: url("/assets//img_css/kat4.svg"); }

.kalkulator__kategoria li label[for="kategoria_6"]::after {
  background-image: url("/assets//img_css/kat5.svg"); }



.oplata {
    background: #009bde20;
    font-size: 2rem;
    color: #1356A7;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    padding: 16px;
    text-transform: lowercase;
}

.oplata span {
  text-transform: none;
}


@media screen and (min-width: 992px) {

    .tresc .kalkulator__kategoria {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .tresc .kalkulator__kategoria li {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
}

@media screen and (min-width: 1366px) {
    .tresc .kalkulator__kategoria li  {
        position: relative;
    }

    .kalkulator__kategoria li label {
        padding: 20px 40px 20px 20px;
    }

    .kalkulator__kategoria li.open .kalkulator__kategoria-opis {
        height: 88%;
        top: 6%;
        bottom: auto;
    }
}


.tresc .pp-kategorie {
    margin: 10px 0;
    padding: 0;
}

.tresc .pp-kategorie li {
    margin: 2px 5px 0 0;
    display: inline-block;
}

.tresc .pp-kategorie li::before {
    content: none;
    display: none;
}

.tresc .pp-kategorie li label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
    width: 100%;
    font-size: 13px;
    line-height: 1.1;
    background-color: #EEE;
    color: #1356A7;
    margin: 0 auto;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border: 2px solid #EEE;
}

.tresc .pp-kategorie li label span {
  font-size: 1rem;
  margin-right: 5px;
}

.pp-kategorie li input[type="checkbox"] {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}


.tresc .pp-kategorie li label:hover,
.tresc .pp-kategorie li label:focus {
    border: 2px solid #009BDE;
}

.pp-kategorie li .checked + label,
.pp-kategorie li input[type="checkbox"]:checked + label {
  color: #FFF;
  background-color: #009BDE;
  border: 2px solid #009BDE;}



.pp-kategorie li input#pokaz_ukryj_1:checked + label {
  background-color: #095789;
  border: 2px solid #095789;}

.pp-kategorie li input#pokaz_ukryj_2:checked + label {
  background-color: #D9001A;
  border: 2px solid #D9001A;}

.pp-kategorie li input#pokaz_ukryj_3:checked + label {
  background-color: #D98A00;
  border: 2px solid #D98A00;}

.pp-kategorie li input#pokaz_ukryj_4:checked + label {
  background-color: #229A2D;
  border: 2px solid #229A2D;}

.pp-kategorie li input#pokaz_ukryj_5:checked + label {
  background-color: #095789;
  border: 2px solid #095789;}

.pp-kategorie li input#pokaz_ukryj_6:checked + label {
  background-color: #0000b2;
  border: 2px solid #0000b2;}

.pp-kategorie li input#pokaz_ukryj_7:checked + label {
  background-color: #FFCB09;
  border: 2px solid #FFCB09;}

.pp-kategorie li input#pokaz_ukryj_8:checked + label {
  background-color: #64C8E6;
  border: 2px solid #64C8E6;}

  @media screen and (max-width: 991px) {

    .tresc .pp-kategorie {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tresc .pp-kategorie li {
        padding: 0 0 15px 0;
        flex: 0 0 auto;
    }
}
