﻿.flex-container {
    display: flex;
    flex-direction: row;
}

.comparison-container-empty {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    margin:20px 12px 500px 12px;
}

.compare-contatent {
    overflow: hidden;
    width: 1200px;
    height: 100%;
    background-color: white;
    padding: 0 12px;
}

.flex-item-container {
    display: flex;
    flex-direction: column;
    width: 200px;
    min-width: 200px !important;
    /* box-shadow: 3px 3px 0px #666;*/
    border-radius: 5px;
    border: 2px solid var(--base-grey-text-color);
    margin: 20px 5px 20px 5px;
}

.picture-name-container {
    display: flex;
    flex-direction: column;
}

    .picture-name-container img {
        padding-bottom: 10px;
        width: 100%
    }

.compare-item-name {
    padding-bottom: 5px;
}

.description-container {
    height: 150px;
    overflow: hidden;
    border-top: 2px solid var(--base-grey-text-color);
    border-bottom: 2px solid var(--base-grey-text-color);
    border-collapse: collapse;
    padding: 5px;
}

.product-with-discount-container {
    height: 70px;
    overflow: hidden;
    padding: 5px;
    text-align: center;
}

.is-supply {
    margin-top: auto;
    text-align: center;
}


.button-add-to-cart {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    outline: 0;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    color: #fff;
    background-color: var(--base-primary-color);
    margin-left: 5px;
    border-radius: 5px;
    border: 2px solid var(--base-primary-color);
    transition: color 0.5s;
}

    .button-add-to-cart:hover {
        color: var(--base-primary-color);
        background-color: transparent;
    }

.buttons-comparison {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5px;
}

.product-prices-original {
    font-size: 0.875rem;
    color: var(--products-item-price-text-color);
    text-decoration: line-through;
}

.new-price {
    margin: 6px 0px;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1rem;
    color: red;
    font-weight: bold;
}

.product-prices-original-no-dc {
    font-size: 0.875rem;
    color: var(--products-item-price-text-color);
}

.products-new-price-ribon-wrapper {
    width: 74px;
    height: 69px;
    overflow: hidden;
    position: relative;
    margin: 0px 118px 0px;
    bottom: 54px;
}

.products-new-price-ribbon-red {
    font: bold 15px Sans-Serif;
    color: #fff;
    text-align: center;
    text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 2px 0;
    left: -7px;
    top: 6px;
    width: 131px;
    background-color: #ea181e;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ea181e), to(#b90005));
    background-image: -webkit-linear-gradient(top, #ea181e, #b90005);
    background-image: -moz-linear-gradient(top, #BFDC7A, #8EBF45);
    background-image: -ms-linear-gradient(top, #BFDC7A, #8EBF45);
    background-image: -o-linear-gradient(top, #BFDC7A, #8EBF45);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

    .products-new-price-ribbon-red:before,
    .products-new-price-ribbon-red:after {
        content: "";
        border-top: 3px solid #b90005;
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        position: absolute;
        bottom: -3px;
    }

    .products-new-price-ribbon-red:before {
        left: 0;
    }

    .products-new-price-ribbon-red:after {
        right: 0;
    }

@media only screen and (max-width: 865px) {
    .flex-container {
        overflow-x: scroll;
    }
}
