﻿#header {
    height: 0vh;
}

h1 {
    font-size: 3vmax;
}

#content {
    height: 100%;
}

#nav-carte {
    height: 100%;
}

@media (min-width: 992px) {
    #nav-recherche {
        position: absolute;
        top: 58px;
        height: calc(100vh - 58px - 98px) !important;
    }

    #global-content {
        height: calc(100vh - 98px) !important;
        margin-top: 98px !important;
        padding-top: 0 !important;
    }

    #div-overlay {
        height: 100% !important;
    }
}

@media (max-width: 991px) {
    #nav-resultat-tab {
        width: 100% !important;
    }
}

#nav-recherche {
    background-color: white;
    z-index: 4;
}

#nav-resultat {
    height: 95% !important;
}

#div-overlay {
    background-color: white;
    z-index: 2;
    height: fit-content;
}

.overlay {
    max-height: 80vh;
}

.button-wrapper > input {
    margin: auto;
}

#part-table :hover {
    background-color: skyblue;
}

.leaflet-map-pane {
    z-index: 2 !important;
}

.leaflet-google-layer {
    z-index: 1 !important;
}

.custom-popup .leaflet-popup-content-wrapper {
    background-color: rgba(255, 255, 255, 0.82);
}

.leaflet-popup-content {
    width: 325px !important;
}

.custom-popup .leaflet-popup-tip-container {
    margin-bottom: 50px;
}

body {
    font-family: sans-serif, Optima;
}

.mycluster {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: rgba(5, 94, 161, 0.77);
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    margin-top: -20px;
    margin-left: -20px;
}

.info-legend {
    line-height: 18px;
    color: #555;
    opacity: 0.8;
    background-color: white;
    width: 170px;
    border-radius: 10px;
    cursor: pointer;
}

    .info-legend > span {
        display: block;
        width: 100px;
        margin: 0 auto;
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
    }

#overlay {
    overflow: hidden;
    z-index: 2;
}

.info-legend ul {
    margin-left: 20px;
    list-style: none;
    text-align: left;
    padding-left: 0;
}

    .info-legend ul li {
        font-size: 0.8rem !important;
    }

.info-legend img {
    width: 15%
}


.leaflet-top, .leaflet-bottom {
    z-index: 2;
}

.leaflet-control-container .leaflet-right {
    display: flex !important;
    flex-direction: row-reverse !important;
}

.leaflet-bar {
    box-shadow: none !important;
    border: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

#loader {
    display: none;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #000 url(../../../Content/Images/ajax-loader.gif) no-repeat center center;
    margin: -23px 0px 0px -23px;
    z-index: 9999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#index {
    top: 0;
    left: 0;
    z-index: 5;
    position: inherit;
}

#closeBtn {
    position: absolute;
    background-color: white;
    height: 50px;
    width: 25px;
    display: flex;
    align-items: center;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    border-radius: 0px 10px 10px 0px;
    border: 1px solid lightgrey;
}

#navDatatable {
    min-height: 40px;
}

#navDatatable a {
    color: #169bd5;
    background-color: white;
    border: 1px solid #169bd5;
    cursor: pointer;
}

#navDatatable a.active {
    color: #fff;
    background-color: #169bd5;
    border: 1px solid #169bd5;
    cursor: pointer;
}

#global-content {
    height: calc(100vh - 64px);
    margin-top: 64px;
    padding-top: 58px;
}

#navGeoloc {
    z-index: 49 !important;
}