.geovelo_header {
    background-color: rgb(50, 106, 194); /* Couleur bleue Geovelo */
    color: white; /* Texte en blanc */
    padding: 15px; /* Espace interne (padding) */
    text-align: center;
    font-size: 2em;
    display: flex;
    flex-direction: row;
    height: 93%;
    position: relative;
    align-items: center;
    font-family: Arial, sans-serif;
}

.header_left{
    display: flex;
    text-align: center;
    align-items: center;
    color: white;
    padding-right:2%;
    /*font-family: 'Arial';*/
}

.header_centre{
    display: flex;
    align-items: end;
    position: relative; /* Necessary for absolute positioning of dropdown */
    width: 45%;
    margin: 0 auto;
}

.header_ecpi{
    /*color: white;*/
    text-align: center;
    display: flex;
    padding-right:10%;
    padding-left:10%;
    /*font-family: 'Arial';*/
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    border: 2px solid rgba(255, 255, 255, 0.5); /* Border with semi-transparency */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 10px auto; /* Adds space outside and centers it horizontally */
    max-width: 80%; /* Restricts width for a neat layout */
    transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth hover */
}

.header_ecpi:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly brighter on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.geovelo_logo{
    height: 65%;
    display: flex;
    margin-right: 2em;
}

.header_right{
    display: flex;
    /*align-items: right;*/
    text-align: right;
    position: relative;
}

.contact-button {
    background-color: #007BFF;
    color: white;
    border: 2px solid white; /* White border */
    border-radius: 5px;
    padding: 10px 20px;
    /*text-decoration: none;*/
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    /*display: flex;*/
    /*float:right;*/
    font-weight: bold;
    text-decoration: underline;
}

.contact-button a{
    font-weight: bold;
    text-decoration: underline;
}

.contact-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #e6e6e6; /* Lighter border color on hover */
}

/*.autocomplete-feature-select input {*/
/*    width: calc(100% - 43px);*/
/*    outline: none;*/
/*    border: 1px solid rgba(0, 0, 0, 0.2);*/
/*    padding: 10px;*/
/*    padding-right: 31px;*/
/*    font-size: 16px;*/
/*}*/

.autocomplete-items {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
    border-top: none;
    background-color: #fff;

    z-index: 99;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: rgba(0, 0, 0, 0.1);
}

/*.header_autocomplete {*/
/*    position: relative; !* Ensure the dropdown is positioned relative to this container *!*/
/*    grid-column-start:1;*/
/*    grid-row-start:2;*/
/*    text-align: left;*/
/*    border-radius: 5px;*/
/*    !*padding-left: 2%;*!*/
/*    font-size: 1.5em;*/
/*    width: 75%;*/
/*    height: 1em;*/
/*}*/

#autocomplete-feature-select {
    position: absolute;
    top: 100%; /* Position directly below the input field */
    left: 0;
    width: 100%; /* Match the width of the input field */
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000; /* Ensure it appears above other elements */
    display: none; /* Hidden by default, shown dynamically in JavaScript */
    max-height: 150px; /* Optional: Limit the height */
    overflow-y: auto; /* Optional: Add scrolling if too many options */
    /*font-size: 14px;*/
    text-align: left;
}

#autocomplete-feature-select option {
    padding: 8px;
    cursor: pointer;
    display: block;
}

#autocomplete-feature-select option:hover {
    background-color: #f0f0f0; /* Highlight on hover */
}


/* style the items (options), including the selected item: */
.autocomplete-feature-select div,.autocomplete-feature-select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.autocomplete-feature-select {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: inline-block;
    /*position: fixed;*/
    transform: translate(0%, 0%);
    width: 200px;

}

 /*Hide the items when the select box is closed:*/
.select-hide {
    display: none;
}


/* Suggestions Dropdown */
.suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.suggestions li:hover {
    background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 400px) {
    .autocomplete-container {
        width: 90%;
    }
}
