/*
 * comot-search.css
 *
 *
 *  @author      Thaler Software GmbH
 *  @copyright   Thaler Software GmbH
 *  @link        https://www.thaler-software.eu
 *
 */


.comot-search-btn-parent a {
    padding: 0 !important;
}

button.comot-search-btn {
    position: relative;
    top: -12px;
    border-radius: 25px;
}

#comot-global-search_modal_footer {
    display: none;
}

#comot-global-search_modal_content {
    /*border-radius: 25px;*/
}

.search-result {
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 0.3rem;
    /*border-radius: 20px;*/
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px 20px;
}

div.search-bar input.search-input {
    border: none;
    background-color: transparent;
    outline: none;
    padding: 8px;
    margin-right: 10px;
    flex-grow: 1;
}

.search-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

.search-button svg {
    fill: #333; /* Farbe des Such-Icons */
}

/* Fügen Sie :hover und :focus Stile hinzu, um die Interaktionen zu verbessern */
.search-input:focus,
.search-button:hover {
    /* Stile für Hover- oder Focus-Zustände */
}


/* CSS for the search results */
.search-result-title {
    font-size: 1rem; /* Ändern Sie die Größe entsprechend */
    font-weight: bold; /* Für fette Schriftart */
}

.search-result-title button {
    font-size: 1rem; /* Ändern Sie die Größe entsprechend */
    font-weight: bold; /* Für fette Schriftart */
    color: black;
    padding: 0;
    margin: 0;
    border: none;
}

.search-result-info, .search-result-info a {
    font-size: 0.85rem; /* Ändern Sie die Größe entsprechend */
    color: #7e7d7d; /* Dunkelgrau für den Text */
}

.search-result-info button {
    font-size: 0.85rem; /* Ändern Sie die Größe entsprechend */
    color: #7e7d7d; /* Dunkelgrau für den Text */
    padding: 0;
    margin: 0;
    border: none;
}

.search-result-hr {
    border-top: 1px solid #000; /* Schwarze horizontale Linie */
}

/* Abstand nach jedem Suchergebnisblock, außer dem letzten */
.search-result:not(:last-child) {
    /* margin-bottom: 1rem; /* Abstand nach unten */
}

.search-result-category {
    font-size: 1rem; /* Ändern Sie die Größe entsprechend */
    font-weight: bold; /* Für fette Schriftart */
}