﻿
.facetContainer {
    vertical-align: bottom;
    margin-top: 10px;
    border: 1px solid gray;
}

    .facetContainer select {
        height: 200px;
        font-size: 0.9em;
    }

#searchHeader {
    padding-left: 300px;
}

#h1Search {
    color: #333;
    font-size: 1.8em;
}

    #h1Search b {
        font-weight: normal;
        color: #A41826;
    }

#headerSrchNoResults {
    padding-left: 20px;
}

#headerSrchTime {
    font-size: 0.5em;
}

#searchOptions {
    position: relative;
    display: table;
    width: 250px;
    margin-left: 20px;
    margin-top:5px;
    float: left;
}

#containerFacetOptions {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dotted #AAA;
    position: relative;
}

#containerFacetControls {
    display: table-header-group;
}

    #containerFacetControls #btnAutoFilter {
        /* width: 100%;*/
        margin-bottom: 5px;
        /*border: 1px solid #AAA;
        background-color: #AAA;*/
    }

        #containerFacetControls #btnAutoFilter.selected {
            margin-right: 10px;
            /* border: 1px solid #7BC637;
            background-color: #7BC637;*/
        }

    #containerFacetControls input.btnFilter {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
    }

        #containerFacetControls input.btnFilter.disabled {
            display: none;
        }

    #containerFacetControls span.undoFilter {
        width: 117px;
        margin-right: 5px;
    }

    #containerFacetControls span.clearFilters {
        width: 117px;
        margin-left: 5px;
    }

    #containerFacetControls span.btnFacetLayout {
        margin-top: 15px;
    }

    #containerFacetControls .lnkBtn {
        display: inline-block;
        cursor: pointer;
        width: 100%;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 5px 10px;
        border: 1px solid var(--primaryBackColour);
        border-radius: 2px;
        background-color: var(--primaryBackColour);
        color: #FFF;
        font-size: 0.8rem;
        line-height: 1rem;
    }

        #containerFacetControls .lnkBtn.tertiary {
            border: 1px solid var(--primaryBackColour);
            background-color: #FFF;
            color: var(--primaryBackColour);
        }

            #containerFacetControls .lnkBtn.tertiary:hover {
                border: 1px solid var(--primaryHoverColour);
                background-color: var(--primaryHoverColour);
                color: #FFF;
            }

    #containerFacetControls .form-switch .form-check-input {
        padding: 0.6rem;
    }

#resultsTableOptions {
    /* border: 1px solid #E7E7E7;*/
    padding: 10px;
}

    #resultsTableOptions label {
        padding-right: 10px;
    }

        #resultsTableOptions label input {
            display: inline-block;
            margin-right: 5px;
        }

        #resultsTableOptions label.containerCheckbox {
            font-size: 0.9em;
        }

    #resultsTableOptions input[type=submit] {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100px;
        margin-top: 10px;
    }

    #resultsTableOptions .form-check {
        display: inline-block !important;
    }

    #resultsTableOptions .form-check-input {
        width: 20px !important;
        height: 20px !important;
    }

#searchResults {
    float: left;
    width: calc(100% - 300px);
    font-size: 0.8em;
    padding-left: 20px;
}

.table tr.resultRow:nth-child(even) {
    color: #000;
    background-color: #F8F8F8;
}

.table tr.resultRow:nth-child(odd) {
    color: #000;
    background-color: #FFF;
}

.table tr.resultRow.CustPart {
    color: #000;
    background-color: #E0F2D0;
}


.table tr.resultRow:hover {
    color: #333;
    background-color: #EEE;
}

.table {
    border-collapse: collapse;
}

    .table th {
        font-family: var(--primaryFontFace), Arial, Helvetica, sans-serif;
        font-size: 0.9em;
        background-color: #E7E7E7;
        padding-top: 10px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #E7E7E7;
    }

    .table td {
        border-left: 1px solid #E7E7E7;
        border-right: 1px solid #E7E7E7;
        padding: 5px !important;
        font-size: 0.9em;
    }

        .table td.resultCellImage {
            background-color: #FFF;
            width: 100px;
            position: relative;
        }

            .table td.resultCellImage img {
                width: 100px;
            }

        .table td.resultCellCmd {
            text-align: left;
            vertical-align: middle;
            font-size: 0.9em;
        }

            .table td.resultCellCmd .lnkBtn {
                margin-bottom: 20px;
            }

        .table td span.resultCustPart {
            display: block;
            padding-bottom: 5px;
            font-weight: bold;
        }

        .table td .compareEdit {
            width: 20px !important;
            height: 20px !important;
        }

span.facetHeading {
    background-color: var(--primaryBackColour);
    /*border: 1px solid var(--primaryBackColour);*/
    /*border-radius: 5px;*/
    color: #FFF;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 0.8em;
    display: block;
    width: 250px;
}

    span.facetHeading:hover {
        background-color: var(--primaryHoverColour);
    }

    span.facetHeading.disabled {
        color: #333;
        background-color: #CCC;
        border: 1px solid#CCC;
    }

    span.facetHeading a.infoIcon {
        display: none;
    }

div.filterOptionGroup {
    width: 250px;
    /*height:200px; */
    max-height: 200px;
    overflow-y: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 25px;
    /* border:1px solid #999;*/
    background-color: #FFF;
    font-size: 0.8em;
    /* display:none;*/
    -webkit-overflow-scrolling: touch;
}

    div.filterOptionGroup.selected {
        height: 177px;
    }

div.facetContainerClear {
    margin-left:20px;
    margin-right:20px;
    margin-top:5px;
    font-size: 0.9em;
    text-align: center;
    /* background-color: #ccc;*/
    border: 1px solid #999;
    border-radius:.375rem;
    /*margin-bottom: 5px;*/
    display: none;
}

div.facetContainerClear:hover {
    color: white;
    font-size: 0.9em;
    text-align: center;
    background-color: var(--primaryHoverColour);
    border: 1px solid #999;
    cursor: pointer;
}

div.facetContainer.show div.filterOptionGroup, div.facetContainer.show div.facetContainerClear {
    display: block;
}

div.facetContainer span.facetHeading::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

div.facetContainer.show span.facetHeading::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0;
    border-right: .3em solid transparent;
    border-bottom: .3em solid;
    border-left: .3em solid transparent;
}

label.filterOptionLabel {
    margin: 0;
    display: block;
    padding: 2px;
    cursor: pointer;
}

    label.filterOptionLabel[disabled="disabled"] {
        color: #999;
        cursor: not-allowed;
    }

    label.filterOptionLabel:hover:not([disabled]) {
        background-color: #F8F8F8;
    }

    label.filterOptionLabel td {
        vertical-align: top;
    }

    label.filterOptionLabel input[type="checkbox"] {
        margin-right: 5px;
    }

    label.filterOptionLabel td.filterOptionText {
        white-space: normal;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }



div.containerPaging {
    position: relative;
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
}

div.wrapPagingNumRes {
    display: inline-block;
    padding-right: 20px;
}

div.wrapPagingOrderBY {
    display: inline-block;
    padding-right: 20px;
}


th.colOrdGrp {
    cursor: pointer;
}

    th.colOrdGrp div.ordAsc, th.colOrdGrp div.ordDesc {
        display: inline-block;
    }

    th.colOrdGrp.ordNone div.ordAsc {
        color: #AAA;
    }

    th.colOrdGrp.ordNone div.ordDesc, th.colOrdGrp.ordAsc div.ordDesc {
        display: none;
    }

    th.colOrdGrp.ordAsc div.ordAsc {
        color: #7BC637;
    }

    th.colOrdGrp.ordDesc div.ordAsc {
        display: none;
    }

    th.colOrdGrp.ordDesc div.ordDesc {
        color: #7BC637;
    }

    th.colOrdGrp:hover div.ordAsc, th.colOrdGrp:hover div.ordDesc {
        color: var(--primaryBackColour);
    }

div.wrapResultColumns {
    display: inline-block;
}

    div.wrapResultColumns div.dropdown-menu {
        z-index: 1002;
        padding-left: 10px;
    }

    div.wrapResultColumns label {
        /* display:block;
    width: 190px; */
        margin-left: 10px;
        white-space: nowrap;
    }

    div.wrapResultColumns ul {
        padding: 0 !important;
        width: 250px;
    }

    div.wrapResultColumns .list-group-item {
        padding-left:5px;
        border: 0 !important;
        padding-bottom: 0 !important;
    }

div.wrapPagingLnks {
    display: block;
    float: right
}

    div.wrapPagingLnks a {
        display: inline-block;
        padding: 5px 10px;
        margin: 2px;
        border: 1px solid #ccc;
        border-radius: 5px;
        color: #666;
        text-decoration: none;
    }

        div.wrapPagingLnks a:hover {
            background-color: var(--primaryHoverColour);
            border: 1px solid var(--primaryHoverColour);
            color: #FFF;
        }

        div.wrapPagingLnks a.disabled {
            border: 1px solid #CCC;
            background-color: #CCC;
            color: #FFF !important;
            cursor: not-allowed;
        }

        div.wrapPagingLnks a.selected {
            border: 1px solid var(--primaryBackColour);
            background-color: var(--primaryBackColour);
            color: #FFF;
        }


div.wrapResultTotals {
    float: left;
    width: 30%;
    padding-top: 5px;
    font-size: 1.6em;
}

    div.wrapResultTotals b {
        font-weight: normal;
        color: var(--primaryBackColour);
    }

span.CInstock {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

span.cPoa {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

.btnViewCompare {
    display: none;
    position: fixed;
    top: 50%;
    right: -80px;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid var(--primaryBackColour);
    border-radius: 2px;
    text-decoration: none;
    background-color: var(--primaryBackColour);
    z-index: 1002;
    color: #FFF;
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Safari 3-8 */
    transform: rotate(270deg);
}

    .btnViewCompare:hover {
        color: #FFF;
        text-decoration: none;
        background-color: var(--primaryHoverColour);
    }

#ulBannersTier {
    margin-left: 20px;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
