/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 30.08.2018, 16:27:33
    Author     : nikolay
*/

#gallery_slider_wrap {
    position: fixed;
    width: 100vw;
    height: 100vh;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: #000;
    z-index: 2100;
    opacity: 0;
}


#gallery_slider {
    width: 100vw;
    height: 100vh;
}

.gallery_slide_wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gallery_slider .gallery_slide {
    max-width: 100vw;
    max-height: 100vh;
    height: auto;
    width: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


#close_gallery_nice {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 9px;
    font-size: 38px;
    cursor: pointer;
    z-index: 100;
    line-height: 1.2;
    transition: all 0.25s ease;
}

#close_gallery_nice:hover {
    background-color: rgba(212, 27, 27, 0.69);
}


/*Р РЋРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”Р С‘*/
#gallery_slider .owl-nav {
    position: static;
    margin: 0;
    padding: 0;
}

#gallery_slider .owl-nav div {
    width: 60px;
    height: 70px;
    position: absolute;
    z-index: 1000;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 56%;
    top: 50%;
    margin-top: -35px;
    transition: 0.3s ease;
    font-size: 0;
    transition: all 0.25s ease-in-out;
    border: none;
    bottom: auto;
    background-color: transparent;
    opacity: 1;
    border: 1px solid transparent;
    transition: all .25s ease;
}


#gallery_slider .owl-nav div:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

#gallery_slider .owl-prev {
    left: 0;
    background-image: url(/i/gallery_left.svg);
}

#gallery_slider .owl-next {
    right: 0;
    background-image: url(/i/gallery_right.svg);
}

@media screen and (max-width: 520px) {
    #close_gallery_nice {
        background-color: rgba(255, 0, 0, 0.7);
    }

    #close_gallery_nice:hover {
        background-color: rgba(255, 0, 0, 0.9);
    }
}