.elementor-15577 .elementor-element.elementor-element-48fb7f9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-15577 .elementor-element.elementor-element-8192714{--display:flex;}.elementor-15577 .elementor-element.elementor-element-ac41d47.elementor-element{--align-self:center;}.elementor-15577 .elementor-element.elementor-element-501bf5f{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-e8031be *//* =========================================================
   Slate of China – Billiard Gallery
   ========================================================= */

.sotc-gallery {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    width: 100%;
}


/* ---------------------------------------------------------
   LEFT SIDEBAR
   --------------------------------------------------------- */

.sotc-gallery-sidebar {
    position: sticky;
    top: 90px;

    background: #f7f7f5;
    border: 1px solid #e5e5e2;

    padding: 22px 18px;

    border-radius: 4px;
}

.sotc-gallery-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #333;

    padding-bottom: 16px;
    margin-bottom: 8px;

    border-bottom: 1px solid #dededb;
}


/* ---------------------------------------------------------
   ALL PHOTOS
   --------------------------------------------------------- */

.sotc-gallery-all {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 0 10px;

    margin-bottom: 6px;

    color: #333;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 3px;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.sotc-gallery-all:hover {
    background: #ececea;
    color: #111;
}

.sotc-gallery-all.is-active {
    background: #333;
    color: #fff;
}


/* ---------------------------------------------------------
   CATEGORY ROW
   --------------------------------------------------------- */

.sotc-category-group {
    margin: 2px 0;
}

.sotc-category-row {
    display: flex;
    align-items: center;

    min-height: 40px;
}

.sotc-category-toggle {
    flex: 0 0 25px;

    width: 25px;
    height: 32px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    color: #777;

    font-size: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sotc-category-toggle:hover {
    color: #222;
}

.sotc-category-spacer {
    flex: 0 0 25px;
}


/* ---------------------------------------------------------
   CATEGORY LINK
   --------------------------------------------------------- */

.sotc-category-link {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 38px;

    padding: 0 9px;

    color: #444;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 3px;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.sotc-category-link:hover {
    background: #ececea;
    color: #111;
}

.sotc-category-link.is-active {
    background: #e7e7e3;
    color: #111;

    box-shadow: inset 3px 0 0 #333;
}


/* ---------------------------------------------------------
   COUNTS
   --------------------------------------------------------- */

.sotc-category-count {
    margin-left: 8px;

    color: #999;

    font-size: 11px;
    font-weight: 400;
}

.sotc-category-link.is-active .sotc-category-count {
    color: #666;
}


/* ---------------------------------------------------------
   SUBCATEGORIES
   --------------------------------------------------------- */

.sotc-subcategories {
    display: none;

    margin-left: 25px;

    padding-left: 8px;

    border-left: 1px solid #dededb;
}

.sotc-subcategories.is-open {
    display: block;
}

.sotc-subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 34px;

    padding: 0 8px;

    color: #666;

    text-decoration: none;

    font-size: 13px;

    border-radius: 3px;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.sotc-subcategory-link:hover {
    background: #ececea;
    color: #222;
}

.sotc-subcategory-link.is-active {
    color: #111;
    font-weight: 600;

    background: #e8e8e5;
}


/* ---------------------------------------------------------
   RIGHT CONTENT
   --------------------------------------------------------- */

.sotc-gallery-main {
    min-width: 0;
}

.sotc-gallery-current-title {
    margin-bottom: 22px;

    font-size: 24px;
    line-height: 1.25;

    font-weight: 600;

    color: #222;
}

.sotc-gallery-intro {
    color: #666;

    font-size: 15px;
    line-height: 1.7;

    max-width: 700px;
}


/* ---------------------------------------------------------
   MLA GALLERY
   --------------------------------------------------------- */

.sotc-gallery-grid .mla_gallery {
    margin: 0 !important;
}

.sotc-gallery-grid .mla_gallery_item {
    margin-bottom: 26px;
}

.sotc-gallery-grid img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 3px;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.sotc-gallery-grid a:hover img {
    opacity: .92;
}


/* ---------------------------------------------------------
   PAGINATION
   --------------------------------------------------------- */

.sotc-gallery-pagination {
    margin-top: 34px;

    padding-top: 20px;

    border-top: 1px solid #e5e5e2;

    text-align: center;
}

.sotc-gallery-pagination ul {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.sotc-gallery-pagination li {
    margin: 0;
    padding: 0;
}

.sotc-gallery-pagination a,
.sotc-gallery-pagination span {
    display: inline-flex;

    min-width: 36px;
    height: 36px;

    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border: 1px solid #ddd;

    border-radius: 3px;

    color: #444;

    text-decoration: none;

    font-size: 13px;

    background: #fff;
}

.sotc-gallery-pagination a:hover {
    background: #f1f1ef;
    color: #111;
}

.sotc-gallery-pagination .current {
    background: #333;
    border-color: #333;
    color: #fff;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .sotc-gallery {
        display: block;
    }

    .sotc-gallery-sidebar {
        position: relative;
        top: auto;

        margin-bottom: 28px;

        padding: 16px;
    }

    .sotc-gallery-sidebar-title {
        font-size: 12px;
    }

    .sotc-gallery-current-title {
        font-size: 21px;
    }

    .sotc-gallery-grid .mla_gallery_item {
        margin-bottom: 18px;
    }

    .sotc-gallery-pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =========================================================
 * SOTC Gallery
 * Mobile: 2 columns
 * Desktop: keep existing 3 columns
 * ========================================================= */

@media (max-width: 767px) {

    /* Gallery container */
    .sotc-gallery-images .gallery {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;

        float: none !important;
        clear: both !important;
    }


    /* Each MLA / WordPress gallery item */
    .sotc-gallery-images .gallery .gallery-item {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: none !important;

        display: block !important;
        box-sizing: border-box !important;
    }


    /* Image wrapper */
    .sotc-gallery-images .gallery-icon {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
    }


    /* Link */
    .sotc-gallery-images .gallery-icon a {
        display: block !important;
        width: 100% !important;
    }


    /* Image */
    .sotc-gallery-images .gallery-icon img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        max-width: 100% !important;

        margin: 0 !important;
    }


    /* Prevent the footer from overlapping the gallery */
    .sotc-gallery-images .gallery::after {
        content: "" !important;
        display: block !important;
        clear: both !important;
    }

}

.sotc-gallery-images .gallery-caption {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    line-height: 24px !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    line-clamp: 2 !important;

    overflow: hidden !important;

    margin: 8px 0 0 0 !important;
    box-sizing: border-box !important;
}/* End custom CSS */
/* Start custom CSS */.sotc-billiard-gallery {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 35px;
    width: 100%;
    align-items: start;
}

.sotc-gallery-sidebar {
    width: 300px;
    min-width: 300px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.sotc-gallery-main {
    min-width: 0;
    width: 100%;
}

#sotc-gallery-results {
    width: 100%;
    min-width: 0;
}


/* ---------------------------------------------
 * Sidebar typography
 * --------------------------------------------- */

.sotc-gallery-sidebar-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}


/* ---------------------------------------------
 * Category links
 * --------------------------------------------- */

.sotc-all-photos-link,
.sotc-gallery-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding: 9px 12px;

    margin-bottom: 2px;

    text-decoration: none !important;

    color: #333;

    border-radius: 5px;

    font-size: 15px;

    line-height: 1.4;
}


/* Hover */

.sotc-all-photos-link:hover,
.sotc-gallery-category-link:hover {
    background: #f2f2f2;
    color: #111;
}


/* ---------------------------------------------
 * Active category
 * --------------------------------------------- */

.sotc-gallery-category-link.is-active,
.sotc-all-photos-link.is-active {
    background: #e9e9e9;
    color: #111;
    font-weight: 600;
}


/* ---------------------------------------------
 * Category name
 * --------------------------------------------- */

.sotc-gallery-category-name {
    flex: 1;
    min-width: 0;
}


/* ---------------------------------------------
 * Count
 * --------------------------------------------- */

.sotc-gallery-category-count {
    flex: 0 0 auto;

    margin-left: 12px;

    min-width: 22px;

    text-align: center;

    font-size: 12px;

    color: #777;
}


/* ---------------------------------------------
 * Parent arrow
 * --------------------------------------------- */

.sotc-category-arrow {
    position: absolute;

    left: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 12px;

    font-size: 11px;

    color: #777;

    line-height: 1;
}


/* Parent item */

.sotc-category-item.has-children
> .sotc-gallery-category-link {
    padding-left: 30px;
}


/* ---------------------------------------------
 * Child indentation
 * --------------------------------------------- */

.sotc-category-level-1
> .sotc-gallery-category-link {
    padding-left: 32px;
}

.sotc-category-level-2
> .sotc-gallery-category-link {
    padding-left: 52px;
}


/* ---------------------------------------------
 * Mobile
 * --------------------------------------------- */

@media (max-width: 767px) {

    .sotc-billiard-gallery {
        display: block !important;
    }

    .sotc-gallery-sidebar {
        position: relative;
        top: auto;

        width: 100%;
        min-width: 0;

        margin-bottom: 25px;
    }

    .sotc-gallery-main {
        width: 100%;
    }
}

/* =========================================================
 * SOTC Gallery - Step 1 Loading State
 * ========================================================= */

.sotc-gallery-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.sotc-gallery-loading.is-visible {
    opacity: 1;
    visibility: visible;
}

.sotc-gallery-loading-box {
    padding: 14px 22px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    font-size: 15px;
    color: #333;
}

.sotc-gallery-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 9px;
    vertical-align: -2px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: sotc-gallery-spin 0.7s linear infinite;
}

@keyframes sotc-gallery-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
 * SOTC Gallery Action Buttons
 * ========================================================= */

.sotc-gallery-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;

    margin-top: 10px;
    margin-bottom: 18px;

    flex-wrap: wrap;
}


/* Product button */

.sotc-gallery-product-button,
.sotc-gallery-inquiry-button {

    display: inline-block;

    padding: 7px 12px;

    font-size: 13px;
    line-height: 1.3;

    text-decoration: none !important;

    border-radius: 4px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;

}


/* View Product */

.sotc-gallery-product-button {

    border: 1px solid #777;
    background: #fff;
    color: #333;

}


.sotc-gallery-product-button:hover {

    background: #333;
    color: #fff;

}


/* Get Quote */

.sotc-gallery-inquiry-button {

    border: 1px solid #333;
    background: #333;
    color: #fff;

}


.sotc-gallery-inquiry-button:hover {

    background: #555;
    color: #fff;

}


/* =========================================================
 * Mobile
 * ========================================================= */

@media (max-width: 767px) {

    .sotc-gallery-actions {

        gap: 6px;

        margin-top: 8px;
        margin-bottom: 14px;

    }


    .sotc-gallery-product-button,
    .sotc-gallery-inquiry-button {

        padding: 6px 8px;

        font-size: 12px;

    }

}

.sotc-gallery-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 18px;
    flex-wrap: wrap;
}

.sotc-gallery-product-button,
.sotc-gallery-inquiry-button {
    display: inline-block;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none !important;
    border-radius: 4px;
}

.sotc-gallery-product-button {
    background: #fff;
    color: #333;
    border: 1px solid #777;
}

.sotc-gallery-inquiry-button {
    background: #333;
    color: #fff;
    border: 1px solid #333;
}

@media (max-width: 767px) {

    .sotc-gallery-actions {
        gap: 5px;
        margin: 7px 0 14px;
    }

    .sotc-gallery-product-button,
    .sotc-gallery-inquiry-button {
        padding: 6px 8px;
        font-size: 12px;
    }

}

.sotc-gallery-title {
    line-height: 1.35;
    min-height: 2.7em;
    max-height: 2.7em;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    line-clamp: 2;
}/* End custom CSS */