
/*---------------------------------------*/
/* Lightbox */
/*---------------------------------------*/
.lightbox a {
    text-decoration: none;
    color: #d0d0d0;
}

.lightbox {
    box-sizing: border-box;
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    text-align: center;
    color: #343434;
    background: #131313;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.lightbox-header {
    position: fixed;
    z-index: 101;
    top: 0;
    width: 100%;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.lightbox-header:hover {
    opacity: 1;
    -webkit-transition: 0.1s;
    transition: 0.1s;
}

.lightbox-content {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
    height: 100vh;
    padding: 1rem;
}

.lightbox-content-spacer {
    padding-bottom: 30vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85%;
}

.lightbox-footer {
    position: fixed;
    z-index: 104;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#lightbox-info {
    z-index: 99;
    display: none;
    box-sizing: border-box;
    position: fixed;
    float: none;
    overflow-x: auto;
    min-width: 3rem;
    top: 3rem;
    left: 5rem;
    max-width: 600px;
    margin-right: 5rem;
    padding: 0 1rem;
    box-shadow: 0 0 7px #343434;
    border-radius: 3px;
    text-align: left;
    background: #eee;
}

.lightbox-img-thumbs {
    display: none;
    box-sizing: border-box;
    height: 30vh;
    padding: 0 1rem 4rem 1rem;
    -webkit-transition: 0.7s;
    transition: 0.7s;
}

.lightbox-thumb {
    opacity: 0.4;
    vertical-align: top;
    display: inline-block;
    overflow: hidden;
    width: 13%;
    height: 100%;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.lightbox-thumb:hover {
    opacity: 1;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.lightbox-thumb img {
    vertical-align: top;
}

.lightbox-thumb img:hover {
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#lightbox-thumb-active {
    opacity: 1;
}

#lightbox-action-more,
#lightbox-action-close,
#lightbox-action-previous,
#lightbox-action-next,
#lightbox-action-thumbs {
    display: inline-block;
    position: fixed;
    padding: 0 2rem;
    font-size: 3rem;
    font-weight: bold;
    line-height: 5rem;
    color: #515151;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#lightbox-action-more {
    z-index: 110;
    left: 0;
    height: auto;
    text-align: right;
}

#lightbox-action-close {
    z-index: 110;
    right: 0;
    height: auto;
    text-align: right;
}

#lightbox-action-previous {
    bottom: 0;
    left: 0;
    text-align: left;
}

#lightbox-action-next {
    bottom: 0;
    right: 0;
    text-align: right;
}

#lightbox-action-thumbs {
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 6rem;
}

#lightbox-action-previous:hover,
#lightbox-action-next:hover,
#lightbox-action-close:hover,
#lightbox-action-more:hover,
#lightbox-action-thumbs:hover {
    text-shadow: 0 0 3px #343434;
    cursor: pointer;
    color: #895cb5;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#lightbox-action-previous:active,
#lightbox-action-next:active,
#lightbox-action-close:active,
#lightbox-action-more:active,
#lightbox-action-thumbs:active {
    color: #4b3363;
    -webkit-transition: 0s;
    transition: 0s;
}

.lightbox-action-active {
    color: #d5e44a !important;
}

.lightbox-action-active:hover {
    color: #895cb5 !important;
}

.lightbox-action-active:active {
    color: #4b3363 !important;
}
