.poslogic-thumbs, .poslogic-thumbnail {
    height: 50px !important;
}

.poslogic-thumbnail {
    width: 50px !important;
    cursor: pointer;
    margin: 0 2px;
    background-color: #bbb;
    background-size: cover !important;
    display: inline-block;
    transition: background-color 0.6s ease;
    opacity: .6;
    image-rendering: optimizeQuality;
}

.active {
    opacity: 1 !important;
}

.poslogic-prev {
    background-position: 0 0;
    left: 10px;
}

.poslogic-next {
    background-position: -32px 0;
    right: 10px;
}

.poslogic-next, .poslogic-prev {
    width: 32px;
    display: block;
    top: 50%;
    height: 32px;
    background-image: url("/wp-content/plugins/poslogicHexonPlugin/poslogicHexonPlugin/Views/images/controls.png");
    cursor: pointer;
    position: absolute;
    z-index: 99;
    margin-top: -16px;
    opacity: .5;
    -webkit-transition: opacity .35s linear 0s;
    transition: opacity .35s linear 0s;
}

.poslogic-dots {
    display: none;
}

.poslogic-item.active {
    background: initial;
}

.lg-actions, .lg-next, .lg-prev {
    z-index: 999999 !important;
}
.lg-toolbar .poslogic-lg-groups {
    float: left;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 47px;
    max-width: calc(100% - 110px);
    padding-left: 12px;
    box-sizing: border-box;
}

.poslogic-lg-group-tabs {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.poslogic-lg-group-tabs::-webkit-scrollbar {
    display: none;
}

.poslogic-lg-group-tab {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 5px 6px 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.poslogic-lg-group-tab:hover,
.poslogic-lg-group-tab:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    outline: none;
}

.poslogic-lg-group-tab.is-active {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.poslogic-lg-group-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 11px;
    text-align: center;
}

.poslogic-lg-group-tab.is-active .poslogic-lg-group-count {
    background: #111;
    color: #fff;
}

.poslogic-lg-group-status {
    display: flex;
    flex-shrink: 0;
    align-items: baseline;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    white-space: nowrap;
}

.poslogic-lg-group-position {
    font-variant-numeric: tabular-nums;
}

.poslogic-lg-group-name {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
    .lg-toolbar .poslogic-lg-groups {
        gap: 10px;
        max-width: calc(100% - 60px);
        padding-left: 8px;
    }

    .poslogic-lg-group-status .poslogic-lg-group-name {
        display: none;
    }
}

body.admin-bar .lg-outer .lg-toolbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .lg-outer .lg-toolbar {
        top: 46px;
    }
}
