.h2 {
    font-size: 3.56rem;
    line-height: 110%;
    margin: 2.37333rem 0px 1.424rem;
}
.h4 {
    font-size: 2.28rem;
    line-height: 110%;
    margin: 1.52rem 0px 0.912rem;
}
.leaflet-draw.leaflet-control {
    border: 0;
}
#container_main {
    height: calc(100% - 64px);
    width: 100%;
}
#map {
    height: 100%;
    width: 100%;
}
#map_maplibre {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0 ;
}
.collapsible_layers_category.collapsible-header i{
    color : var(--main-color-first);
}
#logo_sogefi a + a {
    margin-left: 10px;
}
#logo_sogefi{
    position: absolute;
    z-index: 500;
    background: white;
    bottom: 5px;
    right: 5px;
    border: grey 1px solid;
    padding: 5px;
}

/* Barre de navigation TOP */
#sidenav_container{
    top : 65px;
    height : 100%;
    z-index: 1000;
}
#sidenav_container, #sogefi_sidenav_container{
    top : 64px;
    height : calc(100% - 64px);
}
#sogefi_sidenav_container .sidenav_li_title, .sidenav-fixed.sidenav li>a.active>i{
    color: var(--main-color-text-active) !important;
}
#sogefi_sidenav_container .sidenav_li_title, .sidenav-fixed.sidenav li>a.active {
    background-color: var(--main-color-first) !important;
}

.sidenav-trigger {
    overflow: hidden;
    position: relative;
    width: 24px;
    height: 24px;
}
.sidenav-trigger i {
    position: absolute;
    top: 0;
    left: 0;
    transition: all .2s ease-in;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
}
.sidenav-trigger i:last-child {
    left: 100%
}
.sidenav-trigger.active i {
    transform: translateX(-100%);
    transition: all .2s ease-out;
}
.leaflet-bottom {
    bottom: 70px;
}
#div_info_source {
    padding: 15px;
    border-bottom: 3px solid var(--main-color-first);
    border-top: 3px solid var(--main-color-first);
}

/* TERRITOIRE */
.title_h4{
    text-align: left;
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 1px dotted #ffb74d;
}
.communes_table th, .communes_table td {
    padding : 0;
    text-align: left !important;
    font-size: 13px;
    line-height: 26px;
}
.communes_table tr {
    border : 0;
}
.communes_table .horaires > td {
    vertical-align: top;
}
.communes_table .horaires .jour {
    border-bottom: #b3b3b3 solid 1px;
}
.communes_table .horaires .periode {
    display: block;
}
/* FIL D'ARIANE */
.breadcrumb .item {
    display: inline-block;
}
.breadcrumb .item::after {
    content: '>';
    color: #707070;
    font-size: 12px;
}
.breadcrumb .item:last-child::after {
    display: none;
}
.breadcrumb .item a {
    display: inline;
    line-height: initial;
    padding: 0 3px;
    text-decoration: underline dotted #707070;
    font-size: 12px;
}
.breadcrumb .item a.active {
    text-decoration: none;
    font-style: italic;
    pointer-events: none;
    cursor: default;
}

@media screen and (max-width: 600px) {
    #sidenav_container, #sogefi_sidenav_container {
        top : 56px;
        height : calc(100% - 56px);
    }
}
/* Corrections responsive */
@media screen and (max-width: 992px) {
    /** TOOLTIP **/
    .material-tooltip{display: none;}
    /* Couche de données */
    #container_layer_list #_layer_tree_container_ {
        position: relative;
    }
    #layer_search_input {
        width: 85%;
    }
    #layer_search_i {
        position: absolute;
        top: 0;
        right: 0;
        height: 43px;
        width: 15%;
        text-align: center;
        background-color: #f5f5f5;
        line-height: 43px;
    }
    /* Formulaire de contact */
    #container_contact.scroller {
        scrollbar-color: initial;
    }
    #container_contact button {
        width: auto;
    }
    #container_contact button i {
        display: none;
    }
    /* Actualités */
    .splide {
        position: relative;
    }
    .splide__arrow--prev {
        left: -2em;
    }
    .splide__arrow--next {
        right: -2em;
    }
    .splide__track {
        overflow: visible;
        padding-left: 2.5% !important;
        padding-right: 2.5% !important;
    }
    .splide__slide {
        margin-right: 5.5% !important;
        width: 95% !important;
    }
    #data_osm{
        display: none;
    }
    #logo_sogefi{
        display: none;
    }
    #container_main {
        height: calc(100% - 56px);
    }
    .leaflet-bottom {
        bottom: 0px;
    }

}
/* à supprimer */
#onglet_search table {
    position: relative;
    background-color: #e5e5e5;
    color: #333;
    border-top: unset;
    z-index: 9;
}
#onglet_search table td {
    padding: 0px 15px;
    line-height: 30px;
}
#onglet_search table td:hover {
    cursor: pointer;
    background-color: var(--main-color-six);
}
#onglet_search select:disabled, #onglet_search input:disabled{
    color: #515151;
    background-color: rgb(184, 184, 184, 0.5);
    opacity: 1;
}

#data_osm {
    z-index: 998;
    position: absolute;
    bottom: 5px;
    background-color: white;
    border: 1px solid black;
    padding: 2px 10px;
    left: 50%;
    transform: translate(-50%,0);
    font-size: 13px;
}

iframe.google_form {
    width: 100% !important;
    height: 70vh !important;
    max-height: 100vh !important;
}

div.modal .dismissBtn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    cursor: pointer;
}

.auto_form_modal {
    max-height: 100% !important;
}

#territoryName {
    color: var(--main-color-first) !important;
    font-size: 25px !important;
    font-weight: 700;
    text-transform: uppercase !important;
}

nav .nav-wrapper {
    position: inherit !important;
    display: flex !important;
    justify-content: space-between !important;
}

nav .nav-wrapper > * {
    width: fit-content;
    position: initial !important;
}

/* Temporaire */

div.modal-opening-message {
	top: 70px !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: 5px !important;
}

div.modal-opening-message > div.message-container {
	display: flex;
}

div.message-container > div.icon-cell {
	min-width: 10%;
	text-align: center;
}

div.message-container > div.main-cell {
	min-width: 80%;
}

div.message-container > div.main-cell a.message-link {
	text-decoration: none !important;
	color: var(--main-color-first) !important;
	font-weight: bold;
}

.Button-badge{
    position: absolute;
    background-color: rgb(117, 25, 25);
    color: #fff;
    width: 27px;
    height: 18px;
    border-radius: 50%;
    top: 5px;
    right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
