﻿/* =========================================================
   Search Pages - Shared CSS
   ========================================================= */

/* Debug / hidden helpers */
#debug,
#debugsb,
#swatchorseries {
    display: none;
}

/* =========================================================
   Page layout
   ========================================================= */

#contentwide {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

#narrowbynavwrapper,
#narrowbynav {
    width: 210px;
    min-width: 210px;
    flex: 0 0 210px;
}

#searchmaincontent {
    flex: 1 1 auto;
    min-width: 0;
}

#SearchWrapper {
    width: 100%;
    padding-top: 0 !important;
    margin-bottom: 15px;
}

#tileresultswrapper {
    width: 100%;
    padding-left: 20px;
}

/* =========================================================
   Left filter navigation
   ========================================================= */

#narrowbynav {
    font-size: .9em;
    font-family: Arial, Helvetica, sans-serif;
    border-style: solid;
    border-width: .5px;
    margin-bottom: 3px;
    color: #ffffff;
}

.NavHeader {
    padding-top: 5px;
    font-size: 1em;
    color: #493829;
    background-color: #f0f0f0;
    text-indent: 5px;
    line-height: 2em;
    margin-bottom: 0;
    font-weight: 700;
}

    .NavHeader a {
        text-decoration: none;
        color: #493829;
    }

.filter-section {
    margin-bottom: 10px;
}

.filter-checkbox {
    display: block;
    max-height: 120px;
    overflow-y: auto;
    padding: 5px;
    background-color: #fff;
    margin: .3em 0 1em .5em;
}

    .filter-checkbox label {
        color: #493829 !important;
        cursor: pointer;
        opacity: 1;
    }

.CBL {
    font-size: .9em;
    color: #493829 !important;
}
.CBL label {
    margin:0;
    padding: 0;
    vertical-align:middle;
}

.CBL input[type="checkbox"] {
    margin: 0 4px 2px;
    vertical-align: middle;
}

input[type="checkbox"] + label {
    color: #000;
    cursor: pointer;
    opacity: 1;
}

input[type="checkbox"]:disabled + label {
    color: gray;
    cursor: not-allowed;
    opacity: .5;
}

.disabled-checkbox {
    color: #999 !important;
    pointer-events: none;
}

.subnav {
    height: 120px;
    overflow-y: scroll;
    margin: .3em 0 1em;
}

.subnavother {
    height: 75px;
}

/* =========================================================
   Search bar
   ========================================================= */

#SearchOptions {
    padding-top: 15px;
    padding-bottom: 15px;
}

.greenbox {
    background-color: #c1da62;
    color: white;
    font-weight: bold;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 7.5px 15px 7.5px 0 !important;
}

.searchbtnbox {
    width: 350px;
    height: 35px;
    font-size: 1.2em;
    color: #a0a0a0;
    border: solid 1px;
    padding-left: 10px;
}

#txtSearch {
    margin-left: 10px;
}

.searchbtnclick {
    height: 35px;
    width: 85px;
}

/* =========================================================
   Results grid
   ========================================================= */

#ListViewResults_itemPlaceholderContainer,
#lvResults_itemPlaceholderContainer,
#lvLights_itemPlaceholderContainer,
#lvVanities_itemPlaceholderContainer,
#itemPlaceholderContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.resultcellbox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 24%;
    max-width: 23%;
    min-width: 150px;
    box-sizing: border-box;
    text-align: center;
    padding-bottom: 20px;
}

.rcbimagebox {
    height: 150px;
    border: none !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

    .rcbimagebox img {
        max-height: 150px !important;
        max-width: 150px !important;
        width: auto !important;
        height: auto !important;
    }

.resulttext {
    margin-top: 8px;
}

.rcbtext {
    font-size: .9em !important;
    color: #888;
}

.rcbtextfin {
    font-size: .8em !important;
    color: #888;
    font-style: italic;
}

.collectionbold {
    font-weight: bold;
}

.sku {
    font-size: .7em !important;
    font-weight: bold;
}

    .sku a {
        text-decoration: none !important;
        color: #888;
    }
.soplumbing {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .soplumbing a {
        color: darkgreen;
    }

/* =========================================================
   Browse / splash tiles
   ========================================================= */

.browseproducts {
    width: 100% !important;
    justify-content: flex-start;
}

.productbrowse {
    width: 24%;
}

.browsetext {
    border-width: 0;
    padding: 0;
    background-color: inherit;
    cursor: pointer;
    white-space: normal;
}

/* =========================================================
   Series view
   ========================================================= */

.seriesresultscell {
    width: 300px;
    height: auto;
    float: left;
}

.seriesgroup {
    float: left;
    width: 40%;
    min-width: 300px;
    border: 1px solid black;
    margin: 5px 5% 5% 0;
    padding: 5px;
    text-align: center;
}

.seriestitle {
    font-size: 1.5em;
    color: #617949;
}

#seriesimg {
    overflow: hidden;
}

    #seriesimg img {
        min-height: 300px;
        max-height: 300px;
        width: auto;
        height: auto;
    }

.others.mCustomScrollbar {
    height: 120px;
}

.resultcellseries {
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
    width: 100px;
    height: 123px;
}

    .resultcellseries img {
        margin: 0 0 5px 0;
    }

/* =========================================================
   Misc
   ========================================================= */

.subnav {
    height: inherit !important;
}

.soplumbing {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .soplumbing a {
        color: darkgreen;
    }

.newnav {
    font-size: .9em;
}

#viewbythumb {
    color: #799048;
    font-weight: bold;
    margin: 5% auto;
}

#LabelSwatchorSeries {
    padding-right: 20px;
    padding-bottom: 20px;
}

#resultswrapper {
    margin-left: 240px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 526px) {
    #narrowbynav {
        width: 210px;
        font-size: .9em;
    }
}

@media (min-width: 610px) {
    #viewbythumb {
        display: none;
    }
}

@media (max-width: 1099px) {
    .seriesgroup {
        width: 90%;
    }
}

@media (max-width: 815px) {
    .productbrowse {
        width: 100%;
    }
}
