.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.9;
}
.main-gal{
	width:90% !important;
}


/*image gallery item aspect ratio square 1:1*/
.pa-image-gallery-1-1 .et_pb_gallery_image {
  padding-top: 100%;
  display: block;
}
.pa-image-gallery-1-1 .et_pb_gallery_item img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

.et_pb_gallery_item{
    margin-right: 3%!important;
    margin-bottom: 3%!important;
	    clear: none!important;
}

.et_pb_gallery_item.et_pb_grid_item.et_pb_bg_layout_light.last_in_row {
	margin-right: 0 !important;
}

@media (max-width: 767px)
{
	.et_pb_gallery_item{
    margin-right: 3%!important;
    margin-bottom: 3%!important;
}

}

.mfp-bottom-bar {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	row-gap: 30px;
}
.mfp-counter {
	display: none;
}
.mfp-img {
	max-height: 700px !important;
}

.mfp-arrow {
	display: none !important;
}

.mfp-title {
	font-family: Sailec, sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 25px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	Padding: 0;
	margin: 20px 0px 0px 0px;
}

a.gal_freepass {
	display: inline-block;
	font-family: 'Sussie',Helvetica,Arial,Lucida,sans-serif !important;
	color: #000000!important;
	border-width: 0px!important;
    border-radius: 6px;
    font-size: 18px;
    background-color: #FFFFFF;
	padding-top: 14px!important;
    padding-right: 16px!important;
    padding-bottom: 14px!important;
    padding-left: 16px!important;
	transition: color 300ms ease 0ms,background-color 300ms ease 0ms;
    min-width: 180px;
    height: 60px;
	
	
	line-height: 1.7em!important;
	
}

a.gal_freepass:hover {
	color: #FFFFFF!important;
    background-image: initial;
    background-color: #333333;
}

.et_overlay:before {
	display: none;
}

span.first{
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.mfp-content{
	bottom: 60px !important;
}

/*individual gym page gallery*/

div#gym-gallery{
    	width: 547px;
   		 left: 247px;
   		 position: relative;
    	object-fit: cover;
    }
   @media(max-width: 1000px) {  
     div#gym-gallery{
      width:auto;
      left: 0;
    position: unset;
    }
}
  @media(max-width: 600px) {
    
     div#gym-gallery{
      width:363px;
      left: 0;
    	position: unset;
      margin-left: 20px;
    }
    
    div#gym-gallery img{
      height:418px;
      object-fit: cover;
          margin-left: -40px;
    }
  }