﻿/*
Compile-Minify: true
Compile-Area: listing
Compile-OutputGroup: headtag
Compile-Exports: listing-griditem
Compile-Dependencies: bootstrap,site
*/

.sb-listing-thumb{
    display: block;
    height: 175px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}
.sb-listing-thumb img{
    max-height: 175px;
    vertical-align: middle;
    /*width: 175px;*/
    /*height: 175px;*/
    margin: 0 auto;
    /*display: block;*/
}
.sb-listing-item {
    height: 365px;
}
.sb-listing-item h3 {
    white-space: wrap;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.1em;
    max-height: 2.2em;
    height: 2.2em;
    display: block;
    display: -webkit-box;
    margin: 0 auto;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item-buy-container {
    position: absolute;
    bottom: 0;
}

#sb-listing-header > div:last-child {
    text-align: right;
}

#sb-listing-footer {
    margin-top: 10px;
}

.pager-label{
    text-align:center;
    line-height: 32px;
    padding:0 5px;
}
.pager-next .btn,.pager-prev .btn{color:#686868;}
@media (max-width: 768px) {
    .pager-next,.pager-prev{
        font-size:12px;
    }
    .pager-prev{padding-right:0;}
    .pager-next{padding-left:0;}
    .pager-tools {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
    }
    .pager-tools > .btn-group {
        float: none;
        display: table-cell;
        width: 1%;
    }
    .pager-tools>.btn-group .btn {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .pager-label{
        /*line-height: 24px;*/
        /*line-height: 1em;*/
        text-align:left;
        padding:0 15px 5px 15px;
    }
    .pager-tools {
        float:right;
    }
    /*.pager-row .btn{
        
        font-size: 18px;
        
    }*/
    .pager-prev{padding-right: 0;}
    .pager-prev .btn{border-right:0 none;/*padding: 10px 16px;line-height: 26px;*/}
    .pager-next{padding-left: 0;}
    /*.pager-next .btn{padding: 10px 16px;line-height: 26px;}*/
}

.price {
    font-size: 1.5em;
    color: forestgreen;
}

.old-price {
    text-decoration: line-through;
}

#searchPhrase {
    width: 100%;
}

.sb-listing-showall {
    cursor: pointer;
}

.product-item-sale-section {
    height: 34px;
}