#bsPhotoGalleryModal .modal-content {
    border-radius:0;
}
#bsPhotoGalleryModal .modal-dialog img {
    text-align:center;
    margin:0 auto;
    width:100%;
}
#bsPhotoGalleryModal .modal-body {
    padding:0px !important;
}
#bsPhotoGalleryModal .bsp-close {
  position: absolute;
  right: -14px;
  top: -11px;
  font-size: 30px;
  color:#fff;
  text-shadow: 1px 1px 18px #000;
}

#bsPhotoGalleryModal .bsp-close:hover {
  cursor: pointer;
  opacity:.6;
  text-shadow: none;

}
.bspHasModal {
  cursor: pointer;
}
.bspHasModal .text {
  overflow: hidden;
  text-overflow: ellipsis;
  /*white-space: nowrap;*/
}
.imgWrapper {
  overflow: hidden;
  max-height: 99px;
}

a.bsp-controls,
a.bsp-controls:visited,
a.bsp-controls:active {
  position: absolute;
  top: 44%;
  font-size: 26px;
  color: #fff;
  text-shadow: 1px 1px 18px #000;
}
a.bsp-controls.next {
  right:-10px;
}
a.bsp-controls.previous {
  left:-10px;
}
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: bold;
  color: #000;
  font-size: 14px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 5px;
}
#bsPhotoGalleryModal .pText {
  font-size: 11px;
  margin-bottom: 0px;
  padding: 0 12px 5px;
}


@media screen and (max-width: 380px){
   .col-xxs-12 {
     width:100%;
   }
   .col-xxs-12 img {
     width:100%;
   }
}

/*
 * Added by: Mike Coros;
 * Date: 08-03-17;
 *
 */

.visible-lg-block, .visible-lg-inline, .visible-lg-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block {
    display: none !important;
}

ul.first {
  list-style-type: none;
}

#bsPhotoGalleryModal .pText {
  padding: 7px 10px 0px 0px;
  font-weight: bolder;
}

ul.image-tool-icons li {
  float: right;
  cursor: pointer;
  list-style-type: none;
  margin: 5px 10px 0 0;
}

#imageGallery.modal-dialog{
    position: relative;
    display: table; /* <-- This makes the trick */
    overflow-y: auto;    
    overflow-x: auto;
    width: auto;    
}

.bsp-text-container {
  padding: 5px 0 5px 5px;
  z-index: 9999;
}

#bsPhotoGalleryModal .modal-dialog img {    
    display: block;
    width: 100%;
    height: auto;
}

#imageGallery > .modal-content {
    width: 100%;    
    height: 100%;
}

/*#imageGallery > .modal-content > .modal-body {
    width: 100%;    
    height: 100%;
}*/

#bsPhotoGalleryModal .modal-content {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background-color: rgba(0,0,0,0);
}

.image-tool-icons > li > i {
    color: #d8d8d8;
}

.bsp-text-container {
 /*position: relative;
  top: -30px;
  background-color: rgba(0, 0, 0, 0.5);*/
}

#bsPhotoGalleryModal .pText {
  color: #d8d8d8;
  font-size: 13px;
  display: inline-block;
}

span#editLabel > i {
  color: #d8d8d8;
  cursor: pointer;
  display: inline-block;

}

p.pText.lblInput {
  width: 100%;
}

p.pText.lblInput {
  text-transform: capitalize;
}

p.pText.lblInput > input {
  width: 100%;
  display: inline-block;
}

#cancelEditlbl, #saveEditlbl {
  cursor: pointer;
}


/*.modal-backdrop.in {
  opacity: .9;
}*/

/*
Vestibulum volutpat venenatis nibh nec rhoncus. Aenean pretium vulpu. 70 characters allowed   
*/