#overlay-gallery{width:100%;height:100%;position:fixed;top:0;left:0;z-index:1000;background:rgba(0,0,0,.8);overflow:auto;text-align:center;display:none}#overlay-gallery #gallery-image-popup{max-width:80%;overflow:hidden;margin:60px 20px 25px;background:#111;outline:10px solid rgba(0,0,0,.4);display:inline-block;position:relative;text-align:center;box-sizing:border-box}#overlay-gallery #overlay-gallery-close{position:fixed;top:0;left:50%;width:50px;height:40px;margin-left:-25px;font-size:30px;background:#111;color:#fff;line-height:40px;text-align:center;text-transform:uppercase;display:flex;align-items:center;justify-content:center;text-decoration:none}#overlay-gallery #overlay-gallery-close:hover,#overlay-gallery .gallery-image-change:hover{color:#df444f}#overlay-gallery #gallery-image-popup>.gallery-image-change:focus,#overlay-gallery #overlay-gallery-close:focus{outline:2px solid #df444f!important}#overlay-gallery #gallery-image-popup>.gallery-image-change{width:50px;height:100px;position:absolute;top:50%;margin-top:-50px;z-index:100;display:none;cursor:pointer;background:rgba(0,0,0,.6);color:#fff;font-size:30px;align-items:center;justify-content:center;text-decoration:none}#overlay-gallery #gallery-image-popup:focus>.gallery-image-change,#overlay-gallery #gallery-image-popup:hover>.gallery-image-change{display:flex}#overlay-gallery #gallery-image-popup>.gallery-image-change-prev{left:10px}#overlay-gallery #gallery-image-popup>.gallery-image-change-next{right:10px}#overlay-gallery ul{list-style:none;display:flex;justify-content:center;align-items:center;margin:0;padding:0}#overlay-gallery ul li{display:none}#overlay-gallery ul li.active{display:block}#overlay-gallery ul li a{display:block;color:#fff}#overlay-gallery ul li a img{display:block;margin:0 auto}#overlay-gallery ul li a .title:not(:empty){display:block;text-align:center;padding:5px 15px}#overlay-gallery.buttons-bottom-bar #gallery-image-popup{margin-bottom:80px}#overlay-gallery-buttons-bottom-bar{position:fixed;bottom:0;left:0;width:100%;height:60px;background-color:#111;z-index:1100;display:flex;align-items:center;justify-content:center}#overlay-gallery-buttons-bottom-bar a{position:static!important;height:100%!important;width:60px!important;color:#fff;font-size:30px!important;text-decoration:none;display:flex;align-items:center;justify-content:center;margin:0 3px!important;background:0 0!important}#overlay-gallery-buttons-bottom-bar a:hover{background:rgba(255,255,255,.1)!important}.gallery{position:relative}.gallery ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;width:100%;margin:0!important;padding:0!important}.gallery ul li{margin:0;padding:0}.gallery ul li a,.gallery ul li a img{display:block;width:100%;overflow:hidden}.gallery ul li a{box-sizing:border-box;height:16vw;max-height:150px!important;min-height:100px!important;border:2px solid transparent;border-radius:3px;transition:transform .2s}.gallery ul li a:hover{border-color:#d44102;transform:scale(1.08)}.gallery ul li a img{height:100%;object-fit:cover;border-radius:2px}@media only screen and (max-width:900px){.gallery ul{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media only screen and (max-width:700px){.gallery ul{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}