﻿@charset "utf-8";

.gallery {
    background-color: black;
    text-align: center;
}

.gallery > .menu {
    padding-top: 35px;
}

.gallery > .menu > a.current {
    cursor: default;
    text-decoration: underline;
    color:white;
}

.gallery > .menu > a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 22px;
    font-weight: normal;
    font-family: inherit;
    margin: 0 3.5%;
    text-transform: uppercase;
}

.gallery > .menu > a.active {
    color:white;
}

.gallery > .menu > div {
    margin-bottom: 5px;
    display: inline-block;
    vertical-align: middle;
    width:48px;
    height:26px;
    background-image: url("img/symbol-h_02.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.gallery > .thumbnails {
    padding:15px;
}

.gallery > .thumbnails > img {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    width: 351px;
    height: 264px;
    margin:15px;
    background-color: rgb(15, 15, 15);
    object-fit: cover;
    object-position: center;
}


.gallery-preview {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 6;
}

.gallery-preview > .btnClose {
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 10px;
    font-size: 100px;
    line-height: 0;
    z-index: 7;
}

.gallery-preview > .btnFullscreen {
    position: absolute;
    top: 15px;
    right: 110px;
    cursor: pointer;
    z-index: 7;
}

.gallery-preview > .btnFullscreen > img {
    position: absolute;
    height: 32px;
    display:block;
}

.gallery-preview > .btnFullscreen > img:first-child {
    display: none;
}

.gallery-preview > .display {
    /*border: 1px solid rgba(255, 255, 255, 0.14);*/
    height: 90%;
    width: 90%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.gallery-preview > .navBtn {
    cursor: pointer;
    width: 10vmin;
    max-width: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 7;
}

.gallery-preview > .navBtn.prev {
    left: 2%;
}

.gallery-preview > .navBtn.next {
    right: 2%;
}

.gallery-preview > .loading {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

@keyframes gallery_preview_loading {
    from {transform: rotateZ(0deg);}
    to {transform: rotateZ(720deg);}
  }

.gallery-preview > .loading > div {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: gallery_preview_loading 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.gallery-preview > .loading > div > div {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #d2d2d2;
    top: 180%;
}


@media only screen and (max-width: 805px) {
    .gallery > .thumbnails > img {
        width: 256px;
        height: 192px;
    }
}


@media only screen and (max-width: 615px) {
    .gallery > .thumbnails > img {
        width: 180px;
        height: 135px;
    }
    .gallery > .menu > div {
        display: none;
    }
    .gallery > .menu > a {
        font-size: 19px;
    }
}

@media only screen and (max-width: 464px) {
    .gallery > .thumbnails > img {
        width: 260px;
        height: 195px;
    }

    .gallery > .menu > a {
        /*display: block;
        margin: 16px 0;*/
        font-size: 14px;
    }
}