
    .preloader_block{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
            position: fixed;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 100005;
            width: 100vw;
            height: 100vh;
            background-color: #FFFFFF;
    }
    .preloader_block>img{
        height: auto;
        max-height: 170px;
    }
    @media (max-width: 980px) {
        .preloader_block>img{
            width: 100%;
            max-width: 170px;
        }
    }


    setTimeout(function() { 
        $("body").css("overflow","hidden");
        $("body").css('background-color', '#FFFFFF');
        $('body').prepend('');
    }, 10);
    $(document).ready(function() {
        setTimeout(function() {
            $("body").css('background-color', '#FFFFFF');
            $(".preloader_block").delay(400).fadeOut('slow'); 
            $("body").css("overflow","");
            window.dispatchEvent(new Event('resize'));
        }, 3000);
    });
    $(window).on('load', function () {
        $("body").css('background-color', '#FFFFFF');
        $(".preloader_block").delay(400).fadeOut('slow');
        setTimeout(function() {  
            $("body").css("overflow",""); 
            window.dispatchEvent(new Event('resize'));    
        }, 400);
    });
