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: 25px !important;
    }
}
@media only screen and (min-width: 680px) and (max-width: 770px) {
    div.naglowekKontener {
        margin-top: 27px !important;
    }
}
@media only screen and (min-width: 480px) and (max-width: 680px) {
    div.naglowekKontener {
        margin-top: 16px !important;
    }
}
@media only screen and (max-width: 480px) {
    div.naglowekKontener {
        margin-top: 16px !important;
    }
}


div.naglowekKontener div.naglowekTlo {
    padding-top: 1px;
    /*background-image: url(/images/szkolenia/kohersen/kohersen-naglowek-2024.jpg) !important;*/
    background-image: url(/images/szkolenia/stag-ev/stag-ev-naglowek-tlo-2025.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: 1600px) {
    div.naglowekTlo {
        height: 520px;
        background-position: 50% 50%;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* first width, second height. */
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    div.naglowekTlo {
        height: 520px;
        background-position: 0 50%;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* first width, second height. */
    }
}
@media only screen and (min-width: 1300px) and (max-width: 1400px) {
    div.naglowekTlo {
        height: 520px;
        background-position: 0 50%;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* first width, second height. */
    }
}
@media only screen and (min-width: 1280px) and (max-width: 1300px) {
    div.naglowekTlo {
        height: 520px;
        background-position: 0 0;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* 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: 480px;
        background-position: 0 0;     /* first horizontal, second vertical */
        background-size: 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: 0% 0;     /* first horizontal, second vertical */
        background-size: 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: 0% 0;     /* first horizontal, second vertical */
        background-size: 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: 0% 0;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* 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: 0% 0;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* 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;
    }
}