/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Getting Started Page
# Post Formats
# Single Post Title Style
# rtMedia Notice
# BB Platform Pro
# Theme Setting
--------------------------------------------------------------*/

.buddyx-gs .learndash-license-is-dismissible {
    display: none;
}


/*--------------------------------------------------------------
# Getting Started Page
# Appearance > Getting Started: a header card, five tabs, the next-step
# panel, goal cards, Customizer tiles and the step-by-step checklist.
# Colours come from the --bx-gs-* tokens below (WordPress admin colour for
# the accent), spacing is logical so RTL mirrors, and every grid falls to
# one column under 600px.
--------------------------------------------------------------*/
.buddyx-gs {
    --bx-gs-fg: var(--bx-color-fg, #1d2327);
    --bx-gs-muted: var(--bx-color-fg-muted, #50575e);
    --bx-gs-border: var(--bx-color-border, #dcdcde);
    --bx-gs-surface: var(--bx-color-bg, #fff);
    --bx-gs-surface-muted: var(--bx-color-bg-muted, #f0f0f1);
    --bx-gs-accent: var(--wp-admin-theme-color, #2271b1);
    --bx-gs-accent-hover: var(--wp-admin-theme-color-darker-10, #135e96);
    --bx-gs-accent-soft: color-mix(in srgb, var(--bx-gs-accent) 10%, var(--bx-gs-surface));
    --bx-gs-on-accent: var(--bx-color-fg-inverse, #fff);
    --bx-gs-success: var(--bx-color-success, #007017);
    --bx-gs-success-soft: var(--bx-color-success-bg, #edfaef);
    --bx-gs-radius: 12px;
    max-width: 1200px;
    margin-inline: auto;
    color: var(--bx-gs-fg);
}

.buddyx-gs a:focus-visible,
.buddyx-gs button:focus-visible,
.buddyx-gs summary:focus-visible,
.buddyx-gs [tabindex="-1"]:focus-visible {
    outline: 2px solid var(--bx-gs-accent);
    outline-offset: 2px;
    box-shadow: none;
    border-radius: 2px;
}

.buddyx-gs [hidden] {
    display: none;
}

/* Header card: title, version and the Customizer button. */
.buddyx-gs-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-block: 16px 8px;
    padding: 24px 28px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-header-text {
    flex: 1 1 320px;
}

.buddyx-gs .buddyx-gs-title {
    margin: 0;
    padding: 0;
    font-size: 26px;
    line-height: 1.2;
}

.buddyx-gs-header-text p {
    margin: 6px 0 0;
    color: var(--bx-gs-muted);
    font-size: 15px;
}

.buddyx-gs-version {
    color: var(--bx-gs-muted);
    font-size: 13px;
}

/* Buttons: a filled primary and an outline secondary. */
.buddyx-gs .buddyx-gs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--bx-gs-accent);
    border-radius: 8px;
    background: var(--bx-gs-accent);
    color: var(--bx-gs-on-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.buddyx-gs .buddyx-gs-button:hover,
.buddyx-gs .buddyx-gs-button:focus-visible {
    border-color: var(--bx-gs-accent-hover);
    background: var(--bx-gs-accent-hover);
    color: var(--bx-gs-on-accent);
}

.buddyx-gs .buddyx-gs-button--outline {
    background: var(--bx-gs-surface);
    color: var(--bx-gs-accent);
}

.buddyx-gs .buddyx-gs-button--outline:hover,
.buddyx-gs .buddyx-gs-button--outline:focus-visible {
    border-color: var(--bx-gs-accent-hover);
    background: var(--bx-gs-accent-soft);
    color: var(--bx-gs-accent-hover);
}

.buddyx-gs-hint {
    display: block;
    color: var(--bx-gs-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* The tab strip and every panel sit in one white card, so no tab reads bare on the grey admin screen. */
.buddyx-gs .buddyx-dashboard-tabs {
    margin-block-start: 16px;
    padding: 4px 32px 32px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

/* Tabs. */
.buddyx-gs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-block: 16px 24px;
    border-bottom: 1px solid var(--bx-gs-border);
}

.buddyx-gs-tabs [role="tab"] {
    margin: 0 0 -1px;
    padding: 12px 0 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--bx-gs-muted);
    font-size: 15px;
    cursor: pointer;
}

.buddyx-gs-tabs [role="tab"]:hover {
    color: var(--bx-gs-fg);
}

.buddyx-gs-tabs [role="tab"][aria-selected="true"] {
    border-bottom-color: var(--bx-gs-accent);
    color: var(--bx-gs-fg);
    font-weight: 600;
}

.buddyx-gs-intro {
    max-width: 760px;
    margin: 0 0 8px;
    color: var(--bx-gs-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* Setup films: one player and the whole Starter playlist beside it. */
.buddyx-gs-films {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
}

.buddyx-gs-video {
    aspect-ratio: 16 / 9;
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface-muted);
    overflow: hidden;
}

.buddyx-gs-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.buddyx-gs-video-play {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: var(--bx-gs-on-accent);
    text-decoration: none;
}

.buddyx-gs-film-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--bx-gs-surface-muted);
}

.buddyx-gs-film-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buddyx-gs-video-play .buddyx-gs-film-thumb {
    width: 100%;
    height: 100%;
}

.buddyx-gs-video-play .buddyx-gs-film-title {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 24px 20px 16px;
    background: linear-gradient(transparent, rgb(0 0 0 / 70%));
    font-size: 16px;
    font-weight: 600;
}

.buddyx-gs-video-icon {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    translate: -50% -50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bx-gs-accent);
}

.buddyx-gs-video-icon::before {
    content: "";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    translate: -35% -50%;
    border-block: 9px solid transparent;
    border-inline-start: 15px solid var(--bx-gs-on-accent);
}

.buddyx-gs-film-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 360px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.buddyx-gs-film-list li {
    margin: 0;
}

.buddyx-gs-film-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    border-radius: 8px;
    color: var(--bx-gs-fg);
    text-decoration: none;
}

.buddyx-gs-film-link:hover {
    background: var(--bx-gs-surface-muted);
    color: var(--bx-gs-accent-hover);
}

.buddyx-gs-film-list .is-current .buddyx-gs-film-link {
    background: var(--bx-gs-accent-soft);
}

.buddyx-gs-film-link .buddyx-gs-film-thumb {
    flex: 0 0 112px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
}

.buddyx-gs-film-link .buddyx-gs-video-icon {
    width: 24px;
    height: 24px;
}

.buddyx-gs-film-link .buddyx-gs-video-icon::before {
    border-block-width: 5px;
    border-inline-start-width: 8px;
}

.buddyx-gs-film-link .buddyx-gs-film-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 782px) {

    .buddyx-gs-films {
        grid-template-columns: minmax(0, 1fr);
    }

    .buddyx-gs-film-list {
        max-height: none;
    }
}

/* Start: the next-step panel. */
.buddyx-gs-next {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border: 2px solid var(--bx-gs-accent);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-next-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.buddyx-gs-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: buddyx-gs-stage;
}

.buddyx-gs-stage {
    margin: 0;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--bx-gs-surface-muted);
    font-size: 13px;
    font-weight: 600;
    counter-increment: buddyx-gs-stage;
}

.buddyx-gs-stage::before {
    content: counter(buddyx-gs-stage) " ";
}

.buddyx-gs-stage.is-done {
    background: var(--bx-gs-success-soft);
    color: var(--bx-gs-success);
}

.buddyx-gs-stage.is-current {
    background: var(--bx-gs-accent);
    color: var(--bx-gs-on-accent);
}

.buddyx-gs-next-label {
    color: var(--bx-gs-muted);
    font-size: 13px;
}

.buddyx-gs-next-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.buddyx-gs-next-text {
    flex: 1 1 320px;
    min-width: 0;
}

.buddyx-gs-next-text h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.buddyx-gs-next-text p {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
}

.buddyx-gs-next-actions {
    display: flex;
    flex: 0 1 280px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

/* Start: goal cards, tiles and the collapsed links. */
.buddyx-gs-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.buddyx-gs-section-title {
    margin: 0;
    font-size: 18px;
}

.buddyx-gs-section-text {
    margin: 0;
    color: var(--bx-gs-muted);
    font-size: 13px;
    line-height: 1.5;
}

.buddyx-gs-goals,
.buddyx-gs-tiles,
.buddyx-gs-more-list,
.buddyx-gs-checklist,
.buddyx-gs-list,
.buddyx-gs-group-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.buddyx-gs-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}

.buddyx-gs-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-card-title {
    margin: 0;
    font-size: 16px;
}

.buddyx-gs-card-text {
    flex-grow: 1;
    margin: 0;
    color: var(--bx-gs-muted);
    font-size: 13px;
    line-height: 1.45;
}

.buddyx-gs-card-state {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.buddyx-gs-card-state.is-active {
    color: var(--bx-gs-success);
}

.buddyx-gs-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 12px;
}

.buddyx-gs-tiles li {
    display: flex;
    margin: 0;
}

.buddyx-gs .buddyx-gs-tile {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 14px;
    border: 1px solid var(--bx-gs-border);
    border-radius: 10px;
    background: var(--bx-gs-surface);
    color: var(--bx-gs-fg);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.buddyx-gs .buddyx-gs-tile:hover,
.buddyx-gs .buddyx-gs-tile:focus-visible {
    border-color: var(--bx-gs-accent);
    color: var(--bx-gs-accent);
}

.buddyx-gs-more {
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-more summary {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.buddyx-gs-more-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    margin-top: 14px;
    font-size: 14px;
}

.buddyx-gs-more-list li {
    margin: 0;
}

/* Step by step: progress, basics, the checklist and its help panel. */
.buddyx-gs-guide-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding: 22px 28px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-guide-intro {
    display: flex;
    flex: 1 1 420px;
    flex-direction: column;
    gap: 6px;
}

.buddyx-gs-progress {
    flex: 0 1 240px;
}

.buddyx-gs-progress label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.buddyx-gs-progress progress {
    display: block;
    width: 100%;
    height: 10px;
    border: 0;
    border-radius: 99px;
    background: var(--bx-gs-border);
    overflow: hidden;
    appearance: none;
}

.buddyx-gs-progress progress::-webkit-progress-bar {
    background: var(--bx-gs-border);
}

.buddyx-gs-progress progress::-webkit-progress-value {
    background: var(--bx-gs-success);
}

.buddyx-gs-progress progress::-moz-progress-bar {
    background: var(--bx-gs-success);
}

.buddyx-gs-basics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    margin: 20px 0;
}

.buddyx-gs-basics > div {
    padding: 14px 16px;
    border: 1px solid var(--bx-gs-border);
    border-radius: 10px;
    background: var(--bx-gs-surface);
}

.buddyx-gs-basics dt {
    color: var(--bx-gs-muted);
    font-size: 12px;
}

.buddyx-gs-basics dd {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 600;
}

.buddyx-gs-guide {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.buddyx-gs-checklist {
    flex: 1 1 380px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--bx-gs-border);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-checklist li {
    margin: 0;
}

.buddyx-gs-check {
    display: flex;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--bx-gs-fg);
    font-size: 15px;
    text-align: start;
    cursor: pointer;
}

.buddyx-gs-check:hover,
.buddyx-gs-check[aria-pressed="true"] {
    background: var(--bx-gs-accent-soft);
}

.buddyx-gs-check-mark {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bx-gs-muted);
    color: var(--bx-gs-on-accent);
    font-size: 13px;
    font-weight: 700;
}

.buddyx-gs-check[aria-pressed="true"] .buddyx-gs-check-mark {
    background: var(--bx-gs-accent);
}

.buddyx-gs-check.is-done .buddyx-gs-check-mark {
    background: var(--bx-gs-success);
}

.buddyx-gs-check-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.buddyx-gs-check-title {
    font-weight: 600;
}

.buddyx-gs-check-sub,
.buddyx-gs-check-time {
    color: var(--bx-gs-muted);
    font-size: 13px;
}

.buddyx-gs-check-time {
    flex: none;
    font-size: 12px;
}

.buddyx-gs-help {
    display: flex;
    flex: 1 1 480px;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    min-width: 0;
    padding: 28px;
    border: 2px solid var(--bx-gs-accent);
    border-radius: var(--bx-gs-radius);
    background: var(--bx-gs-surface);
}

.buddyx-gs-help-label {
    margin: 0;
    color: var(--bx-gs-accent);
    font-size: 13px;
    font-weight: 600;
}

.buddyx-gs-help-title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
}

.buddyx-gs-help-text,
.buddyx-gs-help-steps {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.buddyx-gs-help-steps {
    padding-inline-start: 20px;
}

.buddyx-gs-help-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
}

.buddyx-gs-help-foot {
    margin: 12px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--bx-gs-border);
    color: var(--bx-gs-muted);
    font-size: 13px;
}

/* Our products, Free vs Pro: plain rows with a rule between them. */
.buddyx-gs-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 150px 240px;
    align-items: baseline;
    gap: 4px 20px;
    margin: 0;
    padding-block: 16px;
    border-top: 1px solid var(--bx-gs-border);
}

.buddyx-gs-item--area {
    grid-template-columns: 180px minmax(0, 1fr);
}

.buddyx-gs-item-name {
    font-size: 16px;
}

.buddyx-gs-item-text {
    color: var(--bx-gs-muted);
    font-size: 15px;
    line-height: 1.5;
}

.buddyx-gs-item-count {
    margin-inline-start: 6px;
    color: var(--bx-gs-muted);
    font-size: 13px;
    font-weight: 400;
}

.buddyx-gs-item-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    text-align: center;
}

.buddyx-gs-label {
    margin: 28px 0 4px;
    color: var(--bx-gs-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.buddyx-gs-help .buddyx-gs-label {
    margin: 12px 0 2px;
}

.buddyx-gs-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-block: 28px;
    padding-block: 4px;
    padding-inline-start: 20px;
    border-inline-start: 4px solid var(--bx-gs-accent);
}

.buddyx-gs-callout-text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.buddyx-gs-foot {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--bx-gs-border);
    color: var(--bx-gs-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Help and links: link groups that wrap into as many columns as fit. */
.buddyx-gs-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 32px 40px;
}

.buddyx-gs-group .buddyx-gs-label {
    margin-top: 0;
}

.buddyx-gs-group-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 782px) {

    .buddyx-gs-item,
    .buddyx-gs-item--area {
        grid-template-columns: minmax(0, 1fr);
    }

    .buddyx-gs-item-action {
        align-items: flex-start;
        margin-top: 8px;
        text-align: start;
    }
}

@media (max-width: 600px) {

    .buddyx-gs-header,
    .buddyx-gs-guide-head {
        padding: 18px;
    }

    .buddyx-gs .buddyx-dashboard-tabs {
        padding: 2px 16px 20px;
    }

    .buddyx-gs .buddyx-gs-title {
        font-size: 22px;
    }

    .buddyx-gs-tabs {
        gap: 0 20px;
        margin-bottom: 20px;
    }

    .buddyx-gs-next,
    .buddyx-gs-help {
        padding: 20px;
    }

    .buddyx-gs-next-text h2 {
        font-size: 19px;
    }

    .buddyx-gs-next-actions,
    .buddyx-gs-progress {
        flex-basis: 100%;
    }

    .buddyx-gs-goals,
    .buddyx-gs-tiles,
    .buddyx-gs-more-list,
    .buddyx-gs-basics {
        grid-template-columns: minmax(0, 1fr);
    }

    .buddyx-gs-check {
        padding: 12px;
    }

    .buddyx-gs-help-title {
        font-size: 20px;
    }
}


/*--------------------------------------------------------------
# Post Formats
--------------------------------------------------------------*/

.buddyx_post_format-settings {
    padding: 10px 0 0;
}

.buddyx_post_format-settings .buddyx_input_section {
    padding: 10px 0 20px 0;
}

.format-setting-label {
    border-bottom: 1px dashed #ccc;
    margin: 0 0 20px 0;
    padding: 5px 0 1px 0;
    width: 100%;
}

.format-setting-label .label {
    background: none;
    border: none;
    color: #222;
    cursor: text;
    display: block;
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.6em;
    letter-spacing: 0;
    padding: 0 0 9px 0;
    text-shadow: none;
}

input#buddyx_post_audio,
input#buddyx_post_video {
    width: calc(100% - 60px);
}

.buddyx_quote_format_setting textarea {
    width: 99.9%;
    border: 1px solid #ccc;
    font-family: Consolas, Monaco, monospace;
    line-height: 150%;
    outline: 0;
    padding: 10px;
    resize: vertical;
}

.buddyx_quote_format_setting input,
.buddyx_link_format_setting input {
    width: 100%;
    border: 1px solid #ccc;
}

.buddyx_audio_format_setting .buddyx_upload_media,
.buddyx_video_format_setting .buddyx_upload_media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.buddyx_images_gallery::after {
    content: '';
    display: table;
    clear: both;
}

.buddyx_images_gallery li {
    position: relative;
    float: left;
    padding: 8px;
    margin: 0;
    color: #444;
    cursor: pointer;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 33.3333%;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .buddyx_images_gallery li {
        width: 20%;
    }
}

@media (min-width: 800px) {
    .buddyx_images_gallery li {
        width: 15%;
    }
}

@media (min-width: 1024px) {
    .buddyx_images_gallery li {
        width: 11.11%;
    }
}

.buddyx_images_gallery .thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}

.buddyx_images_gallery .thumbnail::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.buddyx_images_gallery .thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(50%, 50%);
}

.buddyx_images_gallery .thumbnail .centered img {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.buddyx_images_gallery .actions .delete {
    display: none;
    height: 24px;
    width: 24px;
    padding: 0;
    border: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    outline: none;
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.buddyx_images_gallery li:hover .actions .delete {
    display: block;
}

.buddyx_images_gallery .actions .delete i {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*--------------------------------------------------------------
# Single Post Title Style
--------------------------------------------------------------*/

.buddyx_post_settings .buddyx_radio_list {
    display: flex;
    flex-flow: wrap;
}

.buddyx_post_settings .buddyx_radio_list li.buddyx_radio_list_item {
    position: relative;
    padding: 4px;
}

.buddyx_post_settings .buddyx_radio_list input.buddyx_radio_input {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    margin: 0;
    outline: 0;
    opacity: 0;
}

.buddyx_post_settings .buddyx_radio_list img.post-title-image {
    max-width: 90px;
    border: 1px solid #ddd;
}

.buddyx_post_settings .buddyx_radio_list input.buddyx_radio_input:checked~img.post-title-image,
.buddyx_post_settings .buddyx_radio_list input.buddyx_radio_input:focus~img.post-title-image {
    outline: 2px solid #007cba;
}

/*--------------------------------------------------------------
# rtMedia Notice
--------------------------------------------------------------*/
.error.rtmedia-update-template-notice {
    display: none;
}

/*--------------------------------------------------------------
# BB Platform Pro
--------------------------------------------------------------*/
.bb-pro-inactive {
    display: none;
}
