/* ===========================
   SEARCH BOX
=========================== */

.search-box{
    position:relative;
    width:100%;
}

/* ===========================
   SEARCH RESULTS DROPDOWN
=========================== */

.search-results{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    margin-top:8px;

    background:#fff;

    border-radius:18px;

    border:1px solid #e8e8e8;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    overflow:hidden;

    max-height:550px;

    overflow-y:auto;

    z-index:99999;

}

/* Scrollbar */

.search-results::-webkit-scrollbar{
    width:8px;
}

.search-results::-webkit-scrollbar-thumb{
    background:#d7d7d7;
    border-radius:20px;
}

.search-results::-webkit-scrollbar-thumb:hover{
    background:#bfbfbf;
}

/* ===========================
   SEARCH ITEM
=========================== */

.search-item{

    padding:18px 24px;

    cursor:pointer;

    text-align:left;

    transition:.2s;

    border-bottom:1px solid #f1f1f1;

}

.search-item:last-child{
    border-bottom:none;
}

.search-item:hover{

    background:#f8f9fa;

}

/* ===========================
   BREADCRUMB
=========================== */

.search-breadcrumb{

    font-size:12px;

    color:#7d7d7d;

    margin-bottom:8px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

    text-align:left;

}

/* ===========================
   TITLE
=========================== */

.search-title{

    font-size:18px;

    font-weight:600;

    color:#222;

    margin-bottom:6px;

    text-align:left;

    line-height:1.4;

}

.search-item:hover .search-title{

    color:#198754;

}

/* ===========================
   DESCRIPTION
=========================== */

.search-section{

    font-size:14px;

    color:#555;

    line-height:1.6;

    text-align:left;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

/* ===========================
   HIGHLIGHT
=========================== */

.search-item mark{

    background:#fff2b3;

    color:#222;

    padding:0 2px;

    border-radius:3px;

}

/* ===========================
   NO RESULTS
=========================== */

.search-item.no-result{

    text-align:center;

    color:#777;

    font-size:15px;

    cursor:default;

}

.search-item.no-result:hover{

    background:#fff;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

    .search-results{

        max-height:400px;

        border-radius:12px;

    }

    .search-item{

        padding:15px;

    }

    .search-title{

        font-size:16px;

    }

    .search-section{

        font-size:13px;

    }

}