﻿.Auction {
    border: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 35px;
    /*padding-bottom: 35px;*/
    position: relative;
}

    .Auction:last-child {
        /*margin-bottom: 0px;*/
        /*padding-bottom: 0px;*/
    }


.ForSaleFoto {
    width: 32%;
}

.iCarPhoto {
    max-width: 386px;
    width: 100%;
}

.ForSaleFoto input:not(.buttonCancelGallery):not(.iCarPhoto) {
    margin-bottom: 0;
    height: 100%;
}

.ForSaleHeader {
    width: 30%;
    padding: 10px 0 0 10px;
}

.auction-list .ForSaleLeft, .auction-list .ForSaleRight {
    width: 50%;
}

.price-color {
    color: #1ac81a !important;
}

.auction-list-container .ad-gallery .ad-image-wrapper {
    height: 600px;
    width: 800px;
}

.auction-list-container .ad-gallery .ad-nav {
    padding: 0 12px 0 28px;
}

.auction-list-container .ad-gallery .ad-image-wrapper .ad-image {
    width: 95% !important;
    height: auto !important;
    top: 15px !important;
    left: 20px !important;
}

.auction-list-container .ad-thumbs {
    width: 740px !important;
}

.auction-list-container .ad-gallery .ad-thumbs .ad-thumb-list {
    margin-left: 0;
}

@media screen and (max-width: 1180px) {
    .ForSaleFoto {
        width: 38%;
    }
}

@media screen and (max-width: 970px) {
    .ForSaleFoto {
        width: 40%;
    }

    .auction-list-container .ad-gallery .ad-image-wrapper {
        width: 325px;
        height: 240px;
    }

    .auction-list-container .ad-thumbs {
        width: 290px !important;
    }
}

@media screen and (max-width: 820px) {
    .auction-list-container .ad-gallery .ad-image-wrapper {
        height: 225px;
        width: 300px;
    }

    .auction-list-container .ad-thumbs {
        width: 270px !important;
    }
}

@media screen and (max-width: 767px) {
    .auction-list-panel {
        margin-bottom: 25px;
    }

    .auction-list-container .ad-gallery .ad-nav {
        padding: 0 12px;
    }

    .ad-gallery .ad-nav .ad-thumbs {
        margin: 0 auto;
    }

    .auction-list-container .ad-gallery .ad-image-wrapper {
        margin: 0 auto;
    }

        .auction-list-container .ad-gallery .ad-image-wrapper > div {
            left: 50% !important;
        }

    .ForSaleHeader {
        width: 100%
    }

    .auction-list-panel {
        padding: 0 0 0 10px;
    }
}

.ForSaleHeader .title {
    font-weight: bold;
}

.expand-icon {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.auction-table {
    margin-top: 25px;
    border: 0;
    display: flex;
}

    .auction-table tbody, .auction-table td {
        width: 100%;
        display: block;
    }

    .auction-table tr {
        border-color: transparent;
        display: flex;
    }

        .auction-table tr td {
            display: flex;
            border: none;
        }

#custom-tabs {
    height: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
}

    #custom-tabs.visible {
        height: auto;
        opacity: 1;
        visibility: visible;
        transition: 0.3s opacity ease-in;
    }

    #custom-tabs .tab-content > .active {
        display: flex;
    }

    #custom-tabs a {
        border: 0;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 12px;
    }

    #custom-tabs li {
        transition: 0.2s all ease-in-out;
        border-bottom: 1px solid #0072B6;
    }

        #custom-tabs li:hover {
            border-bottom: 4px solid #0072B6;
            color: #0072B6;
        }

        #custom-tabs li.active {
            border-bottom: 4px solid #0072B6;
        }

            #custom-tabs li.active a {
                color: #0072B6;
            }

            #custom-tabs li.active::after {
                border: none;
            }

            #custom-tabs li.active::before {
                display: none;
            }

.details {
    display: flex;
    flex-wrap: wrap;
    padding: 0 25px;
}

.detail-version {
    width: 100%;
    margin-left: -10px;
}

    .detail-version span:last-child {
        text-transform: uppercase;
        font-size: 13px;
        margin-left: 25%;
    }

.details .ForSaleLeft, .details .ForSaleRight {
    /*flex: 1;*/
}

.details .ForSaleLeft {
    padding-right: 10px;
}

.details .ForSaleRight {
    padding-left: 10px;
}

.ForSaleLeft .detail-row, .ForSaleRight .detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 7px 0 5px 0;
}

.detail-row span:first-child, .detail-version span:first-child {
    font-weight: bold;
    font-size: 12px;
}

.detail-row span:last-child {
    font-size: 12px;
}

.auction-list-panel {
    flex: 1.2;
    padding-top: 10px;
}

    .auction-list-panel .offer-price-input {
        margin: 0;
        width: 100%;
    }

#Attachments p {
    text-align: right;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    .ForSaleFoto {
        width: 100%;
    }

        .ForSaleFoto .ad-image {
            left: 50% !important;
            transform: translateX(-50%);
            height: auto !important;
            width: 75%;
        }

    .details .ForSaleRight,
    .details .ForSaleLeft {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .Auction {
        padding-bottom: 25x;
    }
}

@media screen and (max-width: 471px) {
}
