ul[data-bsp-ul-index] {
    padding: 0;
    margin: 0 0 0px 0
}

    ul[data-bsp-ul-index] li {
        list-style: none;
        margin-bottom: 10px
    }

#bsPhotoGalleryModal .modal-content {
    border-radius: 0
}

#bsPhotoGalleryModal .modal-dialog img {
    text-align: center;
    margin: 0 auto;
    width: 100%
}

#bsPhotoGalleryModal .modal-body {
    padding: 0 !important;
    text-align: center
}

#bsPhotoGalleryModal .bsp-text-container {
    text-align: left;
    padding-top: 10px
}

#bsPhotoGalleryModal .bsp-close {
    position: absolute;
    right: -8px;
    top: -7px;
    background: rgba(255, 255, 255, .89);
    padding: 0 8px 5px;
    border: 1px solid rgba(0, 0, 0, .49);
    border-radius: 50%
}

    #bsPhotoGalleryModal .bsp-close:hover {
        cursor: pointer;
        opacity: .6
    }

    #bsPhotoGalleryModal .bsp-close img {
        width: 13px;
        height: 13px
    }

.bspHasModal {
    cursor: pointer;
    padding: 0px 10px 0px 10px;
}

.bspText.bspShortText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.bspText {
    color: #666;
    font-size: 11px;
    margin-bottom: 5px;
    padding: 0px 12px 0px 12px;
    background: #fff
}

#bsPhotoGalleryModal a.bsp-controls img {
    width: 20px;
    height: 35px
}

a.bsp-controls,
a.bsp-controls:active,
a.bsp-controls:visited {
    position: absolute;
    top: 46%;
    background: rgba(255, 255, 255, .49)
}

    a.bsp-controls.next {
        right: 0;
        border-top: 1px solid rgba(0, 0, 0, .49);
        border-left: 1px solid rgba(0, 0, 0, .49);
        border-bottom: 1px solid rgba(0, 0, 0, .49);
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
        padding-left: 4px;
        border-right: none
    }

    a.bsp-controls.previous {
        left: 0;
        border-top: 1px solid rgba(0, 0, 0, .49);
        border-right: 1px solid rgba(0, 0, 0, .49);
        border-bottom: 1px solid rgba(0, 0, 0, .49);
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
        padding-right: 4px;
        border-left: none
    }

    a.bsp-controls:hover {
        opacity: .6;
        text-shadow: none
    }

.bsp-text-container {
    clear: both;
    display: block;
    padding-bottom: 5px
}

#bsPhotoGalleryModal h6 {
    margin-bottom: 0;
    font-weight: 700;
    color: #000;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 5px
}

#bsPhotoGalleryModal .pText {
    font-size: 11px;
    margin-bottom: 0;
    padding: 0 12px 5px
}

.bspImgWrapper {
    background-position: center;
    overflow: hidden;
    height: 150px;
    width: 90%;
    background-size: cover !important;
    margin-top: -5px;
}

@media (min-width:992px) {
    #bsPhotoGalleryModal .modal-lg {
        max-width: 1000px
    }
}

img.zoom {
    width: 350px;
    height: 200px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

.transition {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    z-index: 9999;
}

.opacity_img {
    opacity: 0.5;
}

@media screen and (max-width:575px) {
    .bspImgWrapper {
        /*height: 150px*/
        width: 80%;
    }

    .bspHasModal {
        /*padding: 0px 5px 0px 5px;*/
        padding: unset;
    }
    .opacity_img {
        opacity: unset;
    }
}
