/* Preload images */
body:after {
  content: url(../img/loady.svg) url(../img/loady.svg) url(../img/loady.svg) url(../img/loady.svg);
  display: none;
}

  .gallery-grid {
      margin: 0 40px 40px 0;
      position: relative;
      display: inline-block;
      float: left;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      opacity: .5;
      -webkit-transition: all .5s ease-in-out;
      -moz-transition: all .5s ease-in-out;
      transition: all .5s ease-in-out;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
}

.gallery-grid:hover {
	opacity: 1;
	cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.9;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 0;
  border: 0;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: transparent;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  background: url(../img/loady.svg) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 30%;
  left: 0;
  float: left;
  background: url(../img/leftarrow.svg) left 48% no-repeat;
  opacity: 1;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
  margin-left: 20px;
  background-size: 10px;
}

.lb-nav a.lb-prev:hover {
  opacity: .5;
}

.lb-nav a.lb-next {
  width: 60%;
  right: 0;
  float: right;
  background: url(../img/rightarrow.svg) right 48% no-repeat;
  opacity: 1;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
  margin-right: 20px;
  background-size: 10px;
}

.lb-nav a.lb-next:hover {
  opacity: .5;
}

.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: #ccc;
}

.lb-data .lb-details {
    width: 100%;
    float: left;
    text-align: center;
    line-height: 1.1em;
     white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lb-data .lb-caption {
  font-size: 12px;
  font-weight: 300;
  line-height: 1em;
  font-family: "Opens Sans", sans-serif;
  color: #ffffff;
  letter-spacing: 1.5px;
}

.lb-data .lb-caption a {
  color: #ffffff;
  font-weight: 600;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-close {
  display: block;
  float: right;
  width: 14px;
  height: 14px;
  background: url(../img/crossout.svg) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 1;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  margin: -32px 20px 0 0;
}

.lb-close:hover {
  cursor: pointer;
  opacity: .5;
}
