#karuzelaZdjec {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: row;
    min-width: 100%;
    z-index: 1;
    margin-top: -80px;
    height: auto;
    overflow: hidden;
    transition: 1.5s;
    scroll-behavior: smooth;

}

.karuzelaZdjecZdjecie {
    position: static;
    min-width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    height: 100vh;
    z-index: 1;
    top: 0;
    right: 0;
    object-fit: cover;
    object-position: 90% 20%;
    transition: 1.5s;
}

#karuzelaZdjecKontener,
#karuzelaZdjecKontener a {
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    scroll-behavior: smooth;
    transition: 1.5s;
    position: relative;
    top: 0px;
}

.karuzelaZdjecPrzycisk
{
    height:35px ;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor:pointer;
}
.karuzelaZdjecPrzycisk:hover .karuzelaZdjecPrzycisk
{
    cursor: pointer;
    background-color: lightgrey
}
.karuzelaZdjecPrzycisk:focus .karuzelaZdjecPrzycisk
{
    cursor: pointer;
    background-color: lightgrey
}

.karuzelaZdjecPrzyciski
{
    display: flex;
    flex-direction: row;
    width: 15%;
    position: relative;
    top:-100px;
    z-index: 4;
    height: 20px;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    justify-content: center;
    align-items: center;
}
.bgbutton
{
    width: 100%;
    background-color: grey;
    opacity: 80%;
    height: 15%;
    margin-left: 1%;
    margin-right: 1%;
    box-shadow: black 0.2vh 0.2vh 0.5vh ;
    box-sizing: border-box;
    transition: 200ms;
}


.contener
{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    height: auto;
    align-items: center;
}
.ogloszenieSection
{
    z-index: 6;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: rgb(20,20,20);
    background: radial-gradient(circle, rgba(5,5,5,1) 80%, rgba(0,0,0,1) 100%);
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 15px;
    box-sizing: border-box;
}
.ogloszenieSection h1
{
    text-align: left;
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-decoration: none;
}
.ogloszenieMainSection
{
    height: auto;
    padding-top: 20px;
    padding-bottom: 50px;
    box-sizing: border-box;
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    gap: 2%;
    min-height: 200px;
    align-content: space-evenly;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0,1);
    background: radial-gradient(circle, rgba(5,5,5,1) 80%, rgba(0,0,0,1) 100%);
    align-items: center;
    z-index: 4;
}

.ogloszenieMainSection > .ogloszenieContener
{
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 32%;
    min-width: 32%;
    max-height: 350px;
    min-height: 350px;
    text-decoration: none;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 18px -15px rgba(95, 95, 95, 1);
    -moz-box-shadow: 0px 0px 18px -15px rgba(95, 95, 95, 1);
    box-shadow: 0px 0px 18px -15px rgba(95, 95, 95, 1);
    box-sizing: border-box;
}

.ogloszenieMainSection > .ogloszenieContener a:hover img
{
    transform: scale(1.1)
}
.ogloszenieMainSection > .ogloszenieContener a:focus img
{
    transform: scale(1.1)
}

.ogloszenieMainSection .ogloszenieContener a img
{
    max-width: 100%;
    max-height: 350px;
    min-height: 350px;
    text-decoration: none;
    min-width: 100%;
    transition: 0.5s ease all;
    width: 100%; 
    object-fit:cover;
    margin-top: -30px;
}
.ogloszenieP
{
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 5px;
    overflow: hidden;
    height: auto;
    text-overflow: ellipsis;
    margin: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dataOgloszenia
{
    font-size: 14px;
    text-align: center;
    padding-bottom: 30px;
    margin: 0;
    font-weight: 100;
}
.tagIndex
{
    font-size: 14px;
    color: white;
    width: 100%;
    font-weight: lighter;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0px;
    padding: 0;
    margin-bottom: 10px;
    margin-top: auto;
    position: absolute;
    bottom: 0;
}
.progression
{
    width: 100%;
    background-color: white;
    height: 80%;
}
.ogloszeniaTitle
{
    overflow:auto;
    width: 100%;
    min-height: 160px;
    max-height: 160px;
    padding-bottom: 10px;
    position: relative;
    top: -160px;
    text-align: center;
    color:white;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 24px;
    font-family: 'Open Sans';
    font-weight: bold;
    text-shadow: 1px 1px rgb(39, 39, 39) ;
    text-decoration: none;
    box-sizing: border-box;
}
.ogloszenieCover .ogloszeniaTitle
{
    top: -190px;
}
.ogloszenieContener a
{
    text-decoration: none;
}
.ogloszenieA
{
    width: 100%;
    text-align: end;
    color: white;
    margin-top: 10px;
    text-decoration: none;
    box-sizing: border-box;
}
.ogloszenieA:hover
{
    text-decoration: underline;
}
.jednostkiNazwy
{
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    width: 100%;
    min-height: 100px;
    max-height: 100px;
    margin-top: -90px;
    box-sizing: border-box;
    text-align: justify;
    display: flex;
    flex-direction: row;
    transition: 1.5s;
}

.jednostkiNazwy h1
{
    height: auto;
    width: auto;  
    font-family:'Open Sans';
    font-size: 26px;
    font-weight: bolder;
    text-align: left;
    transition: 1.5s;
}

#right
{
    right: 1vh;
}


#left
{
   
    left: 1vh;
    visibility: hidden;
   
}

.arrow
{
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    min-height: 10px;
    height: 50px;
    min-width: 0%;
    border: 2px solid black;
    background-color: black;
    opacity: 70%;
    z-index: 5;
    font-size: 40px;
    white-space: pre;
    border-radius: 10px;
    aspect-ratio: 1/1;
    transition: 200ms;
    box-sizing: border-box;
}

.arrow:hover
{
    background-color: rgb(20, 20, 20);
    cursor: pointer;
}
#left:hover
{
    transform: translate(-5px);
    cursor: pointer;
    
}
#right:hover
{
    transform: translate(5px);
    cursor: pointer;
}


.arrow:focus
{
    background-color: rgb(20, 20, 20);
    cursor: pointer;
}
#left:focus
{
    transform: translate(-5px);
    cursor: pointer;
    
}
#right:focus
{
    transform: translate(5px);
    cursor: pointer;
}

.jednostkiBarwy
{
    height: 70px;
    margin-top: -20px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 4;
    border-bottom: 10px solid black ;
    border-top: 10px solid black ;
}

.jednostkiBarwy div
{
    z-index: 0;
    height: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: row;
    scroll-behavior: smooth;
}
.jednostkiBarwy img
{
    overflow: hidden;
    object-fit:fill;
    height: 50px;
    min-width: 100%;
    max-width: 100%;
}
.jednostkiLogo
{
    overflow: visible;
    height: 50px;
    display: flex;
    position: relative;
    margin-top: -50px;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 100%;
    z-index: 6;
}
.jednostkiLogo img
{
    visibility: visible;
    max-height: 70px;
    min-width: auto;
    margin-left: auto;
    margin-right: auto;
    opacity: 100%;
    z-index: 3;
    margin-top: -20px
}

.spisJednostek
{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1%;
    
}
.jednostkaElement
{
    flex: 1 1 0;
    width: 0;
    height: 450px;
    background-color: white;
    color: black;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    -moz-box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    transition: 1s;
}
.jednostkaElement p
{
    padding: 10px;
    margin: 0px;
    font-weight: bolder;
    font-size: 1.3vw;
    color: white;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 1);
}
.jednostkaEleOpis
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -450px;
    max-height: 450px;
    min-height: 450px;
    min-width: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
    transition: 1.2s;
}
.jednostkaEleImg
{
    max-height: 450px;
    max-width: 100%;
    min-height: 450px;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 1s;
    
}
.jednostkaElement:hover
{
    transform: translate(0px, -5px);
}
.jednostkaElement:hover img
{
    transform: scale(1.2);
    opacity: 100%;
}
.jednostkaElement:hover .jednostkaEleOpis
{
    background-color: rgba(0, 0, 0, 0.3);
}
.jednostkaEleImg img
{
    min-height: 450px;
    max-height: 450px;
    transition: 1s;
    object-fit: cover;
}
@media only screen and (max-width: 1600px) {
    .arrow
    {
        height: 40px;
        font-size: 30px;
    }
}
@media only screen and (max-width: 1000px) 
{

.jednostkiBarwy
{
    margin-top: -20px;
}
.ogloszeniaTitle
{
    overflow:auto;
    width: 100%;
    min-height: 140px;
    max-height: 140px;
    padding-bottom: 10px;
    position: relative;
    top: -140px;
    text-align: center;
    color:white;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 24px;
    font-family: 'Open Sans';
    font-weight: bold;
    text-shadow: 1px 1px rgb(39, 39, 39) ;
    text-decoration: none;
    box-sizing: border-box;
}
.ogloszenieCover .ogloszeniaTitle
{
    top: -170px;
}


    .ogloszenieMainSection
    {
        font-size: 16px;
        text-align:justify;
    }
    
    
    .ogloszenieMainSection > .ogloszenieContener
    {
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 100%;
        min-width: 100%;
        max-height: 300px;
        min-height: 300px;
        text-decoration: none;
        overflow: hidden;
        -webkit-box-shadow: 0px 0px 31px -15px rgba(95, 95, 95, 1);
        -moz-box-shadow: 0px 0px 31px -15px rgba(95, 95, 95, 1);
        box-shadow: 0px 0px 31px -15px rgba(95, 95, 95, 1);
        box-sizing: border-box;
    }
    .ogloszenieMainSection > .ogloszenieContener a:hover img
    {
        transform: scale(1.1)
    }
    .ogloszenieMainSection > .ogloszenieContener a:focus img
    {
        transform: scale(1.1)
    }
    
    .ogloszenieMainSection .ogloszenieContener a img
    {
        max-width: 100%;
        max-height: 300px;
        min-height: 300px;
        text-decoration: none;
        min-width: 100%;
        transition: 0.5s ease all;
        width: 100%; 
        object-fit:cover;
    }

    #karuzelaZdjecKontener
    {
        margin-top:-7px;
    }
    #karuzelaZdjec
    {
        margin-top: -0px;
        min-height: 35vh;
        max-height: 35vh;
    }

    #karuzelaZdjec img
    {
        position: static;
        min-width: 100%;
        min-height: 200px;
        height: auto;
        max-height: 35vh;
        top: 0;
        right: 0;
        object-fit: cover;
        transition: 1.5s;
    }
    .jednostkiNazwy{
        margin-top: 0px;
        min-height: 120px;
        max-height: 120px;
      }
    .karuzelaZdjecPrzyciski
    {
        width: 50%;
        top:-125px;
    }
    .spisJednostek
{
    min-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    
}
.jednostkiNazwy h1
{
    font-size: 18px;
}
.jednostkaElement
{
    margin-left:0px;
    margin-top: 20px;
    height: 400px;
    width: auto;
    max-width: 100%;
    min-width: 100%;
    background-color: white;
    color: black;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    -moz-box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    box-shadow: 4px 4px 22px -7px rgba(0, 0, 0, 1);
    transition: 1s;
}
.jednostkaElement p
{
    font-size: 1.4pc;
    padding: 10px;
    margin: 0px;
    font-weight: bolder;
    text-shadow: 0px 0px 18px rgb(0, 0, 0);
}
.jednostkaEleOpis
{
   
    top: -400px;
    max-height: 400px;
    min-height: 400px;
    padding-left: 3%;
    padding-right: 3%;
}
.jednostkaEleImg
{
    max-height: 400px;
    max-width: 100%;
    min-height: 400px;
    min-width: 100%;
}
.jednostkaElement:hover
{
    transform: translate(0px, -5px);
}
.jednostkaElement:hover img
{
    transform: scale(1.2);
   
    opacity: 95%;
}
.jednostkaEleImg img
{
    min-width: 100%;
    min-height: 400px;
    max-height: 400px;
    transition: 1s;
}
.jednostkaHR
{
    max-width: 80%;
    min-width: 80%;
    height: 2px;
    margin-bottom: 20px;
}

.arrow
{
    width: 10%;
    aspect-ratio: 1/1;
    font-size: 24px;
}

}