﻿
#gg-screen { position: fixed; width: 100%; height: 100%; z-index: 1; top: 0; left: 0; display: none; background: rgba(0,0,0,0.85); z-index: 9999; text-align: center; }
#gg-screen .gg-image { height: 100%; display: inline-flex; justify-content: center; align-items: center; }
#gg-screen .gg-image img { max-width: 100%; max-height: 100%; margin: 0 auto; }

.gg-bt { width: 38px; height: 38px; background: rgba(255,255,255,0.6); color: #222; border-radius: 50%; text-align: center; line-height: 33px; vertical-align: middle; display: inline-block; cursor: pointer; -moz-transition: all .4s ease; -o-transition: all .4s ease; -webkit-transition: all .4s ease; transition: all .4s ease; font-size: 25px; border: 1px solid rgba(0,0,0,0.05); box-sizing: border-box; padding-left: 2px; }
.gg-bt:hover { background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.5); }
.gg-close { position: fixed; top: 0.5em; }
.gg-close, .gg-nxt { right: 0.5em; }
.gg-prev { left: 0.5em; }
.gg-prev, .gg-nxt { position: fixed; bottom: 50%; }


.gg-element{ overflow: hidden; margin-bottom: 0; opacity: 1; }
.gg-element .image { transition: 0.8s ease; width:100%; height:100%}
.gg-element .description { display: grid; position: absolute; bottom: 0; left: 0; color:#fff; padding: 10px; font-size: 17px; line-height: 18px; width: 100%; padding-top: 15px; padding-bottom: 15px; opacity: 1; transition: 0.8s ease; text-align: center; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.39)); }
.gg-element .description .description-heading { font-size: 1em; font-weight: bold; }


@media (min-width: 576px) {
    .gg-element .description { opacity: 0; }
    .gg-element:hover .description { opacity: 1; }
    .gg-element:hover .image { transform: scale(1.3); opacity: 0.7; cursor:pointer}
}