﻿.swiper {
    width: 100%;
    height: 100%;
    border-radius: 0.5em;
}

/*Main Project Cards*/

@media screen and (max-width: 600px) {
    .swiper-building-cards {
        height: 512px !important;
    }

    .slide-building-cards {
        width: calc(100% - 30px) !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1280px) {
    .swiper-building-cards {
        height: 512px !important;
    }

    .slide-building-cards {
        width: 380px !important;
    }
}


@media screen and (min-width: 1280px) {
    .swiper-building-cards {
        height:512px !important;
    }

    .slide-building-cards {
    }
    
}

/*Auction Project Cards*/

@media screen and (max-width: 600px) {
    .swiper-auction-building-cards {
        height: 512px !important;
    }

    .slide-building-cards {
        width: 100% !important;
    }

    .countdown-timer-counter {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-h5-size);
    }

    .countdown-timer-text {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-body2-size);
    }

    .countdown-timer-frame {
        background-color: #2f2f2f;
        border-radius: 8px;
        border: 1px solid whitesmoke;
        width: 60px;
    }
}

@media screen and (min-width: 600px) and (max-width: 1280px) {
    .swiper-auction-building-cards {
        height: 512px !important;
    }

    .slide-building-cards {
        width: 100% !important;
    }

    .countdown-timer-counter {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-h3-size);
    }

    .countdown-timer-text {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-body1-size);
    }

    .countdown-timer-frame {
        background-color: #2f2f2f;
        border-radius: 8px;
        border: 1px solid whitesmoke;
        width: 60px;
    }
}


@media screen and (min-width: 1280px) {
    .swiper-auction-building-cards {
        height: 512px !important;
    }

    .slide-building-cards {
    }

    .countdown-timer-counter {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-h2-size);
    }

    .countdown-timer-text {
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,.5);
        font-size: var(--mud-typography-body1-size);
    }

    .countdown-timer-frame {
        background-color: #2f2f2f;
        border-radius: 8px;
        border: 1px solid whitesmoke;
        width: 80px;
    }
}


/*Main News Cards*/

@media screen and (max-width: 600px) {
    .swiper-main-news {
        height: 330px !important;
    }

    .slide-main-news {
        width: 240px !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1280px) {
    .swiper-main-news {
        height: 330px !important;
    }

    .slide-main-news {
        width: 240px !important;
    }
}


@media screen and (min-width: 1280px) {
    .swiper-main-news {
        height: 330px !important;
    }

    .slide-main-news {

    }
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5em;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0.5em;
    }

.swiper-button-prev {
    color: white;
}

.swiper-button-next {
    color: white;
}



/*.img-hover-zoom {
    height: 380px;
    overflow: hidden;
    position: relative;
}

    .img-hover-zoom img {
        transition: transform 1s ease;
    }

    .img-hover-zoom:hover img {
        transform: scale(1.1);
        border-radius: 2%;
    }*/
/* On screens that are 992px wide or less, the background color is blue */
/*@@media screen and (min-width: 601px) {
    .screen-swiper {
        height: 380px;
        width: 380px;
    }
}*/
/* On screens that are 600px wide or less, the background color is olive */
/*@@media screen and (max-width: 600px) {
    .screen-swiper {
        height: 360px;
        width: 360px;
    }

    .img-hover-zoom {
        height: 360px;
        width: 360px;
        overflow: hidden;
    }
}*/
.image-title-top {
    position: absolute;
    font-size: small;
    align-content: center;
    top: 12px;
    left: 8px;
    color: white;
    font-size: large;
}

.image-price-bottom {
    position: absolute;
    font-size: small;
    align-content: center;
    bottom: 12px;
    left: 8px;
    color: white;
}

.image-title-bottom {
    position: absolute;
    font-size: small;
    align-content: center;
    bottom: 54px;
    left: 8px;
    color: white;
}

.like-icon-bottom {
    position: absolute;
    align-content: center;
    bottom: 80px;
    right: 4px;
    color: white;
}

.like-icon-bottom-rtl {
    position: absolute;
    align-content: center;
    bottom: 80px;
    left: 4px;
    color: white;
}

.comment-icon-bottom {
    position: absolute;
    align-content: center;
    bottom: 44px;
    right: 4px;
    color: white;
}

.comment-icon-bottom {
    position: absolute;
    align-content: center;
    bottom: 44px;
    left: 4px;
    color: white;
}

.share-icon-bottom {
    position: absolute;
    align-content: center;
    bottom: 8px;
    right: 4px;
    color: white;
}

.share-icon-bottom-rtl {
    position: absolute;
    align-content: center;
    bottom: 8px;
    left: 4px;
    color: white;
}

.catalog-icon-top {
    position: absolute;
    align-content: center;
    top: 48px;
    left: 8px;
}

.promotion-card-discount {
    bottom: 10px;
    left: 5px
}

.blur-filter {
    background-color: #197dbfb3;
    backdrop-filter: blur(5px);
    border-radius: 0.8em;
    padding: 6px 10px;
}

.gradient-project-card::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    display: block;
    background: linear-gradient(180deg,rgba(0,0,0,.2),transparent 04.58%,transparent 62.89%,rgba(0,0,0,.15) 74.61%,rgba(0,0,0,.6) 88.91%,rgba(0,0,0,.8));
    border-radius: 0.5em;
}
