
.custom-gallery {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.custom-gallery img {
  border: 1px solid #ccc;
  cursor: pointer;
}
.page-Banner{
  background-position: 49% 46%;
  background-size: cover;
  background-repeat:no-repeat;
  box-sizing: border-box;
 height: 370px;
        min-height: 500px;
  position: relative;
  z-index:-1;
}
.page-Banner:before {
  content: "";
  background-color: #0000002b;
  position: absolute;
  height: 100%;
  width: 100%;
}
.gallery-outer {
  margin: -85px auto 0;
}
.gallery-inside{
  background-color: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 25px 40px rgba(0,0,0,.05);
  box-shadow: 0 25px 40px rgba(0,0,0,.05);
  padding: 1.95rem 6.5rem 5rem 6rem !important;
margin-bottom:160px;
}
.gallery-inside h1{
  margin:0;
font-family: Source Sans Pro, sans-serif;
  font-size: 48px;
  line-height: 60px;
  color:#002d5d;
  font-weight:400;
  padding-bottom:50px;
  text-align:center;
}
span.sub-mains {
    color:#002d5d;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.6;
    font-family: Source Sans Pro, sans-serif;
}
ul.two-column-list {
    columns: 200px 2;
    margin-top: 1.19rem;margin-bottom: 0px;
}
ul.two-column-list li {
    color: #222;
    font-family: "Source Serif Pro", serif;
    font-weight: 300;
    font-size: 18px;
    list-style-type: disc;
    line-height: 1.7;
    margin-left: 1em;
}
a.mail-text {
    color: #3a8dde;
    text-decoration: none;
}
.gallery-inside p{
  margin:16px  0px 0px 0px; 
  font-size: 18px;
  line-height: 29px;
  color:#222;
  font-weight:300;
}
hr.wp-block-separator.has-alpha-channel-opacity {
    width: 100px;
    font-weight: 400;
    font-size: 18px;
    margin: 40px auto;
    border-bottom: 3px solid;
    color: rgb(0, 0, 0);
}

.gallery-outer .container {
  margin: 0 auto;
  max-width: 68rem;
  width: 100%;
}

 .gallery-outer .main .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:25px;
  justify-content: center;
  align-items: center;
}

.gallery-outer .main .card {  
width: calc(109.33333% - 0.66667em); 
 height: 390px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  color: #333333;
  border-radius: 2px;
}

.gallery-outer .main .card-image {
  background: #ffffff;
  display: block;
  padding-top: 70%;
  position: relative;
  width: 100%;
    height: 390px;
}

.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fancybox-caption,
.fancybox-caption--separate {
  display: none !important;
}
@media(max-width:1000px){
  .gallery-outer .main .card {
    height: unset;
    width: unset;
}
  .gallery-outer .main .card-image {
    height: unset;
  
}
@media(max-width:960px){
  .page-Banner{
    min-height: 195px;
  }
  .gallery-inside h1{
    padding-bottom:0px;
    font-size: 30px;
  }
.mid-image {
    width: auto!important;
    }
  .gallery-inside {
    padding: 2rem 1rem 3rem!important;
  }
.gallery-inside p, span.sub-mains {
padding: 0px 10px;
}
span.sub-mains {
    font-size: 18px;
  }

.gallery-inside{
margin-bottom: 95px;
  }
  .gallery-outer {
    margin: -50px auto 0;
}
}
@media only screen and (max-width: 600px) {
  .main .container {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 1rem;
  }
}
@media(max-width:480px){
.gallery-inside p, span.sub-mains {
  padding:0px;
  }
  
}


