body.com_gallery div.part-gallery .gallery .details .date,
body.com_gallery div.part-gallery .gallery .details .items{
    display:none;
}

div.part-gallery {

}

.position div.part-gallery {

}


.position div.part-gallery .content-galleries {
    display:flex;
    flex-wrap:wrap;

}

.position div.part-gallery .content-galleries .clear {
    display:none;
}

.position div.part-gallery .content-galleries .gallery-album {
    display:none;
    width:25%;
    height:25vw;
    position:relative;
    z-index:1;
    box-shadow:0 0 0 rgba(0,0,0,0.3);
}

.position div.part-gallery .content-galleries .gallery-album:nth-child(3),
.position div.part-gallery .content-galleries .gallery-album:nth-child(4) {
    width:50%;
}

.position div.part-gallery .content-galleries .gallery-album:hover {
    z-index:29;
    box-shadow:0 10px 10px rgba(0,0,0,0.3);
    transform:scale(1.05,1.05);
}

.position div.part-gallery .content-galleries .gallery-album .lastpic {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}



.position div.part-gallery .content-galleries .gallery-album .lastpic a {
    display:block;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}

.position div.part-gallery .content-galleries .gallery-album .lastpic a::after {
    content:"";
    display:block;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.5);
    transition:0.5s;
}

.position div.part-gallery .content-galleries .gallery-album:hover .lastpic a::after {
    background-color:rgba(0,0,0,0);
}

.position div.part-gallery .content-galleries .gallery-album .details a::before {
    content:"";
    display:block;
    position:absolute;
    left:-10px;
    top:0;
    width:3px;
    height:100%;
    background-color:var(--orange);
}

.position div.part-gallery .content-galleries .gallery-album a img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.position div.part-gallery .content-galleries div.nopic {
    width:100%;
    height:100%;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-image:url('../gfx/noimage.svg');
}

.position div.part-gallery .content-galleries .gallery-album .details {
    position:absolute;
    width:calc(100% - 56px);
    padding-right:20px;
    z-index:1;
    display:block;
    bottom:3vw;
    left:3vw;
    color:#ffffff;
    font-size:1.3vw;
    line-height:1.8vw;
    font-weight:bold;
}

.position div.part-gallery .content-galleries .gallery-album .details span,
.position div.part-gallery .content-galleries .gallery-album .details .items {
    display:none;
}

.position div.part-gallery .content-galleries .gallery-album:nth-child(-n+6) {
    display:block;
}

@media only screen and (max-width:993px) {
    .position div.part-gallery .content-galleries .gallery-album {
        width:50%;
        height:50vw;
    }

    .position div.part-gallery .content-galleries .gallery-album .details {
        bottom:5vw;
        left:5vw;
        color:#ffffff;
        font-size:2vw;
        line-height:3vw;
        width:calc(100% - 5vw);
    }
}

@media only screen and (max-width:639px) {
    .position div.part-gallery .content-galleries .gallery-album .details {
        bottom:6vw;
        left:6vw;
        color:#ffffff;
        font-size:3vw;
        line-height:4vw;
        width:calc(100% - 6vw);
    }
}

@media only screen and (max-width:479px) {
    .position div.part-gallery .content-galleries .gallery-album .details {
        bottom:6vw;
        left:6vw;
        color:#ffffff;
        font-size:3vw;
        line-height:4vw;
        width:calc(100% - 6vw);
    }
}

/* CONTENT */

/* album */

#content div.part-gallery .content-galleries {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap:32px;
}

#content div.part-gallery .content-galleries .clear {
    display:none;
}

#content div.part-gallery .content-galleries + h3.album-images {
    padding-top:50px;
}

#content div.part-gallery div.gallery-album {
    padding:32px;
    background-color:#ffffff;
    box-shadow:0 0 10px rgba(0,0,0,0.2);
    border-radius:10px;
    transition:0.5s;
    z-index:1;
}

#content div.part-gallery div.gallery-album:hover {
    transform:scale(1.05,1.05) rotate(-2deg);
    box-shadow:0 20px 20px rgba(0,0,0,0.2);
    z-index:9;
}

#content div.part-gallery div.gallery-album .lastpic {
    margin-bottom:20px;
}

#content div.part-gallery div.gallery-album img {
    display:block;
    width:100%;
    height:240px;
    object-fit:cover;
    object-position:center center;
}

#content div.part-gallery div.gallery-album .lastpic.nopic {
    height:240px;
    position:relative;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-image:url('../gfx/noimage.svg');
}

#content div.part-gallery div.gallery-album .lastpic.nopic a {
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#content div.part-gallery div.gallery-album .details {
    text-align:center;
    font-weight:300;
}

#content div.part-gallery h3.more-albums {
    display:none;
}

@media only screen and (max-width:1323px) {
    #content div.part-gallery .content-galleries {
        grid-gap:20px;
    }
    
    #content div.part-gallery div.gallery-album {
        padding:20px;
    }
}

@media only screen and (max-width:993px) {
    #content div.part-gallery .content-galleries {
        grid-gap:20px;
        grid-template-columns: repeat(2,1fr);
    }
    
    #content div.part-gallery div.gallery-album {
        padding:20px;
    }
    
    #content div.part-gallery div.gallery-album img {
        height:200px;
    }
    
    #content div.part-gallery div.gallery-album .lastpic.nopic {
        height:200px;
    }
}

@media only screen and (max-width:639px) {
    #content div.part-gallery .content-galleries {
        grid-gap:10px;
        grid-template-columns: repeat(2,1fr);
    }
    
    #content div.part-gallery div.gallery-album {
        padding:10px;
    }
    
    #content div.part-gallery div.gallery-album .lastpic {
        margin-bottom:10px;
    }
    
    #content div.part-gallery div.gallery-album img {
        height:160px;
    }
    
    #content div.part-gallery div.gallery-album img {
        height:160px;
    }
    
    #content div.part-gallery div.gallery-album .details {
        font-size:14px;
        line-height:20px;
    }
}


/* image */

#content div.part-gallery .content {
    padding:0;
}

#content div.part-gallery a.new-window {
    display: none;
}

#content div.part-gallery ul.breadcrumb {
    margin-bottom:16px;
}

#content div.part-gallery ul.breadcrumb li {
    display:inline-block;
    margin-left:5px;
}

#content div.part-gallery ul:not(.nav) li::before {
    display:none;
}

#content div.part-gallery ul.breadcrumb:not(.nav) li {
    padding-left:0;
}

#content div.part-gallery ul.breadcrumb li,
#content div.part-gallery ul.breadcrumb li a {
    text-transform:uppercase;
    color:var(--gyfz);
    font-size:14px;
    line-height:22px;
}

#content div.part-gallery > div.component-body div.gallery-image {
    margin: 3px;
    width: 174px;
    height:174px;
    display: block;
    overflow: hidden;
    background-color:#ffffff;
    float: left;
    position: relative;
    z-index:1;
    transition:0.3s;
    box-shadow:0 0 0 rgba(0,0,0,0.4);
}

#content div.part-gallery > div.component-body div.gallery-image:hover {
    z-index:2;
    transform:scale(1.1,1.1);
    box-shadow:0 10px 10px rgba(0,0,0,0.4);
}

#content div.part-gallery div.gallery-image div.lastpic {
    overflow: hidden;
    text-align: center;
    position: relative;
    height:100%;
}

#content div.part-gallery div.gallery-image div.lastpic > div.vdate {
    padding: 5px;
    position: absolute;
    background-color:rgba(0,0,0,0.4);
    bottom: 0;
    left: 0;
    width:100%;
    transition:0.3s;
    color: #fff;
    opacity: 0;
    bottom:-32px;
    font-size:12px;
    line-height:16px;
}

#content div.part-gallery div.gallery-image div.lastpic:hover > div.vdate {
    opacity: 1;
    bottom:0;
}

#content div.part-gallery div.gallery-image div.lastpic > a {
    padding: 0;
    margin: 0;
    display:flex;
    justify-content:center;
    align-items:center;
    height:100%;
    overflow:hidden;
}

#content div.part-gallery div.gallery-image div.lastpic > a > img {
    max-width:none;
    width:100%;
    height:100%;
    margin:0;
    display:block;
    object-fit:cover;
    object-position:center center;
}

#content div.part-gallery div.gallery-image.img-portrait div.lastpic > a > img {
    width:100%;
    height:auto;
}

/* pager */

#content div.part-gallery .gallery .pager-bottom {
    padding-top:50px;
}

/*----+ VIDEO +----*/

#content div.part-gallery  div.gallery-image div.lastpic a div.video {
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    background: transparent url(../gfx/video.png) 0 0 no-repeat;
    top: 50%;
    left: 50%;
    margin: -24px 0 0 -24px;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
#content div.part-gallery  div.gallery-image div.lastpic a:hover div.video{
    opacity: 1;
}