.cards
{
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   flex-wrap: wrap;
   clear: both;
   padding-top: 1em;
   column-gap: 1.5rem;
   row-gap: 0.5 rem;
}

.card
{
    padding: 10px;
    margin-bottom: 1.5em;	
    background-color: #f2f2f2;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 8px;
    border-radius: 0.5em; 
    flex: 1 1;  
    min-width: 360px;
    max-width: 500px;
    transition-duration: 250ms;
    position: relative;
}

a.card-link, a.card-link:hover, a.card-link:active
{
    color: black;
    text-decoration: none;
}

.card:hover
{
    box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 16px;
    transition-duration: 250ms;
}

.cardcontent
{
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.icon-add
{
    flex: 0 0;
    padding: 2em;
    text-align: center;
}

.cardcontent-top
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: top;
    flex: 0 0;
    margin-bottom: 1em;
}

.cardcontent-bottom
{
    margin-top: auto;
    margin-bottom: 0em;
}

.cardcontent-title
{
    font-weight: bold;
    font-size:x-large;
    margin-bottom: 0.5em;
}

.cardcontent-title-label
{
    text-align: start;
    flex: 1 1 66%;
}

.cardcontent-title-auction
{
    text-align: end;
    flex: 1 0 25%;
}

.cardcontent-image
{
    flex: 1 1 100%;  
    height: 400px;
    min-width: 30%;
    margin-bottom: 1em;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 1em;
}

.cardcontent-image img 
{
    max-width: 100%;
    height: 400px;
    max-height: 400px;

    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;

    object-fit: contain;

}

.cardcontent-description-country
{
    font-weight: bold;
}

.cardcontent-description-text
{
    font-size:large;
    line-height: 1.25em;
}

.cardcontent-resultcontainer
{
    flex: 0 0 100%;  
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding-left: 0.2em;
    justify-content: center;
}

.cardcontent-result
{
    flex: 1 0 90%;
    font-weight: bold;
    font-size: x-large;
    text-align: center;
}

.cardcontent-result-highbid
{
    font-weight: bolder;
    font-size: large;
    background-color: #00ff00;
    flex: 0 0 100%;
    text-align: center;
    padding: 0.25em;
    margin-bottom: 0.5em;

    background: -webkit-linear-gradient(left, #8f6B29, #F0E680, #DF9F28);
	background: linear-gradient(left, #8f6B29, #F0E680, #DF9F28);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 4px;

    color: white;
    text-shadow: rgba(0,0,0,1) 0px 0px 3px;
}

.cardcontent-result-overbid
{
    font-weight: bolder;
    font-size: large;
    background-color: #ff0000;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 0.5em;
    padding: 0.25em;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 4px;

    color: white;
    text-shadow: rgba(0,0,0,1) 0px 0px 3px;
}

.history-status-button
{
    flex: 0 0;
}

.cardcontent-actionbutton.historybutton, .cardcontent-actionbutton.icon-link
{
    padding: 5px 10px;
    white-space: nowrap;
}

.cardcontent-statusicons
{
    display: flex;
    flex: 0 0 100%;
    align-items: flex-end;
    justify-content: center;
}

.cardcontent-statusicon
{
    color: #4CAF50;
    margin-left: 0.35em;
    /*cursor:pointer;*/
}

.cardcontent-statusicon-disabled
{
    color:rgba(0, 0, 0, 0.25);   
}

.cardcontent-attributecontainer
{
    flex: 0 0 100%;  
    display: flex;
    flex-direction: column;
}

.cardcontent-attribute
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 0 1;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-right: 0.2em;
}

.cardcontent-attribute-label
{
    font-weight: bolder;
    flex: 1 1;
    text-align: left;
}

.cardcontent-attribute-value
{
    flex: 1 0;
    text-align: right;
}

.cardcontent-attribute-value.highlight
{
    font-weight: bold;
    font-size: large;
}

.cardcontent-attribute-value.highlight.red
{
    color:crimson;
}

.cardcontent-attribute-value.highlight.orange
{
    color: darkorange;
}

.cardcontent-attribute-value.highlight.green
{
    color: green;
}

.cardcontent-actions
{
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.2em;
    margin-top: 1em;
}

.cardcontent-action
{
    flex: 0 0 100%;
    margin-bottom: 0.35em;
}

.cardcontent-action-halfsize
{
    flex: 0 0 49%;
}

.cardcontent-actionbutton
{
  width: 100%;
  background-color: #999;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition-duration: 0.3s;
  cursor: pointer;

  font-weight: bold;
  font-size: larger;
  text-shadow: rgba(0,0,0,0.25) 0px 1px 2px;
}

.cardcontent-statusicon a, .cardcontent-statusicon a:hover, .cardcontent-statusicon a:visited
{
  width: 100%;
  color: inherit;

  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

a.cardcontent-actionbutton:hover, a.cardcontent-actionbutton:active, a.cardcontent-actionbutton:focus
{
    opacity: 0.75;
    text-decoration: none;
    color: white;
}

a.cardcontent-actionbutton:visited
{
    color: white;
    text-decoration: none;
}

.cardcontent-actionbutton:hover
{
    opacity: 0.75;
}

.bidinfo-overlay
{
    float: left;
    position:absolute;
    left: 0px;
    top: 70%;
    width: 100%;
    z-index: 100;
}

.abitems-overlay
{
    position:absolute;
    left: 0;
    top: 0;
    z-index: 80;
    background-color: rgb(185,163,199);
    border-bottom-right-radius: 20px;
    min-width: 75px;
    min-height: 50px;
}

.abitems-background
{
    z-index: 101;
    padding: 1rem 1rem 0.25rem 1rem;
    font-weight: bold;
}

.abitems-background i
{
    transform: rotate(-45deg);
    margin: -8px;
}

.abitems-content
{
    text-align: center;
    z-index: 102;
    font-weight: bold;
}

.endtime-overlay
{
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 0; 
    display: flex; 
    justify-content: center;
    font-size: 1.5em;
    padding: 0.25em 0.5em;
    border-radius: 0.15em;
}


.endtime-overlay.extended
{
    /*background-color: orange;*/
    background-color: #FF5722;
    color: white;
    text-shadow: 1px 1px 2px black;
    justify-content: space-between;
}

.endtime-extension-table
{
    background-color: #FF5722;
    color: white;
    text-shadow: 1px 1px 2px black;
    border-radius: 0.15em;
    padding: 0.25em 0.5em;
    font-weight: bold;
    white-space: nowrap;

    display: flex;
    justify-content: space-between;
}

.endtime-extension-table div
{
    flex: 0 0;
}

.endtime-overlay.extended.final
{
    background-color: #d36e70;
}
.endtime-overlay-left, .endtime-overlay-right, .endtime-overlay-center
{
    flex: 0 0;
}

.endtime-overlay-center
{
    white-space: nowrap;
}

.endtime-overlay-left, .endtime-overlay-right
{
    display: none
}

.endtime-overlay-left.extended, .endtime-overlay-right.extended
{
    display: block;
}

.abitems-overlay.extended
{
    margin-top: 2.25em;
}

.pulse
{
    animation: pulse 2s linear infinite;
}

@keyframes pulse {
    10%
    {
        transform: scale(1.05);
    }
	20% {
		transform: none;
	}
    100%
    {
        transform: none;
    }
}

.detailpage-extension
{
    background-color: #FF5722;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    padding: 0.25em 0.5em;
    border-radius: 0.15em;
}

.dhl-icon
{
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: url("/themes/custom/wacadaptivetheme/images/dhl_delivery_van_rgb_red.png");
    background-position: center;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    /* border: 3px solid #D40511; */
}

.dhl-icon.secondicon
{
    top: 6.25rem;
}

.billing-icon-background
{
    position: absolute;
    right: 1rem;
    top: 1rem;
    background-color: #333;
    background-position: center;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.billing-icon
{
    margin: auto;
    font-size: 40px;
    color: #ccc;
    line-height: 64px;
    text-align: center;
}


/* Begin breakpoint: custom (for card layout) */
@media all and (min-width: 100em) 
{
    .card  { flex: 1 1 26%; }
}
@media all and (max-width: 45em) 
{
    .card  { border-radius: 0; }
    .cardcontent-title-label { padding-left: 0.5em; }
    .cards { padding-top: unset; }
}
