
.gg-box {
  width:100%;
  columns: 5;
  column-gap: 8px;
    
}
.gg-box .gg-element{
  width:100%;
  margin-bottom:8px;
  break-inside: avoid;
}
.gg-box .gg-element img{
  max-width:100%;
  cursor: pointer;
}


#gg-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    display: none;
    background: rgba(0, 0, 0, 0.9);
    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: rgb(87, 87, 87);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    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;
    box-sizing: border-box;
    padding-left: 2px
}

.gg-bt:hover {
    background: rgb(255, 255, 255);
	color:#000;
}

.gg-close {
    position: fixed;
    top: .5em
}

.gg-close,
.gg-nxt {
    right: .5em
}

.gg-prev {
    left: .5em
}

.gg-prev,
.gg-nxt {
    position: fixed;
    bottom: 50%
}


@media(max-width:1024px) {
.gg-box {
  columns: 3;
}
}
@media(max-width:600px) {
.gg-box {
  columns: 1;
}
}




