﻿.sect-detail {
    max-width: 1445px;
    padding: 0 1rem;
    margin: 0 auto;
}

/* .data-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-template-rows: auto 1fr auto;
    grid-gap: 35px;
    min-height: 60vh;
    overflow: hidden;

    @media (max-width: 980px) {
        & {
            grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
        grid-gap: 15px;
        }
    }

    @media (max-width: 767px) {
        & {
            grid-template-columns: repeat(2, 1fr);
        }
    }
} */

.data-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-template-rows: auto 1fr auto;
    grid-gap: 35px;
    min-height: 60vh;
    overflow: hidden;
}

.data-container:is(.is-empty) {
    display: block;
}

@media (max-width: 980px) {
    .data-container {
        grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
        grid-gap: 15px;
    }
}

@media (max-width: 767px) {
    .data-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* .placeholder {
    background-color: var(--xbh-off-white-color);
    padding-bottom: 100%;
    position: relative;
    height: 0;
    overflow: hidden;

    & img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        max-width: 100%;
        max-height: 100%;

    }
} */

.placeholder {
    background-color: var(--xbh-off-white-color);
    padding-bottom: 100%;
    position: relative;
    height: 0;
    overflow: hidden;
}

.placeholder img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

/* .art-work {
    .art-work__school {
        min-height: 72px;
        font-size: 1em;
        font-weight: 500;
        margin-bottom: 5px;
        line-height: 1.5;

        @media (max-width: 1280px) {
            & {
                font-size: 0.85em;
            }
        }
    }
} */

.art-work .art-work__school {
    min-height: 72px;
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.5;    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 1280px) {
    .art-work .art-work__school {
        font-size: 0.85em;
        line-height: 1.2;
        -webkit-line-clamp: 4;
    }
}

@media (max-width: 900px) {
    .art-work figure {
        margin: 0 0 0.5rem 0;
    }
}

@media (max-width: 500px) {
    .art-work .art-work__school {
        min-height: 79px;
        font-size: 0.8em;
        line-height: 1.2;
        -webkit-line-clamp: 5;
    }
}

.paginationjs {
    justify-content: center;
}

/*.vote-btn--voted {
    background-color: yellow;
}*/

/* .preloader {
    z-index: 99;
    width: 100%;
    background: var(--xbh-white-color);
    height: 87%;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20%;
    opacity: 0;
    display: none;

    &.fade {
        opacity: 0;
        transition: all 0.5s ease;
        z-index: 0;
    }
} */

.sect-lisitng__wrap {
    position: relative;
}

.preloader {
    z-index: 99;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.4); */
    height: calc(100% - 55px);
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20%;
    /* opacity: 0;
    display: none; */
}

.preloader::before {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    top: 25%;
    left: calc(50% - 25px);
    background: url('data:image/svg+xml,<svg version="1.1" id="L5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve"><circle fill="%23054AE8" stroke="none" cx="6" cy="50" r="6"><animateTransform attributeName="transform" dur="1s" type="translate" values="0 15 ; 0 -15; 0 15" repeatCount="indefinite" begin="0.1"></animateTransform></circle><circle fill="%23fecf13" stroke="none" cx="30" cy="50" r="6"><animateTransform attributeName="transform" dur="1s" type="translate" values="0 10 ; 0 -10; 0 10" repeatCount="indefinite" begin="0.2"></animateTransform></circle><circle fill="%23054AE8" stroke="none" cx="54" cy="50" r="6"><animateTransform attributeName="transform" dur="1s" type="translate" values="0 5 ; 0 -5; 0 5" repeatCount="indefinite" begin="0.3"></animateTransform></circle></svg>') no-repeat center;
}

.preloader.fade {
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 0;
    visibility: hidden;
}

.no-data-message {
    text-align: center;
    padding: 40px;
    font-size: 20px;
    color: #ff0000;
    font-weight: 700;
}

/********* vote item Start  *******************/
.item {
    background: var(--xbh-white-color);
    border: 1px solid var(--xbh-off-white-color);
    padding: 2px;
}

.item.aos-init.aos-animate {
    z-index: 2;
}

.data-container .item.mb-4 {
    margin-bottom: 0px !important;
}

/* .item__top {
    padding: 8px 10px;
    align-items: center;
    min-height: 40px;

    @media (max-width: 520px) {
        & {
            padding: 8px 5px;
        }
    }
} */

.item__top {
    padding: 8px 10px;
    align-items: center;
    min-height: 40px;
}

@media (max-width: 520px) {
    .item__top {
        padding: 8px 5px;
    }
}

/* .idNum {
    font-size: 0.85em;
    color: var(--xbh-grey-color);

    @media (max-width: 520px) {
        & {
            font-size: 0.7em;
        }
    }
} */

.idNum {
    font-size: 0.85em;
    color: var(--xbh-grey-color);
}

@media (max-width: 520px) {
    .idNum {
        font-size: 0.7em;
    }
}

.art-work p {
    padding: 0 10px;
    min-height: 4em;
    margin-bottom: 5px;
    color: var(--xbh-blue-color);
    font-weight: 600;
}

.vote-num {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* min-width: 40%; */
}

.vote-num__text {
    font-size: 1em;
    font-weight: 700;
}

.voted-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    margin-right: 5px;
    align-items: center;
}

.voted-icon img {
    width: 100%;
}

.item__bottom {
    align-items: center;
}

/* .item__bottom__share {
    width: 40%;

    @media (max-width: 520px) {
        & {
            width: 50%;
        }
    }
} */

.item__bottom__share {
    width: 40%;
}

@media (max-width: 520px) {
    .item__bottom__share {
        width: 50%;
    }
}

.share-btn img {
    max-height: 20px;
    position: relative;
    top: -2px;
}

.share-btn .share-text {
    color: var(--xbh-black-color);
}

.item__bottom__vote {
    width: 60%;
}

.item--d-single {
    max-width: 327px;
    margin: 0 auto;
}

/* .vote-btn {
    width: 100%;
    padding: 5px;
    border: 0px;
    color: var(--xbh-white-color);
    background-color: var(--xbh-lightblue-color);
    font-size: 1.5em;
    font-weight: 400;

    &:hover {
        background-color: var(--xbh-yellow-color);
        color: var(--xbh-blue-color);
    }

    &:disabled {
        background-color: #aaa;
        opacity: 0.7 !important;
        color: #ccc;

        &:hover {
            background-color: #aaa;
            color: #ccc;
        }
    }

    @media (max-width: 768px) {
        & {
            font-size: 1.2em;
        }
    }
} */

.vote-btn {
    width: 100%;
    padding: 5px;
    border: 0px;
    color: var(--xbh-white-color);
    background-color: var(--xbh-lightblue-color);
    font-size: 1.5em;
    font-weight: 400;
}

.is-desktop .vote-btn:hover {
    background-color: var(--xbh-yellow-color);
    color: var(--xbh-blue-color);
}

.vote-btn:disabled {
    background-color: #aaa;
    opacity: 0.7 !important;
    color: #ccc;
}

.vote-btn:disabled:hover {
    background-color: #aaa;
    color: #ccc;
}

@media (max-width: 768px) {
    .vote-btn {
        font-size: 1.2em;
    }
}

/* .share-btn {
    width: 100%;
    padding: 5px 0;
    border: 0px;
    background: unset;

    &:hover {
        opacity: 0.7;
    }
} */

.share-btn {
    width: 100%;
    padding: 5px 0;
    border: 0px;
    background: unset;
}

.share-btn:hover {
    opacity: 0.7;
}

.vote-btn.vote-btn--voted {
    background-color: var(--xbh-yellow-color);
    color: var(--xbh-blue-color);
    font-weight: 700;
}

.item--is-selected {
    border: 3px solid var(--xbh-yellow-color);
    padding: 0;
}

@media (max-width: 520px) {
    .vote-num__text {
        font-size: 0.85em;
    }

    .share-btn img {
        max-height: 15px;
    }

    .voted-icon {
        width: 18px;
        height: 18px;
        margin-right: 2px;
    }
}

/************* pagination Start *****************/

.paginationjs.paginationjs-theme-grey .paginationjs-pages li>a {
    color: var(--xbh-black-color);
}

.paginationjs.paginationjs-theme-grey .paginationjs-pages li {
    border-color: var(--xbh-grey-color);
    margin: 2px;
    border-radius: 5px;
    border-right: 1px solid var(--xbh-grey-color);
}

.paginationjs.paginationjs-theme-grey .paginationjs-pages li {
    float: left;
    border: 1px solid var(--xbh-grey-color);
    border-right: 1px solid;
}

.paginationjs.paginationjs-theme-grey .paginationjs-pages li>a {
    border-radius: 4px;
}

.paginationjs .paginationjs-pages li:first-child>a,
.paginationjs .paginationjs-pages li:last-child>a {
    border-radius: 3px 3px !important;
}

.paginationjs .paginationjs-pages li.active>a {
    background: var(--xbh-blue-color) !important;
}

li.paginationjs-ellipsis.disabled {
    border: 0px !important;
}

.paginationjs .paginationjs-pages li.paginationjs-ellipsis.disabled>a {
    background: unset !important;
}

/************* pagination End *****************/


/********* vote item Start  *******************/

/* KV Banner Start */
.kv-banner-blk {
    width:100%;
    background-color: #032168;
}

.kv-banner-blk__inner {
    max-width: 1920px;
    margin: 0 auto;
}