$( document ).ready(function() {


    $('#slideshow-nomer').owlCarousel({
        items: 1,
        autoPlay: false,
        singleItem: true,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#slideshow-nomer-thumbnail').owlCarousel({
        items: 6,
        itemsMobile: [479, 5],
        itemsDesktop: [1199, 6],
        itemsDesktopSmall: [979, 6],
        itemsTablet: [768, 5],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $("#owl-numbers").owlCarousel({
        items: 4, //10 изображений на 1000px
        navigation: true,
        navigationText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'],
        pagination: false,
        itemsDesktop: [1199, 4], //3 изображений на ширину между 1200px и 992px
        itemsDesktopSmall: [979, 3], // 3 изображения между 900px и 768px
        itemsTablet: [768, 2], //2 изображения между 767 и 0;
        itemsMobile: [479, 1]

    });

    $('#gallery1').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery2').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery3').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery4').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery5').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery6').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery7').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });

    $('#gallery8').owlCarousel({
        items: 3,
        itemsMobile: [479,1],
        itemsDesktop : [1199,2],
        itemsDesktopSmall : [979,2],
        itemsTablet: [768,1],
        autoPlay: false,
        navigation: true,
        navigationText: ['<i class="slider-left"></i>', '<i class="slider-right"></i>'],
        pagination: false
    });
});