/*
Theme Name:     Child Theme of purdue-home-theme
Theme URI:      
Description:    Purdue-home-theme child theme. Use to customize the functions, CSS, templates, etc. of Purdue-home-theme.
Author:         Me
Author URI:     
Template:       purdue-home-theme
Version:        0.1.0
*/


.custom-search-container {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    position: relative; 
}

#custom-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    padding-right: 30px;
}

#search-results {
    margin-top: 2px;
    position: absolute;
    z-index: 9999;
    background-color: #ededed;
    border: 1px solid #8e6f3e;
    width: 100%; 
    box-sizing: border-box; 
    visibility: hidden;
    border-radius: 4px;
}

.result-item {
    padding: 10px;
    border-bottom: 1px solid #8e6f3e;
    cursor: pointer;
    transition: background-color 0.3s;
}

.result-item:hover {
    background-color: #f1f1f1;
}

.result-item:last-child {
    border-bottom: 0px; 
}

.no-results {
    padding: 10px;
    color: #999;
}

.input-wrapper {
    position: relative;
}

.search-clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.search-clear-button:hover {
  color: #333;
}