.iPhone .item > a {
    pointer-events: none;
}

.loader > * {
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.loader:before {
    content: '';
    position: fixed;
    background: #000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0.8;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    width: 30px;
    height: 30px;
    background: url(../img/loader-white.svg) no-repeat center;
    z-index: 9999;
    opacity: 0.9;
}

.lg-on {
    overflow: hidden;
}

.lg-on::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 28, 0.99);
    opacity: 99%;
    z-index: 1040;
}

.lg-backdrop.in {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-filter: blur(50px);
    filter: blur(50px);
    opacity: 0.5;
    -webkit-transition: all 500ms ease-in !important;
    -o-transition: all 500ms ease-in !important;
    transition: all 500ms ease-in !important;
}

body {
    font-family: "Lato", sans-serif;
    color: #222;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

a,
p {
    font-size: 14px;
    line-height: 22px;
}

a {
    color: #222;
}

.lg-sub-html a {
    color: #fff;
}

.logo a {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
}

.logo span {
    font-size: 18px;
    line-height: 28px;
    color: #8a8594;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.item img {
    display: block;
    width: 100%;
    max-width: 640px;
    cursor: zoom-in;
}

#lg-actual-size,
#lg-counter {
    display: none !important;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background: #fff;
}

.content {
    padding-top: 50px;
}

.caption {
    border-bottom: 4px solid #fff;
    height: 0;
    overflow: hidden;
    padding: 0;

    display: none;
}

.lg-sub-html a::before,
.caption a::before {
    content: '';
    background-size: 19px;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin: 0 2px -2px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    display: none;
}

.lg-sub-html a {
    text-decoration: none;
}

.header .container {
    position: relative;
    padding: 10px;
    height: 50px;
    display: flex;
    justify-content: space-between;
}

.lightgallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.lg-download,
.lg-fullscreen,
.lg-autoplay-button {
    display: none;
}

.lightgallery > .item-wrap {
    width: 100%;
    margin-bottom: 3px;
}

.item > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.item-wrap:hover a::after {
    opacity: 0.65;
    font-size: 40px;
}

.menu {
    position: absolute;
    right: 10px;
    top: 15px;
    width: 22px;
    height: 20px;
    cursor: pointer;
    background: #222;
}

.menu:before {
    display: block;
    content: '';
    width: 22px;
    height: 4px;
    background: #f3f3f3;
    position: absolute;
    top: 4px;
}

.menu:after {
    display: block;
    content: '';
    width: 22px;
    height: 4px;
    background: #f3f3f3;
    position: absolute;
    top: 12px;
}

.navigation-wrapper ul {
    list-style: none;
}

.navigation-wrapper ul a {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;

    color: #8a8594;

    -webkit-transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
}

.navigation-wrapper ul a:hover,
html:not([background-important]) .navigation-wrapper ul a.active {
    background: radial-gradient(100% 100% at 0% 0%, #E10027 0%, #E10079 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /*color: #E10079;*/
}

.contact {
    text-align: center;
    max-width: 360px;
    padding: 0 10px;
    margin: 0 auto;
    -webkit-transform: translateY(calc(50vh - 20px));
    -ms-transform: translateY(calc(50vh - 20px));
    transform: translateY(calc(50vh - 20px));
}

.menu-open .menu {
    background: transparent;
}

.menu-open .menu:before,
.menu-open .menu:after {
    top: 8px;
    height: 3px;
}

.menu-open .menu:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-open .menu:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.slider {
    z-index: 0;
}

.slick-dots {
    position: absolute;
    width: 100%;
    text-align: center;
    height: 13px;
    bottom: 8px;
}

.slick-dots li {
    display: inline-block;
    vertical-align: top;
    width: 13px;
    height: 13px;
}

.slick-dots li button {
    cursor: pointer;
    background: none;
    opacity: .3;
    font-size: 0;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: 200ms cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border: none;
}

.slick-dots li button::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.slick-dots li.slick-active button {
    opacity: .65;
}

.slick-next,
.slick-prev {
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    z-index: 1080;
    border: none;
    font-size: 0;
    height: 100%;
    opacity: .75;
    width: 50px;
    bottom: 0;
}

.slick-next:hover,
.slick-prev:hover {
    opacity: 1;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
    direction: rtl;
}

.slick-prev:before,
.slick-next:before {
    content: '';
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #fff;
    position: absolute;
    left: 23px;
}

.slick-prev:before {
    transform: rotate(180deg);
}

.navigation-inner {
    text-align: center;
    height: 100%;
    position: absolute;
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    color: #fff;
}

.navigation-inner img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
}

.navigation-inner p {
    width: 100%;
}

.navigation-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation-wrapper::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    -webkit-transition: 100ms cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: 100ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: 100ms cubic-bezier(0.19, 1, 0.22, 1);
    background: -o-linear-gradient(317deg, #000, #1e0012);
    background: linear-gradient(133deg, #000, #1e0012);
    background-size: 400% 400%;

    -webkit-animation: AnimationName 10s ease infinite;
    animation: AnimationName 10s ease infinite;

    opacity: 0.75;
}

.navigation-wrapper {
    background-size: cover;
    background-position: left center;
    -webkit-transition: background-image 500ms ease-in-out;
    transition: background-image 500ms ease-in-out;
}

html.paris-2021 .navigation-wrapper {
    background-image: url("../photos/previews/paris-2021.jpg");
}

html.budapest-2021 .navigation-wrapper {
    background-image: url("../photos/previews/budapest-2021.jpg");
}

html.portraits .navigation-wrapper {
    background-image: url("../photos/previews/portraits.jpg");
}

html.carpathians-2020 .navigation-wrapper {
    background-image: url("../photos/previews/carpathians-2020.jpg");
}

html[background-important="paris-2021"] .navigation-wrapper {
    background-image: url("../photos/previews/paris-2021.jpg") !important;
}

html[background-important="budapest-2021"] .navigation-wrapper {
    background-image: url("../photos/previews/budapest-2021.jpg") !important;
}

html[background-important="portraits"] .navigation-wrapper {
    background-image: url("../photos/previews/portraits.jpg") !important;
}

html[background-important="carpathians-2020"] .navigation-wrapper {
    background-image: url("../photos/previews/carpathians-2020.jpg") !important;
}

.navigation-wrapper .container {
    width: 100%;
    height: 100%;
    color: #fff;
}

.navigation-wrapper ul {
    z-index: 1;
    width: 100%;
    text-align: center;
}

.navigation-wrapper li {
    display: block;
}

.navigation-wrapper ul a {
    display: inline-block;
    padding: 5px 0;
    color: #fff;
}

.navigation-wrapper a {
    color: #fff;
}

.navigation-wrapper a:hover {
    opacity: 0.8;
}

@media (min-width: 956px) {
    .container {
        max-width: 956px;
    }

    .lightgallery > .item-wrap {
        width: calc(33.33% - 2px);
        margin-right: 3px;
    }

    .item-wrap:nth-child(3n) {
        margin-right: 0;
    }

    .item > a {
        height: 395px;
    }

    .item img {
        display: block;
        width: 100%;
        max-width: 640px;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .navigation-wrapper {
        background-size: 125%;
    }
}

@media (min-width: 1278px) {
    .container {
        max-width: 1420px;
    }

    .item > a {
        height: 530px;
    }
}

@media (min-width: 1880px) {
    .container {
        max-width: 1860px;
    }

    .lightgallery > .item-wrap {
        width: calc(25% - 3px);
        margin-right: 3px;
    }

    .item > a {
        height: 575px;
    }

    .item-wrap:nth-child(4n) {
        margin-right: 0;
    }
}

@media (max-width: 359px) {
    .logo span {
        display: none;
    }
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 0 4%
    }
    50% {
        background-position: 100% 97%
    }
    100% {
        background-position: 0 4%
    }
}

@keyframes AnimationName {
    0% {
        background-position: 0 4%
    }
    50% {
        background-position: 100% 97%
    }
    100% {
        background-position: 0 4%
    }
}

.lazy-loader {
    position: relative;
}

.lazy-loader::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 25px;
    height: 25px;
    background: url(../img/loader-black.svg) no-repeat center;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.5;
    background-size: 35px;
}
