
section.photos-section1 .container, section.photos-section1 .content {
  min-height: 365px !important;
}
section.photos-section1 .content .row-primary {
  margin: auto !important;
}
section.photos-section1 p {
  font-size: 17px !important;
}
section.photos-section1 .content-title {
  padding: 0 !important;
}
section.photos-section1 .row-content-gallery {
  margin: auto !important;
}
section.photos-section1 .row-content-gallery a.fancybox:hover {
  opacity: unset !important;
}
section.photos-section1 .row-content-gallery .item-gallery {
  width: 25% !important;
  display: inline-block !important;
  padding: 10px !important;
}
@media (max-width: 768px) {
  section.photos-section1 .row-content-gallery .item-gallery {
    padding: 5px !important;
  }
}
@media (max-width: 991.98px) {
  section.photos-section1 .row-content-gallery .item-gallery {
    width: 50% !important;
  }
}
section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay .btn {
  color: var(--main-color-primary);
}
section.photos-section1 .row-content-gallery .item-gallery .zoom {
  background: var(--main-color-primary);
  background: -webkit-linear-gradient(to right, var(--main-color-secundary), var(--main-color-primary));
  background: linear-gradient(to right, var(--main-color-secundary), var(--main-color-primary));
}
section.photos-section1 .row-content-gallery .item-gallery .single_portfolio_text {
  position: relative !important;
  overflow: hidden !important;
}
section.photos-section1 .row-content-gallery .item-gallery .single_portfolio_text:hover .portfolio_images_overlay {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
section.photos-section1 .row-content-gallery .item-gallery .single_portfolio_text:hover img {
  animation: zoom 15s ease 0s normal both infinite !important;
  -webkit-animation: zoom 15s ease 0s normal both infinite !important;
  -moz-animation: zoom 15s ease 0s normal both infinite !important;
  -ms-animation: zoom 15s ease 0s normal both infinite !important;
  -o-animation: zoom 15s ease 0s normal both infinite !important;
}
section.photos-section1 .row-content-gallery .item-gallery .single_portfolio_text img {
  width: 100% !important;
}
section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay {
  width: 90% !important;
  height: 90% !important;
  background: rgba(0, 0, 0, 0.4) !important;
  margin: 0 auto !important;
  top: -100% !important;
  left: 5% !important;
  position: absolute !important;
  transition: 0.6s !important;
}
@media (min-width: 768px) {
  section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay {
    padding: 20px !important;
  }
}
@media (min-width: 576px) {
  section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay .btn {
    min-width: 162.683px !important;
    margin-top: 40% !important;
  }
}
@media (max-width: 767.98px) {
  section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay {
    padding: 10px !important;
  }
  section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay .btn {
    padding: 8px !important;
  }
}
@media (max-width: 575.98px) {
  section.photos-section1 .row-content-gallery .item-gallery .portfolio_images_overlay .btn {
    margin-top: 35% !important;
    font-size: 0.7rem !important;
  }
}
section.photos-section1 .row-content-gallery .item-gallery .zoom {
  width: 150px !important;
  height: 150px !important;
  position: absolute !important;
  bottom: -100px !important;
  right: -100px !important;
  border-radius: 50% !important;
  box-shadow: 0px 0px 0px 10px rgba(0, 0, 0, 0.5) !important;
  opacity: 0.9 !important;
}
section.photos-section1 .row-content-gallery .item-gallery .zoom:before {
  content: "" !important;
  font-family: FontAwesome !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 25px !important;
  padding-right: 20px !important;
  position: absolute !important;
  top: 15px !important;
  left: 26px !important;
}

section.photos-section2 .content .row-primary {
  margin: auto !important;
}
section.photos-section2 .content .row {
  padding: 1.25rem !important;
  border-radius: 5px !important;
  background-color: #f5f5f5 !important;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 2px !important;
}
@media (max-width: 768px) {
  section.photos-section2 {
    padding: 0 15px !important;
  }
}
@media (max-width: 575px) {
  section.photos-section2 .area-left, section.photos-section2 .area-right {
    padding: 0 !important;
  }
}

@keyframes zoomgallery {
  0% {
    transform: scale(1, 1) !important;
  }
  100% {
    transform: scale(1.1, 1.1) !important;
  }
}
@keyframes zoomgallery {
  0% {
    transform: scale(1, 1) !important;
  }
  100% {
    transform: scale(1.1, 1.1) !important;
  }
}
@keyframes zoomgallery {
  0% {
    transform: scale(1, 1) !important;
  }
  100% {
    transform: scale(1.1, 1.1) !important;
  }
}