/*
* auction Products
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
*  @author    FME Modules
*  @copyright 2021 fmemodules All right reserved
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/
.won_auction {
    overflow: hidden auto;
    height: 460px;
}

.won_auction .row {
    margin-bottom: 10px;
}

.auction_single_holder_inner-modern {
    background: linear-gradient(0deg, rgba(247, 249, 253, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
}
.btn-auction-clear-history {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
    margin-right: 2%;
    border-radius: .25rem;
}

.btn-auction-clear-history.add-all {
    float: right !important;
}
.auction_image_holder_inner {
    background: linear-gradient(0deg, rgba(247, 249, 253, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
    text-align: center;
    width: 300px;
    padding: 50px;
    box-sizing: border-box;
}
.won_auction.remove-padding,
.box.remove-padding {
    padding:0;
}
.auction_single_holder_inner-modern .row {
    justify-content: space-between;
    margin: 0;
}

.auction_content {
    width: calc(100% - 320px);
    padding: 50px;
    box-sizing: border-box;
}

.auction_content .title-modern {
    font-size: 25px;
    font-family: "poppins" !important;
    font-weight: 700;
    line-height: 30px;
}

.auction_content .title-modern a {
    color: #474747;
    text-decoration: none;
}

.auction_desc-modern {
    font-size: 16px;
    font-family: "poppins" !important;
    font-weight: 500;
    line-height: 20px;
    margin: 8px 0;
    color: #818181;
}

.auction_content .timeline {
    padding: 20px 20px 20px 0;
    box-sizing: border-box;
    position: relative;
}

.auction_content .timeline .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.auction_content .timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.auction_content .timeline .timeline-item .icon {
    width: 45px;
    height: 45px;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(247, 249, 253, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border: 2px solid #ffffff;
}

.auction_content .timeline .timeline-item .content p {
    font-weight: 500;
    font-family: "poppins" !important;
    font-size: 16px;
    line-height: 20px;
    color: #818181;
}

.auction_content .timeline .timeline-item .content p:first-child {
    color: #474747;
    margin-bottom: 5px;
}

.auction_content .timeline .timeline-item .content p:last-child a {
    text-decoration: none;
    color: #3a97d7;
}

.auction_content .timeline .timeline-item .content p:last-child a:hover {
    text-decoration: underline;
}

/* Optional: Adding the line between timeline items */
.auction_my_bids_modern .auction_content .timeline .timeline-item::before {    
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    width: 2px;
    height: 50px;
    background-color: #ffffff;
}

.auction_content .timeline .timeline-item:last-child::before {
    display: none; /* Removes the line after the last item */
}

.won-auctionprice-modern,
.auction_my_bids_modern .price {
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 10px;
}

.auction_my_bids_modern  .aution_expiry_date-modern {
    width: fit-content;
    font-size: 16px;
    font-family: "poppins" !important;
    line-height: 20px;
    font-weight: 500;
    background: #B6DDFB;
    padding: 10px 20px;
    border-radius: 5px;
    box-sizing: border-box;
}

.auction_my_bids_modern  .auction_buttons {
    margin-top: 15px;
    text-align: end;
}


/* @media screen and (min-width: 600px) {
    .auction_content .title-modern {
        font-size: 14px !important;
    }
} */

@media screen and (min-width: 768px) and (max-width: 1000px) {
    #auctions {
        width: 100%;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .won_auction {
        height: 585px;
    }

   
    .auction_image_holder_inner {
        width: 100%;
        padding: 20px;
    }

    .won-auctionprice-modern{
        font-size: 14px;
        font-family: "poppins" !important;
        line-height: 18px;
        margin-top: 5px;
    }

    .auction_content {
        width: 100%;
        padding: 20px;
    }

    .auction_content .title-modern {
        font-size: 16px;
        line-height: 20px;
        font-family: "poppins" !important;
    }

    .auction_desc-modern {
        font-size: 14px;
        font-family: "poppins" !important;
        margin: 4px 0;
    }

    .auction_content .timeline {
        padding: 10px 10px 10px 0;
    }

    .auction_content .timeline .timeline-item {
        margin-bottom: 20px;
    }

    .auction_content .timeline .timeline-item::before {
        left: 14px;
        height: 36px;
        top: 37px;
    }

    .auction_content .timeline .timeline-item .icon {
        width: 30px;
        height: 30px;
        padding: 8px;
        margin-right: 8px;
    }

    .auction_content .timeline .timeline-item .content p {
        font-size: 12px;
        line-height: 14px;
        font-family: "poppins" !important;
    }

    .auction_content .timeline .timeline-item .content p:first-child {
        margin-bottom: 2px;
    }

    .aution_expiry_date-modern {
        font-size: 12px;
        line-height: 14px;
        padding: 6px 12px;
        font-family: "poppins" !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .won_auction {
        height: 313px;
    }
    .auction_single_holder_inner-modern .row {
        display: flex !important;
     }
    .auction_image_holder_inner {
        width: 210px;
        padding: 25px 30px;
    }

    .auction_content {
        width: calc(100% - 230px);
        padding: 25px 30px;
    }

    .auction_content .title-modern {
        font-size: 16px;
        line-height: 20px;
    }

    .auction_desc-modern {
        font-size: 13px;
        margin: 5px 0;
    }

    .auction_content .timeline {
        padding: 12px 12px 12px 0;
    }

    .auction_content .timeline .timeline-item {
        margin-bottom: 30px;
    }

    .auction_content .timeline .timeline-item .icon {
        width: 30px;
        height: 30px;
        padding: 7px;
        margin-right: 10px;
    }

    .auction_content .timeline .timeline-item .content p {
        font-size: 13px;
        line-height: 16px;
        font-family: "poppins" !important;
    }

    .won-auctionprice-modern {
        font-size: 16px;
        line-height: 20px;
        margin-top: 5px;
        font-family: "poppins" !important;
    }

    .aution_expiry_date-modern {
        font-size: 13px;
            font-family: "poppins" !important;
        line-height: 16px;
        padding: 6px 12px;
    }

    .auction_content .timeline .timeline-item .content p:first-child {
        color: #474747;
        margin-bottom: 3px;
    }

    .auction_content .timeline .timeline-item::before {
        left: 15px;
        top: 33px;
        height: 34px;
    }
}


@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .won_auction {
        height: 346px;
    }

    .auction_image_holder_inner {
        width: 230px;
        padding: 25px 30px;
    }

    .auction_content {
        width: calc(100% - 250px);
        padding: 25px 30px;
    }

    .auction_content .title-modern {
        font-size: 20px;
        line-height: 25px;
    }

    .auction_desc-modern {
        font-size: 13px;
        line-height: 18px;
        margin: 6px 0;
    }

    .auction_content .timeline {
        padding: 15px 15px 15px 0;
    }

    .auction_content .timeline .timeline-item {
        margin-bottom: 35px;
    }

    .auction_content .timeline .timeline-item .icon {
        width: 40px;
        height: 40px;
        padding: 8px;
        margin-right: 10px;
    }

    .auction_content .timeline .timeline-item::before {
        left: 19px;
        top: 40px;
        height: 37px;
    }

    .auction_content .timeline .timeline-item .content p {
        font-size: 14px;
        line-height: 18px;
    }

    .aution_expiry_date-modern {
        font-size: 13px;
        line-height: 18px;
        padding: 8px 16px;
    }

    .auction_buttons {
        margin-top: 12px;
    }

    .won-auctionprice-modern {
        font-size: 21px;
        line-height: 25px;
        margin-top: 5px;
    }
}