/* =======================
        PREVIEW JS
========================*/

#previewfile-gmaps img{
    max-width:none;
}

.previewfile-overlay {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #252525; 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998; opacity: 0.85;
}

.previewfile-wrap {
    position:fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
    -moz-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
}

.previewfile-wrap iframe {
    background-color: #ddd; 
}

.previewfile-content {
    height:100%; 
    width:100%;
    position: absolute;
    overflow: hidden;
}

.previewfile-image {
    max-width:100%;
    max-height:100%;
}

.previewfile-content video {
    background-color: black;
    width: 100%;
    height: auto;
}

#previewfile-gmaps {

}

.previewfile-close {
    position: absolute;
    color: white;
    background: url(../../img/exit-gallery.png);
    background-size: 100%;
    height: 32px;
    width: 25px;
    right: 0px;
    left: 0;
    text-align: center;
    line-height: 30px;
    top: -46px;
    font-size: 30px;
    margin: auto;
}

.previewfile-close:hover {
    cursor: pointer;
    /*background-color: #9DB0FF;*/
}

.nav_btn { position: fixed; top: 50%; color: white; font-size: 30px; z-index: 9999; width:31px; height: 59px;}
.nav_btn.prev_prev { left: 40px; background: url(../../img/arrow-left-white-gallery.png);}
.nav_btn.prev_next { right: 40px; background: url(../../img/arrow-right-white-gallery.png); }
.nav_btn:hover { cursor: pointer; }


/* YOUTUBE */
.youtube_container {
    width:100%; padding-bottom: 56.25%; position: relative;
}

.youtube_container .video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}