#grid-container {
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.grid-item {
  opacity: 0;
  float: left;
  box-sizing: border-box;
}

.grid-item img {
  width: 100%;
  height: 100%;
}

.grid-item.loaded {
  opacity: 1;
  transition: opacity .5s;
}
.photoGrid { padding: 0px; }.photoGrid .item {float: left;margin: 1px;  }.photoGrid .item img {
    width: 100%;max-width: 100%;max-height: 100%; }.lg-outer .lg-inner {direction: ltr; } 
.photoGrid a.item {
  position: relative;
}
.photoGrid a.item:after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    height: 30px;
    width: 30px;
    background-image: url(../images/add.png);
    background-size: 30px;
    background-position: center;
    transform: translate(-50%,-50%);
    z-index: 9;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.photoGrid a.item:before {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
    content: "";
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.photoGrid a.item:hover:after,.photoGrid a.item:hover:before{
  opacity: 1;

}