

.search-top-selecter {
    display: flex;
    padding-bottom: 1rem;
}

#search-top-title {
    flex:2;
    align-self: center;
    text-align: right;
    font-size: 20px;
    font-weight: 600;
}

#type-search-sidebar {
    flex: 3;
    border: none;
    border-bottom: 2px solid #8796a566;
    font-size: 20px;
    border-radius: 0px;
    font-weight: 600;
    padding-left: 0rem;
    padding-bottom: 0.4rem;
    outline: none;

}

#type-search-sidebar:hover {
    cursor: pointer;
}

#type-search-sidebar:focus {
    font-size: 16px;
    margin-left:1rem;
    font-weight:normal;
}

#search-sidebar-form, #search-sidebar-form-all-databases {
    padding: 0rem 3rem 0rem 3rem;
}

.search-operations-selecter {

    margin-top: 3rem;
}

#search-results-list-selecter {

    margin-top: 2rem;
}

#search-sidebar-operations-container > select, #search-results-list-selecter > input, #search-all-input-container > input {

    height: 50px;
    border-radius: 24px;
    border: none;
    border-right: 1rem solid transparent;
    outline: 1px solid #8796a566;
    cursor: pointer;
    font-size: 15px;
}

#pc-search-sidebar-first-submit-container {
    margin-top: 1.5rem;
    text-align: right;
}

.pc-sidebar-search-btns {
    border-color: var(--pc-green-subtitles) ;
    color: var(--pc-green-subtitles);
    border-radius: 25px;
    outline: none;
}

.pc-sidebar-search-btns:focus, .pc-sidebar-search-btns :active, .pc-sidebar-search-btns:hover {
    border-color: var(--pc-green-titles) ;
    color: var(--pc-green-titles);
    background: transparent;

}


#pc-searchi-sidebar-separator {

    position: relative;
}


#pc-searchi-sidebar-separator > div {

    position: absolute;
    height: 1px;
    background: gray;
    width: 100%;
    z-index: 1;
    top: 50%;

}

#pc-searchi-sidebar-separator > span {

    position: relative;
    padding: 0px 25px;
    margin: 50px auto;
    text-align: center;
    display: table;
    z-index: 2;
    background: #FFFFFF;
}

/* CSS PARA A PARTE DA PESQUISA EM TODAS AS BASES DE DADOS */


#search-all-selecter {
    display: flex;
    flex-direction: column;
}

#search-all-title {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
}

#search-all-input-container {

    flex:2;
    margin-top:2.5rem;
}




/* STYLES PARA A CAIXA COM OS RESULTADOS DA PESQUISA */

#pc-search-keyword-box {
    position: absolute;
    max-width: 384px;
    width: 384px;
    display: none;
    height: 400px;
    background-color: var(--pc-bg-white);
    margin-top:0.020rem;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 8px 12px rgb(0 0 0 / 15%);
    border-radius: 0 0 24px 24px;
}




.pc-search-keyword-p:hover, .pc-search-keyword-p-last:hover, .pc-search-keyword-p-banner:hover, .pc-search-keyword-p-last-banner:hover {

    background-color: var(--pc-right-content-bg);
    cursor: pointer;
}

.pc-search-keyword-p, .pc-search-keyword-p-banner {

    padding: 0.1rem 0rem 0.1rem 0.8rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    margin: 0;

}

.pc-search-keyword-p-last, .pc-search-keyword-p-last-banner {

    padding: 0.1rem 0rem 0.1rem 0.8rem;
    margin: 0;
}


/* STYLES PARA A SCROLLBAR DA CAIXA COM OS RESULTADOS DA PESQUISA DO AJAX */

#pc-search-keyword-box::-webkit-scrollbar, #pc-search-keyword-box-banner::-webkit-scrollbar {

    width: 5px;
    border-radius: 5px;
}

#pc-search-keyword-box::-webkit-scrollbar-track, #pc-search-keyword-box-banner::-webkit-scrollbar-track {

    border-radius: 5px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
}

#pc-search-keyword-box::-webkit-scrollbar-thumb, #pc-search-keyword-box-banner::-webkit-scrollbar-thumb  {

    border-radius: 5px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}






/* 
===========================================================================

                            SEARCH BAR BANNER 

==========================================================================
*/

#pc-search-keyword-box-banner {
    position: absolute;
    max-width: 370.61px;
    width: 370.61px;
    display: none;
    height: 300px;
    background-color: var(--pc-bg-white);
    margin-top:0.020rem;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 8px 12px rgb(0 0 0 / 15%);
    border-radius: 0 0 24px 24px;
}


#search-main-container-banner {

    height: 64px;
    background: #FFFFFF;
    box-shadow: 0 0 12px rgb(0 0 0 / 10%);
    border-radius: 32px;
    z-index: 10;
}


#search-sidebar-form-banner {
    display: flex;
    height: 100%;
}


#search-top-selecter-banner {
    display: flex;
    flex: 1.5;
}

#search-top-title-banner {
    flex:1.5;
    text-align: center;
}

#search-top-title-banner p{
    font-size: 16px;
    margin-top: 19px;
}

#type-search-sidebar-banner {
    flex: 1.5;
}

#search-operations-selecter-banner {
    display: flex;
    flex: 2;
}

#search-sidebar-operations-container-banner {
    flex:1;
}

#search-results-list-selecter-banner {
    flex: 1.5;
    
    border-right: 1px solid #8796a566;
}

#search-operations-selecter-banner select, #search-top-selecter-banner select {
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 18px;
    border-radius: 2px;
    padding: 1rem;
    padding-right: 2rem;
    outline: none;
    font-size: 16px;
    
}

#input_keyword_search-banner {

    padding: 32px 0rem 32px 1rem;
    margin-top: 0rem;
    border: none;
}

#pc-search-sidebar-first-submit-container-banner {
    flex: 0.25;
    display: flex;
    
}

#pc_search_sidebar_multiple_options_submit_banner {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="%23fff" class="bi bi-arrow-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/></svg>');
    background-color: var(--pc-green-titles);
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 50%;
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    border-radius: 32px;
    border: none;
    outline: none;
    flex:1;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    opacity: 0.8;
    
}

#search-all-selecter-banner {
    display: none;
}

#search-all-input-container-banner {

    width: 100%;
}

#input_all_search-banner {
    
    padding: 32px 0rem 32px 1rem;
    margin-top: 0rem;
    border: none;
}




@media only screen and (max-width: 767px){

    #pc-search-keyword-box-banner {
        max-width:298.84px;
        width:298.84px;

    }

    #search-main-container-banner {
        
        height: 300px;
        
    }

    #search-sidebar-form-banner {
        flex-direction: column;

    }

    #search-top-selecter-banner {
        flex-direction: column;
        flex: 1;
    }

    #type-search-sidebar-banner {
        text-align: center;
    }

    #search-operations-selecter-banner {
        flex-direction: column;
        flex: 1;
    }

    #search-sidebar-operations-container-banner {
        border-bottom: 1px solid #8796a566;
        flex: 0.5;
    }

    #search-results-list-selecter-banner {
        flex:0.5;
        border: none;
        margin-left: 0.4rem;
    }

    #input_keyword_search-banner {

        padding: 32px 0rem 31.11px 1rem;
        text-align: center;
        box-shadow: none;
        
    }

    #pc-search-sidebar-first-submit-container-banner {
        display: flex;
        margin-top: 10px;
    }

    #pc_search_sidebar_multiple_options_submit_banner {
        margin: 0px auto;
        position: inherit;
        padding: 0.75rem 1.5rem 1rem 1.5rem;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 32px;
    }

    #input_all_search-banner {
        text-align: center;
    }

    #search-operations-selecter-banner select, #search-top-selecter-banner select {
        text-align: center;
    }
}