﻿
#nav-carte {
    height: 100%;
}
#nav-recherche {
    background-color: rgba(255, 255, 255, 0.8);
    max-height: 91vh;
    display: flex;
    flex-direction: column;
}

#content {
    height: 91vh;
    padding-right: 0px !important;
    padding-left: 0px !important;
}


#mapid {
    height: 100%;
    width: 100%;
}

#part-table button {
    background: none;
    border: none;
    text-align: left;
}

#part-table button:focus {
    outline: 2px solid #017ACD !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

#part-table :hover {
    cursor: pointer;
}

.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);
}

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

.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 {
    opacity: 1;
    background-color: white;
    border-radius: 10px;
    border: none;
}

.info-legend:focus {
    outline: 2px solid #017ACD !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.info-legend > span {
    padding-left:20px;
    font-weight: bold;
}

.info-legend ul {
 list-style:none;
}

.info-legend img {
    width: 15%
}

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);
    }
}
.leaflet-top, .leaflet-bottom {
    z-index: 2;
}

.leaflet-top.leaflet-right {
    height: 100%;
    left: 0;
}

.info-legend.leaflet-control {
    bottom: 90px;
    position: absolute;
    right: 0;
    max-width: 350px;
    padding: 20px;
    margin: 0 10px;
}

.leaflet-control ul, .leaflet-control span {
    padding: 10px;
    margin: 0;
}

.leaflet-control ul li {
    font-size: 0.9rem;
}

.leaflet-control ul li img {
    width: 20px;
    height: 20px;
}

.info-legend {
    cursor: pointer;
}

#btnCloseLegend, #btnOpenLegend {
    position: absolute;
    top: 20px;
    right: 30px;
}

#btnOpenLegend {
    display: none;
}

#btnCloseLegend i, #btnOpenLegend i {
    font-size: 1rem;
}

.info-legend.legend-close ul {
    display: none;
}

.info-legend.legend-close span {
    margin-right: 25px;
}

.info-legend.legend-close #btnCloseLegend {
    display:none
}

.info-legend.legend-close #btnOpenLegend {
    display: block !important;
}

#index #nav-tab .active {
    color: #017ACD;
    background-color: white;
    border: 1px solid #017ACD;
}

#nav-resultat table thead {
    background-color: #e5f2fb;
}

#nav-resultat table thead h2 {
    text-transform: initial;
}

#nav-resultat table tbody b {
    color: #017ACD;
}

.leaflet-marker-icon {
    margin-left: -20px !important;
    width: 40px !important;
    height: 40px !important;
}