/* Philatimbre - eBay search mobile-first cleanup */
body {
    padding-top: 70px;
    background: #210f1d url(https://www.philatimbre.fr/themes/defaut/images/main-bg.jpg) no-repeat center 0;
}

h2,
.h2,
h2 a,
.h2 a {
    font-size: 13px !important;
}

.product-card h2,
.product-card .h2,
.product-card h2 a,
.product-card .h2 a {
    font-size: 13px !important;
 }

#shared {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

#shared li {
    float: left;
    margin-right: 5px;
}

.navbar-inverse {
    border-bottom: 2px solid #ff5b5b !important;
}

.nav > li {
    color: #fff8ed !important;
    font-size: 16px !important;
    line-height: 52px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-family: 'BenchNine', sans-serif !important;
}

.btn-warning {
    color: #fff;
    background-color: #ff5b5b !important;
    border-color: #8b8686 !important;
}

.btn-warning:hover,
input.btn-warning:hover {
    background: #444 !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.filters-panel {
    background: #fff;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.22);
    padding: 15px;
    margin: 0 0 30px;
    overflow: hidden;
}

.filters-panel .lead {
    margin-bottom: 12px;
}

.filters-panel .list-group {
    margin-bottom: 0;
}

.filters-panel .list-group-item {
    padding: 10px 12px;
}

.filter-select,
.filter-select-mobile {
    width: 100%;
    height: 40px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.hero-ad-box,
.pagination-box,
.empty-results-box {
    background-color: #fff;
}

.hero-ad-box {
    width: 100%;
    max-width: 850px;
    min-height: 170px;
    padding: 20px;
    margin: 0 auto 10px;
}

.empty-results-box {
    min-height: 320px;
    padding: 80px 20px;
    text-align: center;
}

.pagination-box {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 10px;
}

.products-row {
    display: flex;
    flex-wrap: wrap;
}

.products-row:before,
.products-row:after {
    display: none !important;
}

.product-col {
    display: flex;
    margin-bottom: 20px;
}

.product-card {
    width: 95% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.product-thumb {
    height: 170px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumb img {
    max-width: 75%;
    max-height: 170px;
}

.product-caption {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 255px;
    overflow: visible;
}

.product-price-row {
    min-height: 34px;
}

.product-price {
    display: block;
    color: #d00;
    font-weight: bold;
    font-size: 20px;
    text-align: right;
}

.product-title {
    min-height: 42px;
    max-height: 42px;
    overflow: hidden;
    margin: 0 0 10px;
    font-size: 13px !important;
    font-weight: bold;
    margin-top: 2px !important;
}

.product-title h2 {
        font-size: 15px !important;
        margin: 0;
        line-height: 1.2;
}

    .product-title h2 a {
        color: #333;
        text-decoration: none;
    }

        .product-title h2 a:hover {
            color: #ff5b5b;
        }

.product-title a {
    color: #333;
}

.product-title a:hover,
.product-title a:focus {
    color: #ff5b5b;
    text-decoration: none;
}

.product-old-price {
    min-height: 20px;
    color: #999;
    text-decoration: line-through;
}

.product-meta,
.product-category,
.product-bid-row,
.product-location {
    min-height: 28px;
}

.product-meta {
    color: #f39c12;
    font-weight: bold;
}

.product-bid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.product-bid-count {
    color: #1f5fbf;
    font-weight: bold;
}

.product-location {
    color: #198754;
}

.product-category a {
    font-weight: bold;
}

.product-grow {
    flex: 1 1 auto;
}

.ratings {
    padding: 10px 10px 0;
    color: #d17581;
    margin-top: 0;
}

.product-bottom-date {
    color: #222;
}

.modal-image {
    width: 100%;
}

footer {
    background-color: #101010;
    min-height: 80px !important;
    border-top: 2px solid #ff5b5b !important;
    margin: 0 auto !important;
}

@media (max-width: 991px) {
    .filters-panel {
        margin-bottom: 20px;
    }

    .hero-ad-box {
        min-height: 130px;
        padding: 15px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 60px;
        background-size: cover;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
        background-color:white !important;
    }

    .filters-panel {
        padding: 12px;
    }

    .filters-panel .lead {
        font-size: 20px;
    }

    .hero-ad-box {
        min-height: 100px;
        padding: 10px;
    }

    .product-col {
        margin-bottom: 15px;
    }

    .product-card {
        padding: 8px;
    }

    .product-thumb {
        height: 140px;
        margin-top: 0;
    }

    .product-thumb img {
        max-width: 88%;
        max-height: 140px;
    }

    .product-caption {
        min-height: 0;
    }

    .product-price {
        font-size: 18px;
    }

    .product-title {
        min-height: 38px;
        max-height: 38px;
        font-size: 14px;
    }

    .product-bid-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .product-bid-row .btn {
        width: 100%;
    }

    .pagination > li > a,
    .pagination > li > span {
        padding: 6px 10px;
    }

    .empty-results-box {
        min-height: 240px;
        padding: 50px 15px;
    }
}
