/**handles:gallery**/
.gallery-main{transition:.5s;min-height:40vh}.gallery-main .loader{position:absolute;width:5rem;aspect-ratio:1;border-radius:50%;border:.8rem solid;border-color:var(--orange-bg) var(--brown-bg);animation:l1 1s infinite;opacity:0;top:50%;left:50%;transform:-50% -50%;transition:.5s}@keyframes l1{to{transform:rotate(.5turn)}}.gallery-main.loader{opacity:.8;pointer-events:none}.gallery-main.loader .loader{opacity:1}.gallery-main .filters ul{display:flex}.gallery-main .filters li{cursor:pointer;font:normal 700 1.7em/1.176em var(--main-font);text-transform:capitalize;letter-spacing:.117em;list-style:none}.gallery-main .filters header li{font-size:1.7em;letter-spacing:.117em;line-height:1.2em;font-weight:600}.gallery-main .filters li i{font-size:1.2rem;transition:.5s}.gallery-main .outer-box{display:flex;flex-wrap:wrap;row-gap:4.5rem}.gallery-main .outer-box .img-box{cursor:pointer;display:none;margin:0}.gallery-main .outer-box .img-box.active{display:block}.gallery-main .outer-box .img-box img{pointer-events:none;transition:all .3s;scale:1}.gallery-main .images{position:relative}@media only screen and (min-width:0) and (max-width:960px){.gallery-main{padding-block:12.9rem 10rem}.gallery-main .filters header,.gallery-main .filters ul{background:var(--dark-brown-bg);width:calc(100% - 6rem)}.gallery-main .filters{margin-bottom:4.8rem}.gallery-main .filters ul{position:absolute;top:0;transition:.5s;max-height:35rem;overflow:hidden;width:calc(100% - 6rem);padding-block:2rem 2.6rem;display:flex;flex-direction:column;z-index:1}.gallery-main .filters:not(.open) ul{max-height:0;padding-block:0}.gallery-main .filters ul li.active{display:none}.gallery-main .filters li{padding:1.5rem 5rem;display:flex;justify-content:space-between;align-items:center;letter-spacing:.1em}.gallery-main .filters header li{padding-inline:4rem}.gallery-main .filters header{border:.15rem solid var(--light-Brown,#906744)}.gallery-main .outer-box{justify-content:space-between}.gallery-main .outer-box .img-box{width:34.8vw;height:34.8vw}}@media only screen and (min-width:961px){.gallery-main{padding-block:9rem}.gallery-main .filters ul{justify-content:center;align-items:center;gap:3rem;padding-bottom:6.5rem}.gallery-main .filters li{padding:1.5rem 5rem;border:.1rem solid var(--orange-bg);font-size:2em;line-height:1em;font-weight:600;transition:all .3s}.gallery-main .filters li.active,.gallery-main .filters li:hover{background:var(--orange-bg);color:var(--dark-brown-font)}.gallery-main .outer-box{padding-inline:2rem;column-gap:13.8rem;row-gap:8.5rem}.gallery-main .outer-box .img-box{width:35.6rem;height:35.6rem}.gallery-main .outer-box .img-box:hover img{scale:1.05}}.lightbox{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;isolation:isolate;z-index:var(--z-index-modal);pointer-events:none;opacity:0;background:rgba(0,0,0,.85);transition:opacity .5s ease-in-out}.gallery-lightbox.show{pointer-events:all;opacity:1}.lightbox .bg{background-color:#000;z-index:var(--z-index-under);inset:0;position:absolute;opacity:.75;pointer-events:none}.lightbox .close{color:var(--tan);position:absolute;cursor:pointer;z-index:1;top:5rem;right:2.4rem;font-size:2rem}.lightbox .splide{margin:auto}.lightbox .img-box,.lightbox .splide__slide{width:100%;height:100%}.lightbox .splide__track{height:100%}.lightbox .splide__arrows{width:100%;width:100%;pointer-events:none;position:absolute;left:50%;translate:-50% 0;z-index:1;bottom:1.5rem}.gallery-lightbox p{text-align:center;color:var(--cream-font);margin:auto}.lightbox .splide__arrows button{color:var(--dark-brown-bg);pointer-events:all;opacity:1;top:0;transform:none;padding:1.4rem;background-color:var(--orange-bg);font-size:1.7em}.lightbox .splide__arrows button:disabled{opacity:0;pointer-events:none}.lightbox .splide__arrow--prev{left:0}.lightbox .splide__arrow--next{right:0}.lightbox::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.lightbox::-webkit-scrollbar{width:10px}.lightbox::-webkit-scrollbar-track{border-radius:5px}.lightbox::-webkit-scrollbar-thumb{background:rgba(245,242,235,.7);border-radius:5px}.lightbox .close{position:absolute;width:4.5rem;height:4.5rem;right:-2.25rem;top:-2.25rem;background:url('https://therowraleigh.com/wp-content/themes/rockway/img/layout/globals/close.svg');background-size:cover}body[data-open-popup-gallery=true]{overflow:hidden}@media only screen and (min-width:0) and (max-width:960px){.lightbox .img-box{height:22.1rem}.gallery-lightbox .splide__arrow--prev{left:0}.gallery-lightbox .splide__arrow--next{right:0}.lightbox .splide__list{align-items:center}.lightbox .img-box{margin:0}.lightbox .splide__pagination{display:none}.lightbox .splide__slide p{max-width:20rem;padding-top:2rem}.lightbox .splide__arrows{top:calc(22.1rem + 3rem)}}@media only screen and (min-width:961px){.lightbox{padding:8vh 3vw;overflow:scroll}.lightbox .bg{position:fixed;pointer-events:none;inset:0}.lightbox .col-36-18{padding:8vh 0}.lightbox .close{width:6rem;height:6rem;right:-3rem;top:-3rem}.lightbox .close:hover{opacity:.7}.lightbox .img-box{height:auto;height:71.6vh}.lightbox .splide__arrows{width:100%;bottom:0;position:absolute}.lightbox .splide__arrows button{font-size:2.2em;padding:1.8rem}.lightbox .splide__arrows button:hover{opacity:1;background-color:var(--cream-bg)}.lightbox .splide__arrows .splide__arrow--prev{position:relative}.gallery-lightbox p{font-size:2em;line-height:.35em;height:6rem;display:grid;place-content:center;margin-top:4rem}}