body .uv-galleryscontents .photo-galleries {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    display: grid;
    flex-basis: 100% !important;
}

/* Gallery Pop-ups */
.page-template-template-galleries-uv .fslightbox-nav {
    display: none;
}

.uv-popgal-cont {
    gap: 35px;
    width: 80.75vw !important;
    height: auto !important;
}

.uv-cust-btn,
.uv-cust-btn .fslightbox-slide-btn {
    padding: 0 !important;
}

.uv-cust-btn .fslightbox-slide-btn {
    background: transparent;
}

.uv-popgal-cont img {
    width: 100%;
    max-height: 645px;
    height: 645px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.uv-popgal-cont .img-container {}

.uv-popgal-cont .img-container::before,
.uv-popgal-cont .img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.uv-popgal-cont .img-container::before {
    width: 55px;
    height: 55px;
    border: 5px solid transparent;
    border-top: 3px solid var(--uv-highcontrast-color);
    border-radius: 50%;
    animation: uvepiconspin 1s linear infinite;
}

.uv-popgal-cont .img-container::after {
    padding: 0;
    width: 50px;
    height: 50px;
    background: none center center no-repeat;
    background-size: 25px;
}

.uv-pop-top * {
    font-family: 'montserrat', sans-serif;
    line-height: 1;
}

.uv-pop-top .uv-title {
    font-size: 1.375rem;
    line-height: 1.5625rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.uv-pop-top :is(.uv-date, .uvpop-nimages) {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.04375rem;
}

.uv-pop-top .uv-sep {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: #5D5D5D;
    position: relative;
    bottom: 1px;
}

.uv-header-cont {
    gap: 20px;
}

.uv-share-cont {
    margin-right: 50px;
}

.uv-share-cont .uv-share-icon {
    margin-right: 15px;
}

.uv-share-cont .uv-share {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.125rem;
    color: #FFFFFF;
    background: var(--uv-btn-color);
    border: solid 1px var(--uv-btn-color);
    min-width: 198px;
    height: 46px;
}

.uv-share-cont .uv-share:is(:hover, :focus),
.uvbtnshare_email:is(:hover, :focus) {
    background: transparent;
    color: #FFF;
    transition: all .5s ease-in-out;
}

.page-template-template-galleries-uv .fslightbox-slide-btn-container:not(.uv-cust-btn) {
    padding: 0;
    opacity: 0;
}

.page-template-template-galleries-uv .fslightbox-slide-btn-container-next:not(.uv-cust-btn) {
    right: 9.2%;
}

.page-template-template-galleries-uv .fslightbox-slide-btn-container-previous:not(.uv-cust-btn) {
    left: 9.2%;
}

.uv-popgalcol-close {
    cursor: pointer;
}

.uv-popgalcol-close path,
.uvcloseemailpop path {
    transition: all .3s linear;
}

.uv-popgalcol-close:is(:hover, :focus) path,
.uvcloseemailpop:is(:hover, :focus) path {
    fill: var(--uv-highcontrast-color);
}

body .fslightbox-source.uv-hide {
    display: flex !important;
}

/* Video Pop-up */
#uv-video-popup .uws-pop-box {
    max-width: 1040px;
    background-color: #1B1B1B;
}

#uv-video-popup .uws-closepop:before {
    display: none;
}

#uv-video-popup .uws-pop-charge {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}

#uv-video-popup iframe,
#uv-video-popup object,
#uv-video-popup embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

body .uws-pop-cont .uws-pop-box>.uws-closepop {
    height: 32px;
    width: 32px;
    top: -50px;
}

.uv-close svg {
    width: 100%;
    height: auto;
}

.uws-pop-cont .uws-pop-box>.uws-closepop path {
    transition: all .3s linear;
}

.uws-pop-cont .uws-pop-box>.uws-closepop:is(:hover, :focus) path {
    fill: var(--uv-highcontrast-color);
}

/* Share Photo Pop-Up */
.uvsharepopup {
    display: none;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    z-index: 10000000000;
    position: fixed;
    top: 0;
}

.uvsharepopup-content {
    position: absolute;
    width: 100%;
    height: 100%;
}

.uvsharepopup-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000000b3;
}

.uvsharepopup-boxcontent {
    max-width: 500px;
    max-height: 400px;
    background: #3f3f3f;
    width: 100%;
    height: 100%;
}

.uvsharepopup-boxemail {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 700px;
}

.uvsharepopup-form {
    background: #1A1A1A;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 75px 35px 70px;
    position: relative;
    text-align: center;
}

.uv-email-form {
    max-width: 460px;
    margin: 25px auto 0;
}

.uvsharepopup-form label {
    display: block;
    font-family: 'proxima-nova', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.05806rem;
    text-transform: uppercase;
    color: #D1D1D1;
    text-align: left;
}

.uvsharepopup-form .uv-title {
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.uvsharepopup-form .uv-text {
    font-size: 1.1rem;
    color: #FFF;
}

.uvsharepopup-form label span {
    color: var(--uv-highcontrast-color);
}

.uv-email-messages {
    gap: 25px;
}

.uvsharepopup-form .inputmail {
    color: #787878;
    background: #2E2E2E;
    padding: 12px;
    height: 45px;
    margin-top: 12px;
    border: none;
    border-radius: 0;
    width: 100%;
    box-shadow: none;
    transition: all .5s;
}

.uvsharepopup-form .inputmail:focus {
    outline: none;
}

.uvmessage_error {
    font-size: 14px;
    text-align: center;
    color: var(--uv-highcontrast-color);
    text-transform: uppercase;
    display: none;
}

.uvmessage_success {
    font-size: 14px;
    text-align: center;
    color: var(--uv-highcontrast-color);
    visibility: hidden;
    margin: 15px 0 -5px;
    text-transform: uppercase;
}

.uvsharepopup-check {
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.uvsharepopup-check input {
    flex: 0 0 20px;
}

.uvPrivacybtn {
    padding-left: 10px;
    line-height: 1.5;
}

.uvPrivacybtn,
.uvPrivacybtn a {
    color: #FFF;
}

.uvPrivacybtn a span {
    display: block;
}

#uvcheckbox_check {
    cursor: pointer;
}


#uvemailshare {
    border-radius: 0;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    border: 2px solid;
    padding: 0.667em 1.333em;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.1em;
    width: max-content;
    margin-left: auto;
    min-width: 100%;
}

#uvemailshare:hover {
    background-color: #fff;
    color: #000;
}

.uvbtnshare_email {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25rem;
    letter-spacing: 0.05rem;
    color: #F2F2F2;
    padding: 12px 10px;
    min-width: 260px;
    min-height: 46px;
    margin: 0 auto;
    transition: all .5s ease-in-out;
}

.uvshowemailpopup {
    display: block;
}

.uvshowmessage {
    visibility: visible;
}

.uvcloseemailpop {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 33px;
    height: 33px;
    cursor: pointer;
}

.uvcloseemailpop svg {
    width: 28px;
    height: auto;
}