.bspImgWrapper{
cursor:hand;
cursor:pointer;
}

.gallery-data{
position:absolute;
padding:4px 7px;
margin:14px 0px 0px -30px;
width:70%;
background-color:#ffffff;
border:2px solid #e3e3e3;
}

.gallery-title{
border:2px solid #e3e3e3;
}

.bspImgWrapper{
border:2px solid #e3e3e3;
}

.gallery-link{
border-left:2px solid #e3e3e3;
border-right:2px solid #e3e3e3;
border-bottom:2px solid #e3e3e3;
}

.gallery-link a{
font-size:1.3em;
font-weight:bold;
}

ul[data-bsp-ul-index] {
    padding: 0;
    margin: 0 0 40px 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
}

.bspText.bspShortText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.bspText {
    color: #666;
    font-size: 11px;
    margin-bottom: 10px;
    padding: 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 {
    overflow: hidden;
    height: 180px;
    background-position-x: center!important;
    background-position-y: center!important;
    background-size: cover!important
}

@media (min-width:992px) {
    #bsPhotoGalleryModal .modal-lg {
        max-width: 1000px
    }
}

@media screen and (max-width:575px) {
    .bspImgWrapper {
        height: 150px
    }
}