﻿/********** SEARCH RESULTS ***********/
.search h3 {
    font-size: 1.2em;
    padding: 0 0 5px;
}

    .search h3,
    .search h3 a,
    .search h3 a:visited {
        white-space: normal;
        text-decoration: none;
        /*color: #212e84;*/
    }

    .search h3 a:hover {
        font-weight: 300;
        text-decoration: underline;
    }

.search .more,
.search .more:visited {
    text-decoration: underline;
}

    .search .more:hover {
        font-weight: 400;
        text-decoration: none;
    }
    
    #tab-products > .product {
        background: transparent;
    }

.search-product {
    clear: both;
    padding: 18px 14.5px !important;
    
    display: flex;
    flex-direction: row;
}

    .search-product img {
        min-width: 150px;
        max-width: 150px;
        min-height: 120px;
        max-height: 120px;
        
        object-fit: cover;
        
        margin-right: 22px;
    }

.search-results-all .thumbs.swatches .li,
.search-colour-category .thumbs.swatches .li {
    width: fit-content;
    height: fit-content;
}

.search-results-all .thumbs.swatches .item,
.search-colour-category .thumbs.swatches .item {
    width: 186.15px;
    height: 188.15px;
}

.search-article {
    clear: both; 
    border-bottom: 1px solid #e7e6e6; 
    padding: 15px 0;
}


    .search-article h1,
    .search-article h2 {
        display: none;
    }

    .search-article p,
    .search-article p:last-of-type {
        padding: 0;
    }

    .search-article a,
    .search-article a:visited {
        white-space: normal;
    }



.search-product-category .product-item {
        clear: both;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    display: block;
}

.search-product-category img {
    margin: 0 auto;
    height: 140px;
    width: auto;
}

.search-colour-category .thumbs.swatches .li .item {
    margin: 0 20px 20px 0;
}

.swatches {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 25px;
}

.search-result-container .swatches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

#searchHeader > h1 {
    color: #004F9D;
    
    text-align: center;
}

#searchHeader > h1 > span {
    font-weight: bold;
}

.search-results-all .nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.search-results-all .nav-tabs > li:not(:last-child) {
    margin-right: 108px;
}

.search-results-all .nav-tabs > li {
    color: #004F9D;
}

.search-results-all .nav-tabs > li > a {
    border: none;
    color: #004F9D;
    font-weight: 400;
    font-size: 25px;
    line-height: 170%;
    padding: 10px 0;
}

.search-results-all .nav-tabs > li.active > a {
    border: none;
    border-bottom: 1px solid #004F9D;
    color: #004F9D;
    font-weight: 600;
    font-size: 25px;
    line-height: 170%;
    padding-left: 0;
    padding-right: 0;
}

.search-results-all .nav-tabs > li > a:hover {
    background-color: white;
    border-bottom: 1px solid #004F9D;
    color: #004F9D;
}

.search-colour p {
    text-decoration: none;
}

.tab-content {
    margin-top: 65px;
}

.tab-articles-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-product-title {
    text-decoration: none;
    white-space: pre-wrap;
}

.search-product-title:hover {
    text-decoration: none;
    color: #004F9D;
}

.search-product-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0 !important;
}

.search-product-content {
    display: flex;
    flex-direction: column;
}

.search-result-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#tab-colours .search-result-container {
    gap: unset;
    justify-content: center;
}

.search-result-container h3 a {
    text-align: center !important;
}

.search-colour.li.small-swatch {
    margin-bottom: 6.85px;
    margin-right: 5.5px;
    margin-left: 5.5px;
}

.search-spinner {
    width: 100%;
    display: flex;
    justify-content: center;
}

#colours-results strong::first-letter {
    text-transform:capitalize;
}

#products-results > .product {
    background-color: white;
}