@media only screen and (max-width: 1600px) {
    .trescBaneru {
        position: absolute;
        top: 40px;
    }
    .trescBaneru ul li span {
        line-height: 60px;
        font-size: 28px;
    }
}  
@media only screen and (max-width: 1500px) {
    #menuGlowne li {
            padding-right: 10px;
            padding-left: 10px;
    }
    .trescBaneru ul li span {
        font-size: 24px;
    }
    h1 {
        text-transform: uppercase;
        color: #fff;
        text-align: center;
        font-size: 70px;
        margin: 30px;
    }

}  
@media only screen and (max-width: 1400px) {
    #logo {
        width: 380px;
        height: auto;
    }
    .miniMenu #logo {
        width: auto;
        height: 50px;
    }
    #menuGlowne li {
        padding-right: 5px;
        padding-left: 5px;
    }
    .odstep {
        height: 90px;
        display: block;
    }
    .trescBaneru ul li i {
        line-height: 40px;
        font-size: 36px;
        float: left;
        width: 50px;
    }
    .trescBaneru ul li span {
        line-height: 40px;
        font-size: 22px;
        width: calc(100% - 50px);
    }
    .li_tel{
        line-height: 40px;
    }
    .ul_oferta li h3 {
        line-height: 18px;
        font-size: 18px;
    }
    .tlo_oferta .tresc {
        width: 1100px;
    }
    .tlo_biale_cale {
        padding-right: calc((100% - 1100px)/2);
    }
    .tlo_onas {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .wiersz {
        width: 1100px;
    }
    .tlo_podstrona .tlo_biale_cale {
        width: 1100px;
        padding-left: calc((100% - 1100px)/2);
    }
    .tlo_podstrona .tlo_biale_cale {
        width: 1100px;
        padding-left: calc((100% - 1100px)/2);
        padding-right: 10px;
    }

}  
@media only screen and (max-width: 1200px) {
    .odstep {
        height: 80px;
        display: block;
    }
    #menuGlowne {
        padding-top: 25px;
    }
    #menuGlowne ul {
        padding-right: 20px;
    }
    #menuGlowne li {
        padding-right: 5px;
        padding-left: 5px;
    }
    #menuGlowne ul li a {
        font-size: 15px;
        padding: 10px 0px 20px 0px;
    }
    #menuGlowne ul li a.btn {
        padding: 10px 5px 10px 5px;
    }
    #logo {
        width: 300px;
        height: auto;
    }
    .trescBaneru {
        position: absolute;
        top: 0px;
    }
    h1 {
        font-size: 50px;
        margin: 20px;
    }
    .trescBaneru ul li span {
        line-height: 40px;
        font-size: 17px;
    }
    .trescBaneru ul li span.li_tel {
        line-height: 40px;
    }

     .tlo_oferta .tresc {
        width: 900px;
    }  
  
   .tlo_biale_cale {
        padding-right: calc((100% - 900px)/2);
    }
    .wiersz {
        width: 900px;
    }
    .tlo_podstrona .tlo_biale_cale {
        width: 900px;
        padding-left: calc((100% - 900px)/2);
        padding-right: 10px;
    }
    .tlo_kontakt article {
        color: #000000;
        font-size: 14px;
    }
    .tlo_kontakt article a {
        color: #000;
        margin-right: 0px;
    }

}  
@media only screen and (max-width: 1000px) {
    .tlo_kontakt .kol_40,.tlo_kontakt .kol_60 {
        float: left;
        width: calc(50% - 30px);
        padding: 0px 15px 0px 15px;
    }


    .tlo_oferta .tresc {
        width: 700px;
    }  
   .tlo_biale_cale {
        padding-right: calc((100% - 800px)/2);
    }
    .wiersz {
        width: 700px;
    }
    #glowny_naglowek_knt {
        position: relative;
    }
    .odstep {
        height: 0;
        display: block;
    }
    #glowny_naglowek {
        text-align: center;
    }
    #logo {
        margin: 0 auto;
        text-align: center;
        float: none;
    }
    #menuGlowne {
        padding-top: 5px;
        width: 800px;
        float: none;
        margin: 0 auto;
    }
    #menuGlowne ul {
        padding-right: 0px;
    }
    #menuGlowne li {
        padding-right: 15px;
        padding-left: 15px;
    }
    .miniMenu #menuGlowne {
        padding-top: 5px;
    }
    .pusteLi{
       display: none !important;
    }
    #baner a {
        margin: 0 auto;
        width: 100%;
        height: 500px;
    }
    .trescBaneru ul li {
        width: calc(50% - 74px);
    }
    #baner img {
        max-width: 10000px;
        width: auto;
        height: 100%;
    }
    
    .tlo_biale_cale {
        padding-right: calc((100% - 500px)/2);
    }
    .tlo_biale_cale {
        width: 500px;
    }
    .tlo_podstrona .tlo_biale_cale {
        width: 700px;
        padding-left: calc((100% - 700px)/2);
    }
}  

@media only screen and (max-width: 800px) { 
  .arrow-icon {
        display: block;
    }
    .uslugi_knt {
        width: 100%;
    }
    .uslugi div {
        float: left;
        position: relative;
        width: 50%;
    }
    .uslugi div:first-child{
        width: 100%;
    }

    .uslugi div:first-child h3{ 
        text-align: center;
        font-size: 24px;
        padding-top: 20px;
    }


    #menuGlowne ul ul li {
        float: left;
    }
    #menuGlowne ul {  display: block;} 
    #menuGlowne li {
        padding: 0px;
        width: 100%;
        background-color: #f2f2f2;
        border-bottom: 1px solid #fff;
    }
    #menuGlowne {
        float: left;
        width: 100%;
        margin: 0px;
        padding-top: 0px;
        background-image: url('../img/menu_tlo_mini.jpg');
        margin-top: 20px;
    }
    #menuGlowne ul {
        width: 100%;
        margin: 0px;
        float: right;
    }
    #menu_mobil {
        display: block;
        text-align: center;
        padding-right: 0px;
        width: auto;
        right: 0px;
        float: none;
        margin-top: 0px;
        border-bottom: 1px solid #fff;
    }
    #menu_mobil img{
       padding:5px;
       padding-bottom: 0px;
    }
    #menuGlowne ul li {
        height: auto;
        padding:0px;
    }
    #menuGlowne ul li a:hover {
        color:#cc0000;
    }
/*    #menuGlowne ul ul li a:hover {
         color: #cc0000 !important;
    }*/
    #menuGlowne ul li a {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 16px;
        padding-top: 18px;
        height: auto;
        padding: 0px;
            padding-right: 0px;
        line-height: 30px;
        text-align: left;
        padding-right: 0px;
        padding:5px;
        width: calc(100% - 10px);
        float: right;
        text-transform: uppercase;    
        margin: 0px;
    }
    #menuGlowne ul ul {
        position: static;
        margin: 0px;
        width: auto;
        text-align: right;
    }
    #menuGlowne ul ul {
        position: static;
        display: none;
        width: 100%;
        float: left;
    }
    #menuGlowne ul ul li a {
        line-height: 15px;
        padding: 5px 0px;
            padding-right: 0px;
        width: auto;
        text-align: right;
        line-height: 22px;
        width: calc(100% - 10px);
        background-color: rgba(0,0,0,0.2);
       text-align: center;
    }
    #menuGlowne ul ul li a:hover {
        color: #fff;
        background-color: rgba(0,0,0,0.5);
    }
    #menuGlowne ul ul li:hover ul {
        display: none !important;
    }
   /* #menuGlowne ul li:last-child{
        display: none;
    }*/
   #logo {

        padding-bottom: 0px;
        width: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
        float: none;

    }

    /*----------------*/
    .wow {
        visibility: visible !important;
        animation-delay: 0s !important;
        animation-name: none !important;
    }
    #glowny_naglowek{
        width:auto;
        min-width:auto;
    }   
     .tlo_oferta .tresc, .wiersz {
        width:auto;
        min-width:auto;
        padding: 20px;
    }
    .pager {
        display: none;
    }
    #do_gory {
        padding-bottom: 5px;
        width: 50px;
        right: 5px;
    }
    #menuGlowne ul li {
        height: auto;
        padding: 0px;
    }
    #menuGlowne ul li a { 
        padding:5px !important;
        text-align: center;
    }
    #menuGlowne ul li a.btn {
        margin-left: 20px;
        width: calc(100% - 10px) !important;
    }
    .tresc2, .wiersz {
        width: auto;
        padding: auto;
    }
    .tresc2 .kol_50p {
        width: 60%;
        float: left;
    }
    .tlo_info .kol_3 strong {
        font-size: 40px;
    }
    .kol_60 {
        float: left;
        width: calc(100% - 30px);
        padding: 0px 15px 0px 15px;
        text-align: center;
    }
    .kol_40 {
        float: left;
        width: calc(100% - 30px);
        padding: 0px 15px 0px 15px;
        text-align: center;
    }
    .tlo_kontakt h2 {
        text-align: left;
    }
    .tlo_podstrona .tresc{
        width: 100%;
    }
    .tlo_podstrona h1 {
        width: 96%;
    }
    .kol_70 {
        float: left;
        width: 98%;
        width: calc(100% - 30px);
        padding: 0px 15px 0px 15px;
    }
    .kol_30 {
        float: left;
        width: 98%;
        width: calc(100% - 30px);
        padding: 0px 15px 0px 15px;
    }
    .szybki_kontakt {
        margin-top: 50px;
    }
    .tlo_podstrona h1 {
        font-size: 40px;
        line-height: 44px;
    }
    h1{
        font-size: 36px;
        margin:20px 0px;
    }
    .tlo_transparentne h2{
        font-size: 36px;
    }
    .tlo_strony .tresc h1 {
        font-size: 36px;
        line-height: 40px;
    }
    #stopka .menuFooter {
        text-align: center;
        padding: 10px;
    }
    .kol_2 {
        width: calc(100% - 30px);
    }
    .do_prawej {
        margin-top: 30px;
        text-align: center;
    }
    .tlo_onas {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .tlo_kontakt {
        margin-top: 20px;
    }  
    .tlo_podstrona .tlo_biale_cale {
        width: calc(94% - 30px);
        padding: 15px;
        margin:10px 3%;
    }           
    .tekst {
        font-size: 15px;
        line-height: 20px;
        padding: 10px;
    
    }
    .tlo_kontakt h2 {
        text-align: center;
    }
    .tlo_kontakt article h2 {
        text-align: center;
    }
    .tlo_kontakt .kol_40,.tlo_kontakt .kol_60 {
        float: left;
        width: calc(100% - 30px);
        padding: 0px 15px 0px 15px;
        text-align: center;
    }
}
@media only screen and (max-width: 700px) {
    .trescBaneru ul li, .trescBaneru ul li:nth-child(3) {
        width: calc(100% - 74px);
        margin: 5px 25px;
        border-radius: 10px;
    }
    .trescBaneru ul li i {
        line-height: 20px;
        font-size: 18px;
        float: left;
        width: 30px;
    }
    .trescBaneru ul li span.li_tel {
        line-height: 20px;
    }
    .trescBaneru ul li i {
        display: none;
    }
    .trescBaneru ul li span {
        width: 100%;
        text-align: center;

    }
    .ul_oferta {
        grid-template-columns: 1fr 1fr;
    }
    .tlo_biale_cale {

        width: auto;
        padding: 20px;

    }



}

@media only screen and (max-width: 500px) {
    
    .ul_oferta {
        grid-template-columns: 1fr;
    }
    #logo {
        width: 96%;
    }
    h1{
        font-size: 30px;
        margin:20px 0px;
    }
    .tlo_transparentne h2{
        font-size: 30px; 
    }
    .tlo_strony .tresc h1 {
        font-size: 30px;
        line-height: 36px;
    }



}
@media only screen and (max-width: 400px) {
    .trescBaneru ul li, .trescBaneru ul li:nth-child(3) {
        width: calc(100% - 24px);
        margin: 5px 0px;
        border-radius: 10px;
    }
    h1 {
        font-size: 26px;
        margin: 20px;
    }
     .tlo_strony .tresc h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .ul_oferta li {
        width: calc(100% - 2px);
    }
}