/*
*==========================================
*   Default Search  ( 11 - 68 )
*==========================================
*   Search suggestions ( 70 - 111 )
*==========================================
*   Responsive ( 113 - 142 )
*==========================================
*/

/*
 * Default Search 
*/
.ssc-custom-search-results,
.smart-search-control-result-header,
.smarseco-default-search-container {
    max-width: 100%;
}
.ssc-header-inner-wrapper {
    width: 93%;
    margin: auto;
}
.smarseco-default-search-bar-container  {
    width: 350px;
    height: 40px;
}
.smarseco-default-search-bar {
    width: 100% ;
    min-width: 250px;
    background: #fff ;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: auto ;
    height: 100%;
}
.ssc-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 60px;
}
.ssc-search-result-item {
    background: #e4e4e440;
    padding: 20px;
    border-radius: 12px;
}
.ssc-search-result-item.ssc-list-view {
    display: flex;
    width: 90%;
    margin: 0 auto 30px auto;
}
.ssc-search-result-item.ssc-grid-view {
    display: grid;
    width: 28%;
}
.ssc-search-result-item img {
    width: 100%;
}
.ssc-search-result-item.ssc-list-view .ssc-post-content-wrapper {
    width: 65%;
    margin-left: 5%;
}
.smarseco-default-search-btn{
    color: #fff ;
    display: flex;
    justify-content: center;
    width: 45px ;
    border: none;
    height: 100%;
    text-decoration: none;
    background-color: #ccc;
}

.smarseco-default-search-icon {
    display: flex ;
    justify-content: center;
    align-items: center;
    color: white;
    border: none;
    flex-shrink: 0;

}

.smarseco-default-search-icon span {
    font-size: 24px;
}

.smarseco-default-search-input {
    flex-grow: 1;
    border: none ;
    outline: none ;
    box-shadow: none ;
    padding: 10px 16px;
    width: 100%;
    font-size: 16px;
    background-color: white ;
}

/*
 * Search suggestions
*/
.search-suggestions {
    width: 100% ;
    min-width: 250px;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
    z-index: 1000;
    position: relative;
}

.search-suggestions ul,
.search-suggestions .no-results {
    box-sizing: border-box;
    list-style: none;
    position: absolute;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    background: #fff;
    width: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}

.search-suggestions {
    width: 100% ;
    min-width: 250px;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 5px ; 
    display: none;
    z-index: 1000;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}

.search-suggestions li {

    padding: 5px 15px !important;   
    cursor: pointer;
}

.search-suggestions li a{
    text-decoration: none;
}

.search-suggestions li:hover {
    background-color: #D6EAF8 ;
}

.search-suggestions .no-results {
    padding: 10px 15px;
    color: #5DADE2;
}

.highlighted {
    background-color: #D6EAF8 ;
    border-left: 2px solid #5DADE2 ;
}
.see-more {
    padding: 15px;
    display: inline-block;
    color: #5DADE2;
    font-weight: 700;
    float: right;
    border: none;
    outline: none;
    cursor: pointer;
}

.see-more a {
    color: inherit;
    text-decoration: none;
}
.smart-search-control-no-result{
    text-align: center;
}

.smart-search-control-no-result h2{
    margin: 0;
}


/* 
 *Pagination Styling
*/
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    margin: 0 3px;
    background-color: #fff;
    color: #2271b1;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.pagination a:hover {
    background-color: #2271b1;
    color: #fff;
}

.pagination .current {
    background-color: #2271b1;
    color: #fff;
}

.pagination .disabled {
    background-color: #eaeaea;
    color: #ccc;
}
.ssc-view-option-wrapper {
    float: right;
    margin: 4% !important;
}
.ssc-view-option-wrapper .ssc-button {
    padding: 9px 20px;
    font-size: 17px;
    border-radius: 12px;
    border: unset;
    cursor: pointer;
    transition: background-color 1s ease;
}
.ssc-list-view .ssc-view-option-wrapper .ssc-btn-background {
    background: #0D4B6F;
    color: white;
    border: 1px solid #0D4B6F;
}
.ssc-list-view .ssc-post-featured-wrapper {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ssc-grid-view .ssc-post-featured-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.ssc-grid-view .ssc-post-featured-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.ssc-post-featured-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #f5f5f5;
    padding: 6px;
}

.ssc-view-option-wrapper .ssc-button span {
    vertical-align: middle;
}
.ssc-full-width {
    width: 100%;
}
.ssc-responsive-width {
    width: 30%;
}
/* 
 *Responsive  
*/
@media ( max-width: 992px ) {

    .smarseco-default-search-bar,
    .search-suggestions
    {

        width: 80% ;
    }

}
@media ( max-width: 1050px ) {
    .ssc-search-result-item.ssc-grid-view {
        width: 43%;
    }
}
@media ( max-width: 768px ) {

    .smarseco-default-search-bar,
    .search-suggestions  {

        width: 100% ;
    }

    .search-title {
        font-size: 1.2em;
    }

    .search-excerpt {
        font-size: 0.95em;
    }
}
@media ( max-width: 600px ) {

    .ssc-search-result-item.ssc-list-view,
    .ssc-custom-search-results.ssc-flex {
        display: block;
    }
    .ssc-custom-search-results .ssc-post-featured-wrapper,
    .ssc-search-result-item.ssc-list-view {
        width: 95%;
    }
    .ssc-view-option-wrapper {
        display: none;
    }
    .ssc-search-result-item.ssc-grid-view {
        width: 90%;
    }
    .ssc-search-result-item {
        margin-bottom: 20px;
    }
}
@media ( max-width: 480px ) {

    .smarseco-default-search-input{
        width: 130px ;
    }

    .search-title {
        font-size: 1.1em;
    }
}