/**
 * maps.css est inclus dans les fichiers :
 * - layout.php
 */

#fondCarte {
    background-color: white;
    border-radius: 0 20px 20px 0;
    height: 330px;
    left: 0px;
    opacity: 0;
    position: absolute;
    transform: translateY(150px);
    width: 78px;
    z-index: -5;
}

.couche_calques {
    height: 45px;
    left: 10px;
    position: absolute;
    transform: translateY(100px);
    width: 45px;
    z-index: 5;
}

.couche_calques:hover {
    cursor: pointer;
}

.calques {
    height: 56px;
    margin: 4px 0 4px 0;
    width: 60px;
}

.image_calques {
    border-radius: 8px;
    cursor: default;
    height: 56px;
    width: 60px;
}

.button_calques {
    border: transparent;
    padding: 0;
}

/* Formulaire d'export */

.export {
    height: 40px;
    position: absolute;
    right: 6px;
    transform: translateY(-90px);
    width: 50px;
    z-index: 5;
}

#exportPDF {
    background: black;
    border: none;
    border-radius: 7px;
    color: white;
    height: 30px;
    padding: 0;
    width: 90px;
}

#fond_export {
    background-color: white;
    border-radius: 20px 0 0 20px;
    height: 200px;
    opacity: 0;
    position: absolute;
    right: 0;
    transform: translateY(-305px);
    min-width: 130px;
    padding-left: 0.5em;
    z-index: 5;
}

#btn_fond_export {
    background: transparent;
    border: none;
}

/* Map */

.map {
    border: solid black 1px;
    min-height: 100%;
    min-width: 100%;
}

.map:active {
    cursor: grab;
}

#content {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.mapSpace {
    flex: 1;
    height: 65%;
}

#dataSpace {
    margin: 0;
    max-height: 700px;
}

#mapSpace a {
    color: black;
    display: inline-block;
    text-decoration: none;
}

#mapSpace a::after {
    background-color: black;
    content: '';
    display: block;
    height: 2px;
    margin-top: 1px;
    transition: .4s ease 0s;
    width: 0px;
}

#mapSpace a:hover::after {
    transition: .4s ease 0s;
    width: 100%;
}

#search {
    height: 20px;
    margin-bottom: 5px;
    margin-left: 5px;
    width: 160px;
}

#menu {
    margin-left: 0;
    margin-right: 0;
}

#bloc_legende {
    height: 31%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: -1;
}

#bloc_legende h4 {
    font-size: 1.3vw;
    margin-top: 10px;
}

#bloc_legende h5 {
    font-size: 1vw;
    font-weight: 600;
}

#features {
    overflow-x: auto;
}

.list_legende {
    font-size: 0.8vw;
}

.legende_controller_grand {
    background: transparent;
    border: transparent;
    height: 28px;
    margin-right: 15px;
    padding: 0;
    width: 28px;
}

.legende_controller_petit {
    background: transparent;
    border: transparent;
    height: 20px;
    margin-left: 20px;
    padding: 0;
    width: 20px;
}

.slider {
    margin-left: -10px;
    margin-right: -10px;
    transform: rotate(-90deg);
    width: 100px;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

#legende li {
    list-style: none;
}

#legende_calques:nth-child(odd) {
    background-color: #b3d9e8;
    padding: 8px 0 8px 10px;
}

#legende_calques:nth-child(even) {
    background-color: white;
    padding: 8px 0 8px 10px;
}

#legende_calques select {
    font-size: 0.9vw;
    height: 3.5vh;
    overflow-wrap: break-word;
}