/*TODO prendre compte des depots**/


/* Initialize **/

.CatalogItemBidsControls.offerPending .CatalogItemAuctionPhase {
    display: none
}

.CatalogItemBidsControls:not(.offerPending) .CatalogItemNegoPhase,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemNegoPhase {
    display: none
}

.CatalogItemBidsControls .CatalogItemOpenNegotiationInputs,
.CatalogItemBidsControls .CatalogItemCounterOfferInputs,
.CatalogItemBidsControls .CatalogItemAddOfferInputs,
.CatalogItemBidsControls .CatalogItemPutReserveInputs,
.CatalogItemBidsControls .CatalogItemSetBuyNowInputs,
.CatalogItemBidsControls .CatalogItemLastChanceInputs,
.CatalogItemBidsControls .CatalogItemLastBidderOfferInputs {
    display: none
}


/*
.CatalogItemBidsControls .CatalogItemLastChanceButton,
.CatalogItemBidsControls .CatalogItemLastBidderOfferButton {
    background-color: #007aa5;
    color: #fff
}

.CatalogItemBidsControls:not(.lastChance) .CatalogItemLastChanceButton,
.CatalogItemBidsControls:not(.lastChance) .CatalogItemLastBidderOfferButton {
    display: none;
}
*/


/**message pour le consignataire qu'il ne peut pas misé*/

.CatalogItemBidsControls.IsNotStarted .CatalogItemConsignorOwnItem {
    display: none;
}


/* les boutons action*/

.CatalogItemBidsControls.Consignor .CatalogItemDepositeButton {
    display: none
}

.CatalogItemBidsControls.Consignor .CatalogItemAcceptConsignorOfferButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemAcceptConsignorOfferButton,
.CatalogItemBidsControls.IsSold .CatalogItemAcceptConsignorOfferButton,
.CatalogItemBidsControls:not(.offerPending) .CatalogItemAcceptConsignorOfferButton {
    display: none
}

.CatalogItemBidsControls.offerPending .CatalogItemNegotiationButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemNegotiationButton,
.CatalogItemBidsControls.IsSold .CatalogItemNegotiationButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemNegotiationButton,
.CatalogItemBidsControls:not(.Consignor) .CatalogItemNegotiationButton {
    display: none
}


/* faire une contre offre*/

.CatalogItemBidsControls:not(.Consignor) .CatalogItemCounterOfferButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemCounterOfferButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemCounterOfferButton,
.CatalogItemBidsControls:not(.offerPending) .CatalogItemCounterOfferButton {
    display: none
}

.CatalogItemBidsControls.Consignor .CatalogItemAddBiderOfferButton,
.CatalogItemBidsControls:not(.offerPending) .CatalogItemAddBiderOfferButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemAddBiderOfferButton,
.CatalogItemBidsControls.IsSold .CatalogItemAddBiderOfferButton {
    display: none
}

.CatalogItemBidsControls.IsSold .CatalogItemAcceptBidderOfferButton,
.CatalogItemBidsControls:not(.Consignor) .CatalogItemAcceptBidderOfferButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemAcceptBidderOfferButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemAcceptBidderOfferButton,
.CatalogItemBidsControls:not(.BOffer) .CatalogItemAcceptBidderOfferButton,
.CatalogItemBidsControls.IsSold .CatalogItemAcceptBidderOfferButton {
    display: none;
}


/**rejeter une offre */

.CatalogItemBidsControls.IsSold .CatalogItemRejectedOfferButton,
.CatalogItemBidsControls:not(.Consignor) .CatalogItemRejectedOfferButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemRejectedOfferButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemRejectedOfferButton,
.CatalogItemBidsControls:not(.BOffer) .CatalogItemRejectedOfferButton {
    display: none;
}


/**faire une réserve */

.CatalogItemBidsControls:not(.Consignor) .CatalogItemSetReserveButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemSetReserveButton,
.CatalogItemBidsControls:not(.IsNotStarted) .CatalogItemSetReserveButton,
.CatalogItemBidsControls.IsSold .CatalogItemSetReserveButton,
.CatalogItemBidsControls.IsPassed .CatalogItemSetReserveButton,
div[reserve]:not([reserve="true"]) .CatalogItemSetReserveButton {
    display: none;
}


/**déverouiller -consignataire- */

.CatalogItemBidsControls:not(.Consignor) .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls:not(.IsLogged) .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls.IsNotStarted .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls.IsSold .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls.IsPassed .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls.IsPending .CatalogItemUnlockReserveButton,
.CatalogItemBidsControls.IsReserveReached .CatalogItemUnlockReserveButton,
div[reserve]:not([reserve="true"]) .CatalogItemUnlockReserveButton {
    display: none;
}


/**acheter  maintement */

.CatalogItemBidsControls.Consignor .CatalogItemBuyNowNewButton,
.CatalogItemBidsControls.offerPending .CatalogItemBuyNowNewButton,
.CatalogItemBidsControls.IsSold .CatalogItemBuyNowNewButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemBuyNowNewButton,
div[buyNowNew][buyNowNew="0"] .CatalogItemBuyNowNewButton {
    display: none;
}


/**vendre  maintement */

.CatalogItemBidsControls:not(.Consignor) .CatalogItemAddSetBuyNowButton,
.CatalogItemBidsControls.offerPending .CatalogItemAddSetBuyNowButton,
.CatalogItemBidsControls.IsSold .CatalogItemAddSetBuyNowButton,
.CatalogItemBidsControls:not(.buyNowNew) .CatalogItemAddSetBuyNowButton {
    display: none;
}


/** poke*/

.CatalogItemBidsControls.IsPassed .CatalogItemPokeButton,
.CatalogItemBidsControls:not(.poke) .CatalogItemPokeButton,
.CatalogItemBidsControls.offerPending .CatalogItemPokeButton,
.CatalogItemBidsControls.IsSold .CatalogItemPokeButton {
    display: none;
}

.CatalogItemBidsControls:not(.pokeNb) .pokeNumber,
.CatalogItemBidsControls:not(.buyNowNew) .pokeNumber,
.CatalogItemBidsControls.offerPending .pokeNumber,
.CatalogItemBidsControls.IsSold .pokeNumber {
    display: none;
}


/**compromise*/

.CatalogItemBidsControls:not(.compromise) .CatalogItemCompromiseButton,
.CatalogItemBidsControls.IsSold .CatalogItemCompromiseButton {
    display: none;
}

.CatalogItemBidsControls:not(.compromise) .CatalogItemCompromiseOffer {
    display: none;
}