/* ==========================================================================
   #General style
   ========================================================================== */
.grid-gallery { height:2600px}
.grid-gallery ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.grid-gallery figure {
    margin: 0;
}
.grid-gallery figure img {
    display: block;
    width: 100%;
}
.grid-gallery figcaption h3 {
    margin: 0;
    font-weight: 500;
    font-size: 20px;
    font-family: "Inter Tight", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 0 10px 0;
}
.grid-gallery figcaption span {
    border-bottom: 3px solid #6256ff;
    color: #eeeeee !important;
    display: block;
    font-size: 12px;
    margin: 0 0 25px;
    padding: 0 0 15px;
    text-transform: uppercase;
}
/* ==========================================================================
   #Grid
   ========================================================================== */

.grid-wrap {
}
.grid {
    margin: 0 auto;
}
.grid li {
    width: 100%;
    float: left;
    cursor: pointer;
    margin: 0 0 70px 0;
    position: relative !important;
    top: inherit !important;
}
.grid figure {
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.grid li:hover figure {
    opacity: 1;
}
.grid figcaption {
    background-color: #6256ff;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transition-timing-function: ease-out;
    -moz-transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}
.grid li:hover figcaption {
    opacity: 1;
    transition-timing-function: ease-out;
    -moz-transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}
.figcaption-details {
    position: absolute;
    top: 32%;
    width: 100%;
    text-align: center;
}
.figcaption-details img {
    width: 82px !important;
    height: 82px !important;
    display: inline !important;
    margin: 0 0 30px
}
/* ==========================================================================
   #Slideshow
   ========================================================================== */

.slideshow {
    position: fixed;
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    /* overflow: auto;
    overflow-x: hidden !important; */
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}
.slideshow-open .slideshow {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.slideshow ul {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(0, 0, 150px);
    transform: translate3d(0, 0, 150px);
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}
.slideshow ul.animatable li {
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}
.slideshow-open .slideshow ul {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slideshow li {
    /* width: 700px; */
    width: 100% !important;
    max-width: 1250px !important;
    height: 750px;
    position: absolute;
    /* top: 42%;
    left: 50%;
    margin: -260px 0 0 -350px; */
    visibility: hidden;

    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding-bottom: 100px;
}
.slideshow li.show {
    visibility: visible;
}
.slideshow li:after {
    content: '';
    position: absolute;
    width: 116%;
    height: 116%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}
.slideshow li.current:after {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
    transition: opacity 0.3s, visibility 0s 0.3s;
}
.slideshow figure {
    /* width: 80%; */
    /* height: 80%; */
    background: #3f3f3f;
    border: 50px solid #3f3f3f;
    overflow: hidden;
    display: block;
    /* margin: 0% 0% 4% 6% !important; */
    margin: 0px 60px 0px 60px !important;
}
.slideshow figcaption {
    padding-bottom: 20px;
}
.slideshow figcaption h3 {
    font-weight: 300;
    font-size: 200%;
}
.slideshow figcaption h3, .slideshow figcaption span {
    color: #ffffff;
}

li.jspScrollable .jspTrack {
    display: none;
}

@media only screen and (max-width: 1366px)   {
    .slideshow li {
        width: 100% !important;
        max-width: 850px !important;
        height: 750px;
        position: absolute;
        visibility: hidden;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 50%;
        padding-bottom: 100px;
    }
    .slideshow li .jspContainer{
        width: 100% !important;
        max-width: 850px !important;
        height: 750px;
    }
    .slideshow li .jspContainer .jspPane{
        width: 100% !important;
        max-width: 850px !important;
        height: 750px;
    }
    .slideshow span.nav-next {
        right: calc(50% - 450px) !important;
    }
    .slideshow span.nav-prev {
        left: calc(50% - 450px) !important;
    }
}

@media only screen and (max-width: 1024px)   {
    .slideshow li {
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
        position: absolute;
        visibility: hidden;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 50%;
        padding-bottom: 100px;
    }
    .slideshow li .jspContainer{
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
    }
    .slideshow li .jspContainer .jspPane{
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
    }
    .slideshow span.nav-next {
        right: calc(50% - 340px) !important;
    }
    .slideshow span.nav-prev {
        left: calc(50% - 340px) !important;
    }
    .slideshow figure {
        width: unset !important;
        overflow: auto;
        margin: 0px 0px 0px 0px !important;
    }
}

@media only screen and (max-width: 767px)   {
    .slideshow li {
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
        position: absolute;
        visibility: hidden;
        top: 50% !important;
        transform: translate(-50%, -50%);
        left: 50%;
        padding-bottom: 100px;
        margin-left: unset !important;
    }
    .slideshow li .jspContainer{
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
    }
    .slideshow li .jspContainer .jspPane{
        width: 100% !important;
        max-width: 650px !important;
        height: 650px !important;
    }
    .slideshow span.nav-next {
        right: calc(50% - 340px) !important;
    }
    .slideshow span.nav-prev {
        left: calc(50% - 340px) !important;
    }
    .slideshow figure {
        width: unset !important;
        overflow: auto;
        margin: 0px 0px 0px 0px !important;
    }
}

/* ==========================================================================
   #Navigation
   ========================================================================== */

.slideshow nav span {
    position: fixed;
    z-index: 1000;
    color: #818181;
    text-align: center;
    padding: 3%;
    cursor: pointer;
    font-size: 2.2em;
}
.slideshow nav span:hover {
    color: #FFF
}
.slideshow nav span.nav-prev, .slideshow nav span.nav-next {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.slideshow nav span.nav-close {
    top: 0;
    right: 0;
    padding: 0.5em 0.7em;
    color: #818181;
    background-color: #3f3f3f;
}
.slideshow nav span.nav-close:hover {
    background-color: #FFF;
    color: #000
}
.icon:before, .icon:after {
    font-family: 'FontAwesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
span.nav-prev {
    /* left: 50%; */
    left: calc(50% - 680px);
    /* margin-left: -537px; */
}
span.nav-prev:before {
    content: "\f053";
}
span.nav-next {
    /* right: 50%; */
    right: calc(50% - 680px);
    /* margin-right: -537px; */
}
span.nav-next:before {
    content: "\f054";
}
span.nav-close:before {
    content: "\f00d";
}
