.image-with-lightbox h2{
  text-align: center;
  font-family: 'Tiro Devanagari Marathi', serif;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 50px;
  color: #363636;
  position: relative;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.image-with-lightbox .sfs-custom-gallery{
  margin-bottom: 30px;
}
.image-with-lightbox .sfs-custom-gallery .gallery-item-container{
  position: relative;
}
.image-with-lightbox .sfs-custom-gallery .container{
  justify-content: center !important;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: inherit;
  align-items: normal;
}
.image-with-lightbox .sfs-image-item{
  padding: 15px;
  width: 33.33%;
}
.image-with-lightbox .sfs-image-item-container{
  height: 100%;
}
.image-with-lightbox .sfs-gallery-image{
  position: relative;
  cursor: pointer;
  background: #0f4575;
}
.image-with-lightbox .sfs-gallery-image img{
  display: block;
  margin: 0 auto;
  height: auto;
  vertical-align: top;
  max-width: 100%;
}
.image-with-lightbox .sfs-gallery-image:hover img{
  opacity: .5;
}

.image-with-lightbox .sfs-gallery-image a:before{
  position: absolute;
  display: none;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: '\f055';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
  z-index: 1;
  font-size: 35px;
}
.image-with-lightbox .sfs-gallery-image a:after{
  position: absolute;
  color: #fff;
  top: 45%;
  transform: translateY(-50%);
  content: 'View Larger';
  display: none;
  text-align: center;
  right: 0;
  left: 0;
}
.image-with-lightbox .sfs-gallery-image:hover a:before,
.image-with-lightbox .sfs-gallery-image:hover a:after{
  display: block;
}
.image-with-lightbox .sfs-loadmore{
  text-align: center;
  display: block;
}
.image-with-lightbox .sfs-loadmore-btn{
  color: #fff;
  padding: 10px;
  margin: 40px auto 0;
  max-width: 210px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  background-color: rgb(235, 137, 53);
}
.image-with-lightbox .sfs-loadmore-btn:after{
  content: '\f0fe';
  position: absolute;
  font-family: "Font Awesome 5 Free";
  color: #fff;
  font-weight: 900;
  display: inline-block;
  margin-left: 7px;
  font-size: 20px;
  position: relative;
  top: 1px;
}
.image-with-lightbox ul.content-subpages {
  text-align: center;
  font-size: 0;
  margin: 0;
  padding: 0;
}
.image-with-lightbox ul.content-subpages li{
  display: inline-table;
  vertical-align: top;
  max-width: 210px;
  background: #0f4575;
  min-height: 90px;
  width: 19%;
  font-size: 16px;
  margin-right: 1.25%;
  margin-bottom: 10px;
  list-style-type: none;
}
.image-with-lightbox ul.content-subpages li a{
  display: table-cell;
  color: #fff;
  vertical-align: middle;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
}
.image-with-lightbox ul.content-subpages li:last-child{
  margin-right: 0;
}
.image-with-lightbox ul.content-subpages li:hover{
  background: #eb8935;
}
.image-with-lightbox .sfs-custom-gallery-content p{
  margin: 0 0 40px;
}

.fancybox-navigation .fancybox-button {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 10px 5px;
  line-height: 0;
  font-size: 30px;
  background-color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: opacity .25s ease 0s,visibility 0s ease 0s;
  visibility: visible;
  padding: 10px 5px;
  width: auto;
  height: auto;
  background-clip: border-box;
  color: #555555;
}

.fancybox-navigation .fancybox-button>div {
  display: none;
}

.fancybox-navigation .fancybox-button.fancybox-button--arrow_right {
  right: 5px;
}

.fancybox-navigation .fancybox-button.fancybox-button--arrow_left {
  left: 5px;
}

.fancybox-navigation .fancybox-button:after {
  content: "\f345";
  font-family: dashicons;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  speak: never;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  text-align: center;
  transition: color .1s ease-in;
}

.fancybox-navigation .fancybox-button.fancybox-button--arrow_left:after {
  content: "\f341";
}
.fancybox-infobar {
  opacity: 1;
  visibility: visible;
  background-color: #fff;
  padding: 10px 10px;
  font-size: 16px;
  height: auto;
  line-height: 24px;
  min-width: initial;
  mix-blend-mode: initial;
  color: #555;
}
.fancybox-button {
  line-height: 0;
  background-color: #fff;
  opacity: 1;
  visibility: visible;
  font-size: 30px;
  padding: 10px;
  width: auto;
  height: auto;
}

.fancybox-toolbar {
  opacity: 1;
}

.fancybox-button svg {
  display: none;
}

button.fancybox-button.fancybox-button--close:after {
  font-family: dashicons;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  speak: never;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  text-align: center;
  transition: color .1s ease-in;
  content: "\f335";
  color: #555;
}

.fancybox-toolbar .fancybox-button {
  display: none;
}

.fancybox-toolbar .fancybox-button.fancybox-button--close {
  display: block;
}
button.fancybox-button.fancybox-button--zoom {
  display: none !important;
}

@media only screen and (max-width: 980px){
  .image-with-lightbox ul.content-subpages li {
    min-width: 165px;
  }
}
@media only screen and (max-width:768px){
  .image-with-lightbox .sfs-image-item {
    padding: 5px ;
  }
  .image-with-lightbox .sfs-gallery-image a:before {
    font-size: 22px;
  }
  .image-with-lightbox .sfs-gallery-image a:after {
    content: none;
  }
}
@media only screen and (max-width: 600px){
  .image-with-lightbox .sfs-image-item {
    padding: 2px ;
  }
}

@media only screen and (max-width:480px){
  .image-with-lightbox .sfs-gallery-image a:before {
    top: 50%;
  }
  .image-with-lightbox .sfs-image-item {
    width: 100%;
  }

}

