body {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}



.pasek-gora img,
.pasek-dol img {
    max-width: 100%;
    height: auto;
    min-height: 60px;
    max-height: 100px;
    width: 100%;
}

.tekst img {
    margin: 20px auto;
    display: inherit;
    max-width: 200px;
}

.tresc {
    padding: 35px 0;
    background: #fff url("../img/lekarz.jpg") no-repeat left center;
    background-size: auto;
    background-size: 80% auto;
    position: relative;
    text-align: left;
}

.tresc h2 {
    color: #003a79;
    font-weight: 700;
    font-size: 31px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.tresc h3 {
    color: #59caf5;
    font-weight: 100;
    font-size: 27px;
    margin-bottom: 30px;
}

.tresc h4 {
    color: #003a79;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 30px;
}

ul li {
    list-style-type: none;
    display: inline;
}


.logotypyR img {
    height: 60px;

}

/* .logotypyR img:first-child {
	margin-right: 50px;
	
} */

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

@media (min-width:2200px) {

    .tresc h2 {
        /* font-size: 51px; */
        margin-bottom: 30px;
    }

    .tresc h3 {
        /* font-size: 47px; */
        margin-bottom: 30px;
    }

    .tresc h4 {
        /* font-size: 41px; */
        margin-bottom: 30px;
    }

    .container {
        max-width: 2040px;
    }
}

@media (min-width: 4200px) {
    .tekst img {
        margin: 40px auto;
        display: inherit;
        max-width: 270px;
    }

    .tresc {
        padding: 150px 0;
    }

    .tresc h2 {
        /* font-size: 81px; */
        margin-bottom: 50px;
    }

    .tresc h3 {
        /* font-size: 67px; */
        margin-bottom: 50px;
    }

    .tresc h4 {
        /* font-size: 61px; */
        margin-bottom: 50px;
    }

    .container {
        max-width: 3040px;
    }
}

.ikonki-under {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.ikonki {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.ikonki img {
    max-width: 220px;
}

ul {
    padding: 0;
}

.ikonki-under img {
    max-width: 200px;
}

@media (min-width:1800px) {
    .ikonki {
        display: block;
    }

    .ikonki-under {
        display: none;
    }
}


@media (max-width:1800px) {
    .ikonki {
        display: none;
    }

    .ikonki-under {
        display: block;
    }
}

@media (max-width:767px) {
    .logotypyR {
        flex-direction: column;
    }

    .logotypyR img {
        height: auto;
        max-height: 60px;
        margin: auto auto 20px;
    }

    .after-header {
        padding: 1rem 0;
    }

    section.after-header img {
        margin: auto !important;
        width: auto;
        height: auto;
    }

    section.after-header span {
        margin: auto;
        padding: 1rem 0 0 0;
    }
}

@media (max-width:1200px) {
    .tresc {
        padding: 50px 0;
        background: #fff;
    }

    .ikonki-under {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    section.before-header img,
    section.after-header img {
        margin: 40px 0;
    }

    /* .logotypyR {
		display: flex;
		justify-content: space-around;
    } */

    /* .ikonki {
		position: relative;
		bottom: 0;
		left: 0;
		margin-top: 20px;
		text-align: center;
	}
	.logotypyR img:first-child {
		margin-right: unset;
		
	} */
}

.before-header img,
.after-header img {
    max-height: 50px;
    margin: 10px 0px 10px auto;
}

.after-header span {
    margin: auto auto auto 0px;
    font-size: 10px;
}