.swipebox-overflow-hidden {
    overflow: hidden !important;
}

#swipebox-overlay img {
    border: none !important;
}

#swipebox-overlay {
    width: 100% !important;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 9999;
    overflow: hidden;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#swipebox-slider {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    position: absolute;
}

    #swipebox-slider .slide {
        /*background: url(../images/loader.gif) no-repeat center center;*/
        height: 100%;
        line-height: 1px;
        text-align: center;
        width: 100%;
        display: inline-block;
    }

        #swipebox-slider .slide:before {
            content: "";
            display: inline-block;
            height: 50%;
            width: 1px;
            margin-right: -1px;
        }

        #swipebox-slider .slide img {
            display: inline-block;
            max-height: 100%;
            max-width: 100%;
            width: auto;
            height: auto;
            vertical-align: middle;
        }

#swipebox-action, #swipebox-caption {
    position: absolute;
    left: 0;
    z-index: 999;
    height: 50px;
    width: 100%;
}

#swipebox-action {
    bottom: -50px;
}

    #swipebox-action.visible-bars {
        bottom: 0;
    }

    #swipebox-action.force-visible-bars {
        bottom: 0 !important;
    }

#swipebox-caption {
    top: -50px;
    text-align: center;
}

    #swipebox-caption.visible-bars {
        top: 0;
    }

    #swipebox-caption.force-visible-bars {
        top: 0 !important;
    }

#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next,
#swipebox-action #swipebox-close {
    display: block;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
}


#swipebox-action #swipebox-close {
    background-position: 15px 12px;
    left: 40px;
}

#swipebox-action #swipebox-prev {
    background-position: -32px 13px;
    right: 100px;
    display: block;
}

#swipebox-action #swipebox-next {
    background-position: -78px 13px;
    right: 40px;
    display: block;
}

    #swipebox-action #swipebox-prev.disabled,
    #swipebox-action #swipebox-next.disabled {
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
        cursor: not-allowed;
        opacity: 0.3;
    }

#swipebox-slider.rightSpring {
    -moz-animation: rightSpring 0.3s;
    -webkit-animation: rightSpring 0.3s;
}

#swipebox-slider.leftSpring {
    -moz-animation: leftSpring 0.3s;
    -webkit-animation: leftSpring 0.3s;
}

@-moz-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-moz-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-webkit-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-webkit-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

/* Skin 
--------------------------*/
#swipebox-overlay {
    background: #0d0d0d;
}

#swipebox-action, #swipebox-caption {
    text-shadow: 1px 1px 1px black;
    background-color: #0d0d0d;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0d0d0d), color-stop(100%, #000000));
    background-image: -webkit-linear-gradient(#0d0d0d, #000000);
    background-image: -moz-linear-gradient(#0d0d0d, #000000);
    background-image: -o-linear-gradient(#0d0d0d, #000000);
    background-image: linear-gradient(#0d0d0d, #000000);
    -webkit-box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
    -moz-box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
    box-shadow: 0 1px 1px 1px #212121, inset 0 1px 1px 1px black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
    opacity: 0.95;
}

#swipebox-action {
    -webkit-box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
    -moz-box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
    box-shadow: 0 -1px -1px 1px #212121, inset 0 -1px -1px 1px black;
}

#swipebox-caption {
    color: white !important;
    font-size: 15px;
    line-height: 43px;
    font-family: Helvetica, Arial, sans-serif;
}
/* Gallery Style*/
.gallery-top {
    padding: 0;
}

.gallery-grids figure {
    position: relative;
    float: left;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

    .gallery-grids figure.effect-bubba:hover {
        background-color: #000;
    }

    .gallery-grids figure img {
        position: relative;
        display: block;
        width: 100%;
        border: 3px solid #C7C7C7;
    }

.gallery-bottom {
    margin: 2.5em 0;
}

.gallery-grids figure figcaption {
    padding: 2em;
    color: #fff;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .gallery-grids figure figcaption::before, .gallery-grids figure figcaption::after {
        pointer-events: none;
    }

.gallery-grids figure figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.effect-bubba:hover img {
    opacity: 0.3;
}

figure.effect-bubba figcaption::before, figure.effect-bubba figcaption::after {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s,-webkit-transform 0.35s;
    -moz-transition: opacity 0.35s, -moz-transform 0.35s;
    -o-transition: opacity 0.35s, -o-transform 0.35s;
    -ms-transition: opacity 0.35s, -ms-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    -moz-transform: scale(0,1);
    -o-transform: scale(0,1);
    -ms-transform: scale(0,1);
    transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    -moz-transform: scale(1,0);
    -o-transform: scale(1,0);
    -ms-transform: scale(1,0);
    transform: scale(1,0);
}

figure.effect-bubba h4 {
    padding-top: 11%;
    margin-top: 0;
    margin-bottom: 15px;
    -webkit-transition: transform 0.35s;
    -moz-transition: transform 0.35s;
    -o-transition: -o-transform 0.35s;
    -ms-transition: -ms-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,-20px,0);
    -moz-transform: translate3d(0,-20px,0);
    -o-transform: translate3d(0,-20px,0);
    -ms-transform: translate3d(0,-20px,0);
    transform: translate3d(0,-20px,0);
    opacity: 0;
}

.gallery-top figure.effect-bubba h4 {
    padding-top: 10%;
    margin-top: 0;
    margin-bottom: 15px;
}

figure.effect-bubba:hover figcaption::before, figure.effect-bubba:hover figcaption::after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

figure.effect-bubba:hover h4 {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-bubba p {
    margin: 0;
    -webkit-transition: transform 0.35s;
    -moz-transition: transform 0.35s;
    -o-transition: -o-transform 0.35s;
    -ms-transition: -ms-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,-20px,0);
    -moz-transform: translate3d(0,-20px,0);
    -o-transform: translate3d(0,-20px,0);
    -ms-transform: translate3d(0,-20px,0);
    transform: translate3d(0,-20px,0);
    opacity: 0;
}

.gallery-top figure.effect-bubba p {
}

figure.effect-bubba:hover p {
    margin: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

@media screen and (max-width: 1024px) {

    .grid figcaption h3 {
        font-size: 22px;
    }


    .gallery-top figure.effect-bubba h4 {
        padding-top: 20%;
    }
}

@media screen and (max-width: 966px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 20%;
    }
}



@media screen and (max-width: 853px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 9%;
    }
}

@media screen and (max-width: 800px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 7%;
    }
}

@media screen and (max-width: 768px) {

    .gallery-top {
        width: 50%;
        float: left;
    }

        .gallery-top figure.effect-bubba h4 {
            padding-top: 16%;
        }
}


@media screen and (max-width: 667px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 10%;
    }
}

@media screen and (max-width: 640px) {
    .gallery-top figure.effect-bubba h4 {
        padding-top: 1%;
    }
}



@media screen and (max-width: 568px) {
    .gallery-top figure.effect-bubba h4 {
        padding-top: 8%;
    }
}

@media screen and (max-width: 533px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 6%;
    }
}

@media screen and (max-width: 480px) {

    figure.effect-bubba figcaption::before, figure.effect-bubba figcaption::after {
        top: 20px;
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .gallery-top figure.effect-bubba h4 {
        padding-top: 2%;
    }
}

@media screen and (max-width: 414px) {

    .gallery-top {
        width: 100%;
    }

    figure.effect-bubba figcaption::before, figure.effect-bubba figcaption::after {
        top: 50px;
        right: 50px;
        bottom: 50px;
        left: 50px;
    }

    .gallery-top figure.effect-bubba h4 {
        padding-top: 10%;
    }
}


@media screen and (max-width: 375px) {
    .gallery-top figure.effect-bubba h4 {
        padding-top: 10%;
    }
}

@media screen and (max-width: 360px) {

    .gallery-top figure.effect-bubba h4 {
        padding-top: 8%;
    }
}

@media screen and (max-width: 320px) {

    figure.effect-bubba figcaption::before, figure.effect-bubba figcaption::after {
        top: 25px;
        right: 25px;
        bottom: 25px;
        left: 25px;
    }
}
