.invalid,
.pr_more,
.pr_prname,
.price {
    font-weight: 700
}

.product_card {
    float: left;
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
    width: 430px;
    height: 257px;
    display: grid;
    grid-template-columns: 215px auto;
    grid-template-rows: 1.3em auto 50px 1.3em 1.3em;
    align-items: center;
    flex-grow: 1;
}

.card.product_card.catalog_card {
    width: 250px;
    height: 200px;
    flex-grow: unset;
}

.product_card.nosub {
    grid-template-columns: 170px auto;
}

.pr_prname {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    grid-column-start: 1;
    grid-column-end: 3;
    height: 1.3em;
    padding-right: 15px;
}

.images_container {
    height: 130px;
    position: relative;
    display: flex;
    width: 220px;
    justify-content: center;
    align-items: center;
}

.images_container.nosub {
    width: 160px;
}

.catalog_card>.images_container.nosub {
    justify-self: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.sub_images_container {
    width: 50px;
    display: flex;
    flex-direction: column;
    margin-left: 3px;
}

.product_image>img {
    border-radius: 5px;
}

.product_image.main_image>img {
    max-height: 130px;
    max-width: 160px;
}

.product_image.sub_image>img {
    max-width: 50px;
    max-height: 50px;
}

.pr_fullname {
    height: auto!important;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%)
}

.price_label {
    border-bottom: 2px solid #43230C;
    margin-top: 5px
}

.unit {
    font-size: 14px;
    font-style: italic;
}

.price {
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: right;
    color: #e2e2e2;
    font-family: monospace;
    font-size: large;
}

.sku {
    -webkit-user-select: all;
    /* for Safari */
    user-select: all;
    font-family: monospace;
    font-size: larger;
}

.price_arrow {
    margin-left: 10px;
    margin-right: 10px;
}

.noprice,
.pr_more {
    text-align: center
}

.invalid {
    text-decoration: line-through;
    color: #43230C
}

.discounted {
    color: #179417
}

.attributes {
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    justify-content: space-evenly;
}

.attribute {
    display: flex;
    align-items: center;
}

.stock_info {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 2;
}

#stock_dot {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 1em;
    margin-left: 5px;
    border: 1px solid #43230c;
}

#stock_dot.green {
    background-color: #7acc41;
}

#stock_dot.yellow {
    background-color: #cca341;
}

#stock_dot.red {
    background-color: #cc4141;
}

.pr_more {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    /*position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);*/
    width: calc(100% + 20px);
    height: 30px;
    background-color: #C09C83;
    color: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    grid-column-start: 1;
    grid-column-end: 3;
    margin-left: -10px;
    align-self: start;
}

.pr_more a {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center
}

.relative {
    position: relative
}

#last_modified {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 15px;
    cursor: pointer;
}

.green {
    color: darkseagreen;
}

.yellow {
    color: lightgoldenrodyellow;
}

.orange {
    color: darkorange;
}

.red {
    color: indianred;
}

.tooltip {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    transform: translateX(1.5%);
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    border: 2px solid #5b6880;
    border-radius: 10px;
    font-weight: bold;
    color: #c09c83;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.pr_prices>.sku_container {
    text-align: right;
}

.pr_prices>.sku_container>.price.sku {
    display: inline-block;
}

.copy-sku {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.copy-sku>.tooltip {
    width: 10em;
    max-width: unset;
    right: -50%;
    transform: translateX(+50%);
}

#last_modified:hover>.tooltip,
.copy-sku:hover>.tooltip {
    display: block;
}