﻿/* min-width test for responsive site */
.Auction {
    width: 100%;
}

.NormalRed {
    color: #f00;
    font-weight: bold;
}

.Auction img {
    max-width: 100%;
    height: auto !important
}

/* AUCTION */

/* Headings */
.Auction h1, .Auction h4 {
    margin: 0;
}

.Auction th {
    font-weight: 400;
}


/* Wrappers */
.aucItem, .aucData {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1.2em;
}

.aucSubTop, .aucSubBottom {
    flex-basis: 100%;
}

@media screen and (min-width: 768px) {
    .aucSubTop {
        flex-basis: calc(50% - 10px);
    }

    .aucSubBottom {
        flex-basis: calc(50% - 10px);
    }
}


/* paddings and margins */
.aucItem .aucSubTop,
.aucItem .aucSubBottom {
    padding: 0.5em;
}


.aucData .aucSubTop {
    overflow: hidden
}

    .aucItem .aucSubTop,
    .aucItem .aucSubBottom,
    .aucData .aucSubTop .aucLive,
    .aucData .aucSubTop .aucBidsArea,
    .aucData .aucSubBottom {
        background: #fff;
    }


/* Backgrounds */
.aucItem .aucSubBottom {
    /*  background: transparent; */
}

/* Block heights */
.aucItem .aucSubBottom {
    height: 200px;
}

@media screen and (min-width: 768px) {
    .aucItem .aucSubTop {
        height: 200px;
    }
}
.aucNextLotsArea .next-lot-header {
    padding: 0.3em;
}

/* Scroller */
.aucSubBottomScroller {
    overflow-y: auto;
    overflow-x: hidden;
}

    .aucSubBottomScroller h1 {
        margin-bottom: 0.5em;
    }


/* Next Lots */

.aucNextLots {
    border-collapse: collapse;
}

.aucNextLotsArea {
    border: solid 1px #888;
}

.aucNextLots thead > tr th {
    border-bottom: solid 1px #888;
    padding-left: 7px;
    height: 20px;
}

.aucNextLots tbody > tr:nth-child(2n+1) {
    background-color: #e8e8e8;
}

.aucNextLots tbody > tr {
    height: 120px;
}

    .aucNextLots tbody > tr td {
        border: none;
        padding: 0.3em 0.3em 0.8em;
    }
/*.aucNextLots tbody > tr td:nth-child(1), .aucNextLots tbody > tr td:nth-child(2){background-color:#e8e8e8}*/

.aucNextLotsArea {
    /* height: 398px; no more scrolling on Mobile */
}

    .aucNextLotsArea .aucSubBottomScroller {
        /* height: 344px; no more scrolling on Mobile */
        border-top: solid 1px #888;
    }

@media screen and (min-width: 768px) {
    .aucNextLotsArea {
        height: auto;
    }

        .aucNextLotsArea .aucSubBottomScroller {
            height: auto;
            overflow: auto;
        }
}

.aucNextLotsArea .auc-lot-id {
    padding-bottom: 0.6em;
}

.aucNextLots td {
    vertical-align: top;
}

.aucNextLotsArea .next-lots {
    color: black;
    padding-bottom: 0.3em;
}

.aucNextLotsArea .auc-lot-first,
.next-lot-header .auc-lot-header-first {
    width: 100px;
}

.next-lot-header .auc-lot-header-first {
    display: inline-block;
}

.next-lot-header .auc-lot-first {
    padding-right: 0;
}

@media screen and (min-width: 768px) {
    .aucNextLotsArea .auc-lot-first,
    .next-lot-header .auc-lot-header-first {
        width: 150px;
    }
}

.aucNextLotsArea .aucSubBottomScroller .auc-lot-img {
    min-width: 50px;
}


.Auction .aucNotify {
    background-color: #E5E5E5;
    width: 100%;
}

.Auction .aucNotifyItem {
    font-size: 0.9em;
}

.Auction .aucNotifyItem {
    padding: 0.3em;
}

    .Auction .aucNotifyItem img {
        margin-right: 4px;
    }




.aucLastBid, .aucBidding {
    padding-top: 0.7em;
}

.aucBidMsg {
    padding-bottom: 0.7em;
	font-weight: bold;
	text-transform: uppercase;
}

    .aucBidMsg:empty {
        padding-bottom: 0;
    }

.aucBidding {
    margin-bottom: 1em;
}


/* Tables */
.Auction table {
    width: 100%;
    background: #fff;
}

.Auction td, .Auction th {
    text-align: left;
}


/* Bidding */
.aucBidButtonArea {
    border: solid 2px #888;
    padding: 1em;
    background: #fff;
}

/* Styling colors depnding on status */
.lot-winning-false .aucBidButtonArea {
    border: solid 2px #ee0000;
}

.lot-winning-true .aucBidButtonArea {
    border: solid 2px #0a0;
}

.lot-winning-false .aucCurrentBid,
.aucNotWinning {
    color: #ee0000;
}

.lot-winning-false .aucCurrentBid {
    color: black;
}



/* Progress bar */
.aucLive progress {
    width: 95%;
    margin: 1.2em 2.5%;
}


/* Bid button */

a.aucBid:link, a.aucBid:visited {
    color: white;
    text-decoration: none;
}


.aucBid {
    display: inline-block;
    padding: 0.5em 2em;
    text-align: center;
    border-radius: 0;
    outline: solid 2px white;
}

    .aucBid:focus {
        outline: solid 2px black;
    }

.aucNoBid {
    height: 28px;
}

.auc-button-msg-top {
    padding-bottom: 0.5em;
}
        

.lot-winning-false .aucBid {
    background: #ee0000;
    color: #fff;
}

.lot-winning-true .aucBid {
    background: #ccc;
    color: #fff;
    cursor: default;
}


.aucBidMsg.aucWinning, .aucBidMsg.aucNotWinning {
    padding-top: 5px;
}

.lot-winning-true

.aucLastBid {
    padding-bottom: 5px;
}
/* Item */
.aucItemImg {
    clear: both;
}

.aucItemImgWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    width: 100%;
}

.aucItemBid {
    float: right;
}

/* Item Data */

/*.aucData .aucSubBottom{border-top:solid 0 #888;}*/
.Auction h1, .Auction h2, .Auction h3, .Auction h4 {
    font-size: 14px;
    line-height: 20px;
    /* font-family: Verdana,Arial,Helvetica,sans-serif;*/
}

.aucDataImg {
    max-width: 75px;
    max-height: 100px;
}

.aucWinning {
    color: green;
}

.aucNotWinning {
    color: red;
}

.ClearAfter:before, .ClearAfter:after {
    content: "";
    display: table;
}

.ClearAfter:after {
    clear: both;
}

.ClearAfter {
    zoom: 1;
}
/* For IE 6/7 (trigger hasLayout) */

.aucItemImgWrap img {
    max-height: 150px;
    margin-left: auto;
    margin-right: auto;
}



.aucBidsArea {
    border: solid 1px #888;
    background-color: #fff;
    min-height: 150px;
}

@media screen and (min-width: 768px) {
    .aucBidsArea {
        min-height: 261px;
    }
}

.aucBids {
    border-collapse: collapse;
}

    .aucBids thead > tr th {
        border-bottom: solid 1px #888;
        padding: 0.3em;
        min-height: 20px;
    }

    .aucBids tbody > tr:nth-child(1) td {
        height: 20px;
    }

    .aucBids tbody > tr:nth-child(2n+1) {
        background-color: #e8e8e8;
    }

    .aucBids tbody > tr td {
        border: none;
        padding: 0.3em;
    }
