/* Shared light pagination for 123movies.pictures */
.pictures-pagination-wrap {
    width: 100%;
    clear: both;
    margin: 20px 0 24px;
    text-align: center;
}

.pictures-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.pictures-page-btn {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d9e1e5;
    border-radius: 4px;
    background: #ffffff;

    color: #34414a !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;

    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease,
        box-shadow .15s ease;
}

a.pictures-page-btn:hover,
a.pictures-page-btn:focus {
    background: #f4fbfc;
    border-color: var(--main-brand-color, #08a9c0);
    color: var(--main-brand-color, #08a9c0) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.pictures-page-btn.active {
    border-color: var(--main-brand-color, #08a9c0);
    background: var(--main-brand-color, #08a9c0);
    color: #ffffff !important;
    box-shadow: none;
    cursor: default;
}

.pictures-page-edge {
    font-size: 16px;
    padding-bottom: 2px;
}

.pictures-page-ellipsis {
    min-width: 24px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8b99a3;
    font-size: 15px;
    font-weight: 700;
    user-select: none;
}

@media (max-width: 600px) {
    .pictures-pagination-wrap {
        margin: 16px 0 20px;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
        text-align: left;
    }

    .pictures-pagination-wrap::-webkit-scrollbar {
        display: none;
    }

    .pictures-pagination {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
    }

    .pictures-page-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
    }
}

