div.naglowekKontener {
    height: 100%;
}

@media only screen and (min-width: 1600px) {
    div.naglowekKontener {
        margin-top: 50px !important;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    div.naglowekKontener {
        padding-top: 50px !important;
    }
}
@media only screen and (min-width: 1300px) and (max-width: 1400px) {
    div.naglowekKontener {
        padding-top: 50px !important;
    }
}
@media only screen and (min-width: 1280px) and (max-width: 1300px) {
    div.naglowekKontener {
        margin-top: 50px !important;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1280px) {
    div.naglowekKontener {
        margin-top: 50px !important;
    }
}
@media only screen and (min-width: 770px) and (max-width: 1000px) {
    div.naglowekKontener {
        margin-top: 4px !important;
    }
}
@media only screen and (min-width: 680px) and (max-width: 770px) {
    div.naglowekKontener {
        margin-top: 13px !important;
    }
}
@media only screen and (min-width: 480px) and (max-width: 680px) {
    div.naglowekKontener {
        margin-top: 13px !important;
    }
}
@media only screen and (max-width: 480px) {
    div.naglowekKontener {
        margin-top: 8px !important;
    }
}


div.naglowekKontener div.naglowekTlo {
    padding-top: 1px;
    background-image: url(/images/szkolenia/webasto/webasto-naglowek-napis-2023.jpg), url(/images/szkolenia/webasto/webasto-naglowek-tlo-2023.jpg) !important;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    transition: height 1s, background-position 0.5s, background-size 0.5s;
}
div.naglowekKontener div.naglowekTlo div.containerLogosy {
    margin: 0px auto;
    width: 80%;
    min-height: 0px;
}
div.naglowekKontener div.naglowekTlo h1 {
    width: 100%;
    color: #243B89;
    font-style: normal;
    font-variant: small-caps;
    text-align: center;
    /*background-color: #A3A3A3;*/
    transition: margin-top 0.5s, font-size 0.5s, font-weight 0.5s;
}

@media only screen and (min-width: 1280px) {
    div.naglowekTlo {
        height: 454px;
        /*background-image: url(/images/szkolenia/webasto/webasto-naglowek-napis-2023.jpg), url(/images/szkolenia/webasto/webasto-naglowek-tlo-2023.jpg) !important;*/
        background-position: 35% 85%, 50% 50%;  /* first horizontal, second vertical */
        background-size: auto auto, auto auto;  /* first width, second height. */
    }
    div.naglowekTlo h1 {
        margin-top: 100px;
        font-size: 60px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1280px) {
    div.naglowekTlo {
        height: 560px;
        background-position: 35% 85%, 50% 50%;        /* first horizontal, second vertical */
        background-size: auto auto, auto 100%;       /* first width, second height. */
    }
    div.naglowekTlo h1 {
        margin-top: 50px;
        font-size: 45px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}
@media only screen and (min-width: 770px) and (max-width: 1000px) {
    div.naglowekTlo {
        height: 390px;
        background-position: 35% 85%, 50% 20px;        /* first horizontal, second vertical */
        background-size: auto auto, auto 100%;                 /* first width, second height. */
    }
    div.naglowekTlo h1 {
        margin-top: 50px;
        font-size: 35px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}
@media only screen and (min-width: 680px) and (max-width: 770px) {
    div.naglowekTlo {
        height: 350px;
        background-position: 35% 85%, 50% 20px;        /* first horizontal, second vertical */
        background-size: auto auto, auto 100%;                 /* first width, second height. */
    }
    div.naglowekTlo h1 {
        margin-top: 100px;
        font-size: 30px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}
@media only screen and (min-width: 480px) and (max-width: 680px) {
    div.naglowekTlo {
        height: 320px;
        background-position: 35% 85%, 60% 20px;        /* first horizontal, second vertical */
        background-size: 80% auto, auto 99%;                 /* first width, second height. */
    }
    div.naglowekTlo h1 {
        font-size: 35px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}
@media only screen and (max-width: 480px) {
    div.naglowekTlo {
        height: 300px;
        background-position: 35% 85%, 60% 25px;     /* first horizontal, second vertical */
        background-size: 80% auto, auto 95%;     /* first width, second height. */
    }
    div.naglowekTlo h1 {
        font-size: 30px;
        font-weight: 500;
    }
    div#o-szkoleniu, div#agenda {
        margin: 0px;
        margin-top: -120px;
        padding: 0px;
        height: 120px;
    }
}