.lightbox-open {
  overflow: hidden;
}

body.lightbox-open,
.lightbox-open .navbar-fixed-top,
.lightbox-open .navbar-fixed-bottom {
  margin-right: 15px;
}

.lightbox {
	overflow: auto;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	display: none;
}

.lightbox .fade .lightbox-dialog {
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
          transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
     -moz-transition: -moz-transform 0.3s ease-out;
       -o-transition: -o-transform 0.3s ease-out;
          transition: transform 0.3s ease-out;
}

.lightbox .in .lightbox-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.lightbox-dialog {
  z-index: 1050;
  width: auto;
  /*padding: 10px;*/

  margin-right: auto;
  margin-left: auto;
}

.lightbox-modal{
  padding-left: 0px;
  padding-right: 0px;
}

.lightbox-content {
 /** position: relative;
  display: inline-block;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;*/
}

.lightbox-header {
  min-height: 16.428571429px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.lightbox-header .close {
  margin-top: -2px;
}

.lightbox-title {
  margin: 0;
  line-height: 1.428571429;
}

.lightbox-body {
  position: relative;
  padding: 20px;
}

.lightbox-footer {
  padding: 19px 20px 20px;
  margin-top: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.lightbox-footer:before,
.lightbox-footer:after {
  display: table;
  content: " ";
}

.lightbox-footer:after {
  clear: both;
}

.lightbox-footer:before,
.lightbox-footer:after {
  display: table;
  content: " ";
}

.lightbox-footer:after {
  clear: both;
}

.lightbox-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.lightbox-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.play-icon:after {
    position:absolute;
    top:0;
    left:0;
    content:'';
    width: 100%;
    height: 100%;
    background: url("https://cdn1.iconfinder.com/data/icons/logotypes/32/youtube-128.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
}

.lightbox-footer .btn-block + .btn-block {
  margin-left: 0;
}

.lightbox-image{
	position: relative;
}

.lightbox-caption{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: auto;
	background-color: rgba(0,0,0,0.5);
}

.lightbox-caption p{
	color: white;
	margin: 10px;
}

.lightbox-thumbs img{
	margin-bottom: 0;
}

.lightbox-image-wrapper{
	margin: 10px 5px 5px 10px;
}

.lightbox-image-wrapper:first-child{
	margin-left: 0;
}

.lightbox-video embed,
.lightbox-video iframe,
.lightbox-video object,
.lightbox-video video{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-right: 7.5px;
  position: absolute;
}

.cp-lightbox-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
}

.cp-lightbox-nav-overlay a {
  z-index: 100;
  display: block;
  width: 49%;
  height: 100%;
  font-size: 30px;
  color: #fff;
  text-shadow: 2px 2px 4px #000;
  opacity: 0;
  filter: dropshadow(color=#000000, offx=2, offy=2);
  -webkit-transition: opacity 0.5s;
     -moz-transition: opacity 0.5s;
       -o-transition: opacity 0.5s;
          transition: opacity 0.5s;
}

.cp-lightbox-nav-overlay a:empty {
  width: 49%;
}

.modal-body{
	padding: 0;
	padding-top: 20px;
	padding-bottom: 20px;
}


.cp-lightbox a:hover {
  text-decoration: none;
  opacity: 1;
}

.cp-lightbox .lightbox-nav-left {
    position: absolute;
  left: -5px;
    top: 50%;
  float: left;
  padding-left: 15px;
  text-align: left;
}

.cp-lightbox .lightbox-nav-right {
    position: absolute;
  right: -5px;
    top: 50%;
  float: right;
  padding-right: 15px;
  text-align: right;
}

.cp-lightbox .modal-footer {
  text-align: left;
}

.cp-embed-responsive{
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
	max-width: 100%;
	overflow: hidden;
}

.cp-embed-responsive iframe, .cp-embed-responsive object, .cp-embed-responsive embed{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.cp-embed-lightbox img{
	width: 100%;
	height: 100%;
}

.modal-backdrop{
    z-index: 19999 !important;
}
