﻿.news-img-block {
    position: relative;
    overflow: hidden;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

    .image-slider img {
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        opacity: 0;
    }

        /* svaka slika kasni */
        .image-slider img:nth-child(1) {
            animation-delay: 0s;
        }

        .image-slider img:nth-child(2) {
            animation-delay: 3s;
        }

        .image-slider img:nth-child(3) {
            animation-delay: 6s;
        }

        .image-slider img:nth-child(4) {
            animation-delay: 9s;
        }

        .image-slider img:nth-child(5) {
            animation-delay: 12s;
        }

        .image-slider img:nth-child(6) {
            animation-delay: 15s;
        }

        .image-slider img:nth-child(7) {
            animation-delay: 18s;
        }

        .image-slider img:nth-child(8) {
            animation-delay: 21s;
        }

        .image-slider img:nth-child(9) {
            animation-delay: 24s;
        }

        .image-slider img:nth-child(10) {
            animation-delay: 27s;
        }

        .image-slider img:nth-child(11) {
            animation-delay: 30s;
        }

        .image-slider img:nth-child(12) {
            animation-delay: 33s;
        }

        .image-slider img:nth-child(13) {
            animation-delay: 36s;
        }

        .image-slider img:nth-child(14) {
            animation-delay: 39s;
        }

        .image-slider img:nth-child(15) {
            animation-delay: 42s;
        }

        .image-slider img:nth-child(16) {
            animation-delay: 45s;
        }

        .image-slider img:nth-child(17) {
            animation-delay: 48s;
        }

        .image-slider img:nth-child(18) {
            animation-delay: 51s;
        }

        .image-slider img:nth-child(19) {
            animation-delay: 54s;
        }

        .image-slider img:nth-child(20) {
            animation-delay: 57s;
        }

.fotobox .image-slider, .videobox .image-slider {
    display: none;
}

@keyframes fadeAnimation_1 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeAnimation_2 {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_3 {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    29% {
        opacity: 1;
    }

    33.333% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_4 {
    0% {
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    22% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_5 {
    0% {
        opacity: 0;
    }

    2.5% {
        opacity: 1;
    }

    17.5% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_6 {
    0% {
        opacity: 0;
    }

    2% {
        opacity: 1;
    }

    14.5% {
        opacity: 1;
    }

    16.666% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_7 {
    0% {
        opacity: 0;
    }

    1.8% {
        opacity: 1;
    }

    12.5% {
        opacity: 1;
    }

    14.286% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_8 {
    0% {
        opacity: 0;
    }

    1.5% {
        opacity: 1;
    }

    11% {
        opacity: 1;
    }

    12.5% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_9 {
    0% {
        opacity: 0;
    }

    1.3% {
        opacity: 1;
    }

    9.8% {
        opacity: 1;
    }

    11.111% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation_10 {
    0% {
        opacity: 0;
    }

    1.2% {
        opacity: 1;
    }

    8.8% {
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeAnimation {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



.swiperthumbs .swiper-slide.thumbnail img {
    width: 100%;
    margin: 1px;
    padding: 1px;
    border: 1px solid;
}

.gallery.swiper .swiper-slide img {
    display: inherit;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
}

.gallery.swiper .swiper-slide {
    background: #fff;
}

.swiper-button-prev, .swiper-button-next {
    color: #000;
    background: #f3f3f3;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.swiper-navigation-icon {
    height: 40% !important;
}

.swiperthumbs {
    margin-left: 10%;
    margin-right: 10%;
}

.swiper-slide span {
    text-align: center;
    font-style: italic;
    display: inherit;
}

body{
    margin: 0;
    padding: 0;
}