/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
    overflow: hidden !important
}

#swipebox-overlay img {
    border: none !important
}

#swipebox-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999 !important;
    overflow: hidden;
    user-select: none
}

#swipebox-container {
    position: relative;
    width: 1280px;
    height: 100%;
    max-width: 100%;
    background: #fff;
    overflow: hidden;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#swipebox-slider {
    transition: transform .4s ease;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    position: absolute;
    display: none;
    cursor: pointer;
}

#swipebox-slider .slide {
    height: 100%;
    width: 100%;
    line-height: 1px;
    text-align: center;
    display: inline-block;
    padding: 50px 100px;
}

#swipebox-slider .slide:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px
}

#swipebox-slider .slide .swipebox-inline-container,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    vertical-align: middle
}

#swipebox-slider .slide .swipebox-video-container {
    background: 0 0;
    max-width: 1140px;
    max-height: 100%;
    width: 100%;
    padding: 5%;
    box-sizing: border-box
}

#swipebox-slider .slide .swipebox-video-container .swipebox-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative
}

#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0
}

#swipebox-slider .slide-loading {
    background: url(/img/gj/loader.gif) center center no-repeat
}

#swipebox-bottom-bar,
#swipebox-top-bar {
    transition: .5s;
    position: absolute;
    left: 0;
    z-index: 999;
    height: 50px;
    width: 100%
}

#swipebox-bottom-bar {
    height: 78px;
    bottom: 50%;
    margin-bottom: -25px;
}

/*#swipebox-bottom-bar.visible-bars{-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}#swipebox-top-bar{top:-50px}#swipebox-top-bar.visible-bars{-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}*/
#swipebox-title {
    display: block;
    width: 100%;
    text-align: center
}

#swipebox-close {
    background-image: url(/img/gj/pop_close.png) !important;
    background-repeat: no-repeat;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    width: 75px;
    height: 75px;
    top: 0
}

#swipebox-arrows {
    display: block;
    margin: 0 auto;
    width: 90%;
    height: 78px;
}

#swipebox-prev {
    float: left;
    display: inline-block;
    border: solid black;
    border-width: 0 1px 1px 0;
    padding: 27px;
    transform: rotate(135deg);
    cursor: pointer;
    background: none !important;
}

#swipebox-next {
    float: right;
    display: inline-block;
    border: solid black;
    border-width: 0 1px 1px 0;
    padding: 27px;
    transform: rotate(-45deg);
    cursor: pointer;
    background: none !important;
}

#swipebox-close {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 9999;
    background-position: center;
    background-color: #E32424;
}

.swipebox-no-close-button #swipebox-close {
    display: none
}


.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
    animation: rightSpring .3s
}

.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
    animation: leftSpring .3s
}

.swipebox-touch #swipebox-container:after,
.swipebox-touch #swipebox-container:before {
    backface-visibility: hidden;
    transition: all .3s ease;
    content: ' ';
    position: absolute;
    z-index: 999;
    top: 0;
    height: 100%;
    width: 20px;
    opacity: 0
}

.swipebox-touch #swipebox-container:before {
    left: 0;
    box-shadow: inset 10px 0 10px -8px #656565
}

.swipebox-touch #swipebox-container:after {
    right: 0;
    box-shadow: inset -10px 0 10px -8px #656565
}

.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before,
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
    opacity: 1
}

@keyframes rightSpring {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }
}

@keyframes leftSpring {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }
}


#swipebox-overlay {
    background: rgba(0,0,0,0.6);
}
/*
#swipebox-bottom-bar,
#swipebox-top-bar {
    text-shadow: 1px 1px 1px #000;
    background: #000;
    opacity: .95
}
*/
#swipebox-top-bar {
    color: #0f0f0f;
    font-size: 16px;
    line-height: 50px;
}
