﻿
body.loading #loader {
    position: fixed;
    z-index: 1; /* or higher if necessary */
    top: 0;
    left: 0;
    overflow: hidden;
    text-indent: 100%;
    font-size: 0;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    z-index: 1099;
}
body.loading #loader-img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}


.card-img-top {
    width: 100%;
    height: 9vw;
    object-fit: cover;
}

.btn-tool {
    background-color: #666;
}

table .ui-sortable-handle {
    width: 100%;
}

.ui-sortable-helper {
    display: table !important;
    width: 100% !important;
}

.w5 {
    width: 5%;
}

.w10 {
    width: 10%;
}

.w15 {
    width: 15%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.video-image {
    overflow: hidden;
}
.video-image img {
    width: 300px;
}

/* Scroll Top Top */
.scroll-to-top {
    display: inline-block;
    padding: 2px;
    text-align: center;
    position: fixed;
    z-index: 10001;
    bottom: 10px;
    display: none;
    right: 10px;
}

.scroll-to-top > i {
    display: inline-block;
    color: #687991;
    font-size: 32px;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.scroll-to-top:hover {
    cursor: pointer;
}

.scroll-to-top:hover > i {
    opacity: 1;
    filter: alpha(opacity=100);
}

@media (min-width: 992px) {
    /* 992px */
    .scroll-to-top {
        right: 10px;
    }
}

@media (max-width: 991px) {
    /* 991px */
    .scroll-to-top {
        right: 10px;
    }

    .scroll-to-top > i {
        font-size: 28px;
    }
}

.profile-user-img {
    height: 100px;
}
.cursor-pointer {
    cursor: pointer;
}

.brand-link .brand-image {
    float: none;
    line-height: .8;
    margin-left: .8rem;
    margin-right: .5rem;
    margin-top: -3px;
    max-height: 33px;
    width: auto;
}

/* Görünüm seçimi: küçük görselli radio kartları (Sayfa ayarları ve Kategori ayarları > Liste görünümü) */
.view-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 12px 12px 0;
    padding: 8px 8px 10px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.view-type-option:hover {
    border-color: #adb5bd;
}

.view-type-option input {
    position: absolute;
    opacity: 0;
}

.view-type-option span {
    margin-top: 6px;
}

.view-type-option:has(input:checked) {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, .2);
}

.view-type-option:has(input:focus-visible) {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}
