/* Styles moved from the <head> of product.aspx on the .NET site. */

/* =========================
   FILTER SIDEBAR
========================= */

.rug_list_container {
   /* width: 100%;*/
}

.rug_search_list {
    background: #fff;
    padding: 25px 22px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;

    -webkit-box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* ==========================
   FILTER HEADER
========================== */

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-header .filter-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #a08463;
    font-weight: 600;
    margin-bottom: 4px;
}

.filter-header h2 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    color: #222222;
}

.filter-header i {
    font-size: 19px;
    color: #a08463;
    border: 1px solid #e5ddd3;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

.filter-divider {
    height: 1px;
    background: #e8e4df;
    margin: 18px 0 22px;
}



/* Filter Heading */

.rug_search_list h3 {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
}

.rug_search_list h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 35px;
    height: 2px;
    background: #b08a5a;
}

/* Filter Lists */

.rug_search_list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rug_search_list ul li {
    margin: 0;
    padding: 0;
}

.rug_search_list ul li a {
    display: block;
    padding: 7px 5px;
     padding-left:0px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rug_search_list ul li a:hover {
    color: #b08a5a!important;
    padding-left: 10px;
}

/* Space between filters */

.rug_search_list .clear {
    height: 18px;
}

/* Mobile Filter Button */

.mobile-filter-btn {
    display: none;
}

.mobile-filter-btn button {
    width: 100%;
    border: 1px solid #222;
    background: #222;
    color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.mobile-filter-btn button i {
    margin-right: 7px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .mobile-filter-btn {
        display: block;
        margin-bottom: 15px;
    }

    .rug_list_container {
        display: none;
    }

    .rug_list_container.filter-open {
        display: block;
        margin-bottom: 20px;
    }

    .rug_search_list {
        padding: 20px 18px;

        -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
    }

    .rug_search_list h3 {
        font-size: 14px;
    }

    .rug_search_list ul li a {
        font-size: 14px;
        padding: 8px 5px;
       
    }
}


        .rug_search .Search_grid ul li:nth-child(3) a {
    padding-bottom: 15px;
}
    
    .rug_search .Search_grid ul li a 
 {
    color: #111;
    font-size: 14px;
    font-family: "Poppins", serif;
}

.rug_search .Search_grid ul li a {
    display: block;
    text-align: center;
    text-shadow: none; 
    font-size: 14px;
    color: #111;
    font-weight:500;
}
@media only screen and (max-width: 367px) and (min-width: 240px) {
    .rug_search .Search_grid ul {
        float: none;
        width: 80%;
    }
        .rug_search .rug_search_list {
        width: 80%;
    }
        .rug_search .rug_search_list ul {
    width: 100%;
}

}


/* =========================
   FILTER LISTS (WordPress)
   Lists with more than 6 values (.scrollrugslist) scroll inside a fixed
   height with a slim scrollbar; shorter lists show all values.
========================= */

.rug_search_list .scrollrugslist {
    height: auto;
    max-height: 214px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #b08a5a #f1ece6;
}

.rug_search_list .scrollrugslist::-webkit-scrollbar {
    width: 5px;
}

.rug_search_list .scrollrugslist::-webkit-scrollbar-track {
    background: #f1ece6;
    border-radius: 5px;
}

.rug_search_list .scrollrugslist::-webkit-scrollbar-thumb {
    background: #b08a5a;
    border-radius: 5px;
}

.rug_search_list .scrollrugslist::-webkit-scrollbar-thumb:hover {
    background: #967044;
}

/* the hover indent must not push long values outside the list */
.rug_search_list ul li a {
    white-space: normal;
    word-wrap: break-word;
}