.stretch-gallery-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%; }

/*.stretch-gallery-container:hover .sg-col .sg-slide .stretch-gallery-content*/
/*{background-color:rgba(0,0,0,0)}*/
/*.stretch-gallery-container:hover .sg-col .sg-slide:hover .stretch-gallery-content*/
/*{background-color:rgba(0,0,0,0)}*/
/*.stretch-gallery-container:hover.reverse-hover .sg-col .sg-slide .stretch-gallery-content*/
/*{background-color:rgba(0,0,0,.0)}*/
/*.stretch-gallery-container:hover.reverse-hover .sg-col .sg-slide:hover .stretch-gallery-content*/
/*{background-color:rgba(0,0,0,.2)}*/
.stretch-gallery-container .sg-col {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); }

.stretch-gallery-container .sg-col.resize:hover {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2; }

.stretch-gallery-container .sg-col.resize:hover .sg-slide,
.stretch-gallery-container .sg-col:nth-child(1) .offset,
.stretch-gallery-container .sg-col:nth-child(2) .offset,
.stretch-gallery-container .sg-col:nth-child(3) .offset:nth-child(3) {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1; }

.stretch-gallery-container .sg-col:nth-child(2) .offset:nth-child(odd) {
  -webkit-box-flex: 1.2;
  -webkit-flex: 1.2;
  -ms-flex: 1.2;
  flex: 1.2; }

.stretch-gallery-container .sg-col:nth-child(3) .offset {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2; }

.stretch-gallery-container .sg-col .sg-slide {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /*margin-right: 2px;*/
  min-height: 80px;
  background: center center no-repeat #afafaf;
  background-size: cover;
  cursor: pointer;
  -webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); }

.stretch-gallery-container .sg-col .sg-slide.resize-item:hover {
  -webkit-box-flex: 2 !important;
  -webkit-flex: 2 !important;
  -ms-flex: 2 !important;
  flex: 2 !important; }

.stretch-gallery-container .sg-col .sg-slide:hover .stretch-gallery-content .content-item {
  /*bottom:70%;*/ }

.stretch-gallery-container .sg-col .sg-slide:hover .stretch-gallery-content .content-item p {
  opacity: 1;
  -webkit-transition: opacity 1s ease-in-out; }

.stretch-gallery-container .sg-col .sg-slide .stretch-gallery-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: transparent;
  -webkit-transition: all .2s linear;
  transition: all 0.2s linear; }

.stretch-gallery-container .sg-col .sg-slide .stretch-gallery-content .content-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  letter-spacing: 2px;
  -webkit-transition: bottom 0.2s cubic-bezier(0.77, 0, 0.175, 1);
  transition: bottom 0.2s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

.stretch-gallery-container .sg-col .sg-slide .stretch-gallery-content .content-item p {
  margin: 0;
  outline: 0;
  padding: 0;
  /*font-family: "open sans";*/
  font-size: 18px;
  color: #000;
  text-align: center;
  /*opacity:0;*/
  /*-webkit-transition:all 0.5s linear;*/
  /*transition:all 0.5s linear*/ }

.stretch-gallery-container .stretch-gallery-content h3 {
  /*font-family: "open sans";*/
  margin: 0;
  outline: 0;
  padding: 0;
  /*color:#000;*/
  /*font-size:20px;*/
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.stretch-gallery-container .sg-slide:hover .stretch-gallery-content .content-item {
  bottom: 0 !important; }

.content-item {
  overflow: hidden; }

.on-hover {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: all 0.5s linear;
  transform: translateY(1500px); }

.stretch-gallery-container .sg-slide:hover .stretch-gallery-content .content-item .on-hover {
  transition: all 0.5s linear;
  transform: translateY(0); }

.sg-text-block {
  padding: 10px;
  width: 100%;
  min-height: 120px;
  background-color: rgba(255, 255, 255, 0.5);
  bottom: 0px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); }

.stretch-gallery-container .sg-slide:hover .stretch-gallery-content .content-item .sg-text-block {
  /*opacity: 1;*/
  /*bottom: 0px;*/
}

.reveal-on-hover {
  position: absolute;
  left: 0;
  bottom: -140px;
  opacity: 0; }

.stretch-gallery-container .sg-slide:hover .stretch-gallery-content .content-item .reveal-on-hover {
  bottom: 0px;
  opacity: 1; }

/*# sourceMappingURL=gallery.css.map */

.sg-bg{
  width: 100vw;
  height: 100vh;
  position: fixed;
  left:0;
  top:0;
  z-index: 111111;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  display: none;
  transition: 500ms;
}



.light-box-image{
  background-size: contain;
  background-repeat: no-repeat;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: none;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.show {
  display: block;

}