﻿.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 {
    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;
}

#swipebox-action #swipebox-next {
    background-position: -78px 13px;
    right: 40px;
}

    #swipebox-action #swipebox-prev.disabled,
    #swipebox-action #swipebox-next.disabled {
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
        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-color: rgba(0, 59, 100, 0.81);
}

#swipebox-action, #swipebox-caption {
    background-color: rgba(0, 59, 100, 0.81);
    opacity: 0.95;
	background-image: linear-gradientrgba(0, 59, 100, 0.81), rgba(27, 188, 155, 0.88));
}

#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;
}

@media(max-width:1024px) {
    .cd-gallery {
        padding: 40px 0 0 0;
    }

        .cd-gallery ul {
            padding: 0;
        }
}

@media(max-width:768px) {
    main.cd-main-content {
        margin-top: 3em;
    }

    .cd-main-content {
        min-height: 59vh;
    }
}

@media(max-width:640px) {
    .cd-gallery ul {
        text-align: center;
    }

    li.mix.color-1 {
        margin-right: 15px;
    }

        li.mix.color-1.option4 {
            margin-right: 0;
            margin-left: 25px;
        }

        li.mix.color-1.option2 {
            margin-right: 30px;
            margin-left: 15px;
        }

        li.mix.color-1.option3 {
            margin-right: 30px;
        }
}

@media(max-width:480px) {
    .cd-main-content.is-fixed .cd-gallery {
        padding-bottom: 0;
    }

    .cd-gallery {
        padding: 26px 2%;
        width: 100%;
    }

        .cd-gallery ul {
            margin: 0;
        }

        .cd-gallery li {
            width: 45%;
        }

    li.mix.color-1.option3 {
        margin-right: 27px;
        margin-left: 0;
    }

    li.mix.color-1 {
        margin-right: 13px;
        margin-left: 0px;
    }

    li.mix.color-2.option1 {
        margin-right: 0em;
    }

    li.mix.color-1.option2 {
        margin-right: 21px;
        margin-left: 17px;
    }

    li.mix.color-1.option4 {
        margin-right: 0;
        margin-left: 19px;
    }
}

@media(max-width:320px) {
    .cd-gallery ul li {
        width: 47%;
        margin: 0 2% 2% 0;
    }

    li.mix.color-1.option3 {
        margin-right: 12px;
    }

    li.mix.color-1 {
        margin: 0 0 2em 0;
    }

        li.mix.color-1.option4 {
            margin-left: 6px;
        }

        li.mix.color-1.option2 {
            margin-right: 11px;
            margin-left: 0px;
        }

    .cd-gallery ul li {
        margin: 0 2% 2% 0 !important;
    }

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