.docpro-live-search{
    display: block;
    .docpro-search-form{
        display: block;
        transition: .2s;
        .docpro-search-form__container{
            background-color: #fff;
            border-radius: 2px;
            padding: 15px;
            padding-right: 10px;
            padding-left: 20px;
            min-height: 50px;
            box-shadow: 0 2px 6px 0 rgb(35 38 42 / 15%);
            display: flex;
            transition: .2s;
            overflow: hidden;
            border: 0 solid transparent;
            align-items: center;
            .docpro-search-form__input{
                padding:0px;
                font-size: 14px;
                font-weight: 400;
                margin: 0;
                border: 0;
                padding: 0;
                display: inline-block;
                vertical-align: middle;
                white-space: normal;
                background: none;
                line-height: 1;
                min-width: 0;
                font-size: 15px;
                width: 100%;
                transition: .3s;
                border-radius: 3px;
                &:focus , &:active{
                    outline: 0;
                }
            }
            .docpro-search-form__submit {
                min-width: 10px;
                padding: 0px;
                background-color: transparent;
                margin: 0!important;
                width: 32px;
                height: 32px;
                cursor: pointer;
                border: none;
                border-radius: 0;
                @media screen and (max-width:991px) {
                    width: 25px;
                    height: 25px;
                }
            }
            .docpro-search-loader{
                display: none;
                margin-right: 15px;
                height: 25px;
            }
        }
        .docpro-search-result_wrap{
            border-radius: 0;
            padding: 16px;
            box-shadow: 0 3px 16px rgb(35 38 42/20%)!important;
            height: 310px;
            background: #fff!important;
            margin-top: 8px!important;

            border: 1px solid #f1f1f1;
            min-width: 100%;
            position: absolute;
            top: auto;
            margin: 15px 0 0;
            list-style: none;
            max-height: 310px;
            overflow-y: scroll;
            z-index: 999;
            ul{
                background-color: #fff;
                display: block;
                list-style-type: none;
                margin: 0;
                margin-top: 5px;
                padding: 0;
                border-radius: 3px;
                li{
                    border-bottom: 1px solid #eee;
                    cursor: pointer;
                    padding: 10px 8px;
                    font-size: 13px;
                    list-style-type: none;
                    background-image: none;
                    .result-title-container{
                        display: inline-flex;
                        @media screen and (max-width:991px) {
                            display: inline-block;
                        }
                        .result-title-entry{
                            font-style: normal;
                            font-weight: 400;
                            font-size: 16px;
                            line-height: 150%;
                            color: #0c0d0e;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            max-width: 100%;
                            margin-right: 8px;
                            @media screen and (max-width:991px) {
                                white-space: normal;
                                font-size: 14px;
                            }
                            
                        }
                        .resutl-badge-container{
                            background: #d2e1f7;
                            padding: 4px;
                            display: inline-flex;
                            align-content: center;
                            justify-content: center;
                            .result-icon-entry{
                                width: 17px;
                                margin-right: 5px;
                                height: auto;
                            }
                            .result-badge-entry{
                                font-weight: 400;
                                font-size: 12px;
                                line-height: 14px;
                                text-transform: capitalize;
                                color: var(--main-color);
                                padding-top: 2px;
                            }
                        }
                    }
                    .result-time-entry{
                        display: block;
                        font-style: normal;
                        font-weight: 400;
                        font-size: 12px;
                        line-height: 150%;
                        color: #3a3f45;
                    }
                }
            }
        }
    }
}

#searchbox{
    display: block;
    .ais-SearchBox{
        display: block;
        transition: .2s;
        .ais-SearchBox-form{
            background-color: #fff;
            border-radius: 2px;
            padding: 15px;
            padding-right: 10px;
            padding-left: 20px;
            min-height: 50px;
            box-shadow: 0 2px 6px 0 rgb(35 38 42 / 15%);
            display: flex;
            transition: .2s;
            overflow: hidden;
            border: 0 solid transparent;
            align-items: center;
            .ais-SearchBox-input{
                letter-spacing: -.14px;
                font-size: 14px;
                font-weight: 400;
                margin: 0;
                border: 0;
                display: inline-block;
                vertical-align: middle;
                white-space: normal;
                background: none;
                line-height: 1;
                min-width: 0;
                font-size: 15px;
                width: 100%;
                transition: .3s;
                border-radius: 3px;
                box-shadow: none;
            }
        }
    }
}
#hits{
    position: relative;
    &>div{
        background-color: #FFF;
        padding: 10px;
        position: absolute;
        z-index: 1;
        width: 100%;
        box-shadow: 0 2px 6px 0 rgb(35 38 42 / 15%);
        max-height: 300px;
        overflow-y: scroll;
        /* width */
        &::-webkit-scrollbar {
            width: 10px;
        }
        
        /* Track */
        &::-webkit-scrollbar-track {
            background: #f1f1f1; 
        }
        
        /* Handle */
        &::-webkit-scrollbar-thumb {
            background: var(--main-color); 
        }
        
        /* Handle on hover */
        &::-webkit-scrollbar-thumb:hover {
            background: var(--main-color); 
        }
    }
    article{
        margin-bottom: 0px;
    }
    .ais-Hits{
        
        li{
            padding: 15px;
            &.ais-Hits-item{
                a{
                    margin-bottom: 6px;
                    strong{
                        font-weight: 500;
                        font-size: 16px;
                    }
                }
            }
        }
    }
    .docpro-no-result{
        font-size: 14px;
        font-weight: 400;
    }
}