.gallery_container {
  height: 100%;
  background-image: url(/assets/img/bg/texture-marble.jpg);
  margin-top: 40px;
}

.gallery_section {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
}
.gallery_area h3 {
  font-size: 35px;
  /* font-family: "proxima-nova"; */
  text-align: center;
}

.gallery_inner {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.gallery_inner .gallery_arrow img {
  width: 60px;
}
.gallery_inner .gallery_img {
  overflow: hidden;
  background: #eee5dd;
  border-radius: 10px;
  border: 1px solid #835f3e;
}
.gallery_inner .gallery_img p {
  text-align: center;
  padding: 12px;
  font-weight: 500;
  margin: 0;
  display: none;
}
.gallery_inner .gallery_img img {
  height: 300px;
  object-fit: cover;
}

@media screen and (max-width: 1199px) {
  .gallery_section {
    flex-direction: column;
    gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  .gallery_inner .gallery_img img {
    height: 200px;
  }
}
@media screen and (max-width: 767px) {
  .gallery_area h3 {
    font-size: 22px;
  }
  .gallery_inner .gallery_img img {
    height: auto;
  }
  .gallery_inner {
    gap: 10px;
  }
  .gallery_inner .gallery_arrow img {
    width: 25px;
  }
}

.dental_crown_section {
  padding: 80px 0;
}
.dental_crown_section .prev_next {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 30px;
}
.dental_crown_section .prev_next a {
  padding: 10px 20px;
}
.dental_crown_section .prev_next a img {
  width: 30px;
}

.gallery_dental {
  padding: 20px 0;
}
.gallery_dental .gallery_img {
  margin: 0px auto;
  max-width: 767px;
}

.gallery_dental .gallery_img.veneersimg {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 3fr);
  grid-gap: 40px;
}
.gallery_dental .gallery_img a {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #835f3e;
}
.gallery_dental .gallery_img a img {
  /* height: 300px; */
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.gallery_dental .gallery_img a .before_after {
  display: flex;
  justify-content: center;
  padding: 15px 10px;
}
.gallery_dental .gallery_img a {
  background: url("/assets/img/bg/texture-marble-tan.jpg");
  background-size: cover;
  padding: 10px;
  border-radius: 10px;
}

.gallery_dental .gallery_img a .before_after p {
  padding: 0px;
  margin: 0px;
  flex: 1;
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}
/* .gallery_dental .gallery_img a:hover .before_after {
  background: url("/assets/img/bg/texture-wood-01.jpg");
  background-size: cover;
  transition: all 0.3s ease-in-out;
} */
/* .gallery_dental .gallery_img a:hover p {
  color: #ffffff;
  transition: all 0.3s ease-in-out;
} */

.gallery_container.cover {
  background-size: cover;
}
.prep_inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.titlevenner h2 {
  font-size: 28px;
}
.titlevenner {
  margin: 30px 0 20px;
  text-align: center;
  /* min-height: 80px; */
}

.prep_inner .gallery_inner {
  margin: 0px auto;
  max-width: 675px;
  background: url("/assets/img/bg/texture-wood-01.jpg");
  background-size: cover;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #835f3e;
  overflow: hidden;
  position: relative;
}
.prep_inner .gallery_inner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("/assets/img/bg/texture-marble-dark-sm.jpg");
  background-size: cover;
  opacity: 0.7;
}
.prep_inner .gallery_inner a {
  flex: 1;
  position: relative;
  z-index: 1;
}
.prep_inner .gallery_inner .gallery_img {
  background: transparent;
  border: 0px;
}
.prep_inner .gallery_inner .gallery_img img {
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.flex_gallery {
  grid-gap: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-self: center;
  margin-bottom: 40px;
}

.page_title h1 {
  text-align: center;
  margin: 40px 0px 20px;
  font-size: 36px;
}
