/* Preload images */
.image-enlarge,
.image-enlarge-link:hover {
  display: block;
  /* This is the most cross-browser we're going to get... */

  cursor: zoom-in;
  /* MODERN */

  cursor: zoom-in, pointer;
  /* IE - Supports the pointer fallback. Chrome rejects this rule as invalid.. */

}
.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: white;
  display: none;
  opacity: 0.90;
}
.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  background-color: white;
}
.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.lightbox a img {
  border: none;
}
.lb-image,
.lb-dataContainer {
  position: relative;
  z-index: 10;
}
.lb-thumbContainer {
  height: inherit;
  max-width: 300px;
}
.lb-thumbColumn {
  float: left;
  width: 60px;
}
.lb-thumb {
  max-width: 50px;
  max-height: 50px;
  margin: 0 10px 10px 0;
  cursor: pointer;
  opacity: 0.5;
}
.lb-thumbContainer .active,
.lb-thumb:hover {
  border: 2px solid black;
  opacity: 1;
}
.lb-outerContainer,
.lb-dataContainer {
  background-color: white;
  min-height: 200px;
  min-width: 200px;
}
.lb-image {
  margin: 0 auto;
}
.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  max-width: 80%;
}
.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}
.lb-closeContainer {
  margin-bottom: 5px;
  height: 30px;
}
.lb-headline {
  font-size: 18px;
  font-weight: bold;
  line-height: 18px;
  margin: 10px auto;
  text-align: left;
}
.lb-container {
  padding: 4px;
}
.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}
.lb-nav {
  position: absolute;
  top: 40px;
  left: 0;
  height: 100%;
  width: 100%;
}
.lb-container > .nav {
  left: 0;
}
.lb-nav a {
  outline: none;
}
.lb-prev,
.lb-next {
  height: 45px;
  width: 55px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /*-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')";*/

}
.lb-prev,
.lb-next {
  cursor: pointer;
}
.lb-next {
  background: url(addons/img/next.png) center no-repeat;
  right: -60px;
}
.lb-prev {
  background: url(addons/img/prev.png) center no-repeat;
  left: -60px;
}
.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}
.lb-data {
  padding: 0 4px;
  color: #000;
}
.lb-data .lb-details {
  text-align: justify;
  line-height: 1.1em;
}
.lb-data .lb-caption {
  font-size: 13px;
  line-height: 18px;
}
.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
}
.lb-close {
  display: block;
  float: right;
  /*background: url(addons/css/addons/img/close.png) top right no-repeat;*/

  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
  font-size: 50px;
  line-height: 40px;
  color: #333;
}
.lb-close:link {
  color: #333;
}
.lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

@media (max-width: 768px) {
  #lightbox {
  overflow: hidden;
}
.lb-image {
  width: 100% !important;
  height: auto !important;
}
.lb-dataContainer {
  max-width: 80%;
}
.lb-thumbContainer {
  display: none;
}

}

.textimage {
  margin-bottom: 20px;
}
.textimage .text {
  overflow: visible;
  zoom: 1;
}
div.textimage div.image {
  float: left;
  margin: 0 10px 10px 0;
}
div.textimage div.image img {
  max-width: 100%;
}
.textimage.textimage-right .image {
  float: right;
  margin: 0 0 10px 10px;
}
.textimage.textimage-left .text ul {
  list-style-position: inside;
}
.textimage.textimage-top .image {
  float: none;
}
.well div.textimage {
  margin-bottom: 0;
}
.well div.textimage div.image {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .textimage .text {
  overflow: visible;
  zoom: 1;
  float: left;
}
div.textimage div.image,
.textimage.textimage-right .image {
  float: none;
  margin: 10px auto;
}
div.textimage div.image img,
.textimage.textimage-right .image img {
  margin: auto;
}

}

