/* Shortcode:Gallery
-------------------------------------------------------------------- */
.mk-gallery-item {
  display: block;
  float: left;
  padding: 0;
  margin: 0;
}
.mk-gallery .item-holder {
  margin: 0 8px 16px 8px;
  position: relative;
  overflow: hidden;
  line-height: 4px;
}
.mk-gallery-lazyload .mk-gallery-image {
  background-color: #e0e0e0;
}
.mk-gallery .item-holder img {
  width: 100%;
}
.mk-gallery .one-column {
  width: 100%;
}
.mk-gallery .two-column {
  width: 50%;
}
.mk-gallery .three-column {
  width: 33.33%;
}
.mk-gallery .four-column {
  width: 25%; 
}
.mk-gallery .five-column {
  width: 20%;
}
.mk-gallery .six-column {
  width: 16.66%;
}
.mk-gallery .seven-column {
  width: 14.28%;
}
.mk-gallery .eight-column {
  width: 12.5%;
}
.mk-gallery .one-column .item-holder {
  margin: 0 0 16px 0;
}

.mk-gallery .eight-column .item-holder {
  margin: 0 4px 8px 4px;
} 
.mk-gallery .gallery-inner {
  display: block;
}
.mk-gallery .grid-frame .item-holder {
  margin: 0 1px 2px;
}
.mk-gallery .grid-frame .item-holder img {
  width: 100%;
}
.mk-gallery .rounded-frame .gallery-inner {
  border-radius: 4px;
}
.mk-gallery .rounded-frame .gallery-inner img,
.mk-gallery .rounded-frame .image-hover-overlay {
  border-radius: 4px;
}
.mk-gallery .gray_border-frame .gallery-inner {
  border: 6px solid rgba(0, 0, 0, 0.06);
}
.mk-gallery .gallery-title {
  position: absolute;
  top: 58%;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  transition: all 0.4s ease-out;
  opacity: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  font-weight: bold;
}
.mk-gallery .gallery-caption {
  display: none;
}
.mk-gallery .hover-fadebox .mk-image-lightbox.lightbox-push-top {
  top: 35%;
}
.mk-gallery .hover-slow_zoom a {
  top: 0;
  left: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.mk-gallery .hover-slow_zoom img {
  -webkit-transform: scale(1.04);
          -ms-transform: scale(1.04);
      transform: scale(1.04);
  transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mk-gallery .hover-slow_zoom:hover img {
  -webkit-transform: scale(1.11);
          -ms-transform: scale(1.11);
      transform: scale(1.11);
}
.mk-gallery .hover-blur .item-holder .gallery-inner img {
  -webkit-filter: blur(0);
          filter: blur(0);
}
.mk-gallery .hover-blur .item-holder:hover .image-hover-overlay {
  opacity: .85;
}
.mk-gallery .hover-blur .item-holder .mk-image-lightbox {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.mk-gallery .hover-blur .item-holder:hover .mk-image-lightbox {
  opacity: 1;
}
.mk-gallery .hover-blur .item-holder:hover .gallery-title {
  opacity: 1;
  top: 56%; 
}
.mk-gallery .hover-blur .item-holder:hover .gallery-inner img {
  transition: filter 0.2s linear, -webkit-filter 0.2s linear, -moz-filter 0.2s linear;
  -webkit-filter: url(#gallery-blur);
          filter: url(#gallery-blur);
  -webkit-filter: blur(5px);
          filter: blur(5px);
}

.mk-image-lightbox svg {
  height: 48px;
  width: 48px;
  fill:#fff;
  vertical-align: middle;
  overflow: visible;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
}

.mk-gallery .hover-grayscale .mk-image-lightbox {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  position: absolute;
  text-align: center;
  cursor: pointer;
  opacity: 0;
}
.mk-gallery .hover-grayscale .image-hover-overlay {
  opacity: 1;
  background-color: transparent!important;
}
.mk-gallery .hover-grayscale .image-hover-overlay img {
  opacity: 1;
  transition: opacity .2s linear;

  -webkit-filter: grayscale(100%);
  -webkit-filter: grayscale(1);
     -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
       -o-filter: grayscale(100%);
          filter: grayscale(100%);
          -webkit-filter: gray;
                  filter: gray;
}
.mk-gallery .hover-grayscale .item-holder:hover .image-hover-overlay img {
  opacity: 0;
}

.mk-gallery .hover-overlay_layer .gallery-desc {
  display: inline-block;
  position: absolute;
  top: 0;
  width: 100%;
}
.mk-gallery .hover-overlay_layer a {
  top: 0;
  left: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.mk-gallery .hover-overlay_layer .gallery-title {
  position: relative;
  top: 0;
  display: block;
  padding: 8px 20px;
  margin-bottom: 10px;
}
.mk-gallery .hover-overlay_layer .gallery-title:after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 50%;
  margin-left: -6px;
  height: 2px;
  width: 12px;
  background-color: #ffffff;
}
.mk-gallery .hover-overlay_layer .gallery-caption {
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  color: #ffffff;
  opacity: 0;
  transition: all 0.4s ease-out;
}
.mk-gallery .hover-overlay_layer img {
  -webkit-transform: scale(1);
          -ms-transform: scale(1);
      transform: scale(1);
  transition: all 0.3s ease-in-out;
}
.mk-gallery .hover-overlay_layer:hover .image-hover-overlay {
  opacity: .8;
}
.mk-gallery .hover-overlay_layer:hover .gallery-title {
  opacity: 1;
}
.mk-gallery .hover-overlay_layer:hover .gallery-caption {
  opacity: 1;
}
.mk-gallery .hover-overlay_layer:hover img {
  -webkit-transform: scale(1.04);
          -ms-transform: scale(1.04);
      transform: scale(1.04);
}
.mk-gallery .hover-fadebox.hover-title-true .mk-image-lightbox svg {
  top: 35%;
}
.mk-gallery .hover-fadebox .item-holder:hover .image-hover-overlay {
  opacity: 0.85;
}
.mk-gallery .hover-fadebox .item-holder .mk-image-lightbox {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.mk-gallery .hover-fadebox .item-holder:hover .mk-image-lightbox {
  opacity: 1;
}
.mk-gallery .hover-fadebox .item-holder:hover .gallery-title {
  opacity: 1;
  top: 56%;
}
.mk-gallery .hover-fadebox .item-holder:hover .gallery-inner img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  -webkit-filter: grayscale(1);
}
/* Hover state for device screen <= 1024px */
@media handheld, only screen and (max-width: 1024px) {
  .mk-gallery .hover-fadebox.hover-state .image-hover-overlay {
    opacity: 0.85;
  }
  .mk-gallery .hover-fadebox.hover-state img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    -webkit-filter: grayscale(1);
  }
  .mk-gallery .hover-fadebox.hover-state .gallery-title {
    opacity: 1;
    top: 56%;
  }
  .mk-gallery .hover-fadebox.hover-state .mk-image-lightbox {
    opacity: 1;
  }
}
@media handheld, only screen and (max-width: 960px) {
  .mk-gallery .two-column,
  .mk-gallery .three-column,
  .mk-gallery .four-column,
  .mk-gallery .five-column,
  .mk-gallery .six-column,
  .mk-gallery .seven-column,
  .mk-gallery .eight-column {
    width: 49.7%;
  }
  .mk-gallery .two-column img,
  .mk-gallery .three-column img,
  .mk-gallery .four-column img,
  .mk-gallery .five-column img,
  .mk-gallery .six-column img,
  .mk-gallery .seven-column img,
  .mk-gallery .eight-column img {
    width: 100%;
  }
}
@media handheld, only screen and (max-width: 540px) {
  .mk-gallery-item {
    width: 100% !important;
  }
}
.mk-gallery.masnory-gallery .mk-gallery-item {
  width: 25%;
}
.mk-gallery.masnory-gallery .gallery-mansory-large {
  width: 50%;
}
@media handheld, only screen and (max-width: 1140px) {
  .mk-gallery.masnory-gallery .mk-gallery-item {
    width: 24.9%;
  }
  .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 49.9%;
  }
}
@media handheld, only screen and (max-width: 960px) {
  .mk-gallery.masnory-gallery .mk-gallery-item,
  .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 49.9%;
  }
}
@media handheld, only screen and (max-width: 767px) {
  .mk-gallery.masnory-gallery .mk-gallery-item,
  .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 100%;
  }
}
.vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .mk-gallery-item {
  width: 24.96%;
}
.vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .gallery-mansory-large {
  width: 49.96%;
}
@media handheld, only screen and (max-width: 1140px) {
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .mk-gallery-item {
    width: 24.9%;
  }
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 49.9%;
  }
}
@media handheld, only screen and (max-width: 960px) {
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .mk-gallery-item,
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 49.9%;
  }
}
@media handheld, only screen and (max-width: 767px) {
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .mk-gallery-item,
  .vc_row.mk-fullwidth-true .mk-gallery.masnory-gallery .gallery-mansory-large {
    width: 100%;
  }
}
.vc_row.mk-fullwidth-true .mk-gallery .eight-column {
  width: 12.46%;
}
.vc_row.mk-fullwidth-true .mk-gallery .eight-column .item-holder {
  margin: 0 4px 8px 4px;
}
@media handheld, only screen and (max-width: 960px) {
  .vc_row.mk-fullwidth-true .mk-gallery .eight-column {
    width: 49.7%;
  }
  .vc_row.mk-fullwidth-true .mk-gallery .eight-column img {
    width: 100%;
  }
}
@media handheld, only screen and (max-width: 540px) {
  .vc_row.mk-fullwidth-true .mk-gallery .eight-column {
    width: 100% !important;
  }
}