/* ########################## */
/*          SLIDER            */
/* ########################## */

.swiper-container {
    background: linear-gradient(to bottom, #0d0d0d, #2f2f2f, #0d0d0d);
    border-bottom: 2px solid #565656;
    width: 100%;
    height: 560px;
    position: relative;
    margin: 0 auto; /* Wyśrodkuj slider */
    overflow: hidden;
    z-index: -1;
}

.swiper-slide {
    position: relative; /* Dodaj pozycję względną dla opisu */
    display: flex; /* Użyj flexbox */
    justify-content: center; /* Wyśrodkuj w poziomie */
    align-items: center; /* Wyśrodkuj w pionie */
}

.swiper-slide img {
    width: 1600px;
    height: 600px;
    margin: 0 auto;
}

.slide-description {
    position: absolute; /* Ustaw opis jako absolutny w obrębie slajdu */
    background-color: #000000ba;
    border-top: 2px solid #5b5b5b;
    text-align: center;
    width: 100%;
    height: 140px;
    bottom: 0px; /* Odstęp od dolnej krawędzi */
    left: 0px; /* Odstęp od lewej krawędzi */
    color: white; /* Kolor tekstu */
    font-size: 18px; /* Rozmiar tekstu */
    z-index: 5; /* Upewnij się, że opis jest na wierzchu */
    opacity: 0; /* Ukryj opis na początku */
    transition: opacity 1s; /* Dodaj przejście dla opacity */
}

.description {
    position: relative;
    top: 0px;
}

.description h1 {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 0px;
}

.description p {
    font-size: 16px;
    font-weight: 200;
    font-style: normal;
    margin: 15px;
}

.swiper-separator {
    background: url(img/bg_camera_target_content_B1v2.png) no-repeat;
    position: relative;
    top: -8px;
    width: 100%;
    height: 20px;
}

.swiper-button {
    position: absolute;
    top: 624px;
    width: 100%;
    height: 50px;
}

.swiper-button-prev {
    position: absolute;
    right: 230px;
    left: auto;
    background: url(img/bg_sliderNav.png) 0px -57px no-repeat;
    width: 58px;
    height: 56px;
}

.swiper-button-prev:hover {
    background: url(img/bg_sliderNav.png) 0px 0px no-repeat;
}

.swiper-button-next {
    position: absolute;
    right: 160px;
    left: auto;
    background: url(img/bg_sliderNav.png) -62px -57px no-repeat;
    width: 58px;
    height: 56px;
}

.swiper-button-next:hover {
    background: url(img/bg_sliderNav.png) -62px 0px no-repeat;
}

.swiper-button-prev::after {
    content: none;
}

.swiper-button-next::after {
    content: none;
}

/* 
####################
######  1024  ####### 
####################
*/

@media only screen and (max-width: 1025px) {

    .swiper-container {
        height: 386px;
    }

    .swiper-slide img {
        display: block;
        width: 1030px;
        height: auto;
        margin: 0 auto;
    }

    .swiper-button {
        top: 450px;
    }

    .swiper-button-prev {
        right: 170px;
        left: auto;
    }

    .swiper-button-next {
        right: 100px;
        left: auto;
    }

}

/* 
####################
######  769  ####### 
####################
*/

@media only screen and (max-width: 815px) {

    .swiper-container {
        height: 432px;
    }

    .swiper-height {
        position: absolute;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .swiper-slide img {
        display: block;
        width: 820px;
        height: auto;
        margin: 0 auto;
    }

    .slide-description {
        bottom: -142px;
    }

    .swiper-button {
        top: 370px;
    }

    .swiper-button-prev {
        right: 150px;
        left: auto;
    }

    .swiper-button-next {
        right: 80px;
        left: auto;
    }

    .description h1 {
    font-size: 21px;
}

    .description p {
        font-size: 14px;
    }

}

/* 
####################
######  426  ####### 
####################
*/

@media only screen and (max-width: 426px) {

    .swiper-container {
        height: 345px;
    }

    .swiper-height {
        position: absolute;
        top: 0;
        width: 100%;
    }

    .swiper-slide img {
        display: block;
        width: 560px;
        height: auto;
        margin: 0 auto;
    }

    .slide-description {
        bottom: -142px;
    }

    .swiper-button {
        display: none;
    }

    .description h1 {
        font-size: 19px;
    }

    .description p {
        font-size: 13px;
    }

}


/* ########################## */
/*        PHOTO BANER         */
/* ########################## */

.photo-baner {
    width: 100%;
    height: 135px;
    background: url(img/bg_photoBannerShadow.png);
    overflow: hidden;
    border-bottom: 3px solid #454545;
}

.photo-baner-img {
    display: flex;
    justify-content: center;
}

.photo-baner img {
    width: 1488px;
    height: 135px;
}

.photo-baner-line {
    background: url(img/bg_photoBannerLine.png) 0 0 no-repeat;
    position: absolute;
    top: 219px;
    width: 45%;
    height: 20px;
    left: 55%;
    overflow: hidden;
}


/* ########################## */
/*          ROOLS             */
/* ########################## */

.rool {
    background: #323232 url(img/bg_wrap_carousel.jpg) 0 0 repeat-x;
    width: 100%;
    margin-top: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rool-contener {
    position: relative;
    width: 1150px;
    overflow: hidden;
    padding-top: 40px;

}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.swiper-button-prev2 {
    background: url(img/bg_caroNav_next.png) 0px 0px no-repeat;
    position: relative;
    right: -5px;
    width: 38px;
    height: 35px;
    z-index: 2;
}

.swiper-button-prev2:hover {
    background: url(img/bg_caroNav_next.png) -37px 0px no-repeat;
}

.swiper-button-next2 {
    background: url(img/bg_caroNav_prev.png) 0px 0px no-repeat;
    position: relative;
    left: -5px;
    width: 38px;
    height: 35px;
    z-index: 2;
}

.swiper-button-next2:hover {
    background: url(img/bg_caroNav_prev.png) -44px 0px no-repeat;
}

.rool-slide {
    background: url(img/bg_caroItemShadow.png) center bottom no-repeat;
    width: 210px; 
    height: 330px;
    margin-right: 10px; 
    margin-left: 10px; 
    list-style-type: none;
}

.rool-title {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #383838, #000000);
    height: 50px;
    font-size: 14px;
}

.rool-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #000000, #383838);
    height: 150px;
}

.rool-image img {
    max-width: 90%;
    height: auto;
}

.oferta-1 {
    background: #b20600;
}

.oferta-2 {
    background: #e9fe2a;
}

.oferta-3 {
    background: #0099e4;
}

.oferta-4 {
    background: #d93d01;
}

.oferta-5 {
    background: #3eff0f;
}

.oferta-6 {
    background: #7827ef;
}

.oferta-7 {
    background: #d93d01;
}

.rool-opis {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: repeating-linear-gradient(to bottom, #353535 0%, #0d0d0d 10%, #1b1b1b 100%);
    height: 110px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-slide a:hover .rool-title {
    background: linear-gradient(to bottom, #5f5f5f, #000000);
    color: #cfcfcf;
}

.swiper-slide a:hover .rool-image {
    background: linear-gradient(to bottom, #000000, #5f5f5f);
}

.swiper-slide a:hover .rool-opis {
    background: repeating-linear-gradient(to bottom, #5f5f5f 0%, #0d0d0d 10%, #121212 100%);
    color: #cfcfcf;
}

.swiper-slide a:hover .oferta-1 {
    background: linear-gradient(to bottom, #b20600, #ffffff);
}

.swiper-slide a:hover .oferta-2 {
    background: linear-gradient(to bottom, #e9fe2a, #ffffff);
}

.swiper-slide a:hover .oferta-3 {
    background: linear-gradient(to bottom, #0099e4, #ffffff);
}

.swiper-slide a:hover .oferta-4 {
    background: linear-gradient(to bottom, #d93d01, #ffffff);
}

.swiper-slide a:hover .oferta-5 {
    background: linear-gradient(to bottom, #3eff0f, #ffffff);
}

.swiper-slide a:hover .oferta-6 {
    background: linear-gradient(to bottom, #7827ef, #ffffff);
}

.swiper-slide a:hover .oferta-7 {
    background: linear-gradient(to bottom, #b20600, #ffffff);
}

:root {
  --slides: 5;
}

/* #################### */

@media only screen and (max-width: 1240px) {
    
    .rool-contener {
        max-width: 920px;
    }

    :root {
    --slides: 4;
    }
}

@media only screen and (max-width: 1024px) {
    
    .rool-contener {
        max-width: 690px;
    }

    :root {
    --slides: 3;
    }
}

@media only screen and (max-width: 815px) {

    .rool-contener {
        max-width: 460px;
        padding-top: 25px;
    }

    :root {
    --slides: 2;
    }
}

@media only screen and (max-width: 560px) {

    .rool-contener {
        max-width: 230px;
    }

    .swiper-wrapper {
        display: flex;
    }

    :root {
    --slides: 1;
    }
}


/* ########################## */
/*     SERWIS POSDTAWOWY      */
/* ########################## */

.widget-serwis {
    background: #292929;
}

.widget-contener h2 {
    
    border-bottom: 1px solid #8d8d8d;
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.podst-link {
    font-size: 13px;
    font-style: italic;
    padding-top: 10px;
    padding-bottom: 10px;
}

.podst-link ul {
    padding-left: 20px;
}

.podst-link ul li {
    font-size: 14px;
    background: url(img/bg_li.png) 0 center no-repeat;
    padding: 0 0 0 25px;
    margin: 10px 0 0 0;
    display: block;
    text-align: left;
}

.podst-wiecej {
    text-align: right;
    border-top: 1px solid #8d8d8d;
    width: 90%;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 1px;
}

.details {
    font-size: 13px;
    font-style: italic;
    background: url(img/bg_details.png) right -22px no-repeat;
    padding-right: 25px;
    opacity: 0.7;
}

.details:hover {
    background: url(img/bg_details.png) right 2px no-repeat;
    opacity: 1;
}


/* ########################## */
/*          PARTNERZY         */
/* ########################## */


.partner-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-list ul {
    margin: 0;
    padding: 0;
}

.partner-list ul li {
    margin-top: 35px;
    text-align: center;
}


.partner-list img {
    width: 300px;
    height: 120px;
}

/* #################*/

@media only screen and (max-width: 1240px) {

    .partner-list img {
        width: 92%;
        height: auto;
    }
}

@media only screen and (max-width: 815px) {

    .partner-list img {
        width: 50%;
    }
}

@media only screen and (max-width: 426px) {

    .partner-list img {
        width: 80%;
    }
}


/* ########################## */
/*           OPEN             */
/* ########################## */


.open-list {
    display: flex;
    justify-content: center;
}

.open-detal {
    background: url(img/bg_banner2.jpg) 0 0 no-repeat;
    background-size: 100%;
    width: 300px;
    height: 120px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

open {
    font-size: 13px;
    margin-left: 10px;
}

open b {
    font-size: 17px;
}

@media only screen and (max-width: 1240px) {

    .open-detal {
        width: 92%;
        background-size: auto;
    }

}

@media only screen and (max-width: 815px) {

    .open-detal {
        width: 50%;
        background-size: 100%;
    }

}

@media only screen and (max-width: 426px) {

    .open-detal {
        width: 80%;
    }

}


/* ########################## */
/*          FOOTER            */
/* ########################## */


#footer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3ClinearGradient id='grad-ucgg-generated' gradientUnits='userSpaceOnUse' x1='0%' y1='100%' x2='0%' y2='0%'%3E%3Cstop offset='0%' stop-color='%230c0c0c' stop-opacity='1'/%3E%3Cstop offset='100%' stop-color='%23292929' stop-opacity='1'/%3E%3C/linearGradient%3E%3Crect x='0' y='0' width='1' height='1' fill='url(%23grad-ucgg-generated)' /%3E%3C/svg%3E");
    width: 100%;
    min-height: 170px;
    display: flex;
    align-items: center;
    border-top: 2px solid #4a4a4a;
}

.foot-contener {
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.foot-logo {
    width: 30%;
    display: flex;
    align-items: center;
}

.foot-logo img {
    width: 200px;
    height: auto;
}

.foot-adres {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
}

.foot-network {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.foot-network ul {
    display: flex;
    margin-top: -10px;
    padding: 0px;
}

.foot-network ul li {
    margin-right: 20px;
    list-style-type: none;
}

@media only screen and (max-width: 769px) {

    .foot-contener {
        align-items: center;
        flex-direction: column-reverse;
    }

    .foot-logo {
        width: 100%;
        justify-content: center;
    }

    .foot-adres {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
        align-items: center;
    }

    .foot-network {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .foot-network ul {
        margin-left: -20px;
    }

}