/* Bollino Venduto */

.sold-tag {
    aspect-ratio: 1/1;
    background: #8f1b32;
    color: white;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 50;
    padding: 10px;
    border-radius: 500%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1vw;
}

@media only screen and (max-width: 720px) {
    .sold-tag {
        font-size: 3vw;
    }
}

.disp-flex {
    display: flex;
}


.flex-cards-container {
    flex-wrap: wrap;
    gap: 1.1vw;
    padding-left: 0 !important;
}

.flex-card {
    flex: 1 1 calc(25% - 1.1vw);
    min-width: 200px;
    transition: all 0.4s ease-out;

}

.cards-3-col {
    flex: 0 0 calc(33% - 1.1vw);
}

@media only screen and (max-width: 720px) {
    .cards-3-col {
        flex: 1 1 calc(33% - 1.1vw);
    }
}

.cards-2 {
    flex: 1 1 calc(50% - 1.1vw);
}

.cards-3 {
    flex: 1 1 calc(33% - 1.1vw);
}

.cards-4 {
    flex: 1 1 calc(25% - 1.1vw);
}

.cards-5 {
    flex: 1 1 calc(20% - 1.1vw);
}

/*
.flex-card:hover {
    transform: scale(1.05);
}*/

.flex-card-inner {
    background-color: #fff;
    padding: 1.4vw;
    text-align: center;
    justify-content: end;
    row-gap: 1vw;
}

/* Modifiche Swiper */

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 12px !important;
    background: white;
    border-radius: 200px;
    padding: 10px 13px;
    font-weight: 900;
    color: #001938;
}

.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
}

.swiper-pagination-bullet-active {
    background: #cca424 !important;
}

.flex-card-img {
    height: 35vh;
    object-fit: cover;
    width: 100%;
    margin: 0 auto;
}

.flex-card-title {
    color: #1d3969;
    font-size: 1.4vw;
}

.flex-card-body {
    font-size: 0.8vw;
    margin-bottom: auto;
}

.flex-card-body-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flex-card-prices {
    margin-top: auto;
}

.flex-card-price-text {
    font-size: 1.2vw;
    text-transform: uppercase;
}

.flex-card-trattativa {
    text-transform: uppercase;
    text-decoration: underline;
}

.price-full {
    color: #cca424;
}


.simple-list-elment::marker {
    color: white;
}

.simple-list-elment .simple-list-title {
    color: white;
}

.simple-list-elment .simple-list-title:hover {
    color: #3e72b7 !important;
}

@media only screen and (max-width: 720px) {
    .flex-card-title {
        font-size: 4vw;
    }

    .flex-card-body {
        font-size: 3vw;
    }

    .flex-card-price-text {
        font-size: 3.5vw;
    }
}


/* Swiper modal css */

/* Style the Image Used to Trigger the Modal */
.flex-card-img {
    cursor: pointer;
    transition: 0.3s;
}

/* The Modal (background) */
.swiper-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.swiper-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.swiper-modal-close {
    position: absolute;
    top: 25vh;
    right: 28vw;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.swiper-modal-close:hover,
.swiper-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .swiper-modal-content {
        width: 100%;
    }

    /* The Close Button */
    .swiper-modal-close {

        top: 34vh;
        right: 5vw;
    }
}