﻿.card-img-zoom {
    transition: transform 0.2s ease;
    min-height:200px;
}
.card-img-zoomed {
    transform: scale(1.1);
}
.card-image-box {
    overflow:hidden;
    height:100%;
    width:40%;
}

.card-image-mobile {
    overflow: hidden;
    width: 100%;
    max-height: 100px;
}

.top-categories-image-box {
    width: 100%;
    overflow: hidden;
}

.top-categories-image-box img {
    height:100px;
}

.card-description {
    word-break: break-word;
    white-space: pre-wrap;
    max-width: fit-content;
    max-height: 100px;
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.card {
    flex-direction: row;
}

.card-title {
    font-weight: bold;
}

.card img {
    border-top-right-radius: 0;
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-img-top {
    object-fit: cover;
}

.detail-header {
    flex-direction: column;
}

.modal-header img {
    width: 100%;
    max-height: 100px;
    object-fit: cover;
}



.btn .svg-icon {
    margin-right: 0;
}

.btn-priority {
    z-index: 2;
    position: relative;
}


pre {
    font-family: 'Poppins';
    font-size: 14px;
    white-space: pre-wrap;
}

.img-container {
    position: relative;
}

.dark {
    filter: brightness(50%);
}

.spinner-area {
    z-index: 1100;
}

.img-buttons-container {
    float: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    z-index: 1000;
}

.announcement-footer {
    position: absolute;
    bottom: 0;
}

.loading {
    position: relative;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    animation: loading 4s infinite ease-in-out;
}


@keyframes loading {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: perspective(120px) rotateX(180deg) rotateY(0deg);
    }

    50% {
        transform: perspective(120px) rotateX(180deg) rotateY(-180deg);
    }

    75% {
        transform: perspective(120px) rotateX(0deg) rotateY(-180deg);
    }

    100% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
}

.horizontal-scroll {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll > .col-10 {
    display: inline-block;
}

#top-categories-left {
    position: relative;
    top: -120px;
    left: -20px;
}

#top-categories-right {
    position: relative;
    top: -155px;
    left: 20px;
}

@media only screen and (max-width: 768px) {

    .card-description {
        max-height: 60px;
    }

    .carousel-item {
        height: 200px;
    }

    .card-body {
        padding: 0.5em 1.2em;
    }

        .card-body .card-text {
            margin: 0;
        }

    .card-image-box {
        width: 50%;
    }

    .myannounce-card {
        height: 200px;
        min-width: 100%;
    }

}

@media only screen and (max-width: 1200px) {
    .card-image-box {
        width: 40%;
    }
}

@media only screen and (min-width: 1080px) {
    .sliding-ad > .card {
        max-height: 110px;
    }

    .favorite-sliding-ad > .card {
        max-height: 129px;
    }

    .sliding-banner-ad > .card {
        max-height: 85px;
    }

    .sliding-square-ad {
        max-height: 330px;
    }
}

@media only screen and (max-width: 1080px) {
    .sliding-ad > .card {
        max-height: 11vw;
    }

    .sliding-banner-ad > .card {
        max-height: 7.5vw;
    }

    .sliding-square-ad {
        max-height: 30vw;
    }
}

@media only screen and (max-width: 576px) {
    .card-description {
        max-height: 50px;
    }

    .sliding-banner-ad > .card {
        max-height: 11vw;
    }

    .sliding-ad > .card {
        max-height: 11vw;
    }
}

@media only screen and (max-width: 992px) {
    #top-categories-left {
        left: 0px;
    }

    #top-categories-right {
        left: 0px;
    }
}