/*=============================================*/
/* Image Gallery */
/*=============================================*/
.flexslider .slides img {
  height: auto;
}

.webgatha-image-gallery-container.column-2 .image-gallery-isotope-item {
  width: 50%;
  float: left;
}

.webgatha-image-gallery-container.column-3 .image-gallery-isotope-item {
  width: 33.3333%;
  float: left;
}

.webgatha-image-gallery-container.column-4 .image-gallery-isotope-item {
  width: 25%;
  float: left;
}

.webgatha-image-gallery-container.column-6 .image-gallery-isotope-item {
  width: 16.6666%;
  float: left;
}

/* Image Gallery Space */
.image-gallery-space-0 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-0 .image-gallery-grid-item {
  padding: 0px;
}

.image-gallery-space-5 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-5 .image-gallery-grid-item {
  padding: 2.5px;
}

.image-gallery-space-10 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-10 .image-gallery-grid-item {
  padding: 5px;
}

.image-gallery-space-15 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-15 .image-gallery-grid-item {
  padding: 7.5px;
}

.image-gallery-space-20 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-20 .image-gallery-grid-item {
  padding: 10px;
}

.image-gallery-space-25 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-25 .image-gallery-grid-item {
  padding: 12.5px;
}

.image-gallery-space-30 .image-gallery-isotope-item .image-gallery-info,
.image-gallery-space-30 .image-gallery-grid-item {
  padding: 15px;
}

.image-gallery-item:hover .webgatha-image-gallery-hover {
  opacity: 1;
  visibility: visible;
}

.image-gallery-item .webgatha-image-gallery-hover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out;
}

.webgatha-image-gallery-container .image-gallery-info .image-gallery-item {
  position: relative;
  overflow: hidden;
}

.image-gallery-item .webgatha-image-gallery-hover.icon-disable {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.image-gallery-item .webgatha-image-gallery-hover .gallery-icon {
  background: 0 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.webgatha-image-gallery-style-1 .webgatha-image-gallery-hover,
.webgatha-image-gallery-style-2 .webgatha-image-gallery-hover,
.webgatha-image-gallery-style-3 .webgatha-image-gallery-hover {
  background: rgba(0, 0, 0, 0.3);
}

.image-gallery-item .webgatha-image-gallery-hover .gallery-icon .icon {
  width: 45px;
  height: 45px;
  padding: 0;
  margin: 0;
  background-image: url(../../images/shortcodes/image-gallery/gallery-icon1.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transition: all .15s ease-in-out;
  -moz-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
  display: block;
}

.webgatha-image-gallery-style-2 .image-gallery-item .webgatha-image-gallery-hover .gallery-icon .icon {
  background-image: url(../../images/shortcodes/image-gallery/gallery-icon2.png);
}

.webgatha-image-gallery-style-3 .image-gallery-item .webgatha-image-gallery-hover .gallery-icon .icon {
  background-image: url(../../images/shortcodes/image-gallery/gallery-icon3.png);
}

.webgatha_image_gallery_wrapper .image-gallery-item img {
  width: 100%;
  max-width: 100%;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
  transition: all .3s ease-in-out;
}

.webgatha_image_gallery-slider-wrapper .swiper-container {
  position: relative;
}

/*------------------*/
/* Slider Bullet */
/*------------------*/
.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-next {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-prev {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.webgatha_image_gallery_wrapper .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
  bottom: 15px;
  width: auto;
  left: 0;
  right: 0;
}

.webgatha_image_gallery_wrapper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  margin: 0 2px !important;
  border-radius: 3px;
  transition: all .3s ease-in-out;
}

.webgatha_image_gallery_wrapper .swiper-pagination-bullet:hover,
.webgatha_image_gallery_wrapper .swiper-pagination-bullet.swiper-pagination-bullet-active {
  height: 17px;
  opacity: 1;
  background: #84ba3f;
}

/*------------------*/
/* Slider Arrow */
/*------------------*/
.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-next,
.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: none;
  background-color: #ffffff;
  color: #323232;
  width: 30px;
  height: 40px;
  border-radius: 2px;
  z-index: 2;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-next:hover,
.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-prev:hover {
  background-color: #84ba3f;
  color: #ffffff;
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-prev.show-on-hover {
  left: -10px;
  opacity: 0;
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-next.show-on-hover {
  right: -10px;
  opacity: 0;
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-prev,
.webgatha_image_gallery_wrapper:hover .swiper-container .webgatha-slider-button-prev.show-on-hover {
  left: 15px;
  opacity: 1;
}

.webgatha_image_gallery_wrapper .swiper-container .webgatha-slider-button-next,
.webgatha_image_gallery_wrapper:hover .swiper-container .webgatha-slider-button-next.show-on-hover {
  right: 15px;
  opacity: 1;
}

/*-------------------*/
/* PopUp Close */
/*-------------------*/
.mfp-gallery.mfp-close-btn-in .mfp-close {
  padding: 0;
  font-size: 18px;
  line-height: 22px;
  width: 27px;
  height: 27px;
  right: -10px;
  top: -15px;
  border-radius: 50px;
  opacity: inherit;
  text-align: center;
}

.mfp-arrow.mfp-arrow-left.mfp-prevent-close,
.mfp-arrow.mfp-arrow-right.mfp-prevent-close {
  background: transparent;
}

.webgatha_image_gallery_wrapper .image-gallery-isotope-wrapper .masonry-item {
  padding: 0;
}

.webgatha_image_gallery_wrapper .webgatha-slider-button-next.swiper-button-disabled,
.webgatha_image_gallery_wrapper .webgatha-slider-button-prev.swiper-button-disabled {
  pointer-events: inherit;
}

/*-------------------------*/
/* Grid Spacing Remove */
/*-------------------------*/
.webgatha_image_gallery_wrapper .image-gallery-space-0 > .row {
  padding: 0 15px;
}

.webgatha_image_gallery_wrapper .image-gallery-space-5 > .row {
  padding: 0 13px;
}

.webgatha_image_gallery_wrapper .image-gallery-space-10 > .row {
  padding: 0 10px;
}

.webgatha_image_gallery_wrapper .image-gallery-space-15 > .row {
  padding: 0 8px;
}

.webgatha_image_gallery_wrapper .image-gallery-space-20 > .row {
  padding: 0 5px;
}

.webgatha_image_gallery_wrapper .image-gallery-space-25 > .row {
  padding: 0 3px;
}
