#main {
    padding: 0;
    height: 100vh;
}

#map {
    height: 100vh;
    width: 100vw;

}

#mapForm {
    padding: 25px 0;
    text-align: center;
}


#autocompleteElt {
    position: relative;
    display: inline-block;
    width: 100%;
}

#autocompleteElt .input-group {
    margin-bottom: 0 !important;
}

#autocompleteElt .input-group .btn {
    border-left: 0;
    display: inline-flex;
    align-items: center;
}



#autocomplete-result {
    z-index: 99;
    padding: 0;
}

#autocomplete-result li {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    list-style: none;
    text-align: left;
}

#autocomplete-result li:hover {
    background-color: #e9e9e9;
}

#autocomplete-result li.active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.markerTooltip .material-icons {
    font-size: 12px;
}

.marker {
    opacity: 0.9;
}

.marker.blinking {
    animation: bounce 0.35s ease infinite alternate;
    opacity: 1;
}

@keyframes bounce {
    from {
        top: 20px;
    }

    to {
        top: 0px;
    }
}

#geolocalizeMe {
    background-color: #FFF;
    color: black;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 50px;
    padding: 0 20px;
    transition: .4s;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    line-height: 2.8em;

}

#geolocalizeMe span {
    float: left;
    margin: 5px;
}

#geolocalizeMe:hover {
    background: black;
    color: white;
}

.boxTitle {
    margin: 30px 0;
}

h2 {
    color: black;
    margin: 0;
    font-size: 1.6em;
}

#autocompleteElt input {
    border-right: 0;
}

#autocompleteElt .btn {
    border-left: 0;
}

#autocompleteElt .btn:hover {
    color: black;
    background: none;
}

#autocompleteElt input,
#autocompleteElt .btn {
    border-color: black;

}




/**
* sidebar 
*/
#body-row {
    margin-left: 0;
    margin-right: 0;
}


#sidebar-container {
    /*position:   fixed;
    min-height: 100vh;   
    padding:    0;
    z-index:    1000;
    right:      0;*/
}


#permanentSidebar {
    min-height: 100vh;
    background-color: white;
    /* #9DC0C6;*/
    padding: 0;
    width: 60px;
    z-index: 1001;
    position: fixed;
    top: 0;
    right: 0;
}

#permanentSidebar #navSidebar a {
    background: white;
    border: 0;

}


/* Menu item*/
#permanentSidebar a {
    height: 50px;
    color: white;
    color: black;
}


#slidingSidebar {
    width: 400px;
    z-index: 1000;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    position: fixed;
    padding: 20px;
    background-color: white;
    top: 0;
    right: -400px;
    transition: .2s all ease
}

#slidingSidebar.slide-in {
    right: 50px;
    /* transform:          translateX(-100%);
    -webkit-transform:  translateX(-100%);
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards; */
}

/* @keyframes slide-in {
    100% { transform: translateX(0%); }
}

@-webkit-keyframes slide-in {
    100% { -webkit-transform: translateX(0%); }
}
    
@keyframes slide-out {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

@-webkit-keyframes slide-out {
    0% { -webkit-transform: translateX(0%); }
    100% { -webkit-transform: translateX(-100%); }
} */

#legende {
    text-align: left;
}

#legende ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#legende ul li {
    margin-bottom: 5px;
}

#legende ul li img {
    margin-right: 15px;
}


.modal-full {
    min-width: 100vw;
    margin: 0;
    min-height: calc(100vh - 150px);
}

.modal-full .modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px)
}

.modal-full .modal-content iframe {
    min-height: 100%;
    border: 0;
}

.modal-full .close {

    background: #333333;
    opacity: 1;
    border-radius: 50px;
    font-size: 15px;
    color: white;
    font-weight: normal;

}

.modal-full .modal-header {
    margin: 10px auto;
    border-color: transparent;
}

.modal.show {
    display: flex !important;
    align-items: center;
}

#modalQConfirm-oui {
    /*background:*/
}

.btn-primary, .btn-primary:hover {
    background-color: black;
    border-color: black;
}

#modalQConfirm-non, #modalQConfirm-non:hover {
    color: #3A8785;
}

#cleanSearch {
    border: 0;
    color: black;
}

@media (max-width:768px) {
    .leaflet-top .leaflet-control {
        margin-top: 60px;
    }

    #signalementForm {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    /* #slidingSidebar {
        width:100%;
    } */
    #mapForm {
        padding: 0;
    }

    #slidingSidebar.slide-in {
        right: 0px;
        width: 100%;
    }

    .list-group {
        flex-direction: row;
    }

    #permanentSidebar {
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        min-height: 0;
        display: flex;
        justify-content: flex-end;
    }
}



#robotLayer {
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 99999;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Modal Choix application de guidage */
#modalNavigation .modal-navigation-content {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#modalNavigation .modal-navigation-icon .material-icons {
    font-size: 48px;
    color: #000;
}

#modalNavigation .modal-navigation-buttons {
    gap: 12px;
    max-width: 384px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

#modalNavigation .modal-navigation-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    padding: 16px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
}

#modalNavigation .modal-navigation-btn:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #333;
    text-decoration: none;
}

#modalNavigation .modal-navigation-btn-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
}

#modalNavigation .modal-navigation-copy-link {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

#modalNavigation .modal-navigation-copy-link:hover {
    color: #333;
    text-decoration: underline;
}

@media (max-width: 480px) {
    #modalNavigation .modal-navigation-btn {
        width: 85px;
        padding: 10px 8px;
        font-size: 11px;
    }

    #modalNavigation .modal-navigation-btn-img {
        width: 36px;
        height: 36px;
        margin-bottom: 5px;
    }

    #modalNavigation .modal-navigation-icon .material-icons {
        font-size: 36px;
    }

    #modalNavigation .modal-navigation-buttons {
        gap: 8px;
    }
}