.height_perso-48{
    height: calc(100% - 48px);
}
.height_perso-46{
    height: calc(100% - 46px);
}
#to-copy{
    border: none;
    position: absolute;
    top: -2000px;
}
#nav_logo_img {
    margin-top: -41px;
    height: 150px;
    margin-left: 10px;
	clip-path: inset(0 0 50px 0);
}
#sidenav_container, #sogefi_sidenav_container{
    top : 64px;
    height : calc(100% - 64px);
}
#sogefi_sidenav_container > li{
    height : 100%;
}
#map {
    height: calc(100% - 64px);
    width: 100%;
}
/* POPUP */
.maplibregl-popup{
    max-width: 600px !important;
    width: auto !important;
}
.mapboxgl-popup-content, .maplibregl-popup-content {
    padding: 8px !important;
}
.popup_info{
    width:500px;
}
/* SELECT */
select{
    height: 36px;
}
.info_cards{
    min-height :0!important;
    right: 0!important;
}


.layer_name_checkbox{
    text-align: left!important;
}

.m50{
    margin: 50px;
}

#onglet_fiche_info table.search_table {
    position: absolute;
    background-color: #e5e5e5;
    color: #333;
    border-top: unset;
    z-index: 9;
}
#onglet_fiche_info table.search_table td {
    padding: 0px 15px;
    line-height: 30px;
}
#onglet_fiche_info table.search_table td:hover {
    cursor: pointer;
    background-color: var(--main-color-six);
}

#onglet_fiche_info .sogefi_card_tabs{
    border: 1px solid var(--main-color-second);
    padding: 0px 20px;
    overflow-y: auto;
    line-height: 15px;
}

.select-wrapper li{
    height: 0!important;
}
.inline_elem{
    display:flex;
    justify-content:space-between;
    align-items:flex-end
}

.badge.custom {
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    margin-top: 0 !important;
}

@media only screen and (max-width : 992px) {
    #btn_logout i{
        margin-right: -17px !important;
    }
    #nav_logo_img{
        height: 130px;
    }
    #layer_menu{
        display: block;
    }

    #layer_menu {
        background: #fff;
        position: absolute;
        z-index: 1;
        top: -1px;
        right: 30px;
        width: 144px;
        border: 1px solid black;
    }

    #layer_menu a {
        font-size: 13px;
        color: #404040;
        display: block;
        margin: 0;
        padding: 0;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
        text-align: center;
    }

    #layer_menu a:last-child {
        border: none;
    }

    #layer_menu a:hover {
        background-color: #f8f8f8;
        color: #404040;
    }

    #layer_menu a.active {
        background-color: #3887be;
        color: #ffffff;
    }

    #layer_menu a.active:hover {
        background: #3074a4;
    }

    .popup_info{
        width:100%;
    }


    .sogefi-mapbox .mapboxgl-ctrl-group button, .sogefi-mapbox .maplibregl-ctrl-group button{
        width: 30px;
        height: 30px;
    }
   /* .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl, .maplibregl-ctrl-bottom-right .maplibregl-ctrl{
        display: none;
    }*/


    #mobile_search{
        display: block;
        background: #fff;
        z-index: 1;
        top: 65px;
        right: 10px;
        height: 45px;
        margin: 5px;
        border-radius: 3px;
        width: 100%;
    }

    #mobile_search input{
        text-align: center;
    }
    .sogefi-mapbox .mapboxgl-ctrl-top-right, .sogefi-mapbox .maplibregl-ctrl-top-right{
        top:26%
    }

    #container_layer_menu{
        display: block;
        width: 32px;
        height: 32px;
        background-color: #fff;
        border: 1px solid black;
        top: 24%;
        z-index: 1;
        right: 0px;
        position: absolute;
    }
    .img_layer{
        width: 28px;
        height: 29px;
        padding: 5px;
    }

    .mapboxgl-popup{
        transform:none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-center .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{
        display:none !important;
    }
    .mapboxgl-popup, .maplibregl-popup {
        bottom: 52px;
    }
    .mapboxgl-popup-content, .maplibregl-popup-content{
        min-width: 100%;
        padding: 8px !important;
    }
    .mapboxgl-popup, .maplibregl-popup{
        top: auto;
    }
    .info_bulle {
        width: 25%!important;
    }
    .mapboxgl-popup-anchor-right, .maplibregl-popup-anchor-right{
        display: block;
    }
    .text_full_log{
        display: none;
    }
    .carousel .carousel-slider{
        min-width: 284px!important;
        top: -7px !important;
    }
    .carousel.carousel-slider .carousel-item{
        min-height: 0;
    }
    .carousel {
        min-height: 300px
    }



    .opacity_container{
        display: none;
    }

}
/** TOASTS **/
.toast_error {
    background-color: var(--main-color-danger);
    color: white;
}
.toast_success {
    background-color: var(--main-color-second);
    color: white;
}
.toast_warning {
    background-color: var(--main-color-warning);
    color: white;
}
.toast_info {
    background-color: var(--main-color-info);
    color: white;
}