#viewgallery.header		{margin-bottom:20px;}
#viewgallery.nav	{text-transform:lowercase; margin-top:36px; margin-bottom:25px;}
#gallery_content	{font-family:"Segoe UI Light"; text-transform:lowercase; font-size:27pt;}
#gallery_content a, #gallery_content a img	{text-decoration:none; color:#000; cursor:pointer;}
#gallery_content a:hover		{color:#0ae;}
#gallery_content.img		{border:3px solid transparent;}
#gallery_content.img:hover	{border:3px solid #0ae;}

.video {width:560px;}
.video input[type=text] {width: 230px;}
.video img {width:20px;}

#open-popup {padding:20px}
.white-popup {
    position: relative;
    background: #FFF;
    padding: 40px;
    width: auto;
    max-width: 200px;
    margin: 20px auto;
    text-align: center;
}

/* ----------- Magnific zoom popup --------------- */

.image-source-link {
    color: #98C3D1;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    /* ideally, transition speed should match zoom duration */
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}