

* { box-sizing: border-box }



#phto_Gallery .images {
  width: 100%;
  padding: 1.5%;
  margin: 0 auto;
  /* height: 100%; */
  display: grid;
  grid-gap: 7.5px;
  grid-template-columns: 50% 50%;
  background-color: transparent;
}

@media (min-width: 580px) {
  #phto_Gallery .images {
    grid-template-columns: 25% 25% 25% 25%;
  }
}
#phto_Gallery img {
  height: auto;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
    height: 350px; /* Set a fixed height for all images */
  object-fit: cover;
  object-position: center;
  border: 1px solid #cbcbcb;
  border-radius: 15px;
}
#phto_Gallery .template {
  transition: all 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  opacity: 0;
  position: relative;
  /* background: #707070; */
}

#phto_Gallery .galleryBTn_text{
    color: white !important;
}

#phto_Gallery .template p {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0;
  width: 100%;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
  padding: 25px 10px 10px 10px;
}

#phto_Gallery .template.animate {
  transform: scale(1);
    opacity: 1;
}

#phto_Gallery #gallery-pagination {
  margin: 30px 0;
}

#phto_Gallery #btnNext,
#phto_Gallery #btnPrevious{
  background: transparent;
  color: #0b1520;
  padding: 8px 28px;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  outline: none;
}

#phto_Gallery #gallery-pagination #page {
  margin-left: 15px;
  margin-right: 15px;
  color: #707070;
  font-style: italic;
  font-size: 13px
}

#phto_Gallery .sr-only {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

#phto_Gallery #gallery-dots {
  margin-bottom: 15px
}

#phto_Gallery .gallery-dot {
  background: #0b1520;
  border: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  margin: 5px;
  opacity: 0.4;
  outline: none;
  cursor: pointer;
  color: white;
}

#phto_Gallery .gallery-dot.active {
  opacity: 1;
}

#phto_Gallery #gallery-pagination {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  align-items: start;
}




#phto_Gallery #lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
    z-index: 1000; /* Ensure it's on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Indicates clicking anywhere closes it */
}

#phto_Gallery #lightbox-image {
    object-fit: contain;
  object-position: center;
  border: none;
    max-width: 90%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
    cursor: default; /* Change cursor inside the image */
}

/**************/
#menuNavLgo2 img {
  height: auto;
  width: 131;
  border: none;
  border-radius: 0;
}

#upper_hdr img {
  width: 90%;
  height: auto;
  border: none;
  border-radius: 0;
}