﻿.fs-ribbon, .discount-ribbon {
    position: relative;
    background: #b30000;
    text-align: center;
    z-index: 1;
    width: 78px;
    height: 30px;
    top: 2px;
    right: -6px;
    text-indent: 7px;
    line-height: 2.1;
    color: white;
    margin-right: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 13px !important;
    font-weight: bold;
}
.discount-ribbon {
    width: 55px !important;
    text-indent: 0px !important;
    line-height: 1.9 !important;
    font-size: 17px !important;
    background: #384d55!important;
}
.discount-ribbon2 {
    width: 133px !important;
    font-size: 14px !important;
    background: #384d55 !important;
}
.discount-ribbon4 {
    width: 95px !important;
    font-size: 15px !important;
    background: #384d55 !important;
}
.fs-ribbon2 {
    width: 120px !important;
}
.empty-ribbon {
    height: 30px;
}
.fs-ribbon:before, .discount-ribbon:before {
    content: '';
    border: 15px solid;
    border-left-width: 8px;
    position: absolute;
    top: 0px;
    left: -16px;
    border-right-width: 8px;
    border-right-color: #b30000;
}
.discount-ribbon:before {
    border-right-color: #384d55 !important;
    border-color: transparent;
}
    /*.ribbon:after {
    content: '';
    border: 26px solid blue;
    border-right-color: transparent;
    border-right-width: 21px;
    position: absolute;
    top: 0;
    right: -27px;
}*/
    .ourprice {
    font-size: 18px !important;
    float: right;
    margin-left: 10px;
}

.marketprice {
    font-size: 14px !important;
    float: right;
    margin-left: 10px;
    margin-top: 5px;
    text-decoration: line-through;
    color: #b4b5b3;
}
.content-filter {
    font-size: 14px !important;
    color: #384D55 !important;
}

.date {
    height: 25px;
    width: 68px;
    border-radius: 6px;
    border: 1px solid #b3b3b3;
}
.searchb {
    text-align: center;
}

.tsearchb {
    border-radius: 6px;
    border: 1px solid #b3b3b3;
    max-width: 77%;
}

.addtocart {
    cursor: pointer;
    background-image: url(/cart2.png);
    background-color: #A6CE39;
    width: 130px;
    height: 33px;
    border-collapse: collapse;
    text-decoration: none;
    border: none;
    background-repeat: no-repeat;
    background-position: left;
    background-size: 28px;
    outline: none;
    color: #384D55;
    text-align: right;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -o-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    font-size: 13px !important;
    font-weight: bold;
}

.gridview {
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    padding-bottom:21px;
    margin-bottom:30px;
    text-align: center;
    line-height: 1.5;
    max-width: 100%
}

.imggrid {
    margin: 0 auto;
    max-width: 80%;
    position: relative;
    margin-bottom: 7px;
    width: 241px;
    height: 241px;
}

    .imggrid img {
        /*max-width: 255px;*/
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        max-height: 100%;
        max-width: 100%;
        width: auto
    }

.imgstyle {
    width: 100%;
    max-height: 240px;
}

.discount {
    background: #384D55;
    position: absolute;
    left: -6px;
    color: #ffffff;
    top: 15px;
    width: 45px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index:1
}

.btn {
    /*height: 27px;
            line-height: 1;*/
    font-size:12px!important;
    font-weight:bold;
    cursor: pointer;
    background-color: #A6CE39;
    border-collapse: collapse;
    border: none;
    color: #384D55;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -o-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
}

.clear {
    background: #ddd !important;
}

/*.orderby {
    text-align: center;
    padding: 5px;
}*/

.products, .products [class*="col-"] {
    display: flex;
    flex-wrap: wrap
}

.products {
    margin-top: 10px;
}

.filter-accordion {
    text-align: center;
}

.dropdown {
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #b3b3b3;
    cursor:pointer
}

.price {
    width: 70px;
    height: 25px;
    border-radius: 6px;
    border: 1px solid #b3b3b3;
}

.filter-btns {
    text-align: center;
    margin-top: 10px;
}
.filter-panel {
    max-height: 0px;
    transition: max-height 0.2s ease-out;
    background-color: white;
    overflow: hidden;
    border-bottom: 1px solid grey;
    border-top: 1px solid grey;
}
@media only screen and (min-width: 768px) {
    .price-box {
        padding: 0 5px;
        border: 1px solid #b3b3b3;
        border-radius: 5px;
    }
    .filter-panel {
        max-height: none!important;    
        border-top:0px!important;
        border-bottom:0px!important
    }

    .filter-accordion {
        display: none
    }

    .filter-btns {
        float: left;
        margin-top: 0;
    }

    .pro-order {
        display: flex;
        flex-flow: wrap;
    }

    .pro-one {
        order: 1;
    }

    .pro-two {
        order: 2
    }

    .pro-three {
        order: 3
    }
}