/* base/static/css/suchleiste.css */
.search-container {
    position: absolute;
    top: 50%;
    /* Zentriert die Suchleiste vertikal */
    left: 50%;
    /* Zentriert die Suchleiste horizontal */
    transform: translate(-50%, -50%);
    /* Verschiebt die Suchleiste genau in die Mitte */
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.5);
    font-family: 'Arial', sans-serif;
}

.search-container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

.search-container button {
    padding: 10px 20px;
    background-color: #FFA500;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    padding: 0.5rem;
}

.search-container button:hover {
    background-color: rgb(255, 136, 0);
}

.ueberschrift-container {
    text-align: center;
    padding: 5px 10px;
    font-size: 24px;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin-bottom: 5px;
}

/* .sanierungsbewertung-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
    position: relative;
} */

.sanierungsbewertung-container {
    position: relative;
}

.sanierungsbewertung-container label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.info-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 150px;
    width: 220px;
    padding: 10px;
    background-color: #ffeeba;
    border: 1px solid #ffc107;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: left;
}

.info-box strong {
    font-size: 16px;
}

.info-box p {
    margin-top: 10px;
    font-size: 12px;
}

.info-box a {
    color: blue;
    text-decoration: underline;
}

.search-bar-container {
    display: flex;
    flex-flow: row wrap;
    border: 1px solid black;
    border-radius: 4px;
    flex: 4;
}

.search-bar-container .search-bar-component {
    border: 1px solid black;
    border-top: none;
    border-bottom: none;
    border-radius: 0px;
    display: flex;
    flex-wrap: wrap;
    padding: 1px;
}

.search-bar-container .search-bar-component:first-child {
    border-right: none;
    border-left: none;
    flex: 2;
}

.search-bar-container .search-bar-component:last-child {
    border-right: none;
    border-left: none;
}

.search-bar-container .search-bar-component input,
.search-bar-container .search-bar-component select {
    padding: 0.5rem !important;
    border: none !important;
    border-radius: none !important;
    width: 100%;
}

.search-bar-container .search-bar-component * {
    outline: none !important;
    border: none !important;
    border-radius: none !important;
}

.search-bar-container .search-bar-component option {
    border: none;
}




/* Small devices such as large phones (640px and up) */
@media screen and (max-width: 48em) {
    .image-container {
        height: 100vh;
    }

    .search-bar-container .search-bar-component {
        display: none;
    }

    .search-bar-container .search-bar-component:first-child {
        display: flex;
    }
}

/* Medium devices such as tablets (768px and up) */
@media screen and (min-width: 48em) {}

/* Large devices such as laptops (1024px and up) */
@media screen and (min-width: 64em) {}

/* Largest devices such as desktops (1280px and up) */
@media screen and (min-width: 80em) {}