.logo {
    width: auto;
    height: 60px;
}

.logo {
    filter: none;
}


.wall {
    background-color: var(--bs-warning-bg-subtle);
}
.wall a {
    font-weight: 600;
}
.extra-small {
    font-size: .75em;
}
.timeLeft {
    position: absolute;
    bottom: 10px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}


@media (max-width: 768px) {
    .logo {
        width: auto;
        height: 40px;
    }
    .wall {
        margin: 10px;
    }
}

[data-bs-theme=dark] .logo {
    filter: brightness(0) invert(1);
}
[data-bs-theme=light] .logo {
    filter: none;
}

.gray-out {
    filter: grayscale(1);
    opacity: .3 !important;
}
.img-responsive {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.catalog-image-wrapper {
    amax-width: 300px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.card.border-1 {
    border-color: transparent !important;
}
.card:hover img {
    scale: 1.05;
    transition: transform 0.3s ease;
    filter: grayscale(0);
}
.ctlg {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.catalog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    /*amax-height: 450px;*/
}

.catalog-image-wrapper img {
    /*amax-height: 450px;*/
}


.symbols a {
    padding: 3px 10px;
    margin: 5px 2px 2px 2px;
    display: inline-block;
    font-size: var(--font-size);
    border: 2px solid transparent;
    line-height: 24px;
    color: var(--bs-primary);
}
.symbols:hover a {
    color: var(--bs-secondary);
}
.symbols:hover a:hover, .symbols .active {
    color: var(--bs-contrast);
    border-color: var(--bs-primary);
    text-decoration: none;
}


.bckTop {

    --offset: 50px;
    place-self:end;
    position:fixed;
    margin-top: calc(100vh + var(--offset));
    right: 20px;
    margin-right:20px;
    bottom: 40px;
    width:45px;
    aspect-ratio:1;
    background: unset;
    border-radius:10px;
    box-shadow: 2px 2px 4px var(--bs-secondary);
}
.bckTop:before {
    content:"";
    position:absolute;
    inset:30%;
    transform:translateY(20%) rotate(-45deg);
    border-top:5px solid #cdc5c5;
    border-right:5px solid #cdc5c5;
}



.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    grid-gap: 5px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media (max-width: 760px) {
    .pagination {
        justify-content: flex-start;
    }
}

.page-link {
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--color);
    background-color: var(--primary-inverse);
    border: 1px solid #dee2e6
}

.page-link:hover {
    color: var(--primary-inverse);
    text-decoration: none;
    background-color: var(--primary);
    border-color: #dee2e6
}

.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25)
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer
}

.page-item {
    list-style: none;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.page-item.active .page-link {
    z-index: 1;
    background-color: var(--primary);
    color: var(--primary-inverse);
    border-color: var(--color);
}

.page-item.disabled .page-link {
    color: var(--contrast);
    pointer-events: none;
    cursor: auto;
    background-color: var(--background-color);
    border-color: #dee2e6
}

.pagination-lg .page-link {
    padding: .75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5
}

.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem
}

.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem
}

.pagination-sm .page-link {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: .2rem;
    border-bottom-left-radius: .2rem
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: .2rem;
    border-bottom-right-radius: .2rem
}


.stickyTop {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background-color);
    border-bottom: 1px solid #ececec;
    box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
    0 0 0 var(--outline-width) var(--primary-focus);
    margin-bottom: 2px;
    transition: all 0.1s 0s ease-in-out;
}

@media (max-width: 576px) {

    .mainLogo img {
        max-width: 110px;
        margin-right: 10px;
    }
    .mainLogo+strong {
        display: none;
    }
    .mainLogo {
        clear:both;
        flex: 1;
        width: 100%;
    }
}

.mainContainer {
    background: #FFF;
    padding-right: 0;
    border-radius: 15px 0 0 0;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}
.sidebar-item {
    flex-grow: 1;
}
.sidebar-item {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.sidebar-item:nth-child(2) {
    top: 3.5em;
}

.sidebar-item:nth-child(3) {
    top: 7em;
}

.sidebar-item:nth-child(4) {
    top: 10.5em;
}

.sidebar-content {
    min-height: 250px;
    background: var(--primary);
}

img[data-gid] {
    cursor: pointer;
}

#img-popup {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 9999; overflow: hidden;
}
#img-popup #popup-content {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%; max-height: 90%;
    color: white; text-align: center;
}
@media (max-width: 768px) {
    #img-popup #popup-content {
        width: 85%;
    }
}

#img-popup #popup-content img {
    display: block;
    max-width: 100%; max-height: 100%;
    transform-origin: center center;
    user-select: none;
    pointer-events: auto;
    -webkit-user-drag: none;
    width: auto; height: auto;
    cursor: grab;
}
#img-popup #popup-caption {
    margin-top: 15px; color: #ccc; font-size: 16px;
}
#img-popup .nav-arrow {
    position: absolute;
    top: 60px;
    bottom: 100px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    opacity: 0.7;
    text-shadow: 1px -1px 10px black;
    z-index: 10000;
    display: flex;
    align-items: center;
}
#img-popup .nav-arrow:hover {
    font-size: 60px;
}

#img-popup .nav-left { left: 10px; }
#img-popup .nav-right { right: 10px; }
#img-popup .nav-arrow.disabled {
    pointer-events: none;
    opacity: 0.2;
}

#img-popup #popup-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.8;
    user-select: none;
}
#img-popup #popup-close:hover,
#img-popup .nav-arrow:hover {
    opacity: 1;
}
#img-popup #ad-timer-fill {
    border-radius: 2px;
    transition: width 1s linear;
}
#popup-thumbs-status {
    color:#aaa;
    font-size:12px;
    text-align:center;
    padding-top:4px;
}
#popup-thumbs-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    background: rgba(0,0,0,0.8);
    padding: 5px 0 0 0;
    border-top: 1px solid #444;
    position: absolute;
    bottom: 0;
}

#popup-thumbs {
    display: inline-flex;
    gap: 6px;
    padding: 0 10px;
}

#popup-thumbs img {
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}

#popup-thumbs canvas {
    cursor: pointer;
    background-color: #FFF;
    border: 2px solid transparent;
    border-radius: 4px;
}
#popup-thumbs img.active {
    border: 2px solid #fff;
}


#reportOverlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
#reportPopup {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}
#reportPopup h2 {
    margin-top: 0;
}
#reportPopup ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
#reportPopup li {

    list-style: none;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    border-radius: 4px;
    cursor: pointer;
}
#reportPopup li.noselect{
    border: none;
    margin-bottom: 0;
}
#reportPopup li.selected {
    background: #eef;
    border-color: #88f;
}
#reportClose {
    position: absolute;
    top: -18px;
    right: -28px;
    cursor: pointer;
    font-weight: bold;
    background: #FFF;
    border-radius: 50%;
}
#reportSend {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}
#subCategorySelect {
    display: none;
    margin-top: 10px;
    width: 100%;
}

