/* Фотогалерея
--------------------------*/
.nav-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    justify-content: space-between;
    border-bottom: 1px solid #dedede;
    list-style: none;
}
.nav-gallery li {
    position: relative;
}
.nav-gallery li a,
.nav-gallery li span {
    display: block;
    border-bottom: 6px solid transparent;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    color: #000 !important;
    cursor: pointer;
}
.nav-gallery li a:before,
.nav-gallery li span:before {
    content: "";
    position: absolute;
    bottom: -12px;
    display: block;
    width: 0;
    height: 6px;
    transition: all .25s;
    background: var(--primary-color);
}
.nav-gallery li .active {
    font-weight: 600;
}
.nav-gallery li:hover a:before,
.nav-gallery li span:before {
    width: 100%;
}
.photogallery .filter-date {
    text-align: center;
    margin: 40px auto;
}
.photogallery .filter-title {
    font-size: 16px;
    font-weight: 500;
}
.photogallery select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    width: 130px;
    margin: 0 10px;
}
.work-gallery > div {
    padding: 3px;
    cursor: pointer;
}
.work-gallery .image-holder {
    overflow: visible;
}
.work-gallery .image-holder img {
    transition: all .25s;
}
.work-gallery .image-holder:hover img {
    transform: scale(1.2);
    position: relative;
    z-index: 10;
    box-shadow: 0 0 5px #282828;
}
/* Мобильная версия
----------------------*/
.nav-gallery__mobile {
    position : relative;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    background: #fff;
}
.nav-gallery__mobile .arrow {
    position:absolute;
    right: 20px;
    top: 21px;
    width: 14px;
    height: 8px;
    background: url(../images/svg/arrow-down.svg) no-repeat;
    background-size: 100%;
    transition: all .25s;
}
.nav-gallery__mobile.active .arrow {
    transform: rotate(180deg);
}
.nav-gallery__mobile span,
.nav-gallery__mobile a {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    text-decoration: none;
    color: var(--primary-text-color);
}
.nav-gallery__mobile > div:not(.arrow) {
    display: none;
    font-size: 16px;
    margin: 5px 0;
    font-weight: 600;
}
.nav-gallery__mobile > div.active {
    display: block;
    font-size: 16px;
    line-height: 19px;
}
.nav-gallery__mobile.active > div.active {
    opacity: 0.7;
    font-weight: 400;
}
