#gallery_home {
  margin: 15px 0; }

.responsivegallery-home {
  position: relative;
  padding: 24px 0 18px; }
  .responsivegallery-home .h1,
  .responsivegallery-home .page-heading {
    margin-bottom: 14px;
    text-align: center; }

.rg-home-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto; }

.rg-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 46px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; }
  .rg-carousel-track::-webkit-scrollbar {
    height: 6px; }
  .rg-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 999px; }

.rg-carousel-card {
  position: relative;
  flex: 0 0 220px;
  display: block;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start; }
  .rg-carousel-card:hover,
  .rg-carousel-card:focus {
    text-decoration: none; }
    .rg-carousel-card:hover .rg-card-media,
    .rg-carousel-card:focus .rg-card-media {
      transform: translateY(-3px);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2); }
    .rg-carousel-card:hover .rg-card-media:after,
    .rg-carousel-card:focus .rg-card-media:after {
      opacity: 1; }

.rg-card-media {
  position: relative;
  display: block;
  height: 136px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .rg-card-media:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.02));
    transition: opacity 0.25s ease; }
  .rg-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; }

.rg-card-title {
  display: block;
  min-height: 44px;
  padding: 10px 6px 0;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center; }

.rg-carousel-btn {
  position: absolute;
  z-index: 2;
  top: 58px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.86);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease; }
  .rg-carousel-btn:hover,
  .rg-carousel-btn:focus {
    background: #111;
    transform: scale(1.05); }
  .rg-carousel-btn:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 13px auto 0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff; }

.rg-carousel-prev {
  left: 2px; }
  .rg-carousel-prev:before {
    transform: rotate(-45deg);
    margin-left: 15px; }

.rg-carousel-next {
  right: 2px; }
  .rg-carousel-next:before {
    transform: rotate(135deg);
    margin-left: 10px; }

#gallery-loader {
  height: 50px;
  margin-top: 20px;
  background-image: url("../img/loader.gif");
  background-size: 30px;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 35px;
  text-align: center;
  color: #bbb; }

.rg-gallery-page {
  padding: 18px 0 34px; }

.rg-page-title {
  margin-bottom: 8px; }

.rg-page-description {
  max-width: 760px;
  margin-bottom: 28px; }

#galleries.rg-galleries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  align-items: stretch; }

#galleries .gallery-single {
  margin: 0; }
  #galleries .gallery-single .img-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none; }
    #galleries .gallery-single .img-link:hover .img-wrapper .description-wrapper {
      visibility: visible;
      opacity: 1; }
    #galleries .gallery-single .img-link .img-wrapper {
      display: block;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      background: #111;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
      transition: transform 0.25s ease, box-shadow 0.25s ease; }
      #galleries .gallery-single .img-link .img-wrapper img {
        display: block;
        width: 100%;
        height: 230px;
        margin: 0 auto;
        object-fit: cover;
        transition: transform 0.35s ease; }
      #galleries .gallery-single .img-link .img-wrapper .description-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s; }
        #galleries .gallery-single .img-link .img-wrapper .description-wrapper > .description {
          position: absolute;
          top: 50%;
          left: 15px;
          right: 15px;
          color: #fff;
          text-align: center;
          -moz-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          -webkit-transform: translateY(-50%);
          transform: translateY(-50%); }
          #galleries .gallery-single .img-link .img-wrapper .description-wrapper > .description p {
            color: #fff;
            margin: 0;
            font-size: 14px; }
    #galleries .gallery-single .img-link .title {
      display: block;
      min-height: 48px;
      text-align: left;
      text-transform: none;
      font-size: 17px;
      font-weight: 700;
      line-height: 1.35;
      padding: 12px 2px 0;
      color: inherit;
      transition: all 0.3s;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -o-transition: all 0.3s;
      -ms-transition: all 0.3s; }
      #galleries .gallery-single .img-link .title:hover {
        color: inherit;
        text-decoration: none; }
    #galleries .gallery-single .img-link:hover .img-wrapper,
    #galleries .gallery-single .img-link:focus .img-wrapper {
      transform: translateY(-3px);
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22); }
    #galleries .gallery-single .img-link:hover .img-wrapper img,
    #galleries .gallery-single .img-link:focus .img-wrapper img {
      transform: scale(1.04); }

@media (max-width: 991px) {
  #galleries.rg-galleries-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px; }
  #galleries .gallery-single .img-link .img-wrapper .description-wrapper span p {
    font-size: 12px; }
  #galleries .gallery-single .img-link .title {
    font-size: 15px; } }
@media (max-width: 479px) {
  #galleries.rg-galleries-grid {
    grid-template-columns: 1fr; }
  .rg-carousel-track {
    padding-left: 12px;
    padding-right: 12px; }
  .rg-carousel-card {
    flex-basis: 78%; }
  .rg-carousel-btn {
    display: none; } }

.back-to-gallery {
  font-size: 12px;
  float: left;
  color: #000;
  margin-bottom: 10px; }
  .back-to-gallery:hover {
    color: #000;
    text-decoration: underline; }
    .back-to-gallery:hover:before {
      transform: translate(-4px, 0); }
  .back-to-gallery:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 2px;
    vertical-align: -3px;
    background: url("../img/keyboard-backspace.svg") center center no-repeat;
    background-size: 14px 14px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s; }

#gallery_title {
  clear: both;
  margin: 0 0 15px 0; }

#gallery_desc {
  font-size: 14px;
  margin-bottom: 30px; }

#gallery {
  list-style: none;
  position: relative;
  margin: 10px 0 15px 0;
  padding: 0; }
  #gallery li {
    position: absolute;
    display: none; }
    #gallery li .img-wrapper {
      position: relative; }
    #gallery li a img {
      width: 100%;
      height: auto; }
    #gallery li a.zoom-link {
      display: block;
      z-index: 9;
      position: absolute;
      width: 30px;
      height: 30px;
      left: 5px;
      bottom: 5px;
      border-radius: 100%;
      background: #000;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -o-transition: all 0.3s;
      -ms-transition: all 0.3s; }
      #gallery li a.zoom-link:hover {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1); }
      #gallery li a.zoom-link:after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: url("../img/link.svg") center center no-repeat;
        background-size: 22px 22px; }
    #gallery li a.zoom-img {
      overflow: hidden; }
      #gallery li a.zoom-img:hover .legend {
        opacity: 1;
        visibility: visible;
        transform: scale(1.1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1); }
      #gallery li a.zoom-img .legend {
        font-size: 12px;
        line-height: 1.2em;
        text-align: center;
        color: #fff;
        position: absolute;
        z-index: 8;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        padding: 15px 20px;
        overflow: hidden;
        opacity: 0;
        background: rgba(0, 0, 0, 0.5);
        visibility: hidden;
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        -webkit-transition: all .3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s; }
        #gallery li a.zoom-img .legend .legend-inner {
          position: absolute;
          top: 50%;
          left: 20px;
          right: 20px;
          max-height: calc(100% - 10px);
          overflow: hidden;
          transform: translateY(-50%); }

.btn-wrapper {
  text-align: center;
  margin: 30px 0 15px 0; }

#module-responsivegallery-galleryitems .fancybox-mobile,
#index .fancybox-mobile {
  text-align: center; }
  #module-responsivegallery-galleryitems .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap,
  #index .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap {
    display: inline-block;
    font-size: 15px !important;
    font-weight: normal;
    text-align: center;
    max-width: 100%;
    padding: 5px 10px;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8); }
    #module-responsivegallery-galleryitems .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .child,
    #index .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .child {
      font-size: 15px !important;
      font-weight: normal; }
    #module-responsivegallery-galleryitems .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link,
    #index .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link {
      font-size: 15px;
      font-weight: normal;
      color: #fff; }
      #module-responsivegallery-galleryitems .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link:hover:before,
      #index .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link:hover:before {
        transform: scale(1.1); }
      #module-responsivegallery-galleryitems .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link:before,
      #index .fancybox-mobile .fancybox-title.fancybox-title-outside-wrap .img-link:before {
        content: '';
        display: inline-block;
        vertical-align: -4px;
        width: 18px;
        height: 18px;
        background: url("../img/link.svg") center center no-repeat;
        background-size: 18px 18px;
        -webkit-transition: all .3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s; }
#module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap,
#index .fancybox-overlay .fancybox-wrap {
  text-align: center; }
  #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap,
  #index .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap {
    display: inline-block;
    font-size: 15px !important;
    font-weight: normal;
    text-align: center;
    max-width: 100%;
    padding: 5px 10px;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8); }
    #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .child,
    #index .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .child {
      font-size: 15px !important;
      font-weight: normal; }
    #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link,
    #index .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link {
      font-size: 15px;
      font-weight: normal;
      color: #fff; }
      #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link:hover:before,
      #index .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link:hover:before {
        transform: scale(1.1); }
      #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link:before,
      #index .fancybox-overlay .fancybox-wrap .fancybox-title.fancybox-title-outside-wrap .img-link:before {
        content: '';
        display: inline-block;
        vertical-align: -4px;
        width: 18px;
        height: 18px;
        background: url("../img/link.svg") center center no-repeat;
        background-size: 18px 18px;
        -webkit-transition: all .3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s; }
#module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title,
  #index .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title {
    font-size: 15px !important;
    font-weight: normal; }
    #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .child,
    #index .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .child {
      font-size: 15px !important;
      font-weight: normal; }
    #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link,
    #index .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link {
      font-size: 15px;
      font-weight: normal;
      color: #fff; }
      #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link:hover:before,
      #index .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link:hover:before {
        transform: scale(1.1); }
      #module-responsivegallery-galleryitems .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link:before,
      #index .fancybox-overlay .fancybox-wrap .fancybox-skin .fancybox-title .img-link:before {
        content: '';
        display: inline-block;
        vertical-align: -4px;
        width: 18px;
        height: 18px;
        background: url("../img/link.svg") center center no-repeat;
        background-size: 18px 18px;
        -webkit-transition: all .3s;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s; }

/* Strong storefront overrides for modern gallery presentation. */
#gallery_home.responsivegallery-home {
  width: 100%;
  clear: both;
  overflow: hidden;
  padding: 28px 0 22px; }

#gallery_home.responsivegallery-home .h1,
#gallery_home.responsivegallery-home .page-heading,
#gallery_home.responsivegallery-home #gallery_desc,
#gallery_home.responsivegallery-home .rte {
  text-align: center; }

#gallery_home .rg-home-carousel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden; }

#gallery_home .rg-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 22px !important;
  width: 100%;
  max-width: 100%;
  padding: 10px 48px 18px !important;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory; }

#gallery_home .rg-carousel-track.rg-carousel-centered {
  justify-content: center; }

#gallery_home .rg-carousel-card {
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px !important;
  min-width: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  color: inherit;
  text-decoration: none !important;
  scroll-snap-align: center; }

#gallery_home .rg-card-media {
  width: 260px !important;
  height: 148px !important;
  aspect-ratio: 16 / 9;
  display: block !important;
  overflow: hidden !important;
  border-radius: 8px;
  background: #171717;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transform-origin: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease; }

#gallery_home .rg-card-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center;
  transition: transform 0.35s ease, filter 0.35s ease; }

#gallery_home .rg-card-title {
  display: block !important;
  width: 100%;
  min-height: 44px;
  padding: 10px 4px 0 !important;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center !important;
  letter-spacing: 0;
  white-space: normal; }

#gallery_home .rg-carousel-card:hover .rg-card-media,
#gallery_home .rg-carousel-card:focus .rg-card-media {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  filter: saturate(1.05); }

#gallery_home .rg-carousel-card:hover .rg-card-media img,
#gallery_home .rg-carousel-card:focus .rg-card-media img {
  transform: scale(1.045); }

#gallery_home .rg-carousel-btn.rg-carousel-hidden {
  display: none !important; }

#gallery li a.zoom-img,
#galleries .gallery-single .img-link .img-wrapper {
  transform-origin: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease; }

#gallery li a.zoom-img:hover,
#gallery li a.zoom-img:focus {
  transform: translateY(-4px) scale(1.018);
  filter: saturate(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24); }

#gallery li a.zoom-img img {
  transition: transform 0.35s ease, filter 0.35s ease; }

#gallery li a.zoom-img:hover img,
#gallery li a.zoom-img:focus img {
  transform: scale(1.035); }

@media (max-width: 767px) {
  #gallery_home .rg-home-carousel {
    width: calc(100% - 20px); }
  #gallery_home .rg-carousel-track {
    gap: 16px !important;
    padding-left: 8px !important;
    padding-right: 8px !important; }
  #gallery_home .rg-carousel-card {
    flex-basis: 78vw !important;
    width: 78vw !important;
    min-width: 78vw !important;
    max-width: 78vw !important; }
  #gallery_home .rg-card-media {
    width: 100% !important;
    height: auto !important; }
  #gallery_home .rg-card-media:before {
    content: '';
    display: block;
    padding-top: 56.25%; }
  #gallery_home .rg-card-media img {
    position: absolute;
    left: 0;
    top: 0; } }
