
.search-page-title {
    font-size: 12pt;
    line-height: 19pt;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#facet-container {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-flow: row;
    margin-bottom: 2px;
}

.facet-collapsed:after {
    content: '\2b';
    display: block;
    right: 6px;
    top: -2px;
    position: absolute;
    font-size: 23px;
    color: darkgray;
    line-height: 2;
    font-weight: bolder;
}

.facet-expanded:after {
    content: '\2212';
    display: block;
    right: 6px;
    top: -2px;
    position: absolute;
    font-size: 23px;
    color: darkgray;
    line-height: 2;
    font-weight: bolder;
}

.facet-selector {
    outline: 1px solid lightgrey;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    margin-right: 3px;
    margin-bottom: 5px;
    height: 40px;
    position: relative;
    margin-left: 5px;
}

.facet-selector:hover{
    background-color: #91CA3C;
    cursor: pointer;
}

.facet-hidden {
    display: none;
}

.facet-text {
    padding-left: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
}

.facet-selected {
    color: #698824;
}

.facet-breadcrumb:hover{
    cursor: pointer;
    color: #91CA3C;
}

.facet-breadcrumb-container {
    text-align: left;
}

.facet-info {
    overflow-y: auto;
    max-height: 200px;
    position: absolute;
    top: 44px;
    width: 100%;
    padding: 5px;
    background: #f3f3f3;
    border: 1px solid #ccc;
    border-top: 0;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 4px 1px rgba(50,50,50,0.25);
    box-shadow: 0 0 4px 1px rgba(50,50,50,0.25);
    display:none;
}

.facet-list {
    list-style: none;
    padding: .25em;
    background-color: white;
    border: 1px solid #0000001c;
}

.facet-label, #sort-by-label {
    width: auto;
    font-weight: normal;
    font-size: 10pt;
}

.facet-checkbox {
    width: 15px;
    height: 15px;
    padding: 2px;
}

.facet-item {
    text-align: left;
}

.facet-link {
    text-decoration: none;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 25px auto;
}

.facet-link:hover, .facet-checkbox:hover, .facet-label:hover, .facet-quantity:hover {
    color: #91CA3C;
    cursor: pointer;
}

.facet-quantity {
    color: #a1a1a1;
}

#facet-show-more {
    font-weight: bold;
    color: #b8b8b8;
    font-size:10pt;
    cursor: pointer;
    text-decoration: none;
}

#facet-show-more:hover {
    color: #686868;
    cursor:pointer;
}

#search-count-container {
    margin-bottom: 10px;
    padding: 0;
    border-bottom: 5px solid #f0f0f0;
    text-align: left;
}

.search-count-text {
    display: inline-block;
    padding: 5px 15px;
    color: inherit;
    font-size: 0.938em;
    font-weight: bold;
    text-decoration: none;
}

.search-count-text:hover {
    cursor: pointer;
}

.search-active::after {
    content: " ";
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #91CA3C;
}
.search-active {
    position: relative;
    display: inline-block;
    margin-bottom: -5px;
    border-bottom: 5px solid #91CA3C;
}

#search-controls-container {
    padding: 7px 10px;
    background: #003563;
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    margin-bottom: 2px;
}

#search-sort-by-container {
    text-align: left;
}

#sort-by-label {
    font-size: .8em;
    color:white;
}

#search-pagination {
    text-align:right;
}

.pagination-link {
    padding: .15em 0.5em .15em 0.5em;
    background-color: white;
    font-size: .8em;
}

.pagination-next, .pagination-length-container  {
    color: white;
    font-size: .8em;
}

.pagination-active {
    background-color: #91CA3C;
}

.search-result-image {
    max-width: 160px;
    max-height: 160px;
    display: flex;
    justify-self: center;
}

.search-result {
    width:190px;
    display:grid;
    grid-auto-rows: 160px auto .5fr;
    border: 1px solid #E0DfDf;
    margin: 0.25em;
}

.search-result-title {
    font-size: 12px;
    text-align: left;
    padding: 0 0.25em 0 1em;
    font-weight: bold;
    text-decoration: underline;
}

.search-results-view-more {
    padding-top: 1em;
    text-align: right;
    margin-bottom: 1em;
    margin-right: 0.5em;
}

#search-results-container {
    padding-top: 1em;
    padding-bottom: 1em;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.btn-view-details {
    margin-top: 5px;
    margin-right: 1em;
    margin-bottom: .5em;
    padding: 4px;
    font-size: 0.750em !important;
    font-weight: normal;
    color: #fff !important;
    background-color: #91CA3C;
    border: 1px solid #fff;
    text-align: center;
    text-decoration: none;
    overflow: visible;
    height: 16px;
    width: 68px;
}
.btn-view-details:hover {
    cursor: pointer;
    background-color: #4a9d2e;
}

.btn-view-details-text {
    display: table;
    margin: 0 auto;
}

.btn-view-details-tab {
    height:20px;
    margin-right:1em;
    display:flex;
    justify-self: end;
}

.search-result-details {
    font-size: 10pt;
    justify-self:left;
    margin-top:10px;
    text-align: left;
    padding-left: 1em;
}

.product-price-text {
    font-weight: bold;
    font-size: 9pt;
}

.search-result-info-container{
    display: grid;
}

.btn-view-details-container {
    display:flex;
    justify-self: right;
}

#product-search-container, #tab-search-container {
    display: grid;
}
.facet-active-filter {
    font-weight:bold;
    font-size: 10pt;
}