@charset 'UTF-8';

/*
 * general
 *
 */
body {
    padding-top: 70px;
    color: #000;

    @include media( lg ) {
        padding-top: 0;
    }

    // admin bar
    &.admin-bar {
        .ulz-header {
            top: 32px;

            @include media( 'admin-bar-md' ) {
                top: 46px;
            }
        }
    }
}

a {
    @include transition( all .3s );
}

/*
 * containers
 *
 */
.ulz-container {
    .ulz-hide-heading.elementor-page & {
        margin-top: 0;
    }
}

// page
.ulz-wide-page {
    --row: 1580px;
}

// mobile padding
@include media( xl ) {
    .elementor-section-wrap {
        > .elementor-section {
            > .elementor-container {
                padding-left: var( --gap );
                padding-right: var( --gap );
            }
        }
    }
}

@media only screen and ( max-width: 1648px ) {
    .ulz-wide-page .elementor-section-wrap {
        > .elementor-section {
            > .elementor-container {
                padding-left: var( --gap );
                padding-right: var( --gap );
            }
        }
    }
}

.ulz-row {
    width: 100%;
    max-width: calc( var( --row ) + ( var( --gap ) * 2 ) );
    margin: 0 auto;
    padding-left: var( --gap );
    padding-right: var( --gap );
}

.ulz-elementor-row {
    width: 100%;
    margin: 0 auto;
}

.ulz-main {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

    .ulz-content {
        flex: 1;
        min-width: 0;

        @include media( md ) {
            flex: 0 1 100%;
        }
    }

    .ulz-sidebar {
        flex: 0 1 calc( 300px + ( 1.35rem * 2 ) + 70px );
        max-width: calc( 300px + ( 1.35rem * 2 ) + 70px );
        padding-left: 70px;

        @include media( md ) {
            flex: 0 1 100%;
            padding-left: 0;
        }
    }
}

.ulz-elementor-section {
    @include relative;

    &.ulz--full {
        display: flex;
        flex-direction: column;
        min-height: 100vh;

        @include media( lg ) {
            min-height: calc( 100vh - 64px );
        }
    }

    .ulz--bg {
        @include absolute( top 0 right 0 bottom 0 left 0 );
        background-size: cover;
        background-position: center;

        i {
            @include absolute( top 0 right 0 bottom 0 left 0 );
        }
    }

    > .ulz-row {
        position: relative;
        z-index: 1;
    }

    .ulz--heading {
        .ulz--title {
            display: block;
            margin-bottom: 0;
            font-size: 30px;
            font-weight: 700;
            line-height: 120%;
            font-family: var( --font-heading );

            @include media( lg ) {
                font-size: 26px;
            }

            @include media( xs ) {
                font-size: 21px;
            }
        }

        .ulz--sub-title {
            display: block;
            margin: calc( .5 * var( --gap ) ) 0 0 0;

            @include media( sm ) {
                margin: 0;
            }
        }

        a {
            text-decoration: none;
        }

        .ulz--size-normal {
            font-size: inherit;
        }

        .ulz--size-small {
            font-size: 16px;
        }

        .ulz--size-medium {
            font-size: 26px;

            @include media( xs ) {
                font-size: 20px;
            }
        }

        .ulz--size-large {
            font-size: 32px;

            @include media( xs ) {
                font-size: 22px;
            }
        }

        .ulz--size-xl {
            font-size: 43px;

            @include media( md ) {
                font-size: 40px;
            }

            @include media( xs ) {
                font-size: 24px;
            }
        }

        .ulz--size-xxl {
            font-size: 52px;

            @include media( md ) {
                font-size: 42px;
            }

            @include media( xs ) {
                font-size: 26px;
            }
        }

        .ulz--size-xxxl {
            font-size: 64px;

            @include media( lg ) {
                font-size: 50px;
            }

            @include media( md ) {
                font-size: 44px;
            }

            @include media( xs ) {
                font-size: 28px;
            }
        }

        .ulz--size-xxxxl {
            font-size: 68px;

            @include media( xl ) {
                font-size: 62px;
            }

            @include media( lg ) {
                font-size: 54px;
            }

            @include media( md ) {
                font-size: 46px;
            }

            @include media( xs ) {
                font-size: 30px;
            }
        }
    }
}

.ulz-mod {
    &:first-child {
        > .ulz-section {
            margin-top: 0;
        }
    }

    &:last-child {
        > .ulz-section {
            margin-bottom: 0;
        }
    }
}

/*
 * page title
 *
 */
.ulz-page-title {
    background-position: center;
    background-size: cover;
    padding: 3rem 0;

    @include media( lg ) {
        padding: 2rem 0 2.5rem 0;
    }

    @include media( sm ) {
        padding: 1.25rem 0 1.5rem 0;
    }

    &.ulz--has-image {
        display: flex;
        justify-content: center;
        flex-direction: column;
        min-height: 300px;
    }

    .ulz--title {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 70px;
        font-weight: 700;
        line-height: 110%;
        word-break: break-word;

        @include media( lg ) {
            margin-bottom: .5rem;
            font-size: 34px;
        }

        @include media( xs ) {
            font-size: 28px;
        }
    }

    .ulz--summary {
        max-width: 800px;
    }

    .ulz-listing-tags {
        margin-bottom: 1.5rem;

        @include media( sm ) {
            margin-bottom: 1rem;
        }
    }
}

/*
 * breadcrumb
 *
 */
.ulz-breadcrumb {
    ul {
        display: flex;
        flex-wrap: wrap;
        margin: 1rem 0 0;
        list-style: none;
        font-size: 13px;
        font-style: italic;

        li {
            margin: 0 3px;

            &:after {
                content: '/';
                margin: 0 0 0 6px;
            }

            &:last-child {
                &:after {
                    content: none;
                }
            }

            a {
                display: inline-block;
                text-decoration: none;
                color: inherit;
            }

            span {
                display: inline-block;
                opacity: .5;
            }
        }
    }
}

/*
 * explore
 *
 */
.utillz {
    .ulz-explore {
        display: flex;

        .ulz-explore-sidebar {
            flex: 0 1 370px;
            max-width: 370px;
            padding-right: calc( 2% + var( --gap ) );
        }

        .ulz-explore-content {
            flex: 1;

            .ulz--map {
                padding: 1.4rem var( --gap ) 0;
            }
        }

        @include media( lg ) {
            flex-wrap: wrap;

            .ulz-explore-sidebar {
                flex: 0 1 100%;
                max-width: 100%;
                padding-right: var( --gap );
            }

            .ulz-explore-content {
                flex: 0 1 100%;
                max-width: 100%;
            }
        }
    }
}

/*
 * explore types
 *
 */

// default
.ulz-explore-type--default {

}

// wide
.ulz-explore-type--wide {
    --row: 1580px;
}

// taxonomy heading
.ulz-taxonomy-heading {
    border-bottom: 1px solid var( --border );

    .ulz--inner {
        display: flex;
        align-items: center;
        padding: var( --gap ) var( --gap ) var( --gap ) var( --gap );
    }

    @include media( md ) {
        display: none;
    }

    .ulz--title {
        flex: 1;
        padding-right: 1rem;
    }

    .ulz--name {
        display: inline;
        font-size: 40px;
        line-height: 120%;
        font-weight: 800;

        @include media( lg ) {
            font-size: 30px;
        }
    }

    .ulz--action {
        ul {
            margin: 0;
            padding: 0;
            list-style: none;

            li {

            }
        }

        .ulz--close {
            @include transition( all .3s );
            display: inline-block;
            height: 35px;
            min-width: 35px;
            padding: 0 4px;
            background: #000;
            color: #fff;
            font-size: 16px;
            line-height: 35px;
            border-radius: 50%;
            text-decoration: none;
            text-align: center;

            &:hover {
                background-color: #111;
                color: #fff;
                box-shadow: inset 0 0 0 1px #111;
            }
        }
    }
}

/*
 * single listing
 *
 */
.single-ulz_listing {
    .ulz-container {
        margin-top: 2rem;

        @include media( lg ) {
            margin-top: 67px;
        }
    }

    .site-main {
        > .ulz-row {
            margin-top: 2rem;
        }
    }

    .ulz--cell-action {
        > div:first-child {
            display: none;
        }
    }

    .ulz-npanel {
        @include media( xl ) {
            margin-right: 1.5rem;
        }

        @include media( sm ) {
            margin-right: 0;
        }
    }

    @include media( md ) {
        .ulz-filter-tab .ulz-tab-flyout {
            bottom: 0;
        }
    }
}

.ulz-single-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 1rem 0;
    margin: -1rem -1rem var( --gap ) -1rem;
    background-color: rgba(255,255,255,.7);
    overflow: hidden;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 10;

    @include media( sm ) {
        padding: 0;
    }

    > * {
        padding: 0 1rem;
    }

    .ulz--cell-author {
        flex: 1;
        min-width: 0;
    }

    .ulz--author {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 -.5rem;

        .ulz--image {
            flex: 0 1 54px;
            max-width: 54px;
            padding: 0 .5rem;
        }

        img {
            display: block;
            width: 38px;
            vertical-align: top;
        }

        .ulz--heading {
            flex: 1;
            min-width: 0;
            padding: 0 .5rem;
        }

        .ulz--title {
            font-weight: 700;
        }

        .ulz--author-name {
            font-size: 13px;
            color: #aaa;
        }

        a {
            text-decoration: none;
            color: #000;

            @include media( hover ) {
                &:hover {
                    color: var( --primary );
                }
            }
        }
    }

    .ulz--cell-action {
        display: flex;
        margin: 0 -.35rem;

        > * {
            padding: 0.35rem;
        }

        a {
            display: flex;
            align-items: center;
            line-height: 24px;
            padding: 7px 15px;
            background-color: #f1f1f1;
            border-radius: 6px;
            font-weight: 600;
            color: #333;
            text-decoration: none;

            @include media( hover ) {
                &:hover {
                    background-color: #ddd;
                }
            }

            &.ulz--active {
                background-color: var( --primary );
                color: #fff;
            }

            &.ulz-ajaxing {
                background-color: #ddd;
                color: var( --primary );
            }
        }
    }
}

.utillz {
    .ulz-author {
        @include relative;
        color: #000;
        overflow: hidden;

        .ulz--avatar {
            flex: 0 0 55px;
            max-width: 55px;
        }

        .ulz--name {
            flex-direction: column;
        }

        .ulz--reviews {
            font-size: 11px;
            font-weight: 400;
            margin-bottom: 4px;
        }

        .ulz--description {
            max-width: 510px;
        }

        &.ulz--is-image {
            background-size: cover;
            background-position: center;
            color: #fff;

            &:before {
                @include absolute( top 0 right 0 bottom 0 left 0 );
                content: '';
                background: rgba(0, 0, 0, 0.15);
            }

            > * {
                @include relative;
            }

            .ulz-button {
                background-color: rgba(30,30,30,.5);

                @include media( hover ) {
                    &:hover {
                        background-color: #000;
                        color: #fff;
                    }
                }
            }
        }
    }

    .ulz-reviews-stat-num,
    .ulz-comment-rating {
        color: var( --primary );
    }
}

// related
.ulz-related {
    margin-top: 2rem;

    @include media( sm ) {
        margin-top: 1rem;
    }
}

// tags
.ulz-listing-tags,
.ulz-listing-tags.ulz-listing-details {
    margin: 1.25rem 0 0 0;

    ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: -.25rem;
    }

    li {
        padding: .25rem;
        margin: 0;
    }

    a, span {
        display: block;
        line-height: 18px;
        padding: .5rem 1rem;
        font-size: 15px;
        background-color: #f5f5f5;
        color: #444;
        border: 1px solid #eee;
        border-radius: 4px;

        @include media( sm ) {
            padding: .35rem .75rem;
            font-size: 14px;
        }
    }

    a {
        text-decoration: none;

        @include media( hover ) {
            &:hover {
                background: #fff;
                color: #000;
            }
        }
    }

    span {
        cursor: default;
    }
}

// single listing
.utillz {
    .ulz-single {
        .ulz-listing-sidebar {
            flex: 0 1 33.3334%;
            max-width: 33.3334%;
        }
    }
}

.ulz-cover {
    @include relative;
    margin-bottom: 2rem;

    @include media( sm ) {
        margin-bottom: 1.5rem;
    }

    .ulz--asset {
        @include relative;
    }

    img,
    video,
    .x16x9 {
        display: block;
        max-height: calc( 100vh - 70px - 10rem );
        margin: 0 auto;
        vertical-align: top;
    }

    video {
        @include absolute( top 0 right 0 bottom 0 left 0 );
        max-width: 100%;
        height: 100%;
    }

    .x16x9 {
        @include relative;
        padding-top: 56.25%;
    }

    iframe {
        @include absolute( top 0 right 0 bottom 0 left 0 );
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
}

// default
.ulz-cover-default {
    background-color: #f5f5f5;

    img,
    video,
    .x16x9 {
        max-height: none;
    }
}

// gallery
.ulz-cover-gallery {
    background-color: #000;
}

// adaptive
.ulz-cover-adaptive {
    @include relative;
    overflow: hidden;

    @include media( sm ) {
        flex-wrap: wrap;
    }

    .ulz--images {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 64vh;
        margin: -4px;

        &.-x1 {
            .ulz--image {
                grid-column: 1 / 5;
                grid-row: 1 / 3;
            }
        }

        &.-x2 {
            grid-template-columns: repeat( 2, 1fr );
            grid-template-rows: repeat( 1, 64vh );
        }

        &.-x3 {
            grid-template-columns: repeat( 2, 1fr );
            grid-template-rows: repeat( 2, 32vh );

            .ulz--image {
                &:first-child {
                    grid-column: 1 / 2;
                    grid-row: 1 / 3;
                }
            }
        }

        &.-x4 {
            grid-template-columns: repeat( 4, 1fr );
            grid-template-rows: repeat( 2, 32vh );

            .ulz--image {
                &:first-child {
                    grid-column: 1 / 3;
                    grid-row: 1 / 3;
                }

                &:last-child {
                    grid-column: 3 / 5;
                }
            }
        }

        &.-x5 {
            grid-template-columns: repeat( 4, 1fr );
            grid-template-rows: repeat( 2, 32vh );

            .ulz--image {
                &:first-child {
                    grid-column: 1 / 3;
                    grid-row: 1 / 3;
                }
            }
        }

        @include media( md ) {
            grid-template-columns: repeat( 2, 1fr )!important;
            grid-template-rows: auto!important;

            .ulz--image {
                grid-column: auto!important;
                grid-row: auto!important;
                padding-bottom: 100%;

                &:first-child {
                    grid-column: 1 / 5!important;
                }
            }
        }
    }

    .ulz--image {
        background-size: cover;
        background-position: center;
        box-shadow: inset 0px 0px 0px 1.5px #fff;
    }

    .ulz--main {
        flex: 0 1 50%;

        @include media( sm ) {
            flex: 0 1 100%;
        }
    }
}

.ulz-gallery-actions {
    @include absolute;
    display: flex;
    margin: 0 -.25rem;
    list-style: none;

    &.ulz--bottom {
        right: var( --gap );
        bottom: var( --gap );
    }

    li {
        margin: 0 .25rem;
    }

    a {
        display: flex;
        align-items: center;
        padding: 6px 13px;
        background: #111;
        color: #fff;
        font-size: 14px;
        text-decoration: none;
        line-height: 24px;
        border-radius: 5px;

        @include media( xs ) {
            padding: 4px 10px;
            font-size: 14px;
            line-height: 20px;
        }

        span {
            font-weight: 600;
        }
    }

    i {
        margin-right: .5rem;
        font-size: 16px;
    }
}

.ulz-cover-top {
    @include absolute( top 0 right 0 left 0 );
    background: linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.03) 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 2;

    @include media( sm ) {
        position: static;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .ulz--inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        margin: 0 -1rem;

        @include media( sm ) {
            padding: .5rem 0;
            margin: 0 -.5rem;
        }

        > * {
            padding: 0 1rem;
            min-width: 0;

            @include media( sm ) {
                padding: 0 .5rem;
            }
        }
    }

    .ulz--cell-author {
        flex: 1;
    }

    .ulz--author {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 -.5rem;

        .ulz--image {
            flex: 0 1 57px;
            max-width: 57px;
            padding: 0 .5rem;
        }

        img {
            display: block;
            width: 38px;
            vertical-align: top;
        }

        .ulz--heading {
            flex: 1;
            min-width: 0;
            padding: 0 .5rem;
        }

        .ulz--title {
            font-size: 16px;
        }

        .ulz--author-name {
            font-size: 13px;
            opacity: .65;
        }

        a {
            text-decoration: none;
            color: #fff;
        }
    }

    .ulz--cell-action {
        display: flex;
        justify-content: flex-end;
        margin: 0 -.35rem;

        > * {
            padding: 0.35rem;
        }

        a {
            display: flex;
            align-items: center;
            font-size: 16px;
            line-height: 27px;
            background-color: rgba(255,255,255,.2);
            color: #fff;
            border-radius: 4px;
            text-decoration: none;

            @include media( hover ) {
                &:hover {
                    background-color: rgba(255,255,255,.4);
                }
            }

            &.ulz--active {
                background-color: var( --system );
                color: #fff;
            }

            &[data-action='download-toggle'] {
                > span {
                    border-right: 1px solid rgba(255,255,255,.4);
                }
            }

            &.ulz-ajaxing {
                background-color: #ddd;
                color: var( --system );
            }

            span {
                padding: 7px 12px;
            }

            > i {
                padding: 7px 12px;
                font-size: 20px;

                @include media( sm ) {
                    padding: 7px 10px;
                }
            }
        }
    }
}

// adopted download
.ulz-npanel {
    &.ulz-dpanel {
        @include absolute( right var( --gap ) );

        @include media( sm ) {
            @include fixed( top 0 left 0 bottom 0 );
            right: 0!important;
            height: auto;
            margin-top: 0;
            border-radius: 0!important;

            .ulz--list {
                flex: 1;
            }
        }

        .ulz--list {
            height: 275px;
            padding: 0;
        }

        .ulz-action-title,
        .ulz-action-summary,
        .ulz-action-footer {
            display: none;
        }

        .ulz-download-plans {
            .ulz--plans {
                margin-bottom: 0;
            }

            .ulz-section-toggle {
                border-radius: 0;
            }
        }

        .ulz-close {
            span {
                background-color: #bbb;
            }
        }

        .ulz--footer {
            .ulz-button {
                background-color: var( --system );
                font-weight: 400;
                font-size: 17px;
            }
        }

        .ulz-skeleton {
            .ulz--image {
                display: none;
            }

            .ulz--content {
                margin: 0 .25rem;
            }
        }
    }
}

// module content
.ulz-mod-listing {
    &[data-type='content'] {
        ul {
            list-style: none;
            padding: 0;
            margin: 0;

            li {
                position: relative;
                padding-left: 27px;

                &:before {
                    @include absolute( top 0 left 0 );
                    font-family: 'Font Awesome 5 Free';
                    content: '\f111';
                    font-weight: 800;
                }
            }
        }
    }
}

// reviews
.ulz-reviews-stats-text {
    font-size: 18px;
    font-family: var( --font-body );

    @include media( sm ) {
        font-size: 15px;

        .ulz-reviews-stat-num {
            display: block;
            margin-left: 0;
        }
    }
}

.ulz-reviews-progress {
    .ulz-progress {
        .ulz-progress-bar {
            background: var( --primary );
        }
    }
}

// sidebar
.ulz-listing-sidebar {
    @include relative;

    --dropdown-width: 100%;

    > .ulz--inner {
        z-index: 1;

        &.ulz--sticky {
            position: sticky;
            top: 70px;
            padding-top: 1.75rem;
            margin-top: -1.75rem;
        }

        .ulz--heading {
            display: none;
        }
    }

    .ulz-notice {
        margin-bottom: 1.5rem;
    }
}

/*
 * listings
 *
 */

// masonry
.ulz-listings-columns {
    display: grid;
    grid-column-gap: var( --gap );
    grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
    align-items: start;

    @include media( sm ) {
        margin-left: -1rem;
        margin-right: -1rem;

        .ulz-listing-content {
            padding-left: 1rem;
            padding-right: 1rem;
            margin-top: -1.25rem;
            margin-bottom: 1rem;
        }
    }

    &[data-chunks='4'] {
        grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
    }

    .ulz-listings {
        display: grid;
        row-gap: var( --gap );
        grid-template-columns: minmax( 0, 1fr );
        margin: 0;

        @include media( sm ) {
            row-gap: 0;
        }

        .ulz-listing-item {
            display: block;
            flex: 0 1 auto;
            max-width: none!important;
            padding: 0;
        }
    }

    .ulz-listing-cover {
        .ulz--action {
            @include media( sm ) {
                .ulz-cover-author {
                    padding: 1rem;
                }

                .ulz--download {
                    padding: 1rem;
                }
            }
        }
    }
}

.utillz {
    .ulz-listing-image {
        .ulz-image {
            text-indent: inherit;

            .ulz--img {
                @include absolute( top 0 right 0 bottom 0 left 0 );
                @include transition( all .3s );
                background-size: cover;
                background-position: center;
                opacity: 0;
            }

            &.ulz--is-video {
                background-color: #111;

                > i {
                    @include absolute( top 50% left 50% );
                    @include transformXY( -50%, -50% );
                    @include transition( all .3s );
                    opacity: 0;
                    width: 50px;
                    height: 50px;
                    padding-left: 3px;
                    line-height: 42px;
                    border: 4px solid #fff;
                    font-size: 20px;
                    color: #fff;
                    text-align: center;
                    border-radius: 100px;
                    pointer-events: none;
                    z-index: 1;
                }
            }
        }

        .ulz--video,
        .ulz--embed {
            @include absolute( top 0 right 0 bottom 0 left 0 );
            width: 100%;
            height: 100%;
        }

        .ulz--embed {
            iframe {
                @include absolute( top 0 right 0 bottom 0 left 0 );
                width: 100%;
                height: 100%;
            }
        }
    }

    .ulz-listing-cover {
        margin-bottom: 0;
    }

    .ulz-listing {
        .ulz-title {
            h4 {
                font-family: var( --font-body );
                font-weight: 700;
            }
        }

        .ulz-listing-tags {
            margin-top: 1.25rem;
        }

        .ulz-listing-overlay {
            @include absolute( top 0 right 0 bottom 0 left 0 );
            @include transition( opacity .22s );
            background-color: var( --listing-over );
            opacity: 0;
        }

        &.ulz-cover--author {
            border: 0;
            background-color: rgba(120, 120, 120, .075 );
            border-radius: 0;

            .ulz-listing-tags {
                a,
                span {
                    background-color: rgba(200, 200, 200, .3 );
                    border-color: rgba(100, 100, 100, .085 );
                    color: inherit;
                }
            }
        }

        @include media( hover ) {
            &:hover {
                .ulz--action {
                    opacity: 1;
                }

                .ulz-listing-overlay {
                    opacity: 1;
                }

                .ulz--is-video {
                    > i {
                        opacity: 1!important;
                    }
                }

                .ulz-listing-priority,
                .ulz-listing-badges {
                    opacity: 1;
                }
            }
        }
    }

    .ulz-cover--image {
        .ulz-listing-priority {
            top: 12px;
            left: 12px;
        }
    }

    .ulz-listing-priority {
        opacity: 0;
        pointer-events: none;

        .ulz--tag {
            padding: 0 5px;
            background: transparent;
            color: #fff;
            font-weight: 400;
        }
    }

    .ulz-listing-badges {
        opacity: 0;
        top: 16px;
        right: 16px;

        * {
            vertical-align: top;
        }
    }

    .ulz-listing-favorite {
        font-size: 25px;
    }
}

// listing action
.ulz-listing-cover {
    .ulz--action {
        @include absolute( bottom 0 left 0 right 0 );
        @include transition( opacity .22s );
        display: flex;
        align-items: center;
        opacity: 0;

        .ulz--author {
            flex: 1;
        }

        .ulz--download {
            flex: 0;
            padding: 10px;

            a {
                display: block;
                width: 38px;
                line-height: 38px;
                font-size: 20px;
                background-color: #fff;
                color: #000;
                text-align: center;
                border-radius: 6px;
            }
        }

        @include media( sm ) {
            @include relative;
            opacity: 1;

            .ulz-cover-author {
                padding: 1rem 0 0 0;
                font-weight: 600;

                a {
                    color: inherit;
                }
            }

            .ulz--download {
                padding: 1rem 0 0 0;

                a {
                    background-color: #ddd;
                }
            }
        }
    }
}

// cover author
.ulz-cover-author {
    display: flex;
    padding: 10px;

    @include media( md, 'min' ) {
        color: #fff;

        a {
            color: #fff;
        }
    }

    .ulz--image {
        flex: 0 1 38px;
        max-width: 38px;

        img {
            border-radius: 50%;
        }
    }

    .ulz--heading {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 .5rem;
        font-size: 13px;
    }

    .ulz-avatar-placeholder {
        background-color: #fff;

        @include media( sm ) {
            background-color: #ddd;
        }
    }
}

/*
 * modals
 *
 */

// modal quick view
.ulz-modal-open--listing-preview {
    .ulz-overlay {
        display: none!important;
    }
}

.ulz-modal-listing-preview {
    @include transformX(0);
    justify-content: center;
    width: auto;
    padding: var( --gap ) 0;
    margin-left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    overflow-y: auto;
    background: rgba(0,0,0,.9);
    border: 0;
    border-radius: 0;
    cursor: pointer;

    @include media( sm ) {
        display: none;
    }

    &.ulz-ajaxing {
        display: flex;
        justify-content: center;
        width: auto!important;
        margin-left: 0!important;

        .ulz-listing-preview {
            max-width: 200px;
            padding: 0;

            @include media( sm ) {
                max-width: 110px;

                i {
                    font-size: 19px;
                }
            }
        }
    }

    .ulz-collections--stack {
        .ulz--gallery {
            grid-auto-rows: 120px;
        }
    }

    .ulz-mod-content {
        margin: 2rem 0;

        &:last-child {
            margin-bottom: 0;
        }

        h4 {
            margin: 0 0 2rem 0;
            font-size: 25px;
            font-weight: 700;

            @include media( md ) {
                margin: 0 0 1.25rem 0;
                font-size: 20px;
            }
        }
    }
}

.ulz-listing-preview {
    @include relative;
    width: 100%;
    max-width: 1320px;
    padding: 0;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: default;

    .ulz-cover-top {
        .ulz--inner {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        > .ulz-relative {
            @include media( sm ) {
                @include absolute( top 0 right 0 bottom 0 left 0 );
            }
        }
    }

    .ulz-npanel {
        right: 1rem;
    }

    .ulz-cover-gallery {
        padding: 0;
        margin: 0;
        background-color: #000;

        .ulz--background {
            display: none;
        }
    }

    .ulz-mod-action {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .ulz-close {
        position: static;
        padding: 0;
    }
}

.ulz-preview-gallery {
    display: none;
}

.ulz-preview-nav {
    @include fixed( top 50% );
    display: none;
    padding: 0 8px;
    margin-top: -20px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,.2);
    border-radius: 5px;
    z-index: 2;
    cursor: pointer;

    &[data-action='preview-prev'] {
        left: 1rem;
    }

    &[data-action='preview-next'] {
        right: 1rem;
    }

    @include media( hover ) {
        &:hover {
            i {
                color: rgba(255,255,255,.5);
            }
        }
    }

    .ulz-listing-preview-ready & {
        display: block;
    }

    i {
        @include transition( all .3s );
        display: block;
        color: #fff;
        font-size: 24px;
    }
}

// listing preview skeleton
.ulz-listing-preview-skeleton {
    display: block;

    .ulz--image {
        @include relative;
        display: block;
        padding-top: 70%;
        background-color: #ccc;
        border-radius: 6px;
    }

    i {
        @include absolute( top 50% left 50% );
        @include transformXY( -50%, -50% );
        font-size: 30px;
        opacity: .3;
    }
}

.ulz-ajaxing {
    .ulz-listing-preview-skeleton {
        animation-duration: .75s;
        animation-name: modal-skeleton;
        animation-iteration-count: infinite;
    }
}

// close
.ulz-close {
    text-decoration: none;

    span {
        display: block;
        padding: 0 12px;
        background-color: #f1f1f1;
        color: #000;
        font-size: 16px;
        line-height: var( --form-field-height );
        font-weight: 700;
        border-radius: 8px;
    }

    @include media( hover ) {
        &:hover {
            span {
                background-color: #ddd;
            }
        }
    }
}

// modal gallery
.ulz-modal-gallery {
    @include fixed( top 0 right 0 bottom 0 left 0 );
    @include transformXY( 0, 0 );
    flex-direction: column;
    width: auto;
    max-height: none;
    margin-left: 0;
    border-radius: 0;
    box-shadow: none;

    &.ulz-visible {
        display: flex;
    }

    &.ulz-ajaxing {
        width: auto!important;
        margin-left: 0!important;
    }

    .ulz-modal-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-height: none;
        padding: 0 var( --gap );

        @include media( md ) {
            padding: 0 1rem;
        }
    }

    .ulz-modal-image {
        @include relative;
        @include transition( all .3s );
        flex: 1;
        opacity: 1;

        img {
            @include absolute( top 0 right 0 bottom 0 left 0 );
            display: inline-block;
            max-height: 100%;
            max-width: 100%;
            margin: auto;
            width: auto;
            height: auto;
            border-radius: 10px;
        }
    }

    .ulz-gallery-counter {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 78px;
        margin-top: auto;
        font-size: 12px;
    }

    &.ulz-ajaxing {
        .ulz-modal-append,
        .ulz-modal-heading,
        .ulz-close {
            display: block;
        }

        .ulz-modal-image {
            opacity: 0;
        }
    }

    .ulz-gallery-nav {
        display: none;
    }

    &.ulz-is-stack {
        .ulz-gallery-nav {
            @include absolute( top 0 bottom 0 );
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 var( --gap );
            text-decoration: none;

            i {
                @include transition( all .3s );
                display: inline-block;
                height: 35px;
                min-width: 35px;
                padding: 0 4px;
                background-color: #fff;
                color: #111;
                font-size: 16px;
                line-height: 35px;
                border-radius: 6px;
                text-decoration: none;
                text-align: center;
                box-shadow: inset 0 0 0 1px #ddd;

                @include media( sm ) {
                    background-color: rgba(210,210,210,.7);
                    box-shadow: none;
                    color: rgba(255,255,255,.8);
                }
            }

            @include media( hover ) {
                &:hover {
                    i {
                        background-color: #111;
                        color: #fff;
                        box-shadow: inset 0 0 0 1px transparent;
                    }
                }
            }

            &[data-action='prev'] {
                left: 0;
                text-align: left;

                @include media( sm ) {
                    left: 1rem;
                }
            }

            &[data-action='next'] {
                right: 0;
                text-align: right;

                @include media( sm ) {
                    right: 1rem;
                }
            }
        }
    }
}

/*
 * listing grid
 *
 */
.ulz-listing-grid {
    ul {
        display: flex;
        margin: 0 calc( -1 * var( --gap ) );
        list-style: none;

        li {
            flex: 0 1 33.3334%;
            padding: var( --gap );

            .ulz--item {
                @include relative;
                display: block;
                padding-top: 120%;
                background-color: #333;
                box-shadow: -3px 3px 14px rgba(0, 0, 0, 0.1);
                border-radius: 10px;
                color: #fff;

                .ulz--content {
                    @include absolute( top 0 right 0 bottom 0 left 0 );
                    display: flex;
                    flex-direction: column;
                    padding: var( --gap );

                    .ulz--bottom {
                        margin-top: auto;

                        .ulz-title {
                            margin: 0;
                            font-size: 19px;
                        }
                    }

                    .ulz-listing-review {
                        color: #fff;
                        margin-bottom: .25rem;
                    }
                }
            }
        }
    }
}

/*
 * button
 *
 */
.ulz-button-accent {
    background: var( --primary );
    color: #fff;
}

/*
 * articles
 *
 */
.ulz-articles {
    margin: 0 0 calc( -1 * var( --gap ) ) 0;

    @include media( md ) {
        margin-bottom: -1rem;
    }

    .ulz--cell {
        flex: 0 1 33.3334%;
        max-width: 33.3334%;
        padding: 0 calc( .5 * var( --gap ) );
        display: flex;
        flex-direction: column;

        @include media( sm ) {
            flex: 0 1 100%!important;
            max-width: 100%!important;
        }
    }

    &.ulz--x2 {
        .ulz--cell {
            flex: 0 1 50%;
            max-width: 50%;
        }
    }

    .ulz--item {
        @include transition( all .3s );
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: var( --gap );
        box-shadow: inset 0 0 0 1px rgba(165,165,165,.3);
        border-radius: 10px;

        .ulz--image {
            @include relative;
            display: block;
            overflow: hidden;

            .ulz--img {
                background-size: cover;
                background-position: center;
            }

            .ulz--img,
            .ulz-dummy-image {
                display: block;
                padding-top: 60%;
            }
        }

        .ulz--content {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: var( --gap );

            @include media( sm ) {
                padding: 1.15rem;
            }

            a {
                color: inherit;
            }

            .ulz--title {
                margin-bottom: 1rem;
                text-overflow: ellipsis;
                overflow: hidden;
                width: 100%;
            }

            .ulz--name {
                display: block;
                font-size: 22px;
                line-height: 140%;
                font-weight: 700;
                text-decoration: none;

                @include media( sm ) {
                    font-size: 18px;
                }
            }

            .ulz--meta {
                display: flex;
                align-items: center;
                margin: 0 -.5rem 1rem -.5rem;

                .ulz--meta-cell {
                    padding: 0 .5rem;
                }
            }

            .ulz--category {
                display: block;
                font-size: 14px;
                white-space: nowrap;
                font-weight: normal;

                &:hover {
                    color: var( --primary );
                }
            }

            .ulz--date {
                font-size: 14px;
                white-space: nowrap;
            }

            .ulz--excerpt {
                font-size: 14px;
                line-height: 180%;
            }

            .ulz--more {
                margin: auto 0 0 0;

                a {
                    text-decoration: none;
                    font-size: 14px;
                    font-weight: normal;
                }
            }
        }

        &.ulz--sticky {
            background-color: #fff8f8;
            box-shadow: inset 0 0 0 1px hsl(0deg 82% 77% / 30%);
        }
    }

    &.ulz-no-excerpt {
        .ulz--excerpt {
            display: none;
        }
    }
}

/*
 * single
 *
 */
.ulz-page-content {
    .single-post & {
        margin: 0 auto var( --gap ) auto;
        font-size: 17px;
        line-height: 1.6;

        @include media( md ) {
            max-width: none;
        }
    }

    .ulz-is-explore & {
        margin-bottom: 0;
    }

    &:before,
    &:after {
        content: '';
        display: block;
        width: 100%;
        clear: both;
    }
}

.ulz--no-sidebar {
    .ulz-page-title {
        .ulz-row {
            > * {
                max-width: 847px;
                margin: 0 auto;
            }
        }
    }

    .ulz-main {
        .ulz-content {
            max-width: 847px;
            margin: 0 auto;
        }
    }
}

.single-post {
    .ulz-container {
        margin-top: 0;
    }

    .ulz-page-title {
        .ulz--title {
            font-size: 60px;

            @include media( lg ) {
                font-size: 46px;
            }

            @include media( sm ) {
                font-size: 30px;
            }

            @include media( xs ) {
                font-size: 23px;
            }
        }
    }
}

/*.single-post {
    .ulz-page-title {
        .ulz-row {
            max-width: 847px;
            margin: 0 auto 0 auto;
        }
    }
}*/

.ulz-post-date {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-size: 17px;
    font-weight: 700;

    @include media( sm ) {
        margin-top: var( --gap );
    }

    i {
        margin-right: calc( .5 * var( --gap ) );
    }
}

.ulz-featured {
    background-color: #f5f5f5;
    margin-bottom: 3rem;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;

    @include media( sm ) {
        margin-bottom: var( --gap );
    }

    img {
        vertical-align: top;
        border-radius: 10px;
    }
}

.ulz-tags {
    max-width: 847px;
    margin: var( --gap ) auto 1rem auto;
    overflow: hidden;

    @include media( md ) {
        max-width: none;
    }

    ul {
        display: flex;
        flex-wrap: wrap;
        margin: -4px;
        font-size: 15px;
        list-style: none;

        li {
            a {
                display: block;
                padding: 3px 14px;
                margin: 4px;
                font-size: 13px !important;
                line-height: 26px;
                background: var( --primary );
                color: #fff;
                border-radius: 50px;
                text-decoration: none;
            }

            @include media( hover ) {
                &:hover {
                    a {
                        background: var( --primary )
                    }
                }
            }
        }
    }
}

/*
 * widgets
 *
 */
.ulz-widget {
    margin-bottom: var( --gap );

    .ulz-widget-title {
        font-size: 20px;
    }

    .ulz-sidebar & {
        margin-bottom: 1.75rem;
        background-color: #f5f5f5;
        padding: 1.35rem;
        border-radius: 6px;
    }

    select {
        padding: 0 10px;
    }

    a {
        text-decoration: none;
        color: var( --primary );

        @include media( hover ) {
            &:hover {
                text-decoration: underline;
            }
        }
    }

    ul {
        list-style: none;
        margin: 0;

        li {
            display: block;
            padding: 0;
            margin: 0;

            a {
                @include relative;
                display: block;
                padding: 7px 0;
                font-weight: 600;
                line-height: 22px;
                clear: both;

                .ulz--count {
                    float: right;
                    padding: 0 5px;
                    margin-left: 3px 0 3px 10px;
                    min-width: 22px;
                    line-height: 22px;
                    text-align: center;
                    background-color: var( --primary );
                    color: #fff;
                    font-weight: 700;
                    font-size: 12px;
                    border-radius: 4px;
                }
            }
        }

        ul {
            margin-left: var( --gap );
        }

        > li a:before {
            content: '—';
            margin-right: .5rem;
            font-weight: 600;
            color: var( --primary );
        }
    }

    .recentcomments {
        a {
            display: inline;

            &:before {
                content: none;
            }
        }
    }

    .screen-reader-text {
        display: none!important;
    }

    .tagcloud {
        display: flex;
        flex-wrap: wrap;
        margin: -3px;
        font-size: 15px;

        a {
            padding: 3px 14px;
            margin: 2px;
            font-size: 13px!important;
            line-height: 23px;
            background: var( --primary );
            color: #fff;
            border-radius: 6px;

            @include media( hover ) {
                &:hover {
                    background: var( --primary )
                }
            }
        }

        .tag-link-count {

        }
    }

    #recentcomments {
        li {
            padding: 10px 0;
            border-bottom: 1px solid #ddd;

            a {
                display: inline-block;
                padding: 0;
                border: 0;
                color: var( --primary );
                font-weight: 700;
            }
        }
    }

    ul {
        .rsswidget {
            display: block;
            padding: 0;
            border: 0;
            color: var( --primary );
            font-weight: 700;
        }

        .rss-date {
            display: block;
            margin: .5rem 0;
            color: #666;
        }

        > li {
            .rsswidget {
                margin-top: 1rem;
            }

            &:first-child {
                .rsswidget {
                    margin-top: 0;
                }
            }

            &:last-child {
                > a {
                    border-bottom: 0;
                }
            }
        }
    }
}

// blocks
.wp-block-group {
    h2 {
        font-size: 24px;
    }

    &:last-child {
        margin-bottom: 0;
    }
}

.wp-block-latest-comments {
    list-style: none;
    margin-bottom: 0;
}

.wp-block-search {
    margin-bottom: 0;
}

.wp-block-search__label {
    display: block;
    font-weight: 600;
    margin-bottom: .5rem;
}

.wp-block-search__inside-wrapper {
    display: flex;

    input[type='search'] {
        min-width: 0;
    }
}

// calendar
.wp-calendar-table {
    td,
    th {
        padding: .5rem;
    }

    caption {
        margin-bottom: 1rem;
    }
}

// select
.ulz-archive-dropdown {
    @include relative;
    width: 100%;
    margin-bottom: 0;

    &:after {
        @include pseudo( absolute );
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 600;
        line-height: 20px;
        font-size: 20px;
        top: 50%;
        margin-top: -10px;
        right: 1rem;
        pointer-events: none;
    }

    select {
        @include appearance(none);

        option {
            padding: 4px 8px;
        }
    }
}

.ulz-widget {
    &[data-id='utillz-widget-listing-types'],
    &[data-id='search'] {
        padding: 0;
        background-color: transparent;
        border: 0;
    }
}

.ulz-native-search {
    display: flex;

    .ulz--input {
        flex: 1;
        padding: 0 15px;
        border-radius: 10px 0 0 10px;
    }

    .ulz--submit {
        border: 0;
        background: var( --primary );
        color: #fff;
        padding: 0 15px;
        line-height: 41px;
        border-radius: 0 10px 10px 0;
        cursor: pointer;
    }
}

/*
 * primary search
 *
 */
.ulz-primary-search {
    display: none;
    padding: .75rem 0;

    --carousel-height: 46px;
    --form-background: transparent;
    --form-background-disabled: transparent;

    .ulz-tab-flyout {
        --form-background: #ddd;
        --form-background-disabled: #ddd;
    }

    .ulz-search-form {
        flex: 1;

        .ulz--form {
            flex: 1;
        }
    }

    .ulz--date {
        display: flex;
        align-items: center;

        .ulz--day {
            font-family: var( --font-heading );
            font-size: 2.8rem;
            font-weight: 700;
            margin-right: 1.25rem;
        }

        .ulz--right {
            display: flex;
            flex-direction: column;
            justify-content: center;

            .ulz--weekday {
                font-weight: 700;
            }

            .ulz--month {
                opacity: .5;
            }
        }
    }
}

.ulz-primary-search:not(.ulz-mobile-search) {
    .ulz-search-form {
        .ulz-search-submit {
            padding: 4px 5px;

            .ulz-button {
                padding: 9px 11px;
                font-size: 13px;
                line-height: 17px;
                border-radius: 5px;
            }

            .ulz-preloader {
                line-height: 21px;
            }
        }
    }
}

.ulz-submission-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var( --primary );
    color: #fff;
    font-size: 15px;
    border-radius: 6px;

    > * {
        padding: 0 .25rem;
    }

    .ulz--info {
        margin-right: .5rem;
        font-size: 21px;
    }

    .ulz--text {
        flex: 1;
    }
}

/*
 * explore
 *
 */

// filters
.utillz {
    .ulz-search-filter--inline {
        .ulz--content {
            .ulz-form {
                > .ulz-grid {
                    margin: 0 -.5rem;

                    > .ulz-mod {
                        > .ulz-form-group {
                            padding: 0 .5rem;
                        }
                    }
                }
            }
        }

        .ulz-filter-tab .ulz-tab-title:after,
        .ulz-select:after {
            font-size: 13px;
            color: #aaa;
        }

        @include media( lg ) {
            margin-bottom: 1.5rem;
        }
    }
}

// single listing
.ulz-mod-action {
    box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.135);
    border-radius: 8px;
}

/*
 * form
 *
 */
.utillz {
    .ulz-form-group {
        input[type='text'],
        input[type='number'],
        input[type='email'],
        input[type='password'],
        input[type='tel'],
        textarea,
        select,
        select[multiple] {
            min-width: 36px;
        }
    }
}

/*
 * author page
 *
 */
.ulz-author-cover {
    .ulz--cover {
        @include relative;
        padding: var( --gap );
        margin: 2rem 0;
        background: var( --primary );
        color: #fff;
        border-radius: 10px;

        @include media( lg ) {
            padding: 1rem;
        }

        @include media( sm ) {
            margin: 0 0 1.5rem;
        }

        .ulz--inner {
            @include relative;
            z-index: 1;
        }

        &.ulz--has-avatar {
            .ulz--cover-avatar {
                background-color: transparent;
                box-shadow: -3px 3px 25px 0px rgba(0,0,0,.2);
            }
        }

        &.ulz--has-cover {
            min-height: 35vh;
            background: transparent;
            background-size: cover;
            background-position: center;
            color: #fff;
            box-shadow: -3px 3px 25px 0px rgba(0,0,0,.2);

            &:after {
                @include absolute( bottom 0 right 0 top 0 left 0 );
                content: '';
                background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 100%);
                border-radius: 10px;
            }
        }
    }

    .ulz--heading {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        @include media( sm ) {
            .ulz-button {
                display: block;
            }
        }
    }

    .ulz--cover-avatar {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 80px;
        background-color: #fff;
        color: #333;
        box-shadow: -3px 3px 25px 0px rgba(0,0,0,.07);
        border-radius: 10px;
        overflow: hidden;

        @include media( sm ) {
            width: 56px;
            height: 56px;
            border-radius: 50%;
        }

        img {
            width: 100%;
            height: 100%;
        }
    }

    .ulz--image {

    }

    .ulz--action {
        @include media( sm ) {
            flex: 0 1 100%;
            max-width: 100%;
            margin-top: 1.5rem;
        }
    }

    .ulz--name {
        margin: var( --gap ) 0;
        font-size: 30px;

        @include media( lg ) {
            font-size: 20px;
        }

        i {
            margin-right: 3px;
        }
    }

    .ulz--bio {
        max-width: 50%;
        font-size: 19px;
        font-weight: 700;
        margin: 0;

        @include media( lg ) {
            font-size: 17px;
            font-weight: 500;
        }

        @include media( md ) {
            max-width: 100%;
        }
    }

    .ulz--name {
        @include media( sm ) {
            font-size: 17px;
            font-weight: 700;
        }
    }
}

.ulz-select-listing-type {
    &.ulz-form-group {
        min-width: 100%;
        margin-bottom: 0;
    }

    select {
        width: 100%;
    }
}

.ulz-dummy-image {
    @include relative;
    display: inline-block;
    width: 100%;
    padding-top: 65%;
    background-color: #222;
    color: #ccc;
    vertical-align: top;

    i {
        @include absolute( top 50% left 50% );
        font-size: 2rem;
        color: inherit;
        @include transformXY(-50%, -50%);
    }
}

/*
 * widgets
 *
 */

// title
.ulz-widget-title {
    margin-bottom: 1.25rem;
}

/*
 * password protected post
 *
 */
.post-password-form {
    p {
        &:first-child {
            font-weight: 700;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }

    label {
        input[type='password'] {
            display: block;
            margin-top: 1rem;
            background-color: var( --form-background );
            box-shadow: var( --form-border );
            border-radius: 6px;
        }
    }

    input[type='submit'] {
        min-width: 120px;
        margin-top: var( --gap );
        border-radius: 6px;
    }
}

/*
 * paging
 *
 */
.ulz-paging {
    ul {
        li {
            a,
            span {
                border-radius: 6px;
            }
        }
    }
}

/*
 * paging
 *
 */
.ulz-paging {
    margin: 3rem 0 0 0;
    font-size: 0;
    font-weight: 700;
    text-align: center;

    @include media( md ) {
        margin-top: 2rem;
    }

    ul {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
            display: inline-block;
            margin: 5px 3px;

            a,
            span {
                list-style: none;
                display: inline-block;
                height: 35px;
                min-width: 35px;
                padding: 0 4px;
                margin: 0 2px;
                background-color: #fff;
                color: #111;
                font-size: 15px;
                line-height: 35px;
                border-radius: 6px;
                text-decoration: none;

                &.next,
                &.prev {
                    box-shadow: inset 0 0 0 1px #ddd, 0 2px 4px rgba(0, 0, 0, 0.18) !important;
                }

                &.current {
                    background-color: #111;
                    color: #fff;
                    border-color: #111;
                }
            }

            a:hover {
                background-color: #eee;
                color: inherit;
            }

            &:first-child a {
                margin-left: 0;
            }

            &:last-child a {
                margin-right: 0;
            }
        }
    }
}

/*
 * no results
 *
 */
.ulz-no-results-outer {
    margin-bottom: 2rem;

    .ulz--input {
        background-color: #ddd;
        border: 0;
    }
}

.ulz-no-results {
    > p {
        font-weight: 700;
        font-size: 18px;
    }
}

/*
 * 404
 *
 */
.ulz-404 {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 3rem 0;
    text-align: center;

    @include media( md ) {
        padding: 0;
        min-height: 0;
    }

    i {
        display: block;
        margin-bottom: 0;
        font-size: 250px;
        line-height: 1.1;
        font-family: var( --font-heading );
        font-weight: 700;
        font-style: normal;
        color: var( --primary );

        @include media( md ) {
            font-size: 200px;
        }

        @include media( sm ) {
            font-size: 120px;
        }

        @include media( xs ) {
            font-size: 80px;
        }
    }

    p {
        font-size: 18px;
        font-weight: 700;
    }
}

/*
 * contact form
 *
 */
.ulz-contact-form {
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=number],
    input[type=url],
    input[type=tel],
    textarea,
    select {
        background-color: #ddd;
        color: #fff;
        border: 0;
    }

    input[type=submit] {
        min-width: 200px;

        @include media( sm ) {
            display: block;
            width: 100%;
        }
    }

    .ajax-loader {
        display: block;
        margin: var( --gap ) auto 0;
    }

    .wpcf7-not-valid-tip {
        margin-top: .5rem;
        color: var( --error );
        font-weight: 600;
    }
}

.wpcf7 {
    form {
        &.invalid,
        &.unaccepted {
            .wpcf7-response-output {
                padding: 0.5em 1em;
                background-color: var( --error );
                color: #fff;
                border: 0;
                border-radius: 6px;
                font-weight: 600;
            }
        }
    }
}

// subscribe form
.ulz-subscribe {
    .ulz--name {
        font-size: 37px;
        line-height: 130%;
        font-family: var( --font-heading );
        font-weight: 700;

        @include media( md ) {
            font-size: 30px;
        }

        @include media( sm ) {
            font-size: 24px;
        }
    }

    .ulz--summary {
        max-width: 600px;
    }

    .ulz-input {
        @include relative;
        width: 100%;
        margin-top: .75rem;

        > i {
            @include absolute( top 0 left 0 );
            width: 52px;
            line-height: 52px;
            text-align: center;

            @include media( sm ) {
                width: 48px;
                line-height: 48px;
            }
        }

        input {
            width: 100%;
            height: 52px;
            line-height: 52px;
            padding: 0 55px;
            border: 0;
            background-color: #dddddd;
            border-radius: 10px;
            color: #000;
            text-align: left;
            font-style: italic;

            @include media( sm ) {
                height: 44px;
                line-height: 44px;
            }
        }

        button {
            @include transition( all .3s );
            display: block;
            width: 100%;
            padding: 0 20px;
            margin-top: 1rem;
            line-height: 52px;
            border: 0;
            background-color: transparent;
            text-align: center;
            border-radius: 10px;
            cursor: pointer;
            box-shadow: inset 0 0 0 1px rgba(0,0,0,1);

            @include media( sm ) {
                margin-top: .75rem;
                line-height: 44px;
            }

            @include media( hover ) {
                &:hover {
                    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 15px 40px -20px rgb(0,0,10,.15);
                }
            }
        }
    }
}

.ulz--mc4wp-dark {
    .ulz-subscribe {
        .ulz-input {
            button {
                background-color: var( --primary );
                color: #fff;
                font-weight: 600;
                box-shadow: none;

                @include media( hover ) {
                    &:hover {
                        background-color: #fff;
                        color: var( --primary );
                    }
                }
            }
        }
    }
}

.mc4wp-response {
    margin-top: var( --gap );

    .mc4wp-error {
        p {
            display: inline-block;
            padding: 8px 12px;
            background-color: #e45065;
            line-height: 180%;
            color: #fff;
            border-radius: 6px;
            font-weight: 700;
        }
    }

    .mc4wp-success {
        p {
            display: inline-block;
            padding: 8px 12px;
            background-color: #58dc4e;
            line-height: 180%;
            color: #fff;
            border-radius: 6px;
            font-weight: 700;
        }
    }
}

/*
 * modals
 *
 */

// modal sign in
.ulz-modal-open--signin {
    .ulz-overlay {
        background-color: #000;
        opacity: 0.95;
    }
}

.ulz-modal-signin {
    flex-direction: row;
    width: 1320px;
    margin-left: -660px;
    min-height: 80vh;
    background-color: #000;
    color: #fff;
    border: 0;
    box-shadow: none;
    overflow: hidden;

    --border: #444;
    --form-background: #222229;
    --white: #222229;
    --black: #fff;
    --error-background: #f67884;
    --error: #fff;

    @include media( xl ) {
        left: 0;
        bottom: 0;
        width: 100%;
        margin-left: 0;
    }

    @include media( md ) {
        width: 456px;
        margin-left: -228px;
        justify-content: center;
    }

    .ulz-close {
        span {
            background-color: rgba(255,255,255,.1);
            color: #fff;
        }

        @include media( hover ) {
            &:hover {
                span {
                    background-color: rgba(255,255,255,.2);
                }
            }
        }
    }

    .ulz-signin-tabs {
        a {
            background-color: rgba(255,255,255,.1);

        }

        li {
            &.ulz-active,
            &:hover {
                a {
                    background-color: rgba(255,255,255,.2);
                    color: #fff;
                }
            }
        }
    }

    .ulz-standard-role {
        a {
            background-color: rgba(255,255,255,.1);
            color: #fff;

            @include media( hover ) {
                &:hover {
                    background-color: rgba(255,255,255,.2);
                }
            }
        }
    }

    .ulz-modal-content {
        a {
            text-decoration: none;
        }
    }

    .ulz-signin-image {
        flex: auto;
        background-color: #222;
        background-size: cover;
        background-position: center;

        @include media( md ) {
            display: none;
        }
    }

    .ulz-signin-content {
        flex: 0 1 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .ulz-modal-append {
        justify-content: center;
    }

    .ulz-signin-or {
        span {
            background-color: #000;
        }
    }

    .ulz-signin-social a,
    .ulz-button {
        background-color: #222229;

        @include media( hover ) {
            &:hover {
                background-color: #2c2c35;
            }
        }
    }

    .ulz-signin-social {
        .ulz-button {
            @include relative;
        }

        img {
            @include absolute( top 50% left 1rem );
            @include transformY( -50% );
        }
    }

    .ulz-modal-container {
        max-width: 455px;
    }

    .ulz-modal-footer {
        max-width: 455px;
        padding: var( --gap );
        padding-top: 0;
        margin: 0 auto;
        width: 100%;
    }
}

.ulz-signin-title {
    display: block;
    text-align: left;
    font-size: 32px;
    margin-bottom: var( --gap );
    font-family: var( --font-heading );
    line-height: 36px;
    font-weight: 700;

    @include media( md ) {
        font-size: 26px;
    }
}

.ulz-standard-role {
    ul {
        margin: calc( -.5 * var( --gap ) );
    }

    li {
        flex: 0 1 100%;
        margin: calc( .5 * var( --gap ) );
    }

    a {
        background-color: #f5f5f5;
        text-align: left;
        border-radius: 10px;

        @include media( hover ) {
            &:hover {
                background-color: #ddd;
            }
        }
    }

    .ulz--name {
        display: flex;
        align-items: center;
    }

    .ulz--icon {
        font-size: 23px;
    }

    .ulz--arrow {
        font-size: 20px;
    }

    .ulz--summary {
        display: block;
        margin-top: .5rem;
        font-weight: 400;
        color: #87878b;
    }
}

.ulz-signin-tabs {
    ul {
        display: flex;
        justify-content: flex-start;
        list-style: none;
        margin: 0 -.5rem;
    }

    li {
        &.ulz-active,
        &:hover {
            a {
                background-color: #ddd;
            }
        }
    }

    a {
        @include relative;
        display: block;
        padding: 0 15px;
        margin: 0 .5rem;
        line-height: 40px;
        text-decoration: none;
        font-weight: 800;
        background-color: #f5f5f5;
        border-radius: 6px;
    }
}

/*
 * notifications panel
 *
 */
.ulz-npanel {
    @include fixed( top 70px right calc( ( 100vw - var( --row ) ) * .5 ) );
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    width: 400px;
    margin-top: .5rem;
    background-color: #eee;
    color: #000;
    box-shadow: 0 0 7px 0 rgb(0,0,0,.06);
    border-radius: 8px;
    z-index: 200;

    @include media( xl ) {
        right: var( --gap );
    }

    @include media( sm ) {
        width: auto;
        left: 0;
    }

    @include media( lg, 'min' ) {
        &.ulz-panel-notifications {
            .admin-bar & {
                top: 102px;
            }
        }
    }

    &.ulz--visible {
        transition: opacity .2s, visibility .2s;
        visibility: visible;
        opacity: 1;
    }

    .ulz-close {
        span {
            background-color: var( --primary );
            color: #fff;
        }

        @include media( hover ) {
            &:hover {
                span {
                    background-color: #111;
                }
            }
        }
    }

    .ulz--header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;

        .ulz-button {
            padding-left: 10px;
            padding-right: 10px;
            background: #aaa;

            span {
                font-size: 21px;
                vertical-align: top;
            }
        }
    }

    .ulz--title {
        font-family: var( --font-heading );
        font-size: 24px;
        font-weight: 800;

        @include media( sm ) {
            font-size: 20px;
        }
    }

    .ulz--list {
        padding: .5rem 0;
        height: 45vh;
        overflow-y: auto;
        background-color: #fff;
        border-top: 1px solid #ccc;

        > div > p {
            padding: .5rem 1rem;
            margin: 0;
            text-align: center;
        }
    }

    .ulz--actions {
        padding: 0 var( --gap ) var( --gap );

        > a {
            @include relative;
            display: block;
            padding: 12px 15px;
            background-color: #f1f1f1;
            color: #000;
            text-decoration: none;
            font-weight: 700;
            border-radius: 50px;
            text-align: center;

            span {
                color: inherit;
            }

            &:hover {
                background-color: #111;
                color: #fff;
            }

            &.ulz-ajaxing {
                background-color: #f1f1f1;
                color: #000;

                span {
                    opacity: 0;
                }
            }
        }
    }

    .ulz--site {
        padding: 0 .5rem;

        &:last-child {
            margin-bottom: 0;
        }

        > * {
            display: flex;
            align-items: center;
            padding: calc( .5 * var( --gap ) );
            text-decoration: none;
            border-radius: 10px;
            font-style: normal;
        }

        .ulz--icon {
            @include relative;
            flex: 0 0 50px;
            text-align: center;

            i {
                @include transition( all .3s );
                display: block;
                width: 50px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                border-radius: 8px;
                background: var( --system-background );
                color: var( --system );
                font-size: 18px;
            }
        }

        .ulz--text {
            flex: 1;
            padding-left: 1rem;
            padding-right: 1rem;
            font-size: 16px;
            color: #000;
            line-height: 1.4;

            span {
                display: block;
                margin-top: .3rem;
                font-size: 12px;
                opacity: .3;
            }
        }

        .ulz--status {
            flex: 0 0 12px;

            span {
                display: block;
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background-color: var( --system );
            }
        }

        &.ulz--active {
            font-weight: 700;
        }

        @include media( hover ) {
            &:hover {

                > * {
                    background-color: #fff;
                }

                > em {
                    cursor: default;
                }

                .ulz--icon {
                    i {
                        background-color: var( --system );
                        color: var( --system-background );
                    }
                }

                .ulz--text {
                    color: #000;
                }
            }
        }
    }

    .ulz-skeleton {
        padding: 0;
        margin: .75rem 1.25rem;

        .ulz--image {
            flex: 0 1 50px;
            height: 50px;
            border-radius: 50%;
        }
    }

    .ulz--footer {
        padding: 18px;
        border-top: 1px solid #ccc;

        .ulz-button {
            display: block;
            background: #aaa;
            color: #fff;

            &.ulz--mutted {
                background: #ddd;
                color: #aaa;
                cursor: not-allowed;
            }
        }
    }
}

.ulz-panel-notifications {
    @include media( lg ) {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        margin: 0;
        border-radius: 0;
        box-shadow: none;

        .ulz--list {
            flex: 1;
            height: auto;
        }
    }
}

/*
 * collections
 *
 */
.ulz-collections {
    a {
        text-decoration: none;
    }
}

.ulz-collections--wall {
    .ulz--inner {
        display: grid;
        grid-auto-rows: 200px;
        gap: var( --gap );
        grid-template-columns: repeat( 12, 1fr );
    }

    .ulz--cell {
        display: flex;
        flex-direction: column;
    }

    &.ulz--4x3 {
        .ulz--cell {
            grid-column: span 4;

            &:nth-child( 7n + 1 ),
            &:nth-child( 7n + 2 ),
            &:nth-child( 7n + 3 ),
            &:nth-child( 7n + 4 ) {
                grid-column: span 3;
            }
        }
    }

    &.ulz--3x2 {
        .ulz--cell {
            grid-column: span 6;

            &:nth-child( 5n + 1 ),
            &:nth-child( 5n + 2 ),
            &:nth-child( 5n + 3 ) {
                grid-column: span 4;
            }
        }
    }

    @include media( md ) {
        .ulz--cell {
            grid-column: span 6!important;
        }
    }

    @include media( sm ) {
        .ulz--cell {
            grid-column: span 12!important;
        }
    }

    .ulz--item {
        @include relative;
        @include transition( all .3s );
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        background-color: #222;
        border-radius: 10px;
        overflow: hidden;

        &:after {
            @include absolute( top 0 right 0 bottom 0 left 0 );
            content: '';
            background-color: rgba(0,0,0,0);
            z-index: 1;
        }

        @include media( hover ) {
            &:hover {
                box-shadow: 0 10px 30px -10px rgb(0,0,10,.05), 0 20px 40px -20px rgb(0,0,0,.15);

                &:after {
                    background-color: rgba(0,0,0,.2);
                }
            }
        }
    }

    .ulz--image {
        @include absolute( top 0 right 0 bottom 0 left 0 );
        background-size: cover;
        background-position: center;
    }

    .ulz--name {
        @include relative;
        width: 100%;
        padding: 1.5rem 1rem 1rem;
        font-size: 17px;
        color: #fff;
        text-align: center;
        font-weight: 600;
        background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
        z-index: 2;
    }
}

.ulz-collections--stack {
    overflow: hidden;

    .ulz--inner {
        display: flex;
        flex-wrap: wrap;
        margin: 0 calc( -.5 * var( --gap ) ) -2rem calc( -.5 * var( --gap ) );

        @include media( md ) {
            margin-bottom: -1rem;
        }
    }

    .ulz--cell {
        flex: 0 1 33.3334%;
        max-width: 33.3334%;
        padding: 0 calc( .5 * var( --gap ) );
        display: flex;
        flex-direction: column;

        @include media( md ) {
            flex: 0 1 50%!important;
            max-width: 50%!important;
        }

        @include media( sm ) {
            flex: 0 1 100%!important;
            max-width: 100%!important;
        }
    }

    &.ulz--x2 {
        .ulz--cell {
            flex: 0 1 50%;
            max-width: 50%;
        }
    }

    &.ulz--x4 {
        .ulz--cell {
            flex: 0 1 25%;
            max-width: 25%;
        }
    }

    .ulz--item {
        display: flex;
        flex-direction: column;
        flex: 1;
        margin-bottom: 2rem;

        @include media( hover ) {
            &:hover {
                .ulz--gallery {
                    box-shadow: 0 10px 30px -10px rgb(0,0,10,.05), 0 20px 40px -20px rgb(0,0,0,.15);

                    .ulz--image {
                        opacity: .8;
                    }
                }
            }
        }
    }

    .ulz--gallery {
        @include transition( all .3s );
        display: grid;
        grid-auto-rows: 140px;
        gap: 3px;
        grid-template-columns: repeat( 3, 1fr );
        border-radius: 10px;
        overflow: hidden;

        @include media( sm ) {
            grid-auto-rows: 110px;
        }

        .ulz--image {
            @include relative( top -1px );
            @include transition( all .075s );
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #222;
            background-size: cover;
            background-position: center;
            font-size: 24px;
            color: #fff;

            &:nth-child(1) {
                grid-column: span 2;
                grid-row: span 2;
            }
        }
    }

    .ulz--content {

    }

    .ulz--name {
        display: block;
        margin-top: 1rem;
        color: inherit;
        font-size: 20px;
        font-weight: 700;
        font-family: var( --font-heading );
    }

    .ulz-listing-tags {
        margin-top: auto;
        padding-top: 1rem;
    }

    &.ulz--dark {
        .ulz-listing-tags {
            a,
            span {
                background-color: #222;
                color: #fff;
                border: 0;
            }

            a {
                @include media( hover ) {
                    &:hover {
                        background-color: #444;
                    }
                }
            }
        }
    }
}

// download list
.ulz-asset-list {
    ul {
        padding: 0;
        margin: 0;
        list-style: none;

        li {

        }

        a {
            display: flex;
            align-items: center;
            margin: 1rem -.5rem;
            text-decoration: none;

            > * {
                padding: 0 .5rem;
            }

            .ulz--image {
                span {
                    display: block;
                    width: 48px;
                    height: 48px;
                    border-radius: 7px;
                    background-size: cover;
                    background-position: center;
                }
            }

            .ulz--name {
                font-weight: 700;
            }
        }
    }
}
