html,
body {
    background: #121212
}

html {
    position: relative;
}

body {
    margin-bottom: 64px;
    /* Margin bottom by footer height */
    font-family: trade-gothic-next, sans-serif;
    font-style: normal;
    overflow: auto;
}

.footer {
    bottom: 0;
    width: 100%;
    background: #231f20;
    line-height: 44px;
    height: 64px;
    padding-top: 10px;
    position: absolute;
    z-index: 10
}

*:focus {
    outline: 0 !important;
}

*:focus:not(:link:active) {
    outline: -webkit-focus-ring-color auto 5px;
}


/* Navbar Styles */

.navbar-brand img {
    width: 256px;
    position: absolute;
    z-index: 1;
    left: 12px;
    top: 8px;
}

.w-side-nav {
    width: 60% !important;
    max-width: 666px
}

.side-nav {
    margin-right: 28px;
    text-transform: uppercase
}

.phitre-nav-item {
    background: url("../img/icon_phitreBG.svg") no-repeat;
}

li.phitre-nav-item a {
    color: black !important;
}

li.phitre-nav-item.active a {
    color: #dc6161 !important;
}

li.nav-item a {
    color: #dc6161;
    font-family: upgrade, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.nav-item a {
    text-align: left;
    position: relative;
}

.navbar-light {
    background: #cccccc;
    height: 50px
}

.navbar-title {
    color: #f16163;
    text-align: center;
    margin: auto;
    font-family: upgrade, sans-serif;
    font-style: normal;
    font-weight: 400;
}

li.active.nav-item a {
    color: #cccccc;
    background: linear-gradient(#231f20, #121212);
    padding: 17px;
    border-radius: 3px 0 0 0px;
}

li.active.nav-item a::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #f16163;
    position: absolute;
    top: 20px;
    right: -33px;
}

@media screen and (max-width:575px) {
    li.active.nav-item a {
        color: #f16163;
        background: #231f20;
        padding: 0 12px;
        border-right: none;
        border-left: none;
        border-top: none;
        border-bottom: none;
        border-radius: 0;
    }
    li.active.nav-item a::after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid #f16163;
        position: absolute;
        top: 15px;
        right: 0px;
    }
    li.active.nav-item a::before {
        content: "";
        display: none;
    }
}

.navbar-toggler-icon {
    position: fixed;
    top: 5px;
    right: 8px;
    filter: invert(1);
}

.navbar-toggler {
    outline-color: #cccccc !important;
    border: none;
    position: absolute;
}

.vertical-nav {
    height: 100vh;
}

.btn-vertical {
    border: 0;
    padding: 0;
    background: #cccccc;
    position: relative;
    right: 0;
    transition: right 0.6s;
    z-index: 5;
    top: 0;
}

.btn-vertical a,
.btn-vertical a:hover {
    color: #121212;
}

.btn-vertical a:hover {
    /* text-decoration: none; */
}

.btn-vertical img {
    border: 0;
    position: relative;
    right: 27px;
    transition: right 0.2s;
    background: #cccccc;
    border-left: solid 20px #cccccc;
    box-sizing: content-box;
    transition: border-left 0.3s 0.1s;
}

.btn-vertical:hover img {
    border: 0;
    border-left: solid 60px #cccccc;
}

.btn-vertical:hover {
    right: -50px;
    transition: right 0.6s;
    box-shadow: 5px 2px 3px rgba(0, 0, 0, 0.1);
}

.btn-vertical:hover>.vertical-nav-text {
    left: -170px;
    transition: left 0.4s;
}

.vertical-nav-text {
    position: absolute;
    left: -220px;
    padding-left: 120px;
    height: 100%;
    background: #cccccc;
    top: 0;
    padding-top: 9px;
    width: fit-content;
    z-index: 1;
    white-space: nowrap;
    transition: left 0.6s;
}

.btn-vertical-toolbar-spacer {
    width: 100%;
    display: block;
    flex: 1;
    background: #cccccc;
}

.btn-secondary {
    background: #6633FF;
    border: none;
}

.btn-secondary:hover {
    background: #6633FF;
    border: none;
}

#col-vertical-nav {
    background: #cccccc;
    transition: background 0.5s;
}

@media screen and (max-width:499px) {
    .vertical-nav-text {
        display: none;
    }
    .btn-vertical:hover img {
        border: 0;
        border-left: solid 20px #cccccc;
    }
    .btn-vertical:hover {
        right: auto;
        box-shadow: 5px 2px 3px rgba(0, 0, 0, 0.1);
    }
    .btn-vertical:hover>.vertical-nav-text {
        right: auto;
    }
    .btn-vertical {
        top: 1px;
    }
}

.img-vertical-nav {
    width: 50px
}


/* Navbar Styles for Small */

@media screen and (max-width: 575px) {
    .nav-lock {
        position: fixed;
        z-index: 11
    }
    .navbar-light {
        height: inherit;
    }
    .side-nav {
        margin-left: 20px;
        float: right;
    }
    .nav-item {
        text-align: right;
    }
    .vertical-nav {
        padding-top: 60px;
    }
}

@media screen and (orientation:landscape) and (max-width: 690px) {
    li.nav-item a {
        font-size: 15px
    }
    li.active.nav-item a:after {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #f16163;
        top: 22px;
        right: -25px;
    }
}

@media screen and (orientation:portrait) and (max-width: 690px) {
    li.nav-item a {
        font-size: 15px
    }
    li.active.nav-item a:after {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #f16163;
        top: 5px;
        right: -25px;
    }
}


/* Grid Styles */


/* ---- grid ---- */

.grid {
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width:575px) {
    .grid {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 75px
    }
}


/* clearfix */

.grid:after {
    content: '';
    display: block;
    clear: both;
}


/* ---- grid-item ---- */

#gallery-title {
    color: #cccccc;
    font-size: 30px;
    padding: 9px 0 0 11px;
    position: relative;
}

@media screen and (max-width:575px) {
    #gallery-title {
        font-size: 20px;
        padding: 70px 0 0px 11px;
        margin-bottom: -80px;
        position: relative;
    }
}

#gallery-title::before {
    content: "Category";
    display: block;
    position: relative;
    top: 0;
    font-size: medium;
}

.grid-sizer,
.grid-item {
    width: 33%;
}

.grid-item {
    float: left;
    background: transparent;
    border-radius: 5px;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    cursor: pointer;
}

.grid-item p,
.grid-item h1,
.grid-item h2,
.grid-item h3,
.grid-item h4,
.grid-item h5 {
    font-size: 85%;
}

.grid-item h4,
span {
    margin: 0;
}

.grid-item span {
    font-weight: 700;
    margin: 0 0 2em 0;
}

.grid-item h5 {
    font-size: 120%;
}

.grid-item-wide {
    width: 99% !important;
    height: 100vh;
}

.grid-item--width2 {
    width: 66%;
}

.grid-item--width3 {}

.grid-item--width4 {}

.grid-item--height2 {}

.grid-item--height3 {}

.grid-item--height4 {}

@media screen and (max-width:575px) {
    .grid-item,
    .grid-item--width2,
    .grid-sizer {
        width: 100%
    }
}

.sort-dropdown {
    background: #121212;
    background: #121212;
    border: none;
    padding: 0.05em 0 0 0;
    position: relative;
    top: 47px;
    left: 8px;
}

@media screen and (max-width:575px) {
    .sort-dropdown {
        background: #121212;
        background: #121212;
        border: none;
        padding: 0.05em 0 0 0;
        position: relative;
        top: 96px;
        left: 0px;
        z-index: 0;
    }
}

.btn-dropdown {
    color: white;
    background: transparent;
    border: 0;
}

.active-sort {
    background: #cccccc;
    color: #121212;
    border-radius: 2px;
    padding-right: 5px;
    transition: 0.2s;
}

.dropdown a:hover {
    color: white;
    background: transparent;
    border: 0;
}

.dropdown a:hover>.btn-dropdown {
    color: white;
    background: transparent;
    border-left: solid 1px white;
    padding-left: 8px;
    transition: padding-left 0.5s;
}

.dropdown a:hover>.active-sort.btn-dropdown {
    background: #cccccc;
    color: #121212;
    border-left: solid 1px #121212;
    padding-left: 8px;
    transition: padding-left 0.5s;
}


/* ---- cards ----- */

.grid-item figure {
    margin: 0;
    border-bottom: whitesmoke 2px solid;
}

.gallery-img {
    max-height: 400px;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.gallery-img img {
    width: 100%;
    min-width: 100%;
    cursor: pointer;
}

.scrolling .gallery-img img {}

.grid-item-wide .gallery-img {
    height: inherit;
    max-height: none;
}

.grid-item-wide .gallery-img img {
    width: 100%;
    min-width: 100%;
    height: auto;
}

.grid-item figure {
    margin: 0
}

.grid-item-body {
    padding: 8px 4px 4px 8px;
    background: white;
    color: black;
    border-radius: 0px 0px 5px 5px;
    min-height: 169px;
    z-index: 5
}

.grid-item-body-close {
    background: url("../img/close.svg"), white;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 80px
}

.grid-item-body h4,
.grid-item-body h5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-item-wide .grid-item-body {
    max-width: 33%;
    position: relative;
    right: 10px;
    top: -15vh;
    box-shadow: black 2px 10px 6px;
}

@media screen and (max-width: 767px) {
    .grid-item-wide .grid-item-body {
        max-width: 80%;
    }
}

.magnifying-glass {
    position: absolute;
    right: 11px;
    top: 11px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    padding-bottom: 15%;
    width: inherit;
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.magnifying-glass span {
    text-align: center;
    font-size: 1.8em;
    color: white;
    line-height: 1.1em;
    margin-top: -3.3em;
    letter-spacing: 0.1em;
}

.magnifying-glass img {
    margin-top: 0.5em;
    transition: margin-top 0.3s;
}

.magnifying-glass img:hover {
    margin-top: 0.3em;
    transition: margin-top 0.3s;
}

.magnifying-glass a {
    width: 80%;
    color: white;
}

.magnifying-glass a:hover {
    text-decoration: none;
}


/* Fullview Style */

.big--image-label {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    display: block;
    z-index: 10;
    right: 0;
    top: 93px;
    padding: 30px 60px 10px 30px;
    margin: 0 0 0 0;
    backdrop-filter: grayscale(100%);
    height: calc(100% - 93px - 36px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 0 0;
}

@media screen and (max-width: 820px) {
    .big--image-label {
        right: 0;
        bottom: calc(36px);
        padding-left: 15vw;
        margin: 0;
        backdrop-filter: grayscale(100%);
        height: 50vh;
        top: inherit;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 632px) {
    .big--image-label {
        right: 0;
        bottom: 30px;
        padding-left: 15vw;
        margin: 0;
        backdrop-filter: grayscale(100%);
        height: 50vh;
        top: inherit;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 500px) {
    .big--image-label {
        background: rgba(0, 0, 0, 0.5);
        right: 0;
        bottom: 29px;
        padding: 5vw 0 0 15vw;
        backdrop-filter: grayscale(90%);
        height: auto;
        top: inherit;
        width: calc(100% - 51px);
        overflow-y: hidden;
    }
    .big--image-label h2 {
        font-size: 1.4em
    }
}

#myZoomifyContainer {
    height: 100vh;
    overflow: hidden;
}

@media screen and (max-width:575px) {
    #myZoomifyContainer {
        height: calc(100vh - 0px);
    }
}

.buy-link,
.gallery-link,
.prints-link {
    color: white;
    display: block;
    padding-left: 28px;
    height: 28px
}

.buy-link {
    background: url("../img/icon_Buy.svg") no-repeat;
    background-size: contain;
}

.prints-link {
    background: url("../img/icon_Prints.svg") no-repeat;
    background-size: contain;
}

.gallery-link {
    background: url("../img/icon_Gallery.svg") no-repeat;
    background-size: contain;
}


/* Album List */

.crome3d {
    width: 100%;
    padding-top: 100%;
    display: block;
    background: url("../img/crome.jpg");
    background-size: cover;
}

.NSSF3d {
    width: 100%;
    padding-top: 100%;
    display: block;
    background: url("../img/nssf.jpg");
    background-size: cover;
}

.Oars3d {
    width: 100%;
    padding-top: 100%;
    display: block;
    background: url("../img/oars.jpg");
    background-size: cover;
}

.album-card .card-body {
    background: #121212;
    color: white;
}

.iframe-pad {
    margin: 3em 0;
}

.img-streaming {
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

@media screen and (max-width:575px) {
    .img-streaming {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
}

.scrollmagic-pin-spacer {
    z-index: 5 !important;
}


/* File Types */

.file-dropbox {
    padding-left: 66px;
    padding-top: 10px;
    height: 50px;
    display: block;
    color: #4f53a3;
    width: inherit;
    font-size: 14pt;
    color: #4f53a3;
    background: url("../img/icon_dropbox.svg") transparent no-repeat;
    text-decoration: none;
    filter: brightness(100);
    transition: background 0.2s;
}

.file-dropbox:hover {
    color: #4f53a3;
    background: url("../img/icon_dropbox.svg") #cccccc no-repeat;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}

.file-archive {
    padding-left: 66px;
    padding-top: 10px;
    height: 50px;
    display: block;
    color: teal;
    white-space: nowrap;
    width: inherit;
    font-size: 14pt;
    background: url("../img/icon_archive.svg") transparent no-repeat;
    text-decoration: none;
    filter: brightness(100);
    transition: background 0.2s;
}

.file-archive:hover {
    color: teal;
    background: url("../img/icon_archive.svg") #cccccc no-repeat;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}

.file-mastering {
    padding-left: 66px;
    padding-top: 10px;
    height: 50px;
    display: block;
    color: #121212;
    width: inherit;
    font-size: 14pt;
    background: url("../img/icon_mastering.svg") #cccccc no-repeat;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}

.file-mastering:hover {
    color: #dc6161;
    background: url("../img/icon_mastering.svg") #cccccc no-repeat;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}

.file-tutorials {
    padding-left: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 50px;
    display: block;
    width: inherit;
    font-size: 14pt;
    color: #121212;
    background: url("../img/icon_tutorials.svg") #cccccc no-repeat;
    background-size: 60px;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}

.file-tutorials:hover {
    color: #87786c;
    background: url("../img/icon_tutorials.svg") #cccccc no-repeat;
    text-decoration: none;
    filter: none;
    transition: background 0.4s;
}


/* Progressive Load */

.progressive {
    position: relative;
    display: block;
    overflow: hidden;
    outline: none
}

.progressive img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border: 0
}

.progressive img.preview {
    filter: blur(0);
}

.progressive img.reveal {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform, opacity;
    animation: progressiveReveal 1s ease-out
}

@keyframes progressiveReveal {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}